Soil Moisture Sensor For Arduino
₨150
you can payment online thorugh Easypaisa, jazzcash, Raast
Cash on Delivery All over Pakistan
Direct Bank Transfer Payments
About this item
Resistive soil moisture sensor module with LM393 comparator board and 2-pin probe. Works with Arduino, ESP32 and ESP8266 – with analog and digital outputs and adjustable sensitivity for plant monitoring and automatic irrigation projects.
Monitor Soil Moisture with Your Arduino
Find out exactly how wet your plant’s soil is with this Soil Moisture Sensor for Arduino. This resistive-type soil moisture sensor module comes with an LM393 comparator board and a 2-pin soil probe, and it is ideal for Arduino, ESP32 and ESP8266 based plant care and agriculture projects. Push the probe into the soil, connect a few wires, and your board can “read” how much water the soil holds.
Key Features
- Analog and digital output – read exact moisture levels from the analog pin, or get a simple wet/dry signal from the digital pin.
- On-board potentiometer – turn the small preset knob to adjust the sensitivity (the wet/dry threshold) of the digital output.
- 2-pin soil probe with connecting wire – the probe plugs into the driver module through the included wire; just push it into the soil.
- Wide compatibility – works with Arduino, ESP32, ESP8266 and other microcontroller boards.
- Made for real projects – home gardening, automatic irrigation systems, smart agriculture and plant health monitoring.
How to Connect (Wiring)
Use jumper wires to connect the module to your Arduino Uno as follows:
| Sensor Module Pin | Connect To (Arduino Uno) |
|---|---|
| VCC | 5V |
| GND | GND |
| AO (analog out) | A0 |
| DO (digital out) | D2 |
Probe: plug the 2-pin probe connector into the module’s probe header.
Arduino Example Code
1. Read soil moisture (analog)
Upload this sketch, open the Serial Monitor at 9600 baud, and watch the values change as the soil gets wetter or drier:
void setup() {
Serial.begin(9600);
}
void loop() {
int moisture = analogRead(A0); // read the AO pin
Serial.print("Soil moisture: ");
Serial.println(moisture); // lower value = wetter soil
delay(1000);
}
2. Digital threshold example (D2)
This sketch uses the digital output. Turn the on-board potentiometer to set the wet/dry switching point:
const int dryPin = 2; // DO pin connected to Arduino D2
void setup() {
pinMode(dryPin, INPUT);
Serial.begin(9600);
}
void loop() {
if (digitalRead(dryPin) == HIGH) {
Serial.println("Soil is DRY - time to water the plant!");
} else {
Serial.println("Soil is WET - no watering needed.");
}
delay(1000);
}
Frequently Asked Questions
1. What is the difference between the analog and digital outputs?
The analog output (AO) gives a value between 0 and 1023 that shows exactly how wet the soil is. The digital output (DO) simply switches HIGH or LOW when the moisture crosses the threshold you set with the potentiometer.
2. How do I adjust the sensitivity?
Turn the small on-board potentiometer with a screwdriver. This sets the wet/dry threshold for the digital output.
3. What voltage does the sensor need?
The module runs on 3.3V to 5V, so you can power it directly from your Arduino’s 5V pin (or 3.3V on an ESP32/ESP8266).
4. Can I leave the probe in wet soil? Is the module waterproof?
The 2-pin probe is designed to sit in damp soil, but the LM393 electronics board is not waterproof – keep the module itself dry and above the soil.
5. Which boards does it work with?
Any board with analog and digital inputs: Arduino Uno/Nano/Mega, ESP32, ESP8266 (NodeMCU) and other similar microcontrollers.
6. What can I build with it?
Plant watering reminders, automatic irrigation systems, smart gardening projects, greenhouse monitoring and school science projects.
Order your Soil Moisture Sensor for Arduino from QKZee Technologies today – the best price in Pakistan, with fast delivery to students and hobbyists across the country.
Top Brand
Highly Rated
100K+ customers rate items from this brand highly
Trending
100K+ orders for this brand in past 3 months
Low Returns
Customers usually keep items from this brand
Related products
-
Sale!

5kg Aluminum Load Cell Weighing Sensor YZC-133 Available in Lahore, Pakistan
₨470Original price was: ₨470.₨340Current price is: ₨340. -
Sale!

Buy Arduino Starter Kit UNO SMD in Lahore, Pakistan – Best Price for Beginners & DIY Projects
₨6,780Original price was: ₨6,780.₨5,650Current price is: ₨5,650. -
Sale!

IR Flame Sensor Module – Reliable Fire Detection at Best Price in Lahore, Pakistan
₨180Original price was: ₨180.₨140Current price is: ₨140. -
Sale!

Water Level Sensor Module: Monitor Liquid Levels Arduino Compatible in Lahore, Pakistan
₨120Original price was: ₨120.₨75Current price is: ₨75.
Looking for specific info?
Products related to this item
- Sponsored | Try Prime for unlimited fast, free shipping
Related products
-

-
Sale!

Load Cell Amplifier Module HW29 HX711 Analog to Digital Converter Available in Lahore, Pakistan
₨210Original price was: ₨210.₨160Current price is: ₨160. -
Sale!

Buy Arduino Starter Kit UNO SMD in Lahore, Pakistan – Best Price for Beginners & DIY Projects
₨6,780Original price was: ₨6,780.₨5,650Current price is: ₨5,650. -
Sale!

RPM Sensor Module Arduino RPM Rotational Speed Measuring Sensor Best Price in Pakistan
₨220Original price was: ₨220.₨120Current price is: ₨120.
