Soil Moisture Sensor
Low-cost soil moisture module for smart farming and irrigation demos.
AI Ready Overview
Quick Summary
Soil Moisture is a agriculture sensor commonly used in FYP and embedded projects. It is best for smart irrigation and greenhouse monitoring, with wiring and testing planned around Arduino, ESP32, Raspberry Pi with ADC.
Difficulty
Beginner
Time Required
1-3 days for basic wiring and sample code; 1 week if used inside a complete FYP prototype
Cost
RM3-RM15 module range in Malaysia; full project cost depends on scope.
Components
Soil Moisture, Arduino, ESP32, Raspberry Pi with ADC
Overview
What is Soil Moisture?
Soil moisture sensors are used to estimate whether soil is dry or wet. Cheap resistive probes are common for demos but corrode over time, so capacitive probes are better for longer projects.
Engineering Reference
Quick Specs
| Output | Analog and optional digital threshold |
|---|---|
| Probe Type | Resistive or capacitive depending on module |
| Best For | Relative wet/dry detection |
Real Usage Notes
Suitable / Not Suitable
Suitable for
- ✓ Smart irrigation
- ✓ Greenhouse monitoring
- ✓ Plant watering reminders
Not suitable for
- ✕ Accurate soil science measurement
- ✕ Long-term outdoor use with cheap resistive probes
Build Planning
Difficulty
Soil Moisture is rated Beginner. Plan around 1-3 days for basic wiring and sample code; 1 week if used inside a complete fyp prototypedepending on wiring, libraries, calibration, dashboard/app integration and testing evidence.
Build Planning
Time Required
1-3 days for basic wiring and sample code; 1 week if used inside a complete FYP prototype
Malaysia Price Guidance
Cost
Typical module price range: RM3-RM15. This is component guidance only; a complete FYP cost depends on controller, sensors, casing, display, app/dashboard, documentation and timeline.
Connections
Pinout
VCC
Power input.
GND
Ground.
AO
Analog output.
DO
Digital threshold output on comparator modules.
Platform Notes
Wiring Guides
Soil Moisture with ESP32
Power the probe only when taking readings to reduce corrosion for resistive types.
| AO | GPIO34 |
|---|---|
| VCC | 3.3V or controlled GPIO/transistor |
| GND | GND |
Fix Common Problems
Troubleshooting
Troubleshooting
Common Mistakes
FYP Ideas Using Soil Moisture
Related Projects
Compare Options
Alternative Components
Student Questions
FAQ
Which soil moisture sensor is better?
Capacitive probes are usually better for longer use because cheap resistive probes corrode faster.
