Soil Moisture Sensor: 4 Proven Types for Accurate Irrigation

Share:
Electronic Sensors
Soil Moisture Sensor: 4 Proven Types for Accurate Irrigation

Water in soil changes both its conductivity and its dielectric constant, and every probe in a garden kit or a farm IoT node reads one of these two effects. Pick the right type, calibrate it in your own soil and the readings become a reliable guide for irrigation.

Resistive vs Capacitive Dielectric Principle Dry and Wet Calibration FDR and TDR Probes

A soil moisture sensor turns the water held in soil into a voltage that a microcontroller or logger can read. This guide explains resistive, capacitive, FDR and TDR probes, calibration and practical irrigation use in India.

Hello everyone, today we are going to learn how a soil moisture sensor works, why resistive and capacitive probes behave so differently, how to calibrate one and how to convert its ADC reading into percent moisture.
soil moisture sensor

What Is a Soil Moisture Sensor?

A soil moisture sensor is a probe that measures how much water the soil holds and converts it into an electrical signal, usually an analog voltage, a frequency or a digital value. Hobby modules connect to an ADC input of a board, while industrial probes report volumetric water content directly.

Two effects make this possible: wet soil conducts better than dry soil, and it has a much higher dielectric constant because water molecules are strongly polar.

Resistive soil moisture sensor with LM393 board next to a capacitive soil moisture sensor module
Image credit: Arduino Get Started. Photo courtesy of Arduino Get Started, shown here for educational reference.

Resistive probes read conductivity through two bare metal prongs. Capacitive probes read the dielectric effect through a coated copper plate that acts as one side of a capacitor, with the surrounding soil as the dielectric.

Advertisement

Volumetric and Gravimetric Water Content

Soil scientists express moisture in two ways. Gravimetric water content, or GWC, is the mass of water divided by the mass of dry soil, while volumetric water content, or VWC, is the volume of water divided by the total soil volume.

Field probes and irrigation schedules almost always use VWC in percent.

How a Soil Moisture Sensor Detects Water

Relative permittivity, also called the dielectric constant, decides how much charge a capacitor stores for a given voltage. The idea is covered in what is capacitance, and it is the same principle used in capacitance level measurement of tanks.

About 80Dielectric constant of water
3 to 5Dry soil minerals
1Air in soil pores
3.3 to 5.5 VDFRobot SEN0193 supply

Because water is about 80 and dry minerals only 3 to 5, even a small rise in water content raises the bulk permittivity of soil sharply. The probe capacitance rises with it, and the electronics convert that change into a voltage or a frequency.

Resistive probes work differently. Dissolved salts make soil water conductive, so the resistance between the prongs falls as moisture rises, and a voltage divider turns that resistance into a voltage.

Do You Know?

Pure distilled water barely conducts, so a resistive probe dipped in it shows almost no change. Soil water reads well only because it carries dissolved salts and minerals.

4 Soil Moisture Sensor Types Compared

Resistive Probe

Two bare prongs and an LM393 comparator board measure soil conductivity.

Best for: short tests, school projects
Lowest cost
Capacitive Probe

A coated PCB plate with a 555 or TLC555 oscillator senses permittivity.

Best for: gardens, long term IoT nodes
No exposed metal
FDR Probe

Frequency domain reflectometry measures the resonant frequency of a probe circuit.

Best for: farms, research plots
Factory calibrated
TDR Probe

Time domain reflectometry times a pulse travelling along steel rods.

Best for: research, reference checks
Highest accuracy
TypeMeasuresTypical OutputLife in Soil
ResistiveConductivityAnalog plus digitalDays to weeks
CapacitivePermittivityAnalog voltageMonths to years
FDRPermittivityVWC, SDI 12, ModbusYears
TDRPulse travel timeVWC, digitalYears

Resistive Probe: Simple but Short Lived

The common resistive module has a fork shaped probe and a small board carrying an LM393 comparator. The analog pin gives the divider voltage and the digital pin switches when moisture crosses a level set by the onboard trimmer.

A direct current flows through the prongs whenever the module is powered. Electrolysis then eats the positive prong, deposits form on the metal and readings drift upward within days or weeks.

A study by researchers at IIT Delhi, published on arXiv as a comparative analysis of low cost resistive and capacitive sensors, saw this clearly. Their exposed resistive probes corroded and stopped working after roughly 5 to 6 short measurement sessions.

The same study, using clay soil from the IIT Delhi campus, found the resistive soil moisture sensor gave a tighter calibration fit, with R squared near 0.92 to 0.93 against gravimetric water content. Its readings were still less consistent on dry soil, so the authors suggested resistive probes only for instant spot checks.

Quick Tip

If you must use a resistive probe, power it from a digital pin only for the moment of reading, then switch it off. Less current time means much slower electrolysis of the prongs.

Capacitive Soil Moisture Sensor Working

