DIYables Capacitive Soil Moisture Sensor Module for Arduino, ESP32, ESP8266, Raspberry Pi, 5 pieces
Click to zoom






Quick Overview
The DIYables capacitive soil moisture sensor measures soil moisture levels using capacitance sensing rather than resistive sensing. This capacitive design is more corrosion-resistant and provides a longer lifespan compared to resistive sensors.
This 5-pack includes five sensors ideal for smart garden systems, automatic irrigation, and plant monitoring projects. The sensors output an analog signal proportional to soil moisture, allowing you to read moisture levels with Arduino, ESP32, ESP8266, Raspberry Pi, and other microcontrollers.
Key Features
- Corrosion-Resistant Design — Capacitive sensing provides longer lifespan than resistive sensors
- Analog Output — Provides continuous moisture level readings
- Wide Voltage Range — Operating voltage 3.3V to 5.5V for broad microcontroller compatibility
- 5-Pack — Includes five sensors for multi-plant or multi-zone monitoring
- Smart Agriculture Applications — Ideal for smart garden, automatic irrigation, and moisture detection projects
- Presoldered and Not Soldered Options — Provided in presoldered and not soldered versions for selection
- Tutorial Support — Comprehensive tutorials and MicroPython support available
- ...NOTE
- If you are using the ESP32, you need to configure the ADC with 11 dB attenuation to set the voltage reference range to handle up to 3.3V.
- Don't use pure water for testing because it doesn't conduct electricity, so it won't change the sensor readings.
- The reading value range from micro-controller depends on the following factors:
- ..* How deep the sensor is placed
- ..* The composition of soil or water
- ..* The voltage suppplies to the VCC pin.
- ..* Voltage reference of ADC.
- ..* ADC resolution of micro-controller.
- Avoid burying the circuit part (found on top of the sensor) in soil or water, as it could harm the sensor.
- ...NOTE
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | Capacitive Soil Moisture Sensor |
| Sensor Type | Capacitive (non-resistive) |
| Operating Voltage | 3.3V - 5.5V |
| Output Type | Analog |
| Output Range | 0 - VCC |
| Current Consumption | 5mA |
| Probe Length | Approx. 98mm |
| Probe Width | Approx. 23mm |
| Package Quantity | 5 pieces |
Tutorials
- Arduino - Soil Moisture Sensor
- Arduino Uno R4 - Soil Moisture Sensor
- Arduino Nano - Soil Moisture Sensor
- Arduino Nano ESP32 - Soil Moisture Sensor
- ESP32 - Soil Moisture Sensor
- ESP32 MicroPython - Soil Moisture Sensor
- ESP8266 - Soil Moisture Sensor
- Raspberry Pi - Soil Moisture Sensor
- Raspberry Pi Pico - Soil Moisture Sensor
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano, etc.)
- ESP32 development boards
- ESP8266 (NodeMCU, Wemos D1, etc.)
- Raspberry Pi (all models)
- Raspberry Pi Pico
- Any microcontroller with analog input capability









