Skip to the content
2 layers49 × 50 mmPlant watering system, the printed circuit board in 3D

Plant watering system

Excse/plant-watering-system1

A completely selfmade smart watering system for plants of any kind integrated into HomeAssistant

Size
49 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
45
Nets
52
Pads
164
Tracks, vias
226, 17
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
14 Sep 2026
Updated
25 Oct 2026

Overview

Plant watering system is an open-source printed circuit board by Excse, from the Excse/plant-watering-system repository on GitHub. It is a 2-layer board of 49 × 50 mm with 45 parts on 52 nets, routed with 226 tracks and 17 vias.

It is built around the TPS63802DLAR, DFE201612E-R47M=P2 and AO3400A, with the AO3401A, S2B-PH-SM4-TB(LF)(SN) and KT-0805G among its other parts. Its parts include 19 resistors, 11 capacitors, 5 connectors, 4 diodes and 3 ICs. It belongs with the home automation and IoT boards and the ESP32 boards of this library.

Main components

10

README

README.md

🌱 Smart Plant Pot

An ESP32-based plant pot project combining soil moisture sensing, Home Assistant integration, a custom PCB, and a planned automatic watering system with an internal reservoir.

Getting started · Firmware guide · Hardware guide · Development checklist · PCB previews

Work in progress: firmware and electronics are being prototyped. Soil moisture readings and MQTT discovery are implemented; the complete automatic watering pot is still under development.

Current status

AreaAvailable todayStill planned
FirmwareGPIO 34 moisture readings, calibration, Wi-Fi, MQTT state and Home Assistant discoveryPump control, reservoir sensing, automatic watering and manual watering commands
ElectronicsEditable KiCad schematic, board layout and generated previewsPrototype assembly and validation
PotIntegrated reservoir and electronics conceptPrintable design, assembly instructions and plant trials

The repository currently supports testing moisture sensing on an ESP32 development board. Pot CAD files and a complete assembly guide are not included yet.

The plant pot

The pot is intended to take care of routine watering while keeping everything in one unit:

  • A soil moisture sensor measures when the plant needs water.
  • A pump delivers water from an internal reservoir.
  • A water level sensor monitors the reservoir so the system knows when it needs refilling.
  • Custom firmware manages sensing, watering, and communication with Home Assistant over Wi-Fi and MQTT.
  • A custom PCB and printable pot bring the electronics and water system together, with access for refilling and maintenance.

Home Assistant will provide moisture and reservoir readings, watering status, and manual watering controls. Automatic watering should run on the pot itself; its behavior during network outages is part of the firmware design.

Getting started

To try the current firmware, you need an ESP32 development board compatible with PlatformIO's esp32dev target, an analog soil moisture sensor, PlatformIO, Wi-Fi, and an MQTT broker. Home Assistant is optional for initial testing. The firmware guide lists the requirements and setup instructions.

Clone the repository with its library submodule. The commands below use GitHub SSH access, including for the rhadar submodule:

sh
git clone --recurse-submodules git@github.com:Excse/plant-watering-system.git
cd plant-watering-system/firmware

For an existing checkout, run git submodule update --init --recursive from the repository root.

Follow the firmware guide to wire the sensor, configure Wi-Fi and MQTT, flash the ESP32, calibrate readings, and connect Home Assistant.

Development checklist

Start by testing the sensors and pump together, then use that prototype to finish the PCB and pot design. Validate automatic watering under supervision before an extended plant trial.

Sensors and pump

  • Validate moisture calibration and reading stability in the intended soil.
  • Choose and test a water level sensor for the reservoir.
  • Control the pump manually and measure water delivered for different runtimes.
  • Test the power supply with the ESP32, sensors, and pump running together.

Firmware and Home Assistant

  • Add reservoir level, watering status, and manual pump control to MQTT discovery.
  • Implement configurable moisture thresholds and watering amounts, with time for water to soak in between cycles.
  • Stop or prevent watering on invalid readings or an empty reservoir, and enforce a maximum pump runtime.
  • Define and test behavior after power loss and during Wi-Fi or MQTT outages.

Custom PCB

  • Complete the schematic using the tested components and power requirements.
  • Finish PCB layout and resolve relevant ERC/DRC findings.
  • Manufacture and assemble a prototype board, then test sensing, pump control, and Wi-Fi together.

Integrated pot

  • Plan the soil area, reservoir capacity, and space for the pump, sensors, and PCB.
  • Design water routing and an electronics compartment protected from moisture.
  • Add access for refilling, cleaning, and repairs, then print and test the pot for fit and leaks.

Complete system

  • Test watering amounts and sensor behavior with everything installed in the pot.
  • Run an extended plant trial and refine calibration and watering settings.
  • Document the parts, assembly, firmware setup, and maintenance.

Schematic

Plant watering system schematic

Click the preview to open the full-size SVG.

Open pcb/pcb.kicad_pro in KiCad 10 to explore the editable design. GitHub Actions keeps the preview updated when the schematic or project files change on the default branch.

Local symbols, footprints, and 3D models are organized in pcb/libraries/.

PCB previews

Angled 3D render of the PCB with component models

3D view of the current design. Click to enlarge; components appear where a 3D model is assigned.

FrontBack
Front PCB copper and silkscreenBack PCB copper and silkscreen, viewed from underneath

Copper and silkscreen, cropped to the board. Click either preview to enlarge; the back is mirrored to show the underside.

The KiCad checks and previews workflow runs ERC and DRC for hardware changes and updates these previews on the default branch. See hardware documentation for report and preview-generation details.

