
ButtonsLEDs
shanteacontrols/OpenDeck
A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

AgriBot tops out at 1.4 km/h, so you can outwalk it, and that's fine, because its job is to drive to a GPS point, stop, push a soil probe into the ground and read moisture, temperature, pH, salinity (EC) and NPK, then…
Agribot is an open-source printed circuit board by Maleksameh61, from the Maleksameh61/Agribot repository on GitHub, published under the MIT licence. It is a 2-layer board of 260 × 149.6 mm with 100 parts on 117 nets, routed with 1,861 tracks and 251 vias.
It is built around the MBR4045CT. Its parts include 29 capacitors, 22 resistors, 16 connectors, 12 ICs and 6 diodes. It belongs with the ESP32 boards of this library.


Stardance reviewers: the part I'm submitting is the PCB, which is everything in
PCB/andproduction/. I started AgriBot before I'd even heard of Hack Club, so the chassis, motors and the rest were already underway. They're here so you can see what the board plugs into, but please review the board on its own.
AgriBot tops out at 1.4 km/h, so you can outwalk it, and that's fine, because its job is to drive to a GPS point, stop, push a soil probe into the ground and read moisture, temperature, pH, salinity (EC) and NPK, then go do it again somewhere else.
This repo is the board that runs all of that: three ESP32s, five buck converters, the motor driver links, the stepper for the probe, GPS, a SIM800L and two speakers, on 260 x 150 mm of 2 oz copper.
The idea is that nobody drives it most of the time. You give it a list of GPS points and it goes to each one, with two HC-SR04s up front so it doesn't drive into a tree. When it gets there it stops, and a NEMA 17 on a rack and pinion pushes the RS485 soil probe down. Sensors reads the probe and saves the numbers with the GPS position. While it's parked the ESP32-CAM can look at the crops, and if it's too far out for WiFi, the Audio ESP32 texts me through the SIM800L.
You can also drive it from your phone, mostly to get it to the field or out of a ditch. The phone joins the WiFi that Sensors puts up and sends throttle and steering about 20 times a second. Sensors passes that down a UART to Motion, and Motion turns it into left and right speeds for the two Cytron MDD10A drivers. Video goes straight from the ESP32-CAM to your phone over the same WiFi, and two servos aim the camera.
Motion only moves while Sensors keeps talking to it. If 150 ms go by without a command, the motors stop, and that's the entire safety system. Yes, I thought about a real e-stop. At walking pace you can just catch it, and pulling an XT60 kills everything.
Sensors also reads temperature, humidity, pressure, light and an MPU6050, and shows what's going on on a 2.8" Cheap Yellow Display over a 4-pin cable. Audio plays sounds off a microSD through two speakers.
Salty soil is the big problem on small farms in Egypt, and checking a field means walking it with a probe or sending samples to a lab. I wanted a rover to do the walking. I also wanted every part to come from shops in Cairo. The board and everything that plugs into it, with the JLC order and shipping, comes to about $167. The whole rover is more like $560, and most of that is the four gearmotors (1,200 EGP each at Makers) and the soil probe (3,750 EGP). I didn't see that coming when I picked them.
I took AgriBot to RobotChallenge in Beijing this August and came 4th in FreeStyle Senior. After that I redid the electronics. The plan was three separate boards (Motion, Sensors, Audio) talking over ESP-NOW, and I didn't like the chip that drives the motors depending on radio, so now it's one board with the three ESP32s wired together over UART and Sensors in the middle. Before you ask why there are still three: I counted about 39 GPIOs for everything on here, and a DevKit gives you about 24 you can actually use.
These are renders of the real board file. The boards aren't ordered yet, so no photos.
Red is top copper, blue is bottom. The big red areas are the 12 V pour and the bottom is almost all ground.



Motion, Sensors and Audio, left to right. Sensors is the only one with its WiFi on.


Full-size PDF: production/schematic.pdf
Every cable that leaves the board. The numbers on the board map match the plug names underneath. Wire colours are only suggestions, so go by pin number (pin 1 is the marked end of each plug).

