SmartElex Soil Moisture Sensor
What this sensor is
The SmartElex Soil Moisture Sensor is a simple analog sensor used to measure water content in soil.
It tells you:
Soil is dry
Soil is wet
Widely used in smart irrigation & plant monitoring systems
Working Principle
Has two metal probes inserted into soil
Measures electrical conductivity
Logic:
Wet soil conducts more low resistance high output
Dry soil conducts less high resistance low output
Output is analog voltage based on moisture level
rput Type: Analog
Compatible with: Arduino, ESP32, Raspberry Pi
Size: Compact (~61mm probe length)
Pinout
(For typical module with amplifier board)
VCC 3.3V / 5V
GND Ground
AO Analog output (to Arduino A0)
DO (optional) Digital output (threshold-based)
Output Explanation (VERY IMPORTANT)
Analog Output (AO)
Gives moisture level (01023 in Arduino)
Used for:
Smart irrigation
Data logging
Digital Output (DO)
HIGH/LOW based on threshold
Used for:
Automatic watering ON/OFF
ystem
Plant monitoring
Agriculture automation
Smart gardening (IoT)
Automatic water pump control
Important Notes (VERY IMPORTANT)
This is where most beginners make mistakes:
Corrosion Problem
Metal probes rust over time
Accuracy decreases
Real-world issue:
Cheap sensors may fail in 24 weeks (continuous use)
Solution
Power sensor only when taking reading
Or upgrade to:
DFRobot Capacitive Soil Moisture Sensor 536.67 (better, no corrosion)
Other limitations
Not highly accurate (relative measurement only)
Asistive vs Capacitive Sensor
When to use this
Use SmartElex sensor if you want:
Beginner projects
Low-cost irrigation system
Quick prototyping
When NOT to use
Avoid if:
Long-term outdoor use
Professional agriculture systems
Final Understanding
This sensor = water level detector for soil Cheap &am
Feature | Resistive (SmartElex) | Capacitive |
Cost | Very cheap | Higher |
Accuracy | Moderate | Better |
Durability | Low (corrosion) | High |
Best for | Learning | Long-term projects |

