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

A low-power capacitive soil moisture sensor with an LCD display for indoor plant monitoring.
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.
A complete open-source capacitive soil moisture sensor project based on the STM32U073CB microcontroller.
This repository contains all resources for the project:
| Complete Enclosure | Assembled PCB |
|---|---|
![]() | ![]() |
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
│| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 100nF | Capacitor_SMD:C_0603_1608Metric | C5, C6, C8, C9, C11, C12, C13 |
| 4 | 1uF | Capacitor_SMD:C_0603_1608Metric | C3, C4, C7, C10 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric | C1, C2 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R2 |
| 1 | 200 | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 22k | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | 47nF | Capacitor_SMD:C_1206_3216Metric | C16 |
| 1 | Boot0 | TestPoint:TestPoint_Pad_D1.0mm | TP1 |
| 1 | CN3153 | Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm_ThermalVias | U2 |
| 1 | Cprobe | Capacitive_probe:C_Soil_Moisture_Probe | C15 |
| 1 | LCD_3_DIGIT | LCD:LCD_DISPLAY_THT_10PIN | U4 |
| 1 | LOGO | Logo:QR_CODE_moisture_sensor_github | G*** |
| 1 | LOGO | Logo:logo_topi_bw | G*** |
| 1 | NRST | Button_Switch_SMD:SW_Push_1P1T_NO_Vertical_Wuerth_434133025816 | SW1 |
| 1 | RED_LED | LED_SMD:LED_0805_2012Metric | D1 |
| 1 | ST-link | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | STM32U073C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U1 |
| 1 | Solar_pannel | Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | J1 |
| 1 | SwA | Button_Switch_SMD:SW_Push_1P1T_NO_Vertical_Wuerth_434133025816 | SW2 |
| 1 | SwB | Button_Switch_SMD:SW_Push_1P1T_NO_Vertical_Wuerth_434133025816 | SW3 |
| 1 | TLV70233_SOT23-5 | Package_TO_SOT_SMD:SOT-23-5 | U3 |
| 1 | batterie | Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | J2 |

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

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

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


octosavvi/ESPKey
Wiegand data logger, replay device and micro door-controller

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

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

swharden/AVR-projects
A collection of standalone AVR projects written in C

hardenedlinux/cheap-pcb
Cheap PCB: Better understanding the current status of hardware supply chain
It measures 24 × 100 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask gratinDeTopinambour before reusing the design.