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
βοΈ Key Specifications
Operating Voltage: 3.3V β 5V
Output 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 (0β1023 in Arduino)
Used for:
Smart irrigation
Data logging
β‘ Digital Output (DO)
HIGH/LOW based on threshold
Used for:
Automatic watering ON/OFF
π‘ Applications
π± Smart irrigation system
πͺ΄ 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 2β4 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)
Affected by soil type (sand, clay, etc.)
Needs calibration
π Resistive vs Capacitive Sensor
| Feature | Resistive (SmartElex) | Capacitive |
|---|---|---|
| Cost | Very cheap | Higher |
| Accuracy | Moderate | Better |
| Durability | Low (corrosion) | High |
| Best for | Learning | Long-term projects |
π 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 & simple, but not long-lasting
