IoT AgriFarm
sudo-junkie·IoT_AgriFarm·SRC/IoT_Agrifarm.kicad_pcb
About the IoT AgriFarm PCB
IoT AgriFarm is an open source RP2040/RP2350 PCB design by sudo-junkie, published on GitHub under the GPL-2.0 license. It is a 4-layer board measuring 53.3 × 58.4 mm, with 120 components from 57 distinct parts.
Its main chip is the RP2040, from the RP2040/RP2350 family. Other key parts include the AP2171WG-7, USBLC6-2P6, DW01A-G, 8205A and BQ25672RQMR. By type, the board carries 45 capacitors, 34 resistors, 16 ICs, 6 connectors, 6 diodes and 4 inductors.
It belongs with the power & battery, sensors and iot & wireless designs in this gallery.
From the project
A solar powered smart farm controller based on RP2040 with MPPT.
KiCad 7 design files (schematic, PCB, BOM, gerbers) for a solar powered smart farm controller based on RP2040
- USB-C - firmware upload & debugging - 24V 2A Boost converter - to power water pump - RS-485 transciever - for NPK sensor - Soil moisture, soil temperature, soil PH relative humidity and ambient temperature sensors

Main components on the IoT AgriFarm
IoT AgriFarm bill of materials (BOM)
120 components, 57 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | AP2171WG-7 AP2171W | SOT-23-5 | U101 |
| 1 | USBLC6-2P6 | SOT-666 | U102 |
| 2 | DW01A-G DW01A | SOT-23-6 | U201, U204 |
| 2 | 8205A | TSSOP-8_4.4x3mm_P0.65mm | U202, U205 |
| 1 | BQ25672RQMR | RQM0029A-MFG | U203 |
| 1 | L78L05ABUTR L78L05 | SOT-89-3 | U206 |
| 1 | SD8942 | SOT-23-6 | U207 |
| 1 | RP2040 | QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm | U301 |
| 1 | GD25Q128EWIGR 25Q128 | DFN-S-8-1EP_6x5mm_P1.27mm | U302 |
| 1 | B3B-XH-A(LF)(SN) DS18B20 | JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | U401 |
| 1 | DHT11 | Aosong_DHT11_5.5x12.0_P2.54mm | U402 |
| 1 | MAX3362EKA+T MAX3362 | SOT-23-8 | U403 |
| 1 | Ra-02 Ai-Thinker-Ra-02 | Ai-Thinker-Ra-01-LoRa | U501 |
| 1 | SY7208ABC SY7208 | SOT-23-6 | U601 |
| 2 | AO3401 AO3401A | SOT-23 | Q101, Q201 |
| 1 | ALS-PT19-315C/L177/TR8 Q_Photo_NPN | LED_0603_1608Metric | Q401 |
| 1 | CF4012M00012 12MHz | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y301 |
| 1 | DB128V-5.08-4P-GN-S J_PUMP | TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_Horizontal | J101 |
| 1 | DB128V-5.08-2P-GN-S J_PANEL | TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J102 |
| 1 | B2B-XH-A(LF)(SN) Conn_NPK | JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J103 |
Show 37 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | TYPE-C 24P QT 143 USB_C_Receptacle_USB2.0 | USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J104 |
| 1 | B6B-XH-A(LF)(SN) Conn_PH | JST_XH_B6B-XH-A_1x06_P2.50mm_Vertical | J401 |
| 1 | B3B-XH-A(LF)(SN) Conn_MOISTURE | JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J402 |
| 1 | B2B-XH-A(LF)(SN) BATT2 | JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | BT201 |
| 1 | B2B-XH-A(LF)(SN) BATT1 | JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | BT202 |
| 1 | 0501020.WR Fuse | Fuse_1206_3216Metric | F101 |
| 1 | B3U-1000P SW_Push | SW_SPST_B3U-1000P | SW301 |
| 1 | B3U-1000P SW_BOOT | SW_SPST_B3U-1000P | SW302 |
| 1 | SMF15CA D_TVS | D_SOD-323 | D101 |
| 1 | XL-1005SURC LED_STAT | LED_0402_1005Metric | D201 |
| 1 | PMEG2020EJ,115 2.5A | D_SOD-323F | D202 |
| 2 | ESD131B1W0201E6327 ESD131 | D_SOD-523 | D401, D402 |
| 1 | SS34 | D_SMA | D601 |
| 1 | SDFL1005Q1R0KTF 1u 10% 15mA | L_0402_1005Metric | L101 |
| 2 | XR0412-1R0M 1u 20% 4.5A | L_Sunlord_MWSA0412S | L201, L202 |
| 1 | PSPMAA0603-100M-ANF 10u | L_Sunlord_MWSA0603S | L601 |
| 18 | CL03A104KO3NNNC 100n | C_0201_0603Metric | C201, C202, C205, C207, C209, C214, C218, C301 +10 |
| 18 | GRM188R61E106KA73D 10u | C_0603_1608Metric | C203, C204, C210, C211, C212, C215, C216, C217 +10 |
| 1 | GRM0335C1E102GA01D 1n | C_0201_0603Metric | C206 |
| 2 | CC0201KRX5R8BB473 47n | C_0201_0603Metric | C208, C213 |
| 1 | CC0402KRX7R8BB223 22n | C_0402_1005Metric | C223 |
| 2 | CL03A105KP3NSNC 1u | C_0201_0603Metric | C308, C313 |
| 2 | GRM0335C1E220FA01D 22p | C_0201_0603Metric | C309, C310 |
| 1 | CL05A225MP5NSNC 2u2 | C_0402_1005Metric | C501 |
| 7 | RC0402FR-0710KL 10K | R_0402_1005Metric | R101, R305, R404, R405, R406, R407, R408 |
| 5 | AR03BTCX5001 5K1 | R_0402_1005Metric | R102, R103, R208, R211, R603 |
| 3 | RC0603FR-07100RL 100R | R_0603_1608Metric | R201, R205, R207 |
| 6 | AC0402FR-071KL 1K | R_0402_1005Metric | R202, R210, R304, R401, R402, R403 |
| 1 | RC0402FR-07127KL 127K | R_0402_1005Metric | R203 |
| 2 | RC0402FR-07100KL 100K | R_0402_1005Metric | R204, R213 |
| 1 | RC0402FR-072K2L 2K2 | R_0201_0603Metric | R206 |
| 1 | RC0201FR-0733KL 33K | R_0201_0603Metric | R209 |
| 3 | RTT011051FTH 1.05K | R_0201_0603Metric | R212, R301, R306 |
| 1 | RC0402FR-0725K5L 25K5 | R_0402_1005Metric | R214 |
| 2 | RC0201FR-0727RL 27R | R_0201_0603Metric | R302, R303 |
| 1 | RC0402FR-07200KL 200K | R_0402_1005Metric | R601 |
| 1 | RC0402FR-071ML 1M | R_0402_1005Metric | R602 |
IoT AgriFarm design files
The KiCad project lives in the sudo-junkie/IoT_AgriFarm repository on GitHub; these links point at the commit this page was built from.
- LayoutSRC/IoT_Agrifarm.kicad_pcb
- SchematicSRC/IoT_Agrifarm.kicad_sch
IoT AgriFarm: common questions
What microcontroller does the IoT AgriFarm use?
The IoT AgriFarm is built around the RP2040, from the RP2040/RP2350 family.
How big is the IoT AgriFarm PCB?
The IoT AgriFarm measures 53.3 × 58.4 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the IoT AgriFarm?
120 components, from 57 distinct parts. The full bill of materials is listed on this page.
Where can I download the IoT AgriFarm design files?
From the sudo-junkie/IoT_AgriFarm repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the IoT AgriFarm design in my own project?
Yes, under the terms of its GPL-2.0 license, which sudo-junkie chose for the repository.
Can I test firmware for the IoT AgriFarm without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug RP2040/RP2350 firmware against it before you order a PCB.
Similar boards
RP2040/RP2350
OSO-BOOK-C1
joeycastillo
85 × 115 mm29 parts2LCC-BY-SA-4.08.1kRP2040/RP2350
Corne cherry
foostan
277.2 × 107.5 mm164 parts2LCC-BY-4.07.7kRP2040/RP2350
Corne chocolate
foostan
277.2 × 107.5 mm164 parts2LCC-BY-4.07.7kRP2040/RP2350
Jitx design
gusmanb
55.5 × 65 mm26 parts4LGPL-3.05.0kRP2040/RP2350
LogicAnalyzer
gusmanb
57 × 55.2 mm6 parts2LGPL-3.05.0kRP2040/RP2350
Main
google
98 × 71 mm102 parts2LApache-2.02.9k