Power
Motion ESP32
Sensors ESP32
Audio ESP32
A lot of this board is educated guesses, and one guess already nearly went wrong. The first LM2596 footprint was mirrored, so 12 V would have gone straight into the output side of every buck. I only caught it when I swapped in real 3D models and the module didn't line up with its pads. The pads are now 4 mm squares that fit every clone I could find, but I still want to measure one.
Short version: the board is mine, and AI helped me check it.
I drew the schematic, picked every part, and did the placement and routing myself. I used AI kind of like a second pair of eyes. It helped me clear DRC errors and catch problems I missed, and it told me about parts I'd forgotten, mostly passives like decoupling caps, dividers and pull-ups. It also helped me plan which ESP32 pin goes where and what track width to use on the power paths. Some of the custom KiCad symbols and footprints were made by AI, and I checked those against the real modules before using them.
The firmware is where I needed AI the most. It's big, and there were errors I couldn't fix on my own, so AI helped write and debug parts of it, usually one small section at a time. I worked on it for weeks, but you'll only see one commit, because I pushed the wrong versions before and had to upload it all again. There are a lot of comments in the code. I know that can look like AI, but I put them there so you can follow what each part does.
production/ - what you send off to get one made: gerbers.zip (Gerbers + drill files), schematic.pdf and a copy of the firmwareproduction/printables/ - STEP files for the 3D-printed parts: the four motor mounts and the ESP32-CAM pan/tiltPCB/ - KiCad 10 project (agribot.kicad_sch, agribot.kicad_pcb, agribot.kicad_pro, custom footprints, symbols and 3D models)CAD/agribot-pcb.step - STEP of the assembled board with every module on it. It's 54 MB, which the GitHub website won't take, so I pushed it with git instead. The module models are real ones (Espressif, KiCad library, Sector7GP, a SIM800L repo, openbikesensor, and the JLCEDA/EasyEDA Official Library for the fuses and the KF128 terminals), credits are in PCB/libraries/3dmodels/CREDITS.mdCAD/agribot-full-assembly.step - the whole rover exported from my Fusion file (agribot v15): the plywood chassis with everything mounted on it, including the CYD. 32 MB, so this one went up with git too. Open it if you want to see how it all fits before cutting any woodfirmware/ - code for all 5 chips: the Motion, Sensors and Audio ESP32s, the CYD and the ESP32-CAM. How to flash and test it is in firmware/README.mdBOM.csv - the bare board: everything on the PCB or plugged into it, from Makers Electronics, Micro Ohm and Free Electronics, with links, USD and EGP prices, shipping, and the JLC quote I got on Nov 3 ($68.80 for 5 boards in 2 oz copper). About $167. The drivers, motors, batteries, probe and chassis aren't in it, since they're not part of the boardBOM/AgriBot_Entire_Project_Cost.xlsx - the whole rover, board plus everything else (motors, drivers, batteries, probe, CYD, camera, chassis, screws). The totals work themselves out, and if you change the EGP rate at the top all the USD numbers change with it| Qty | Value | Footprint | References |
|---|---|---|---|
| 18 | 100nF 50V | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C1, C2, C3, C4, C5, C6, C7, C10, C11, C12, C13, C14, C15, C16, C17, C18 +2 |
| 5 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R14, R15, R16, R17, R18 |
| 5 | 220 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R3, R4, R5 |
| 5 | LED | LED_THT:LED_D5.0mm | D1, D2, D3, D4, D5 |
| 5 | LM2596S_Module | AgriBot:LM2596S_Module_FlatMount_SMD | M3, M4, M5, M6, M7 |
| 4 | 1000uF 16V | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C25, C26, C27, C28 |
| 4 | MountingHole_6mm_Pad_TopBottom | MountingHole:MountingHole_6mm_Pad_TopBottom | H1, H2, H3, H4 |
| 3 | 100uF 16V | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C20, C21, C22 |
| 3 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R6, R7, R8 |
| 3 | ESP32 DevKit 30-pin | AgriBot:ESP32_30pin_D1.0mm | U10, U11, U12 |
| 2 | 100k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R21, R22 |
| 2 | 20A | AgriBot:Fuseholder_Clip-5x20mm_Littelfuse_100_Inline_P20.50x4.60mm_D1.30mm_Horizontal | F2, F3 |
| 2 | 22k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R19, R20 |
| 2 | 2k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R9, R10 |
| 2 | 4.7k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R12, R13 |
| 2 | 470uF 16V | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C23, C24 |
| 2 | Conn_01x03_Pin | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J7, J8 |
| 2 | MAX98357A_Module | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | U6, U7 |
| 2 | MDD10A_Signal | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | J12, J13 |
| 2 | Motor_Servo | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | M1, M2 |
| 2 | XT60 | Connector_AMASS:AMASS_XT60-M_1x02_P7.20mm_Vertical | J5, J6 |
| 2 | ultrasonic | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | U2, U3 |
| 1 | 1000uF 35V | Capacitor_THT:CP_Radial_D13.0mm_P5.00mm | C29 |
| 1 | 10uF 16V | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C19 |
| 1 | 3.3k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R11 |
| 1 | AHT20_BMP280_Conn_1x04 | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J9 |
| 1 | BH1750_GY302_Module | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | U4 |
| 1 | DRV8825_Carrier | AgriBot:Pololu_Breakout-16_15.2x20.3mm_D1.0mm | U9 |
| 1 | Display link (CYD) | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | U1 |
| 1 | M1_PWR | AgriBot:KF128-7.5_1x02_P7.50mm_Horizontal | J1 |
| 1 | M2_PWR | AgriBot:KF128-7.5_1x02_P7.50mm_Horizontal | J2 |
| 1 | MAX485_Auto_Module | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | M8 |
| 1 | MBR4045CT | Package_TO_SOT_THT:TO-220-3_Vertical | D6 |
| 1 | MPU6050_GY521 | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | U5 |
| 1 | MicroSD_Conn_1x06 | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J14 |
| 1 | NEMA17_Conn_1x04 | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J10 |
| 1 | NEO6M_GPS | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J11 |
| 1 | SIM800L_Module | AgriBot:SIM800L_Module | U8 |
| 1 | SOIL_PROBE_PWR | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3-5.08_1x03_P5.08mm_Horizontal | J3 |
| 1 | Screw_Terminal_01x02 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J4 |
| 1 | T5A | Fuse:Fuseholder_Clip-5x20mm_Littelfuse_111_Inline_P20.00x5.00mm_D1.05mm_Horizontal | F1 |
| 1 | spare audio pins | Connector_PinSocket_2.54mm:PinSocket_2x05_P2.54mm_Vertical | J15 |
| 1 | spare sensor pins | Connector_PinSocket_2.54mm:PinSocket_2x05_P2.54mm_Vertical | J16 |

shanteacontrols/OpenDeck
A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

Redherring32/OpenTendo
An Open-Source HardWare (OSHW) recreation of the original 1985 front-loading NES Motherboard


vsfteam/vsf
Versaloon Software Framework -- a tiny preemptive-capable event-driven incremental software framework for embedded systems



cnlohr/cnhardware
My dumping grounds for all my kicad projects and random hardware bringup.

It measures 260 × 149.6 mm and has 2 copper layers, 1.6 mm thick.
100 parts, built around the MBR4045CT. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Maleksameh61/Agribot repository on GitHub, at the commit this page was made from: the board is PCB/agribot.kicad_pcb and its schematic PCB/agribot.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).