The SEN0169-V2 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 soil's 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 SEN0169-V2 is a robust and easy-to-use sensor with the following technical specifications:
Parameter | Value |
---|---|
Operating Voltage | 3.3V - 5.5V |
Output Signal | Analog voltage (0-3.0V) |
Current Consumption | < 20mA |
Measurement Range | 0% - 100% soil moisture |
Interface Type | Analog |
Operating Temperature | 0°C - 60°C |
Dimensions | 60mm x 20mm |
The SEN0169-V2 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.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 connect the SEN0169-V2 to an Arduino UNO:
VCC
→ 5V pin on ArduinoGND
→ GND pin on ArduinoAOUT
→ A0 pin on ArduinoThe following code reads the analog output from the SEN0169-V2 and prints the soil moisture level to the Serial Monitor:
// Define the analog pin connected to the sensor
const int sensorPin = A0;
// Variable to store the sensor reading
int sensorValue;
void setup() {
// Initialize the Serial Monitor 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);
}
No Output or Incorrect Readings
Fluctuating Readings
VCC
and GND
to stabilize the power supply.Sensor Not Responding
Q: Can the SEN0169-V2 be used with a Raspberry Pi?
A: Yes, but since the Raspberry Pi does not have built-in analog input pins, you will need an external ADC (Analog-to-Digital Converter) to read the sensor's output.
Q: How do I clean the sensor?
A: Gently wipe the sensor probes with a soft, damp cloth. Avoid using abrasive materials or submerging the sensor in water.
Q: Can the sensor be buried in soil permanently?
A: While the SEN0169-V2 is corrosion-resistant, it is not designed for permanent installation. For long-term use, consider removing the sensor when not in use to extend its lifespan.