Projects with a soil moisture sensor
6 Mokxi projects use a capacitive soil moisture sensor (2 beginner, 2 intermediate and 2 advanced). They run on Arduino Uno and ESP32 boards. Here are all of them, from “Mini pump plant waterer” to “Plant monitor: light, soil, temperature and a pump”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.
How to pick your first one
- Start with “Mini pump plant waterer”, a beginner project that needs a soil moisture sensor, a relay module and a water pump.
- Arduino Uno runs 5 of them and ESP32 1. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the I2C LCD (2 projects), the photoresistor module (2) and the LED (2). With those on hand, most of this list is open to you.
- Before you build one on a real bench, read the capacitive soil moisture sensor wiring guide for your board below. It gives every pin and the voltage notes.
6 projects ready to run

Mini pump plant waterer
A capacitive soil probe watches the pot; when it reads dry, a relay runs the mini pump for three seconds, then waits for the water to soak in.
- Board
- Arduino Uno R3
- Parts
- Capacitive soil moisture sensor, relay module, mini water pump
- Level
- Beginner

Plant sensor for Home Assistant
A capacitive soil sensor mapped between two calibration readings, a light level, and a thirsty LED with two thresholds so it does not flicker.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Photoresistor module, capacitive soil moisture sensor, resistor, LED
- Level
- Beginner

Automatic plant waterer
A soil moisture stake, a relay and a small pump water a plant when it gets dry, in short bursts with time to soak.
- Board
- Arduino Uno R3
- Parts
- Capacitive soil moisture sensor, water level sensor, push button, relay module, DC motor, +2 more
- Level
- Intermediate

Plant monitor
A soil moisture sensor, a rain sensor and a water level sensor on three analog pins. Two read lower when wetter and one reads higher.
- Board
- Arduino Uno R3
- Parts
- Capacitive soil moisture sensor, rain sensor, water level sensor, resistor, LED
- Level
- Intermediate

Mars rover
A rover that drives three waypoints by dead reckoning, steers around hazards it sees with a sonar mast, samples soil and light.
- Board
- Arduino Uno R3
- Parts
- L298N motor driver, 2WD robot car chassis, push button, SSD1306 OLED display, VL53L0X time-of-flight sensor, +3 more
- Level
- Advanced

Plant monitor: light, soil, temperature and a pump
A photoresistor on A0, a soil moisture sensor on A1 and a thermistor on A2 report to an I2C LCD; when the soil dries out.
- Board
- Arduino Uno R3
- Parts
- Photoresistor, resistor, 10k NTC thermistor, L293D motor driver, capacitive soil moisture sensor, +2 more
- Level
- Advanced