Soil Moisture Sensor with Digital & Analog Output
The Soil Moisture Sensor and Detector Module is designed to monitor moisture levels in soil, making it ideal for automatic irrigation systems, smart gardening, agricultural monitoring, and Arduino projects.
The sensor uses a two-electrode probe to detect changes in soil electrical conductivity. It provides both analog and digital outputs, allowing microcontrollers to measure relative soil moisture or detect when the soil reaches a preset moisture threshold.
The module features an adjustable potentiometer for setting the digital detection threshold and LED indicators for power and output status.
Key Features
-
Soil Moisture Detection: Detects changes in soil moisture through electrical resistance.
-
Dual Output: Supports analog and digital signals.
-
Adjustable Sensitivity: Onboard potentiometer for setting the digital switching threshold.
-
Wide Operating Voltage: Supports 3.3V–5V DC operation.
-
Low Power Consumption: Approximately 15mA operating current.
-
LED Indicators: Visual indication of power and detection status.
-
External Probe: Separate sensing probe connected to the interface module.
-
Microcontroller Compatible: Suitable for Arduino, ESP32, and other development boards with appropriate voltage-level connections.
Technical Specifications
| Parameter |
Specification |
| Product Type |
Soil Moisture Sensor and Detector |
| Sensor Technology |
Resistive Conductivity Measurement |
| Operating Voltage |
3.3V–5V DC |
| Operating Current |
Approximately 15mA |
| Analog Output |
Variable voltage proportional to sensor conductivity |
| Digital Output |
HIGH/LOW threshold signal |
| Digital Threshold |
Adjustable via potentiometer |
| Interface |
Analog and Digital |
| Indicators |
Power and Digital Output LEDs |
| Sensor Probe |
Two-Electrode Soil Probe |
| Compatible Controllers |
Arduino, ESP32, and other microcontrollers |
Pin Configuration
| Pin |
Function |
Description |
| VCC |
Power Supply |
3.3V–5V DC |
| GND |
Ground |
Ground Connection |
| AO |
Analog Output |
Relative Soil Moisture Signal |
| DO |
Digital Output |
Threshold Detection Signal |
Arduino Connection Example
- Connect VCC to Arduino 5V.
- Connect GND to Arduino GND.
- Connect AO to Arduino A0 for analog measurements.
- Connect DO to a digital input such as D2 for threshold detection.
- Adjust the onboard potentiometer to set the desired moisture detection threshold.
Note: Calibrate the sensor using dry and moist soil samples to determine suitable thresholds.
Applications
- Automatic Plant Watering Systems
- Smart Irrigation Projects
- Soil Moisture Monitoring
- Greenhouse Automation
- Agricultural Monitoring
- Indoor Plant Care
- Arduino and ESP32 Projects
- STEM and Educational Experiments
Important Notes
-
Resistive Sensor: Measures relative moisture through soil conductivity, not directly calibrated volumetric water content.
-
Calibration Required: Readings vary with soil type, mineral content, and temperature.
-
Probe Durability: Continuous electrical excitation can cause electrode corrosion. Intermittent powering is recommended.
-
Voltage Compatibility: Output levels depend on the supply voltage. Use 3.3V operation or suitable level shifting when connecting to 3.3V microcontrollers.
-
Raspberry Pi: Digital output can be read through GPIO at a safe 3.3V level. Analog measurements require an external ADC.
-
Water Protection: Keep the electronic control module dry. Do not assume the probe or cable assembly is fully waterproof without a verified rating.
Package Includes
- 1 × Soil Moisture Sensor Interface Module
- 1 × Soil Moisture Detection Probe