December 5, 2026

Capacitive vs Resistive Soil Moisture Sensors: Faraday’s Law Explains Why the Cheap Fork Rots

A capacitive soil moisture sensor in a potted herb

A resistive soil moisture probe left powered all the time, passing a single milliamp through wet soil, drives enough electric charge in a year to dissolve about 10 grams of copper if all of it went into corroding the probe. The copper on the probe itself weighs around 19 milligrams. That mismatch, worked out from Faraday’s law of electrolysis, is why the two-pronged sensors sold in hobby kits turn black and fall apart within weeks in some gardens, and why the alternative, a capacitive sensor that never lets current flow through the soil, exists at all.

Video: Flaura – Smart Plant Pot on YouTube

How each type measures water

Resistive: soil as a resistor

The common two-pronged probe is a circuit board with two exposed conductive strips. SparkFun’s soil moisture sensor guide describes its probes as “acting as a variable resistor”: wetter soil conducts better, resistance drops, and the output voltage rises. The design is simple and cheap, and it responds to anything that changes soil conductivity, which turns out to be its weakness as well as its principle.

Capacitive: soil as part of a capacitor

A capacitive sensor has no exposed metal in the soil. Its copper traces sit under a coating, and they form a capacitor with the soil around them. Water has a much higher dielectric constant than dry soil or air, so wet soil raises the capacitance, and an oscillator circuit on the board turns that into a voltage. DFRobot’s SEN0193 documentation states the sensor “uses capacitive sensing (not resistive like other sensors)” and is made of “corrosion resistant material for excellent service life.” It runs on 3.3 to 5.5 volts and puts out 0 to 3.0 volts.

What each actually senses

The resistive probe mostly measures conductivity, which depends on water and also on dissolved salts, including fertilizer. A dose of fertilizer can make dry-ish soil read wetter. The capacitive sensor depends mainly on water content through its dielectric effect, so it’s less thrown by salinity, though not immune to it.

Gray metal panel with rust

Faraday’s law and the corroding probe

Current carries metal away

When direct current flows between two metal electrodes through damp soil, the soil acts as an electrolyte. At the positive electrode, metal atoms can give up electrons and dissolve as ions. Faraday’s law of electrolysis gives the maximum mass that can dissolve: the charge passed, times the metal’s molar mass, divided by its ionic charge times the Faraday constant, 96,485 coulombs per mole.

The arithmetic for one year

Current, continuous for a year Copper dissolved (maximum) Nickel dissolved (maximum)
0.5 mA 5.2 g 4.8 g
1 mA 10.4 g 9.6 g
5 mA 51.9 g 48.0 g

These are upper limits. In real soil, part of the current goes into other reactions, such as splitting water, rather than dissolving metal. Even a small fraction of these figures is far more than a probe has to lose.

How much metal is there

A copper trace 2 millimeters wide, 30 millimeters long and 35 micrometers thick, the standard 1-ounce copper of a circuit board, weighs about 19 milligrams. Measured against grams per year, the outcome isn’t in doubt: a continuously powered resistive probe has a lifespan set by electrochemistry, and in wet, salty soil that lifespan can be short.

How much current actually flows

A typical divider

Most resistive modules feed the probe from the supply through a resistor and read the voltage in between. With a 5-volt supply and, say, a 10 kΩ resistor, the probe current depends on the soil:

Soil resistance between probes Current
500 Ω (very wet) 0.48 mA
1 kΩ 0.45 mA
10 kΩ 0.25 mA
100 kΩ (dry) 0.05 mA

Half a milliamp in wet soil, flowing all day, sits right at the top row of the corrosion table.

Powering only during readings

SparkFun’s guide gives the standard fix: “We recommend not powering the sensor constantly to prevent corrosion of the probes,” and suggests that “Another way to extend the lifespan of your sensor is to only power it when you take a reading,” for example from a microcontroller pin switched high for the measurement. Powering the probe for one second every ten minutes cuts the charge by a factor of 600. At 1 mA, the yearly copper maximum drops from 10.4 grams to about 17 milligrams.