The popular capacitive soil moisture sensor, sold as v1.2 or v2.0, carries a 555 timer oscillator and a coated copper trace along the probe blade. The trace and the ground plane form a capacitor whose value rises with soil water.

The oscillator square wave passes through a resistor into this capacitor, which acts as a low pass filter. A diode and a smoothing capacitor then convert the remaining ripple into a DC level, so more water gives a lower output voltage.

DFRobot lists its SEN0193 module with a 3.3 to 5.5 V supply and an analog output of 0 to 3.0 V. The same capacitive idea is used in capacitive humidity sensors, where a polymer film replaces the soil as the dielectric.

The IIT Delhi authors note that the polymer coating of the capacitive probe resists electrolysis and oxidation, which makes it better for long duration monitoring. Its calibration fit in their clay was weaker, with R squared about 0.73 to 0.78, so a proper calibration in your own soil matters even more.

Converting ADC Counts to Percent Moisture

A capacitive module read by a 10 bit analog to digital converter gives a count from 0 to 1023. You record the count in dry soil and in saturated soil, then map any reading linearly between these two points.

Moisture percent = (Dry count minus Reading) ÷ (Dry count minus Wet count) × 100

Higher count means drier soil for most capacitive modules

Example:
Dry count = 520, Wet count = 260, Reading = 350
Span = 520 minus 260 = 260 counts
(520 minus 350) ÷ 260 = 170 ÷ 260 = 0.654
Moisture = 65.4 percent of calibrated span

Soil Moisture Sensor Calculator

ADC Reading to Percent Moisture
Result
Soil moisture 65.4 percent of calibrated span
Advertisement

Second Worked Example: Real Volumetric Water Content

To get true VWC, take soil samples at several moisture levels, weigh them wet, oven dry them at 105 °C and weigh again. Suppose a sample shows 0.25 g of water per g of dry soil and the bulk density of the field soil is 1.3 g per cubic centimetre.

Then VWC = GWC × bulk density ÷ water density = 0.25 × 1.3 ÷ 1.0 = 0.325, or 32.5 percent. Repeat this for five or six samples, plot sensor counts against VWC and fit a straight line, exactly as the IIT Delhi team did with six containers of clay.

Calibrating Your Probe Step by Step

1
Collect Soil
Take soil from the actual bed or field, not potting mix.
2
Dry Point
Oven or sun dry a sample and record the steady count.
3
Wet Point
Saturate the same soil, let it drain, record the count.
4
Middle Points
Add measured water for three or four more levels.
5
Fit and Save
Fit a line, store constants in firmware.
6
Recheck
Repeat each season or after replacing the probe.

Insert the probe to the same depth every time. Good sensor linearity is rare in cheap probes, so more middle points give a better curve.

Quick Tip

Never calibrate a capacitive probe only in air and a glass of water. Air and tap water give the widest span, but your soil never reaches either extreme, so percent values will look compressed.

Industrial FDR and TDR Probes

Professional probes from makers such as METER Group and Campbell Scientific use sealed housings and output VWC over SDI 12, Modbus or analog channels.

A METER Group application note comparing its ECH2O dielectric probes with TDR states that measurements below 10 MHz are highly susceptible to salinity and temperature. Good probes therefore excite the soil at higher frequencies, where the water dielectric effect dominates.

The same note says high salinity diminishes the TDR reflection waveform, and that most errors in practice come from poor installation rather than the technique itself. This is the same lesson that conductivity sensor users learn in process plants.

Do You Know?

TDR finds water content from the travel time of a fast pulse along metal rods. The pulse slows down in wet soil because the speed of an electromagnetic wave falls as permittivity rises.

Building a Farm IoT Node in India

ProbeCapacitive or FDR probe in the root zone
MicrocontrollerESP32 or NodeMCU reads the ADC
RadioWi Fi, LoRaWAN or cellular link
CloudDashboard stores and plots data
ActionPump or drip valve switches by threshold

The IIT Delhi study used a NodeMCU board with the ESP8266 chip and logged readings to ThingSpeak, a common setup for student projects. A microcontroller such as the ESP32 adds deep sleep, which helps a solar or battery node last a full crop season.

For fields far from Wi Fi, a LoRaWAN network can cover several kilometres in open farmland. Data can then travel to a server over MQTT for drip irrigation control on sugarcane, grapes or vegetables.

Push each probe in without leaving an air gap along the sensing face, and keep the electronics shaded and above flood level. In hard clay, make a pilot hole first and pack the soil back firmly.

Myth: A higher reading always means wetter soil.
Fact: Most capacitive modules give a lower voltage as soil gets wetter, so check the direction during calibration.
Myth: Air and water are good calibration points.
Fact: Your own soil, dry and saturated, gives a far more useful span.
Myth: Capacitive probes never fail.
Fact: Cut PCB edges absorb water, so seal them with epoxy or heat shrink before burying.
Myth: One reading represents the whole field.
Fact: Soil type and slope vary, so use one probe per irrigation zone.
Advantages of a Soil Moisture Sensor
  • Saves water by irrigating only when needed.
  • Low cost modules suit students and small farms.
  • Capacitive probes resist corrosion for long use.
  • Easy to connect to ESP32 and Arduino boards.
