
Soil moisture sensors are a crucial tool for farmers, gardeners, and anyone who's ever struggled to keep their plants watered just right. They work by measuring the moisture levels in the soil, usually using a sensor that's inserted into the soil.
These sensors can be connected to a device that displays the moisture levels, allowing you to monitor the soil's condition in real-time. Some sensors can even send alerts when the soil is too dry or too wet.
A common type of soil moisture sensor is the capacitive sensor, which measures the changes in the soil's dielectric constant. This type of sensor is often used in irrigation systems, where it can help optimize water usage.
By using a soil moisture sensor, you can avoid overwatering, which is a common mistake that can harm plants and waste water.
A unique perspective: Automated Irrigation System Using Soil Moisture Sensor
Types of Soil Moisture Sensors
Soil moisture sensors can be divided into two categories depending on the technology they use: sensors that measure volumetric water content and sensors that measure soil tension when placed in the soil profile.
Check this out: Irrigation Sensors for Soil Moisture
Sensors that measure volumetric water content are available from various manufacturers, including Spectrum SMEC300 and METER 5TE. These sensors are widely used due to their high accuracy and versatility.
Sensors that measure soil tension are also available, and they can be made from a porous ceramic tip sealed to the base of a water-filled plastic tube or embedded in a block of gypsum, plaster, or a special material. These sensors can be used to estimate soil water deficit from soil tension measurement for the specific soil.
Some common soil tension sensors include those made from a porous ceramic tip and those that measure electrical resistance between two wire grids embedded in a block of gypsum, plaster, or a special material. These sensors can be used in conjunction with a manufacturer's calibration curve to convert the reading to soil tension.
Here's a list of some common soil moisture sensors:
- Spectrum SMEC300
- METER 5TE
- Sentek Enviroscan
- Diviner 2000
- SM100
Measuring Soil Moisture
A common issue with soil moisture sensors is that they don't last very long because they're always in contact with moisture. This can cause them to corrode more quickly.
To avoid this problem, it's a good idea to power the sensor only when you need to take a reading. You can do this by connecting the sensor's power pin to one of the Arduino's digital output pins.
Connecting the sensor's power pin to an Arduino digital output pin allows the Arduino to control when the sensor is powered. This can help extend the life of the sensor.
In Experiment 1, we connected the VCC pin to digital pin #7 on the Arduino. This setup allows the Arduino to control the power to the sensor.
Here's a summary of the connections for Experiment 1:
For Experiment 2, we used the digital output from the sensor to check whether the soil moisture level is within an acceptable range. We connected the DO pin on the sensor module to digital pin 8 on the Arduino.
Sensor Technology
Sensor technology plays a crucial role in measuring soil moisture content. There are several types of sensors used for this purpose, including capacitance sensors, frequency domain reflectometry (FDR) sensors, and time domain reflectometry (TDR) sensors.
These sensors work by measuring the electrical resistance or permittivity of the soil, which changes depending on the moisture content. For example, in dry soil, the resistance is high, while in wet soil, the resistance is low. This principle is utilized by capacitance sensors, which use two parallel rods or metal rings to measure the permittivity of the soil.
Other sensors, such as neutron moisture gauges, measure the speed of neutron attenuation in the soil to estimate soil moisture content. Soil resistivity sensors measure how strongly the soil resists the flow of electricity between two electrodes, which can also indicate soil moisture content.
Some sensors, like the galvanic cell, measure the voltage produced by the soil due to its electrolyte properties, which can be used to determine the soil moisture content. These sensors are often used in combination with other technologies to provide accurate and reliable measurements.
Here's a list of common soil moisture sensors and their characteristics:
Technology
Sensor technology has come a long way in recent years, and one area that's seen significant advancements is soil moisture sensing. There are several technologies commonly used to indirectly measure volumetric water content (soil moisture), including Frequency Domain Reflectometry (FDR) soil moisture sensors, which measure the impedance by applying a measuring frequency of several hundred MHz to short rods forming a transmission line.
Capacitance sensors use an open capacitor formed by a large PCB area as part of an oscillating circuit and are similar to FDR sensors but operate below 1 MHz. They're more prone to noise factors, but can still provide accurate readings if properly calibrated.
Time Domain Reflectometry (TDR) soil moisture sensors measure the speed of propagation along a short single-ended transmission line to obtain the dielectric constant of a certain volume element around the sensor. This technology is similar to Time Domain Transmission (TDR) sensors, which measure the speed of propagation along a short transmission line with a sender on one end and a receiver on the other.
Related reading: Snake Plant Cuttings in Soil
Other technologies used to measure soil moisture include Neutron moisture gauges, which utilize the moderator properties of water for neutrons to estimate soil moisture content between a source and detector probe. Soil resistivity is also used to determine soil moisture content by measuring how strongly the soil resists the flow of electricity between two electrodes.
Galvanic cells are another technology used to measure soil moisture, based on the voltage the soil produces due to its electrolyte properties. The sensor detects the change in resistance and converts it into an electrical signal (voltage), which can be processed to provide a detailed reading of soil moisture levels.
Here are some common soil moisture sensors and their characteristics:
Neutron Probe
The Neutron Probe is a highly accurate method for measuring soil moisture, but it's not without its drawbacks. It samples a relatively large area and is unaffected by salinity and air gaps around the access tube.
One sensor can be used for all sites and depths, making it a convenient option for large-scale monitoring. However, it does require soil/site specific calibration, which can be a challenge.
This method is also very expensive, with a price tag of around $10,000. Additionally, the sensor is heavy and contains radioactive material, requiring special licensing and handling precautions.
Sensor Placement and Installation
Sensors should be placed at several different depths and locations in the field, typically in pairs at one-third and two-thirds the depth of the crop root zone.
For optimal results, place stationary sensors between plants within a crop row at their desired depths. Flag the sensors so field equipment operators can see where they are and prevent damage to them.
Do not install sensors close to the pivot wheel track and make sure that the sensor is in direct contact with soil and there is minimal soil disturbance during installation.
A different take: Crop Steering Irrigation Schedule
The method of installation is dependent upon the design of the sensor, so follow the installation instructions given by the manufacturer. Soil moisture sensor installation is done in one of two ways: by digging a hole or a trench and installing sensors horizontally at different depths, or by using an auger or soil sampling probe to bore a hole and install sensors vertically.
To prevent air gaps, some users use a mixture of soil and water (soil slurry) during the installation, but be aware that in many cases, the structure of the slurry does not match the surrounding soil, which may adversely affect the sensor reading.
- Stationary sensors should be placed between plants within a crop row at their desired depths.
- Flag the sensors to prevent damage from field equipment.
- Avoid installing sensors close to the pivot wheel track.
Choosing and Using a Soil Moisture Sensor
Soil moisture sensors should be placed at different depths and locations in the field to get an accurate reading of the soil moisture levels. Typically, sensors are placed in pairs at one-third and two-thirds the depth of the crop root zone.
To choose the right soil moisture sensor for your application, consider the type of soil you're working with. If you have fields with both heavy and light textured soils, it's recommended to monitor and manage each soil type separately for irrigation. Field mapping technologies like electromagnetic conductivity (EM) mapping can help identify different soil types and create management zones.
If you need help deciding which soil water content sensor is right for you, check out the article "How to Find the Best Soil Water Content Sensor for Your Application." Some sensors measure volumetric water content, permittivity, electrical conductivity, and temperature, with a typical accuracy of ±1.5% for most soils.
Choose a Sensor
Choosing a sensor can be a bit overwhelming, but don't worry, I've got you covered. Soil water content sensors measure a variety of things, including volumetric water content, permittivity, electrical conductivity, and temperature.
If you're looking for a sensor that can handle most soils, you can expect a water content accuracy of ±1.5%. However, soils with high organic matter or high clay content may require a soil-specific calibration.
When it comes to installation, some sensors are easier to install than others. For example, short rods are great for hard soils and are suitable for soils with higher electrical conductivity.
Here's a quick rundown of the key differences between some common sensors:
Remember, it's always a good idea to check the specifications of the sensor you're interested in to make sure it's suitable for your specific needs.
Solution
Using a soil moisture sensor can help you determine when to irrigate your crops. Knowing the maximum amount of water available in the soil profile is crucial for making informed decisions.
The maximum amount of water available in the soil profile is 3.12 inches, as seen in Example 1. This is the amount of water that crops can use before irrigation is needed.
Crops can deplete 1.56 inches of water available before irrigation is required. This is half of the maximum amount of water available in the soil profile.
Currently, the soil water depletion is 1.08 inches. This means there's still some water available in the soil profile before stress occurs.
To calculate the remaining water available, subtract the current soil water depletion from the amount of water available before stress occurs. In this case, it's 0.48 inches.
To determine when the next irrigation is needed, consider the daily crop water use or evapotranspiration. If it's 0.2 inches per day, you'll need to apply irrigation when the remaining water available reaches 0.2 inches.
Here's a simple calculation to help you plan your irrigation schedule:
Keep in mind that this is just an example, and your specific crop water use and soil conditions may vary.
Practical Applications
Farmers can use soil moisture sensors to manage their irrigation systems more efficiently, which can lead to using less water and increasing crop yields and quality.
Farmers can reduce water usage by up to a certain percentage, but the exact percentage is not specified in the article.
Measuring soil moisture is crucial for farmers to determine the exact conditions on their fields, allowing them to make informed decisions about irrigation.
Farmers can also use soil moisture sensors to improve management of soil moisture during critical plant growth stages, which can lead to better crop yields and quality.
In urban and suburban areas, landscapes and residential lawns are using soil moisture sensors to interface with an irrigation controller, converting it into a "smart" irrigation controller.
This smart irrigation controller prevents irrigation cycles when the soil is already wet, such as after a recent rainfall event.
Golf courses are using soil moisture sensors to increase the efficiency of their irrigation systems, preventing over-watering and leaching of fertilizers and other chemicals into the ground.
Soil moisture sensors are a practical and effective tool for farmers and landscapers to manage their irrigation systems and reduce water waste.
Discover more: Irrigating Trees with Drip Systems
Sensor Specifications and Hardware
The soil moisture sensor is a versatile tool that can measure a range of parameters, including volumetric water content (VWC), electrical conductivity, and temperature.
The sensor can measure VWC with an accuracy of ±1.5% typical with most soils, although soils with high organic matter or clay content may require a soil-specific calibration. The sensor is also capable of measuring permittivity and electrical conductivity (EC) with a resolution of 0.1%.
Here are the key specifications of the soil moisture sensor:
- Range: 0 to 45% volumetric water content in soil (capable of 0 to 100% VWC with alternate calibration)
- Accuracy: ±4% typical
- Typical Resolution: 0.1%
- Power: 3 mA @ 5VDC
- Operating temperature: –40°C to +60°C
- Dimensions: 8.9 cm × 1.8 cm × 0.7 cm (active sensor length 5 cm)
The sensor consists of two main parts: the sensor probes and the LM393 comparator module.
Specifications
The specifications of a soil moisture sensor are crucial to understand its capabilities and limitations. The sensor's range is 0 to 45% volumetric water content in soil, but it can be calibrated to measure up to 100% VWC.
The accuracy of the sensor is ±4% typical, which is quite impressive. The typical resolution is 0.1%, making it suitable for precise measurements.
Here's a breakdown of the sensor's specifications:
- Range: 0 to 45% VWC (capable of 0 to 100% VWC with alternate calibration)
- Accuracy: ±4% typical
- Typical Resolution: 0.1%
- Power Consumption: 3 mA @ 5VDC
- Operating Temperature: –40°C to +60°C
- Dimensions: 8.9 cm × 1.8 cm × 0.7 cm (active sensor length 5 cm)
Hardware Overview
The soil moisture sensor consists of two main parts: the sensor probes and the LM393 comparator module.
These components work together to measure the water content in the soil.
The sensor probes are the parts that come into contact with the soil, while the LM393 comparator module processes the electrical signal generated by the probes.
The sensor probes are the key to understanding how the sensor works, so let's take a closer look at them.
The sensor probes are responsible for detecting changes in the electrical resistance between them when they're placed in the soil.
In dry soil, the soil has high resistance, making it difficult for electricity to flow between the probes.
Here's a summary of the two main parts of the soil moisture sensor:
- Sensor Probes: Detect changes in electrical resistance between them when placed in the soil.
- LM393 Comparator Module: Processes the electrical signal generated by the sensor probes.
Technical Papers
In our previous discussions, we've touched on the importance of sensor specifications and hardware. Technical papers play a crucial role in understanding the capabilities and limitations of these devices.
One such paper that caught my attention is the soil-specific calibration procedure for volumetric water content sensors. This procedure is essential for ensuring accurate readings in various soil types.
A soil-specific calibration procedure involves adjusting the sensor's settings to account for the unique properties of a particular soil type. This helps to minimize errors and provide more reliable data.
Here's a brief overview of some notable technical papers related to sensor specifications and hardware:
- Soil-specific calibration procedure for volumetric water content sensors
These papers can be a valuable resource for anyone working with sensors, as they provide in-depth information on the technical aspects of these devices.
Experiment and Code
To experiment with a soil moisture sensor, you'll need to connect it to an Arduino board. The sensor's power pin should be connected to a digital output pin on the Arduino, not directly to 5V, to avoid corrosion.
In the next sketch, the Arduino will use threshold values to determine if the soil is too dry, too wet, or just right. You can use the following threshold values: less than 500 (too wet), between 500 and 750 (ideal range), and more than 750 (dry enough to need watering).
Here's a summary of the threshold values:
Experiment 1 – Analog Output Measurement

