
Hydroponics reservoir controller
bookofthefuture/hydroponics-pcb
KiCad PCB designs for the two-tier IKEA hydroponics monitoring/control system

KiCad PCB designs for the two-tier IKEA hydroponics monitoring/control system
Hydroponics tray controller is an open-source printed circuit board by bookofthefuture, from the bookofthefuture/hydroponics-pcb repository on GitHub. It is a 2-layer board of 99.5 × 99.5 mm with 23 parts on 35 nets, routed with 243 tracks and 35 vias.
It is built around the AMS1117-3.3 and SP3485EN-Y. Its parts include 5 capacitors, 5 resistors, 5 connectors, 3 ICs and 1 diode. It belongs with the ESP32 boards of this library.
KiCad PCB designs for the hydroponics monitoring/control system on a two-tier IKEA growing rack.
| Board | Status | MCU | Purpose |
|---|---|---|---|
tray-board | fab-ready: ERC/DRC/schematic-parity clean, routed with GND pours + stitching, full JLC BOM (all Basic parts) / CPL / gerbers generated | socketed ESP32 30-pin DevKit | Per-tray sensor + display node. One per tray (top / bottom). |
reservoir-board | not started | ESP32 (TBD) | Reservoir-side control: fill pumps, A/B + pH dosing pumps, level/EC/pH/temp sensing. |
Grow-lamp switching currently stays on the original ESP8266 hydroponics_monitor
node and is out of scope for these boards (may move to the reservoir board later).
| Function | Part | Bus | Notes |
|---|---|---|---|
| ToF distance (water level) | VL53L0X / VL53L1X | I²C 3.3 V | Shared SDA/SCL |
| Air pressure (+ humidity/temp on BME) | BMP280 / BME280 | I²C 3.3 V | Shared SDA/SCL |
| Lux level | BH1750 | I²C 3.3 V | Shared SDA/SCL |
| Water temperature | DS18B20 | 1-Wire 3.3 V | Dedicated GPIO, 4.7 kΩ pull-up |
| User input | Rotary encoder + push switch | GPIO / quadrature | 3.3 V |
| Display | 2.4" ILI9341 240×320, resistive touch (XPT2046) + SD card | SPI (shared bus, separate CS lines) | LVGL, encoder-driven UI; SD card wired but not yet used by firmware |
Display connector (J2, 14-pin) pinout: VCC, GND, CS(D5), RESET(D4), DC(D2), MOSI(D23), SCK(D18), LED(D15), MISO(D34), T_CLK(D18, shared), T_CS(D14), T_DIN(D23, shared), T_DO(D34, shared), T_IRQ(D35). SD card connector (J3, 4-pin, separate from J2): CS(D19), MOSI(D23, shared), MISO(D34, shared), SCK(D18, shared). New GPIOs used: 14, 19, 34, 35 — none of these were previously assigned, so add them to the ESPHome configs without touching the existing pin numbers.
No high-power switching on the tray board. An SP3485EN RS-485 transceiver (120 Ω termination, direction pin on GPIO12) links the two tray boards to the reservoir board.
All three ESPs talk to Home Assistant over WiFi (ESPHome native API). The tray boards also talk to the reservoir board over RS-485 — a local wired link so fill-level reads and pump control don't depend on WiFi/HA. The reservoir is the controlling node.
ESPHome configs live in the separate ha-config repo under esphome/
(hydro-tray-top.yaml, hydro-tray-bottom.yaml). The pin map is shared between
the schematic here and those configs — keep them in sync.
tray-board/ KiCad project for the tray sensor board
reservoir-board/ (future) KiCad project for the reservoir board
shared-library/ custom symbol (New_Library) + footprint (Library.pretty)
library, referenced by both boards' sym-lib-table/
fp-lib-table via ${KIPRJMOD}/../../shared-library/ - keep
custom parts (ESP32 DevKit socket, display modules, etc.)
here rather than per-board copies, which drift silently
docs/ pin maps, block diagrams, datasheetsRequires KiCad 10.x (kicad-cli) plus the standard symbol/footprint libraries.
tools/fab.sh tray-boardruns ERC + DRC (fails on any error/warning) and writes a JLCPCB-ready set to
tray-board/production/ (git-ignored — regenerated from source): gerbers
(Protel extensions) + separate PTH/NPTH Excellon drill files, zipped as
<name>-gerbers.zip; <name>-cpl.csv (SMD-only pick-and-place, DNP parts
excluded); <name>-bom.csv (DNP excluded, LCSC Part # column from each
part's LCSC schematic field). Parts you're sourcing/fitting yourself (e.g.
the socketed ESP32 module) should be marked Do Not Populate in the schematic
so they're left out of both the BOM and the CPL automatically.
It also runs tools/check_pins.py, which checks the MCU's pin usage for
hardware hazards ERC doesn't catch — currently ESP32 strapping pins (GPIO0,
2, 5, 12, 15) with an external pull that conflicts with their required
boot-time level, GPIO6-11 (internal flash, must never be used externally),
and UART0 (GPIO1/3, reserved for USB-serial). Fails the build on any
ERROR-severity finding; can also be run standalone:
tools/check_pins.py path/to/board.kicad_sch| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H1, H2, H3, H4 |
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric | C2, C4, C5 |
| 3 | 4.7k | Resistor_SMD:R_0805_2012Metric | R3, R4, R5 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C3 |
| 1 | 10uF | Capacitor_SMD:C_1206_3216Metric | C1 |
| 1 | 120 | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | 1Wire_Peripherals | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J6 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U3 |
| 1 | Display_MSP2401_2.4in_Touch | Library:Display_MSP2401_2.4in_Touch | J2 |
| 1 | ESP32 | Library:ESP32_DevKit_30Pin | U1 |
| 1 | Jumper | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J1 |
| 1 | LED | LED_SMD:LED_0805_2012Metric | D2 |
| 1 | Power_Comms | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J4 |
| 1 | SP3485EN | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | i2c_Peripherals | Connector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_Vertical | J5 |

bookofthefuture/hydroponics-pcb
KiCad PCB designs for the two-tier IKEA hydroponics monitoring/control system

ReflexCreations/io-board
This repository contains source documents and manufacturing files for the RE:Flex Dance Pad's I/O Board. It was created using KiCAD 5.1.4.

HecVelaz/Proyecto-Mburica-
Repositorio central del Proyecto Mburicao: Sistema IoT de monitoreo de nivel de cauces, modelos de predicción con IA y documentación científica


aayu0-0/RS485-to-WiFi-Gateway
An STM32-based RS485 to Wi-Fi gateway supporting Modbus communication for industrial IoT applications.



petrikevich2005/wifi-dmx-controller
этот репозиторий предназначен для хранения прошивки микроконтроллера этого проекта: https://docs.google.com/document/d/1X2l9bCAOKjv8QiKN7pxREiMzuwiFvaY4nnqX09m9t8/edit?usp=sharing

It measures 99.5 × 99.5 mm and has 2 copper layers, 1.6 mm thick.
23 parts, built around the AMS1117-3.3 and SP3485EN-Y. 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 bookofthefuture/hydroponics-pcb repository on GitHub, at the commit this page was made from: the board is tray-board/hydroponics_tray_controller/hydroponics_tray_controller.kicad_pcb and its schematic reservoir-board/hydroponics_reservoir_controller/hydroponics_reservoir_controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask bookofthefuture before reusing the design.