Soil moisture sensor gets worse after some days
- Soil moisture sensor
Why it happens
- Cheap two-prong sensors corrode when powered all the time.
How to fix it
- Power the sensor from a digital pin and switch it on only while reading (one reading every few minutes).
- Or use a capacitive sensor, which has no bare metal.
It worked if: The dry and wet numbers stay the same from week to week.
Related errors
Tutorials where it can happen
- Automated Plant Watering System with LCD Feedback
- Building a Smart Plant Watering System with Soil Moisture Sensor
- Building an Automated Plant Watering System using ESP32
- Plant Monitoring System with Arduino: Soil Moisture and DHT22
- Smart Plant Pot with ESP32 (IoT)
- Soil Moisture Monitoring and Irrigation System with Arduino Uno
From how the part works. Explained from how the part works; not tried on a real circuit for this page.
Didn't help? Search another error or ask us.

