

The SEN0192 is a soil moisture sensor manufactured by DFRobot. It is designed to measure the volumetric water content in soil, providing an analog output that corresponds to the moisture level. This sensor is widely used in agricultural applications, automated irrigation systems, and environmental monitoring projects. Its simple interface and reliable performance make it an excellent choice for both hobbyists and professionals.








The SEN0192 soil moisture sensor has the following key technical specifications:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V - 5.5V |
| Output Signal | Analog voltage (0-3.0V typical) |
| Current Consumption | < 20mA |
| Measurement Range | 0% - 100% soil moisture |
| Interface Type | Analog |
| Operating Temperature | 0°C to 60°C |
| Dimensions | 60mm x 20mm x 5mm |
The SEN0192 has a simple 3-pin interface:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V - 5.5V) |
| 2 | GND | Ground connection |
| 3 | AOUT | Analog output signal proportional to soil moisture |
VCC pin to a 3.3V or 5V power source, depending on your system's voltage level.GND pin to the ground of your circuit.AOUT pin to an analog input pin on your microcontroller (e.g., Arduino).Below is an example of how to use the SEN0192 with an Arduino UNO to read soil moisture levels:
// Define the analog pin connected to the sensor's AOUT pin
const int sensorPin = A0;
// Variable to store the sensor reading
int sensorValue = 0;
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
}
void loop() {
// Read the analog value from the sensor
sensorValue = analogRead(sensorPin);
// Map the sensor value to a percentage (0-100%)
int moisturePercent = map(sensorValue, 0, 1023, 0, 100);
// Print the moisture percentage to the Serial Monitor
Serial.print("Soil Moisture: ");
Serial.print(moisturePercent);
Serial.println("%");
// Wait for 1 second before the next reading
delay(1000);
}
map() function converts the raw analog reading (0-1023) to a percentage (0-100%). Adjust the mapping range if necessary based on your calibration.Serial Monitor in the Arduino IDE to view the soil moisture readings in real time.No Output or Incorrect Readings
VCC, GND, and AOUT pins are properly connected.Fluctuating Readings
Corrosion of Probes
Low Sensitivity
Q: Can the SEN0192 be used outdoors?
A: While the SEN0192 can be used outdoors, it is not waterproof. Protect the sensor from direct exposure to water and extreme weather conditions to prevent damage.
Q: How do I calibrate the sensor?
A: To calibrate, measure the sensor's output in completely dry soil and fully saturated soil. Use these values to adjust the mapping range in your code.
Q: Can I use the SEN0192 with a 3.3V microcontroller?
A: Yes, the SEN0192 operates at 3.3V to 5.5V, making it compatible with both 3.3V and 5V systems.
Q: What is the lifespan of the SEN0192?
A: The lifespan depends on usage and environmental conditions. Avoid prolonged exposure to water and corrosive environments to extend its life.