Still not zero

Seventeen milligrams is still close to the whole mass of the trace in the example, which shows why even duty-cycled resistive probes wear out. SparkFun’s board adds another defense: its probes are finished with electroless nickel immersion gold, which the guide says it uses “to combat” corrosion. Gold is far more resistant than bare copper or tin, though the thin layer can still be worn through.

Lettuce and chives growing in a wooden raised garden bed in Gesees

Alternating current helps

Reversing the flow

The deeper fix for resistive sensing is to stop using one-way current. If the polarity reverses rapidly, each electrode spends half its time as the positive one, and the dissolution on each half-cycle is largely undone or spread across both. Commercial soil conductivity instruments measure with alternating current for this reason.

A microcontroller version

Two microcontroller pins can do a crude version: drive one high and the other low, read the voltage, then swap them and read again. The average current through the soil is close to zero, and the two readings can be averaged. It costs an extra pin and a few lines of code, and it’s the cheapest way to make a resistive probe last. Combined with powering the probe only during readings, it turns a sensor that might fail in weeks into one that can last a growing season, though the exposed metal will still change slowly and the readings should be rechecked against wet and dry references from time to time.

Why capacitive sidesteps all of it

A capacitive sensor’s traces are insulated and never carry current into the soil, so there’s no electrolysis at all. That’s the real advantage, more than any difference in accuracy.

Capacitive sensors have problems too

Not automatically good

The video above, from the maker of a smart plant pot, examines faults in cheap capacitive boards. Low-cost copies of the same basic design are made by many factories, and quality varies between batches. The cut edges of the board are a known weak spot on any coated circuit board: the coating covers the faces but not always the sawn edge, where water can creep in and reach the copper layers. Testing a new sensor in a glass of water and in dry air before burying it catches the worst units in a minute.

The electronics aren’t waterproof

Only the probe section is coated. The components at the top of the board aren’t, and soaking them, or watering over them, can corrode them just as surely as a resistive probe. A blob of hot glue, conformal coating or heat-shrink over the electronics is a common hobby fix.

They need calibration

DFRobot’s documentation describes calibrating the sensor by “reading its analog output when exposed to air and water” to find dry and wet limits. Those two values bracket the range but don’t make the reading linear or comparable between soil types. Readings shift with soil texture and how tightly the soil is packed around the probe, so a sensor is best used to compare a single pot or bed against itself over time.

A field is being irrigated with sprinklers

Choosing one

For a quick experiment

A resistive probe powered only during readings is fine for a short project or a lesson about conductivity. Expect it to degrade, and don’t leave it in the ground for months.

For a garden that runs itself

A capacitive sensor with sealed electronics, calibrated in the actual soil it will live in, is the better choice for anything long-term, such as an automatic watering system. Checking its readings against a finger test for the first few weeks catches a bad unit early.

For accuracy

Neither cheap type measures volumetric water content directly. Research-grade soil moisture probes cost far more because they’re calibrated against measured water content in different soils. For deciding when to water a tomato plant, a well-placed capacitive sensor and a sensible threshold are enough. Placing the probe at the depth where the roots actually are, rather than near the surface that dries first, matters more than the choice of sensor.

Sensors used for this comparison

As an Amazon Associate I earn from qualifying purchases. A commission may be earned if you buy through this link, at no extra cost to you.

Sources

  • SparkFun, “Soil Moisture Sensor Hookup Guide”: https://learn.sparkfun.com/tutorials/soil-moisture-sensor-hookup-guide
  • DFRobot, “Capacitive Soil Moisture Sensor SKU SEN0193”: https://wiki.dfrobot.com/Capacitive_Soil_Moisture_Sensor_SKU_SEN0193

920 Posts

Peter Kalafatis writes and edits X9M8. He holds a bachelor's degree from LIU Post and a master's in Media Studies from The New School, with academic work in the philosophy of science, human behavior, AI, and memetics.

View All Posts

Leave a Reply

Your email address will not be published. Required fields are marked *