Skip to the content
2 layers60 × 55 mmESP Plants, the printed circuit board in 3D

ESP32 Plant monitor using ADC moisture sensors

Size
60 × 55 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
30
Pads
52
Tracks, vias
67, 0
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
7 Nov 2024
Updated
26 Nov 2024

Overview

ESP Plants is an open-source printed circuit board by exen904, from the exen904/ESP32-Plant-Sensor repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 2-layer board of 60 × 55 mm with 11 parts on 30 nets, routed with 67 tracks and 0 vias.

It belongs with the sensors and measurement boards of this library.

README

readme.md

ESP-32 Plant Sensor for ESP-Home and HomeAssistant

This is a simple PCB to attach 6 capacitive moisuture sensors to a ESP32 for plant monitoring in HomeAssistant. The available MiFlora and Tuya clones with Zigbee were to expensive to purchase for all of my plants, so I chose this way.

The PCB works with both V1.2 and V2.0 sensors and applys 5V as working voltage to make it compatible with either one. Connection to the sensors is made via JST 2.0 connectors.

Update

PCB has been updated to accomodate larger tolerances on the ESP footprint THT holes. My first protoytpe showed no errors, but I could confirm, that the tolerances on the THT holes are extremely tight. I adjusted this in the current version, so if you did not order PCBs, please use the current version. If you ordered PCBs from the first revision, you can take a chance at drilling the holes up but I dont really recommend that, as you can also break traces during that.

ESP Pinout

Please refer to my KiCad Footprint of the ESP I used for the pinout, as there are so many different ESP Devkits available.

Pinout

BOM

  • 1x ESP32 Devkit with the correct pinout
  • 6x JST B3B-XH-A (2.0mm vertical) connectors
  • 4x M2x4 screws for securing the PCB in the bottom case

Software

I run these with ESPHome, see my code in the code folder. Calibrate the values under calibrate_linear for each state of sensor dry and sensor 100% (sensor partly emerged underwater).

For the HomeAssistant side of things, I created a configuration.yaml entry, which ties each sensor to a plant entity. Example also linked in the code folder. Please do yourself a favour, and name your sensors in ESPHome better than I did.

Pictures

PCB render soldered PCB

Parts

11
QtyValueFootprintReferences
6Conn_01x03_PinConnector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalPlant 1, Plant 2, Plant 3, Plant 4, Plant 5, Plant 6
1~1_custom_footprints_Library:ESP32_NodeMCUNodeMCU_32S1

The 7 most common of 11 parts.

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0

Questions

How big is the ESP Plants PCB?

It measures 60 × 55 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ESP Plants use?

11 parts. 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 ESP Plants KiCad files?

From the exen904/ESP32-Plant-Sensor repository on GitHub, at the commit this page was made from: the board is PCB/ESP Plants.kicad_pcb and its schematic PCB/ESP Plants.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP Plants design in my own project?

Its repository publishes it under the CERN-OHL-P-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).