In Experiment 1, we're going to measure soil moisture using an analog output from the sensor. This involves reading the analog output from the sensor to determine the moisture level in the soil.
A common issue with these sensors is that they don't last very long due to constant exposure to moisture. This can lead to corrosion and a shorter lifespan.
To avoid this problem, it's a good idea to power the sensor only when needed, rather than constantly. This can be achieved by connecting the sensor's power pin to a digital output pin on the Arduino.
By connecting the VCC pin to digital pin #7 on the Arduino, the Arduino can control when the sensor is powered. This allows for more efficient use of the sensor and helps extend its lifespan.
Broaden your view: Soil Moisture Sensor Arduino
Experiment 2 – Measuring with Digital Output
In this experiment, we'll use the digital output from the soil moisture sensor to check if the soil moisture level is within an acceptable range. We'll be using the same circuit setup as before, but this time we'll connect the digital output pin on the sensor module to digital pin 8 on the Arduino.

To set up the circuit, you'll need to disconnect the wire going to the analog input pin (A0) and instead connect the DO (digital output) pin on the sensor module to digital pin 8 on the Arduino. The correct connections are shown in the table below.
The Vernier products we're using are designed for educational use only, so make sure to follow the guidelines and not use them for industrial, medical, or commercial applications.
Arduino Code
In this example, we'll be using the threshold values we found during calibration to determine the soil's moisture level.
The threshold values we'll be using are:
- If the reading is less than 500, it means the soil is too wet.
- If the reading is between 500 and 750, it’s in the ideal range.
- If it’s more than 750, the soil is dry enough that it probably needs watering.
After uploading the sketch and running it, you should see what the current moisture level is and whether the soil needs water.
Threshold and Calibration
To estimate the soil moisture, you'll need to find the threshold values by determining the sensor readings when the soil is extremely dry and fully saturated.
These two points will help you set up proper threshold values for your project. Different types of soil, like sandy or clay, can affect the readings, and mineral-rich water can also change the sensor output.
You might see a number around 850 when the soil is dry and around 400 when the soil is fully saturated. This gives you a rough idea of the sensor's behavior.
To set up your threshold values, you'll need to collect both dry and wet readings by testing the sensor in different amounts of water. This may take a little trial and error.
The soil moisture sensor module has a small potentiometer that lets you set the moisture level at which the module switches its digital output. You can use this to set the threshold for your project.
To set the threshold, insert the sensor into the soil when the plant needs watering. Then, slowly turn the potentiometer clockwise until the status LED turns on, and slightly counterclockwise until the LED just turns off.
Here are some example threshold values to consider:
- Dry soil: 850
- Fully saturated soil: 400
Once you've set the threshold, upload the sketch to your Arduino. This program checks whether the soil is dry or not using the sensor's digital output.
Frequently Asked Questions
What is the most accurate soil moisture sensor?
The most accurate soil moisture sensor is the neutron probe, which uses a neutron source and detector to measure moisture levels at specific depths. This method provides precise readings, making it a valuable tool for farmers, researchers, and environmental scientists.
What is the life expectancy of a soil moisture sensor?
Our soil moisture sensors have a life expectancy of 3 to 5 years with typical use, but may last less in warm or wet conditions.
Featured Images: pexels.com


