A Soil Moisture Sensor is a device that measures the volumetric water content in soil. It helps you determine whether your plants need watering, making it ideal for smart gardening, agriculture, and automated irrigation systems.
The sensor detects moisture levels in the soil using electrical conductivity between two probes. As the soil gets wetter, conductivity increases; as it dries out, conductivity drops.
Working Principle
The sensor has two probes that you insert into the soil. These probes act as a variable resistor (like a potentiometer). The more water in the soil, the lower the resistance, which means higher conductivity. The sensor outputs an analog signal (or digital if connected via comparator module) that corresponds to the moisture level.
Features
-
Simple analog or digital output (depending on module version)
-
Compatible with Arduino, ESP32, Raspberry Pi, etc.
-
Low power consumption
-
Compact and easy to install
-
Adjustable threshold (for digital version with potentiometer)
Arduino Wiring
| Sensor Pin | Arduino Pin |
|---|---|
| VCC | 5V |
| GND | GND |
| A0 | A0 |
Sample Arduino Code
Note: A lower value usually means wetter soil, and a higher value means the soil is drier.
Applications
-
Automated plant watering systems
-
Smart gardens
-
Agriculture and greenhouse monitoring
-
Soil research
-
DIY Arduino projects
Applications
- Agriculture
- Archeology
- Biofuel study
- Erosion studies
- Dust Control
- Soil carbon sequestration studies
Packages include
1 x Soil Moisture Detection Humidity Sensor




There are no reviews yet.