Capacitive Soil Moisture Module
Measures changes in soil-related capacitance for estimated moisture.
What is the Capacitive Soil Moisture Module and what is it used for?
Measures changes in soil-related capacitance for estimated moisture. Makers use it to log and calibrate moisture readings.
Plant-monitoring automation
Sensors convert a physical quantity into an electrical signal. Calibrate, verify module supply, interfaces and environmental limits.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Soil moisture (relative) |
| Range | Raw analog; calibrate dry and wet |
| Accuracy | Relative only; depends on soil and calibration |
| Interface | Analog voltage out |
| Supply voltage | 3.3 to 5.5 V |
| Operating temperature | 0 to 60 °C |
Pinout
How to use it
Read it in air (dry) and in a glass of water (wet), then map between them. Do not push it in past the line, and seal the top edge and electronics against water.
const int DRY = 2900, WET = 1250;
void setup() { Serial.begin(115200); }
void loop() { int raw = analogRead(34); Serial.println(map(raw, DRY, WET, 0, 100)); delay(1000); }Applications
Builds that use it
Plant soil moisture logger
Greenhouse trend monitor
Automatic plant watering system
Sapling watering reminder
Vermicompost bin moisture keeper
Green roof moisture sensors
Eight-point soil moisture map
Soil moisture traffic light
Common questions
What is the Capacitive Soil Moisture Module used for?
In products: plant-monitoring automation. In maker projects: log and calibrate moisture readings.
How does the Capacitive Soil Moisture Module work?
Sensors convert a physical quantity into an electrical signal. Calibrate, verify module supply, interfaces and environmental limits.
What voltage does the Capacitive Soil Moisture Module need?
3.3 to 5.5 V.
How do I connect the Capacitive Soil Moisture Module to an Arduino or ESP32?
Analog voltage out. Pins: VCC (3.3 or 5 V), GND (Ground), AOUT (Analog output: lower when wetter).