Repository layout

DirectoryContents
firmware/ESP32 source, PlatformIO configuration, and setup instructions
pcb/KiCad project, schematic, PCB, and local component libraries
docs/Schematic and PCB previews, plus hardware automation documentation
scripts/KiCad rule checks and preview generation
.github/workflows/Automation for hardware checks and preview updates

Parts

45
QtyValueFootprintReferences
5100nFcustom:C_0402_1005MetricC1, C5, C7, C9, C10
4100kcustom:R_0402_1005MetricR3, R4, R14, R16
31.5kcustom:R_0402_1005MetricR7, R11, R12
31kcustom:R_0402_1005MetricR13, R15, R17
34.7uFcustom:C_0603_1608MetricC2, C6, C8
210kcustom:R_0402_1005MetricR5, R19
25.1kcustom:R_0402_1005MetricR9, R10
1100custom:R_0402_1005MetricR18
1100uFcustom:C_0805_2012MetricC11
110uFcustom:C_0603_1608MetricC3
12.2kcustom:R_0402_1005MetricR8
122uFcustom:C_0603_1608MetricC4
1470nHcustom:L_Murata_DFE201610PL1
1510kcustom:R_0402_1005MetricR1
156kcustom:R_0402_1005MetricR6
191kcustom:R_0603_1608MetricR2
1AO3400Acustom:SOT-23-3Q2
1AO3401Acustom:SOT-23-3Q1
1BQ24075RGTRcustom:QFN-16-1EP_3x3mm_P0.5mm_EP1.7x1.7mmU2
1Batterycustom:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalJ2
1ESP-32S DevBoardcustom:ESP-32S_USB-C_CH340_DevBoardU3
1Greencustom:LED_0805_2012MetricLED2
1Pumpcustom:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalJ4
1Redcustom:LED_0805_2012MetricLED1
1SMAJ6.0Acustom:D_SMAD1
1SS34custom:D_SMAD2
1Soil_Sensorcustom:JST_PH_S3B-PH-SM4-TB_1x03-1MP_P2.00mm_HorizontalJ3
1TPS63802DLARcustom:Texas_VSON-HR-10_2x3mm_P0.5mmU1
1USB-Ccustom:USB_C_Receptacle_HX_TYPE-C-6PJ1
1Water_Sensorcustom:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalJ5

Similar boards

  • 4 layers59 × 101 mmEnku mainboard r0.1, the printed circuit board in 3D

    Enku mainboard r0.1

    aliaksei-lameyka/ENKU-Base-reader

    Open enku-mainboard-r0.1.kicadpro with KiCad10.0.7. Matching PCB/root schematic and power.kicadsch, mcuio.kicadsch, epdhv.kicadsch, connectors.kicadsch are canonical.

    127 parts1CERN-OHL-W-2.0
  • 4 layers80 × 60.6 mmEsp extension, the printed circuit board in 3D

    Esp extension

    Miky8745/HalfLife-Drone

    It's an extension for an ESP32 S3 that allows it to safely control 4 coreless DC motors and get data from an IMU and Barometer units. Meaning it's prepared to be used in a quadcopter. And a frame for the drone itself.

    66 parts
  • 4 layers118 × 76 mmSmart led badge, the printed circuit board in 3D

    Smart led badge

    zgeez/Pixel-Badge

    Wearable 32x32 LED badge with Zephyr firmware, BLE control, passive NFC, and a Flutter Android app, built around a custom nRF52840 PCB.

    1,236 partsMIT
  • 4 layers61.8 × 79.8 mmOwl mainboard, the printed circuit board in 3D

    Owl mainboard

    danieltyukov/owltunes

    Owl-shaped Spotify remote for your desk and pocket: ESP32-S3 firmware, LVGL UI, KiCad PCB, 3D-printed enclosure, and owl v0 on the Waveshare AMOLED kit

    107 partsMIT
  • 4 layers190 × 110 mmWith GL3224, the printed circuit board in 3D

    With GL3224

    Benjamin-girard-1/magnetometer-node-old

    282 parts
  • 4 layers100 × 100 mmAmod m, the printed circuit board in 3D

    Amod m

    gallicchio/AMOD-and-RFMOD

    The tutorial's 2x12 adapter (/mudd/133electronics/icepi-zero-dac-adc/adapterboard/) with a 2 x 6 right-angle Pmod socket on a 15 mm extension of its right-hand end, so an Icepi Zero can drive AMOD-A's and RF-MOD's Pmod…

    207 parts
  • 2 layers70 × 70 mmWater Cutoff, the printed circuit board in 3D

    Water Cutoff

    cyberknet/water-sensor-cutoff

    Water sensor and cutoff for HomeAssistant using an ESP32 DevKitC board

    38 parts
  • 4 layers96 × 70 mmTradewind, the printed circuit board in 3D

    Tradewind

    binaryBeachLLC/tradewind

    Tradewind TW-1: solar LoRaWAN field sensor. KiCad 9 board, CadQuery enclosure, RUI3 firmware, simulations, test data, report and datasheet.

    85 parts

Questions

How big is the Plant watering system PCB?

It measures 49 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Plant watering system use?

45 parts, built around the TPS63802DLAR, DFE201612E-R47M=P2, AO3400A and AO3401A. 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.

Where can I download the Plant watering system KiCad files?

From the Excse/plant-watering-system repository on GitHub, at the commit this page was made from: the board is pcb/pcb.kicad_pcb and its schematic pcb/pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Plant watering system design in my own project?

Its repository states no licence, so its author keeps all rights: ask Excse before reusing the design.