Skip to the content
2 layers24 × 100 mmMoisture sensor, the printed circuit board in 3D

A low-power capacitive soil moisture sensor with an LCD display for indoor plant monitoring.

Size
24 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
48
Pads
143
Tracks, vias
245, 56
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
11 Jul 2026
Updated
19 Sep 2026

Overview

Moisture sensor is an open-source printed circuit board by gratinDeTopinambour, from the gratinDeTopinambour/Moisture-sensor repository on GitHub. It is a 2-layer board of 24 × 100 mm with 32 parts on 48 nets, routed with 245 tracks and 56 vias.

It is built around the CN3153. Its parts include 15 capacitors, 4 ICs, 3 resistors, 3 connectors and 3 switches. It belongs with the sensors and measurement and lEDs and displays boards and the STM32 boards of this library.

Main components

1

README

README.md

🌿 Capacitive Soil Moisture Sensor

A complete open-source capacitive soil moisture sensor project based on the STM32U073CB microcontroller.

This repository contains all resources for the project:

  • 📐 3D Design: Modular enclosure for 3D printing.
  • 🔌 Electronics (V1 & V2): KiCad files, Gerbers, BOM, PDF schematics, and 3D models.
  • 💻 Firmware: C/C++ source code optimized for STM32 (STM32CubeIDE / STM32CubeMX project).
  • 📖 Documentation: User manual and component datasheets.

🖼️ Project Overview

Complete EnclosureAssembled PCB
Moisture SensorAssembled PCB

📂 Project Structure

text
Moisture-sensor/
├── 3D_design/                             # CAD files for 3D printing
│   ├── moisture_sensor_capot.3mf         # Main top cover (3MF)
│   ├── moisture_sensor_capot_ecran.stl   # Top cover with display cutout (STL)
│   └── moisture_sensor_capot_pile.stl    # Battery hatch / compartment (STL)
│
├── Electronics/                           # Electronics design files
│   ├── datasheet/                         # Component datasheets
│   ├── Moisture_sensorV1/                 # First revision
│   └── Moisture_sensorV2/                 # Revision V2 (Main)
│       ├── 3D_model/                      # Complete PCB 3D STEP model
│       ├── BOM/                           # Bill of Materials (BOM)
│       ├── gerber_file/                   # Gerber files for PCB manufacturing
│       ├── KICAD/                         # KiCad CAD project (Schematics + PCB)
│       └── pdf_version/                   # Schematics in PDF format
│
├── Program/                               # Firmware & Source code
│   └── STM32U073CB/                       # STM32CubeIDE / CubeMX project
│       ├── Core/                          # Application source code (Inc, Src, Main)
│       ├── Drivers/                       # STM32 HAL and CMSIS drivers
│       ├── Capacitive_Moisture_sensor.ioc # STM32CubeMX configuration
│       ├── Capacitive_Moisture_sensor Debug.launch # Debug launch configuration
│       └── STM32U073CBTX_FLASH.ld         # Flash linker script
│

Parts

32
QtyValueFootprintReferences
7100nFCapacitor_SMD:C_0603_1608MetricC5, C6, C8, C9, C11, C12, C13
41uFCapacitor_SMD:C_0603_1608MetricC3, C4, C7, C10
210uFCapacitor_SMD:C_0805_2012MetricC1, C2
11kResistor_SMD:R_0603_1608MetricR2
1200Resistor_SMD:R_0603_1608MetricR3
122kResistor_SMD:R_0603_1608MetricR1
147nFCapacitor_SMD:C_1206_3216MetricC16
1Boot0TestPoint:TestPoint_Pad_D1.0mmTP1
1CN3153Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm_ThermalViasU2
1CprobeCapacitive_probe:C_Soil_Moisture_ProbeC15
1LCD_3_DIGITLCD:LCD_DISPLAY_THT_10PINU4
1LOGOLogo:QR_CODE_moisture_sensor_githubG***
1LOGOLogo:logo_topi_bwG***
1NRSTButton_Switch_SMD:SW_Push_1P1T_NO_Vertical_Wuerth_434133025816SW1
1RED_LEDLED_SMD:LED_0805_2012MetricD1
1ST-linkConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1STM32U073C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1Solar_pannelConnector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ1
1SwAButton_Switch_SMD:SW_Push_1P1T_NO_Vertical_Wuerth_434133025816SW2
1SwBButton_Switch_SMD:SW_Push_1P1T_NO_Vertical_Wuerth_434133025816SW3
1TLV70233_SOT23-5Package_TO_SOT_SMD:SOT-23-5U3
1batterieConnector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ2

More from gratinDeTopinambour/Moisture-sensor

1
  • 2 layers24 × 100 mmMoisture sensor, the printed circuit board in 3D

    Moisture sensor

    gratinDeTopinambour/Moisture-sensor

    A low-power capacitive soil moisture sensor with an LCD display for indoor plant monitoring.

    24 parts

Similar boards

  • 2 layers50 × 23.2 mmAnalog, the printed circuit board in 3D

    Analog

    hoglet67/RGBtoHDMI

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

    32 parts1kGPL-3.0
  • 2 layers136.8 × 54.2 mmRetropie zero, the printed circuit board in 3D

    Retropie zero

    hackclub/OnBoard

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

    32 parts915
  • 2 layersMooltipass top, the printed circuit board in 3D

    Mooltipass top

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    32 parts531
  • 2 layers16 × 20 mmESPKey, the printed circuit board in 3D

    ESPKey

    octosavvi/ESPKey

    Wiegand data logger, replay device and micro door-controller

    32 parts353GPL-2.0
  • 2 layers82 × 40.9 mmDisplay7447, the printed circuit board in 3D

    Display7447

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    32 parts269
  • 2 layers40 × 38 mmShield, the printed circuit board in 3D

    Shield

    murexrobotics/electrical

    Highly integrated electronics design and printed circuit boards (PCBs) for the MATE ROV Competition. Attempt the impossible.

    32 parts192MIT
  • 2 layers47 × 39 mmQrss clock tx, the printed circuit board in 3D

    Qrss clock tx

    swharden/AVR-projects

    A collection of standalone AVR projects written in C

    32 parts184MIT
  • 2 layers30.9 × 63 mmStm32-io extend, the printed circuit board in 3D

    Stm32-io extend

    hardenedlinux/cheap-pcb

    Cheap PCB: Better understanding the current status of hardware supply chain

    32 parts170CC0-1.0

Questions

How big is the Moisture sensor PCB?

It measures 24 × 100 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Moisture sensor use?

32 parts, built around the CN3153. 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 Moisture sensor KiCad files?

From the gratinDeTopinambour/Moisture-sensor repository on GitHub, at the commit this page was made from: the board is Electronics/Moisture_sensorV1/KiCad/moisture_sensor.kicad_pcb and its schematic Electronics/Moisture_sensorV1/KiCad/Solar_power_input.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Moisture sensor design in my own project?

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