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

  1. Power the sensor from a digital pin and switch it on only while reading (one reading every few minutes).
  2. 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.

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.