Limitations to Remember
  • Raw values change with soil type and depth.
  • Resistive prongs corrode quickly in DC use.
  • Salinity and temperature affect cheap probes.
  • True VWC needs a calibration with oven dried samples.
Advertisement

Where Soil Moisture Probes Are Used

Drip Irrigation
Switching pumps and valves on measured root zone moisture.
Greenhouses and Polyhouses
Controlling misting and fertigation for capsicum, flowers and vegetables.
Home Gardens
Automatic watering of pots and terrace gardens.
Research Plots
Agricultural universities studying crop water use.
Civil and Geotechnical
Monitoring embankments and slopes after rain.

Troubleshooting Wrong Moisture Readings

  • Weekly upward drift: look for corroded resistive prongs.
  • Jumps with supply: check regulator and timer chip.
  • No change wet or dry: look for an air gap.
  • Stuck at maximum: check signal wire and connector.
  • Erratic after rain: look for water in the electronics.
  • Daily cycle: check temperature effect on the probe.

METER Group Application Note on Dielectric Probes

PDF
ECH2O Dielectric Probes vs Time Domain Reflectometers
METER Group (Decagon Devices) application note

Capacitive Probe Teardown Video

Soil Moisture Sensor FAQ

What does a soil moisture sensor measure?

It measures how much water the soil holds, either through conductivity or through the dielectric constant of the soil. The result appears as a voltage, a frequency or a digital value.

Hobby modules give a raw count that needs calibration. Professional probes report volumetric water content in percent after factory calibration for common mineral soils.

Which is better, resistive or capacitive?

For any installation longer than a few days, the capacitive probe is the better choice. Its coated plate does not corrode the way bare resistive prongs do under direct current.

The IIT Delhi study found resistive probes stopped working after about five or six sessions. Resistive modules still suit quick spot checks and classroom demonstrations where low cost matters most.

Why does my reading fall when the soil gets wetter?

In most capacitive modules, wetter soil raises the probe capacitance and filters more of the oscillator signal. The rectified output voltage therefore drops as moisture rises.

This is normal behaviour for the module and not a fault in your board. Your conversion formula simply subtracts the present reading from the dry count, as shown in the calculator above.

How do I calibrate a capacitive probe?

Record the steady count in your own soil when fully dry and again when saturated and drained. Add a few middle points with weighed water if you want a better curve.

Insert the probe to the same depth each time, because depth changes the reading. Store the dry and wet counts in firmware and repeat the check every season or after replacing the probe.

Can a soil moisture sensor give true volumetric water content?

A hobby probe gives true values only after you calibrate it against oven dried samples of your soil. Fit a straight line between the counts and the measured water content.

Professional FDR and TDR probes come with factory calibration for mineral soils. They are still checked in very sandy, clay rich or saline soil for better accuracy.

How deep should I install the probe?

Place it in the active root zone of the crop, which is shallow for vegetables and deeper for trees and sugarcane. Many growers use one probe at root depth and one below it.

The deeper probe shows whether irrigation water is draining past the roots. That second reading helps you shorten drip cycles and save both water and power.

Does salt or fertiliser affect the readings?

Yes, dissolved salts raise conductivity and can disturb low frequency dielectric probes. METER Group notes that measurements below 10 megahertz are highly sensitive to salinity and temperature.

Resistive probes are affected most strongly by fertiliser dissolved in the soil water. Recheck the calibration after heavy fertigation or whenever you switch to saline borewell water for irrigation.

Advertisement

Related Articles

External References

What We Learn Today

  • A soil moisture sensor reads either soil conductivity with bare prongs or soil permittivity with a coated plate, since water has a dielectric constant near 80.
  • Capacitive probes resist corrosion and suit long term IoT use, while bare resistive prongs corroded within about five or six sessions in an IIT Delhi study.
  • Calibrate in your own soil at dry and saturated points, then map ADC counts linearly, so 520, 260 and 350 counts give 65.4 percent.
I hope you like above blog. There is no cost associated in sharing the article in your social media. Thanks for reading!! Happy Learning!!
Sunayana Gadepatil, author at Instrumentation Blog
Author · instrumentationblog.in
Ms. Sunayana Gadepatil is an instrumentation professional, technical writer, and the author behind Instrumentation Blog. With a strong interest in industrial instrumentation, process measurement, and automation, she specializes in simplifying complex technical concepts into clear, practical, and easy to understand insights. Through her articles, Ms. Sunayana shares valuable knowledge on flow, pressure, level, temperature, control systems, and industrial automation for engineers, students, technicians, and industry professionals.
Technically reviewed on

Leave a Reply

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