Capacitive vs Resistive Soil Moisture Sensor: Corrosion & ADC Calibration
Cheap bare-copper resistive soil moisture forks pass DC current through wet soil — causing copper electrolysis that corrodes the probe green and dead in two weeks! Sealed Capacitive v1.2 probes measure soil dielectric constant through insulated solder mask with zero exposed metal and zero corrosion.
Because water has a dielectric constant (~80) dramatically higher than dry soil (~3–4), capacitance rises sharply with moisture and lowers the onboard 555 filter output voltage.
- Inverted Output on Capacitive v1.2: Dry air reads HIGH voltage (~2.9 V / ADC ~3600), while wet water reads LOW voltage (~1.2 V / ADC ~1500).
- Waterproof the Top Electronics: Seal the top 555 timer SMD area with conformal coating or heat-shrink tubing so watering splashes don't short the board.
| Symbol | Component | Real-World Engineering Tip |
|---|---|---|
| SOIL_CAP | Capacitive Soil Moisture Sensor v1.2 | Verify the onboard regulator (often 3.0 V LDO) so it works cleanly on 3.3 V ESP32 ADC1 pins. |
Real-World Bench Scenario: Always calibrate YOUR exact sensor in dry air (ADC_dry) and a cup of water (ADC_wet) before writing your auto-watering pump threshold!
Bench Challenge: Switch to the Resistive probe and drag Days in Soil past Day 14 to watch electrolysis corrode the bare copper forks, then switch to Capacitive v1.2.