Next Article in Journal
Modeling of Measuring Transducers for Relay Protection Systems of Electrical Installations
Previous Article in Journal
Exploring a Software Framework for Posture Tracking and Haptic Feedback Control: A Virtual Reality-Based Approach for Upper Limb Rehabilitation on the Oculus Quest 2
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Calibration of Low-Cost Capacitive Soil Moisture Sensors for Irrigation Management Applications

Sustainable Water and Land Management in Agriculture, The Mediterranean Agronomic Institute (CIHEAM Bari), 70010 Valenzano, Bari, Italy
*
Authors to whom correspondence should be addressed.
Sensors 2025, 25(2), 343; https://doi.org/10.3390/s25020343
Submission received: 21 November 2024 / Revised: 20 December 2024 / Accepted: 30 December 2024 / Published: 9 January 2025
(This article belongs to the Section Smart Agriculture)

Abstract

:
The calibration of capacitive soil moisture sensors is an essential step towards their integration into smart solutions. This study investigates the calibration of a widely used low-cost capacitive soil moisture sensor (SKU:SEN0193, DFRobot, Shanghai, China) in a loamy silt soil typically found in the Puglia region of Italy. The calibration function was derived from a random sample of 12 sensors, with three soil sample replicas per sensor, each of which had one of five gravimetric soil moisture contents, from relatively dry (5%) to full saturation (40%). The study reports the resulting calibration function along with the accuracy achieved with the generalized calibration function. The sensors proved to be accurate, with an R2 value ranging between 0.85 and 0.87 and a root mean square value (RMSE) ranging between 4.5 and 4.9%. The variation between the sensors was also investigated. The results showed that with higher soil moisture contents (above 30%), the sensor-to-sensor variability becomes significant, with a coefficient of variation (CV) ranging between 10 and 16%; meanwhile, in lower soil moisture contents, the CV ranged between 6.5 and 10.3%, implying that it is more consistent in lower moisture content within this soil condition. The resulting calibration function enhances the integration of such low-cost sensors into smart farming solutions. With proper calibration, these affordable capacitive sensors can achieve a high degree of accuracy, making them a viable option for widespread use in cost-effective precision agricultural applications.

1. Introduction

One of the major challenges facing humanity today is the increasing scarcity of water resources. Although water covers 71% of our planet, only 2.5% is fresh water, out of which only 1% is accessible [1]. Globally, irrigated agriculture represents 70% of the consumption of that freshwater [2,3]. Thus, efforts towards enhancing on-farm irrigation management are crucial to face such challenges for a finite resource [4].
Soil moisture monitoring is essential for enhanced on-farm irrigation management. Accurate data on soil moisture levels enable farmers to optimize irrigation practices, ensuring that crops receive the right amount of water at the right time [5,6]. One of the main challenges hindering the expansion of such enhancement is the lack of cost-effective and reliable data monitoring systems [4,7]. In this study, a low-cost capacitive soil moisture sensor will be calibrated, and its consistency will be investigated to evaluate its potential integration into an Internet of Things (IoT) soil moisture monitoring system.
Moisture conditions in soil are described using the following two terms: (i) mass/soil water content (SWC) and (ii) energy/soil water potential (SWP). This study will focus on SWC, as it investigates the reliability of physical capacitive soil moisture sensing. Nevertheless, SWP is essential to clearly understand soil moisture conditions [8,9,10].
Soil water content (SWC) can be defined as the volume (or weight) of the moisture existing in a certain soil sample in relation to the total volume (or weight) of the sample [4].
There are two main methods used to measure SWC: (i) direct methods and (ii) indirect methods [11,12]. Direct methods involve measuring the actual soil moisture gravimetrically by taking a soil sample and drying it in a lab oven at 105 °C for 24 h (the period and drying temperature may vary depending on the organic matter content of the soil). This method is labor-intensive, destructive, and time-consuming, but it is highly accurate [13,14,15]; thus, it is considered the standard when calibrating other methods [16]. Nevertheless, it is not suitable for in situ measurements.
Meanwhile, indirect methods involve measuring the variation in an internal property of the sensory system as an indirect indicator for soil water content variation [17]. These methods provide instantaneous, continuous, non-destructive measurements with acceptable accuracy [16,18,19,20]. Examples of indirect methods include the following: dielectric methods, neutron scattering, electrical resistance, electromagnetic sensing, soil electrical conductivity, the hygrometric method, and gamma ray attenuation. More in-depth information about each indirect method can be found in refs. [21,22].
Dielectric methods, which include time domain reflectometry (TDR), frequency domain reflectometry (FDR), and capacitance sensing, are the most used in situ techniques, due to their automation capability, relatively high accuracy, and easy installation [23,24,25,26,27].
Out of the three dielectric methods mentioned, capacitance sensors are often preferred for integration into smart farming systems due to their practicality and low cost compared to TDR and FDR [28,29,30,31]. However, the main disadvantage of the capacitive sensing technique is that it necessitates careful calibration due to the variations in the physical, chemical, and biological characteristics of soils and their impact on its electromagnetic characteristics [32,33,34]. Thus, many studies published in the literature have focused on capacitive soil moisture calibration for certain soils.
Components from the low-cost electronics market often come with limited technical documentation, requiring thorough evaluation beforehand to verify their functionality and specifications [35]. One of the most commonly used low-cost capacitive soil moisture sensors in commercial IoT nodes and for smart farming applications is the SKU:SEN0193 (DFROBOT, Shanghai, China). Its popularity is mainly driven by its low cost, the fact that it can easily be found in markets, and the fact that it is made of corrosion-resistant material, which increases its durability [34].
The SEN0193 costs around USD 8–10/unit; its affordability makes it an attractive option for applications in precision agriculture, particularly when scaling up to multiple sensors for large fields. Although other commercial sensors can feature advanced telemetry and full package solutions, such as SKU: TEROS 12 (METER group, Washington, D.C., USA), their relatively high cost (USD 200–250/unit) makes them mainly suitable for research or high-budget operations.
Recently, a number of studies were conducted on the calibration and validation of the SEN0193 using certain soils. Ref. [21] assessed the repeatability and reproducibility of capacitive soil moisture sensors across clay loam, sandy loam, and silt loam soil textures using mean range methods. Calibration was performed by comparing sensor data with soil moisture, measured via the thermogravimetric method. The findings revealed that sensor responses varied significantly with soil texture, necessitating texture-specific calibration. A polynomial calibration function (R2 ≥ 0.89) was determined to be the most suitable for accurately modeling sensor behavior across different soil types.
Using the same sensor, a similar experiment was conducted by [36] to calibrate the SEN0193 using the gravimetric method. The RMSE was 0.09 cm3 cm−3 for samples in the dry-to-saturated range and 0.05 cm3 cm−3 for samples in the field capacity range. The study concluded on the importance of the developed calibration function to use the SEN0193 sensor for water stress management.
Majumder et al. [37] evaluated the accuracy of the same sensor against time domain reflectometry (TDR). The results indicate that these sensors are highly accurate, exhibit low error rates (lower than 5%), and are a cost-effective alternative to TDR sensors, making them well-suited for large-scale deployments in agricultural and environmental applications.
Under silty clay soil, [38] calibrated the same sensor using the thermogravimetric method. The curve obtained had an adjusted R2 of 0.86 and a residual standard error of 2.8%. The study concluded that this sensor could be used for measuring the changes in soil moisture—within the error ranges—during rainy seasons or irrigation events.
Pereira et al. [39] calibrated the same sensor under three different soil types: Red-yellow Latosol (RYL), Regolitic Neosol (RN), and Red Latosol (RL). The resulting calibration function was highly correlated with the water content in the samples, with an R2 ranging from 0.93 to 0.96 for RYL, 0.89 to 0.92 for RN, and 0.86 to 0.88 for RL, while the RMSE values were 0.08, 0.12, and 0.15 cm3 cm−3 for RYL, RN, and RL, respectively.
Ref. [40] designed a solar-powered capacitive soil moisture sensor and calibrated it for clay soils. The calibration results demonstrated a strong correlation between sensor readings and estimated soil volumetric water content. Higher soil moisture content was associated with a decreased sensor output voltage, with an average determination coefficient (R2) of 0.967 and a root-mean-square error (RMSE) of 0.014.
On the other hand, Domínguez-Niño et al. [41] reported a significant variability when using capacitive soil moisture sensors. The study examined the uncertainties in the measurement process, along with the natural variability in the actual soil water dynamics. Measurements were collected from 57 sensors located at 10 combinations of depth and position relative to the drippers. The results showed large sensor-to-sensor differences, even when installed at equivalent depths and coordinates relative to the drippers. In contrast, differences among virtual sensors simulated using a HYDRUS-3D model at those soil locations were one order of magnitude smaller.
Rende and Biage [42] evaluated the performance of capacitive soil moisture sensors in irrigated soils, comparing them to traditional methods such as gravimetric measurements. The study highlighted the potential for capacitive sensors to improve water use efficiency by 15–20% when integrated into automated irrigation systems, making them a valuable tool for precision irrigation.
Fares and Alva [43] assessed the effectiveness of capacitance probes for soil moisture monitoring in citrus orchards. The key findings concluded that irrigation based on probe data reduced water consumption by 18–22% compared to conventional irrigation methods, which typically rely on fixed schedules. The probes helped in maintaining soil moisture at optimal levels (measured between 10–20% volumetric water content) for citrus root zones, which resulted in improved growth and increased yields by 12–15% over the growing season.
The performance of a capacitive soil moisture sensor was evaluated by [44] for monitoring the soil’s moisture content and its potential applications in irrigation management. The capacitive sensor effectively measured moisture within a range of 5–50% the volumetric water content (VWC) and was shown to improve irrigation efficiency by 15–20% when integrated into automated irrigation systems. Over a 6-month period, the sensor exhibited stable performance, although regular recalibration every 3–4 months was necessary to maintain its accuracy. These findings demonstrate the sensor’s potential as a reliable tool for real-time soil moisture monitoring, enhancing water use efficiency in agricultural irrigation practices.
In Mississippi, [45] evaluated and calibrated three soil moisture sensors (TDR315, Acclima, Meridian, ID, USA), CS655, Campbell Scientific Inc., Logan, UT, USA) and (GS1, METER Group Inc., Pullman, WA, USA) across six soil types, including clayey and loamy soils, using field and laboratory methods. Results showed that factory-calibrated sensors often overestimated soil volumetric water content, particularly in clayey soils, while performance was closer to gravimetric measurements in sandy loam. The RMSE ranged from 0.03 to 0.29 cm3/cm−3, with TDR315 performing better overall. Soil-specific calibration significantly improved accuracy, with field validation showing acceptable accuracy (R2 > 0.6) for TDR315 and CS655 when calibrated for undisturbed soil conditions.
In the majority of the previous studies, low-cost microcontrollers (MCUs) were used to convert the output voltage of the SEN0193 sensor into an analog output. An extensive literature review of prototyping of sensing systems for irrigation in precision agriculture was conducted by [46]. Of the 160 studies reviewed, 80% were published within the last 3 years. The findings also highlighted that the Arduino Uno microcontroller was the preferred prototyping MCU, particularly for applications that do not involve wireless sensor networks (WSNs).
In this study, an ESP32 Lolin V1.0 (Espressif systems, Shanghai, China) was used. The ESP32 Lolin is versatile, affordable, and suitable for IoT-based applications. It is equipped with a dual-core processor operating at up to 240 MHz, with 520 KB of SRAM and integrated Wi-Fi and Bluetooth capabilities, making it ideal for real-time data acquisition and wireless transmission. It features multiple general input/output pins and a 12-bit ADC, enabling precise analog-to-digital conversion, which is crucial for interfacing with soil moisture sensors. Additionally, its compact size and low power consumption make it suitable for field applications and integration into smart agriculture systems.
The decision to use the ESP32 Lolin was driven by its extensive community support, robust firmware ecosystem, and compatibility with widely used development environments such as Arduino IDE V2.3.4. and MicroPython, ensuring ease of programming and rapid prototyping.
To summarize the conclusions from the reviewed literature:
  • SKU:SEN0193 is a cost-effective sensor commonly used and distinguished by its practicality to integrate in IoT solutions,
  • However, it necessitates careful calibration with local conditions to be able to generate reliable results and to be integrated with smart farming systems.
Thus, the objectives of this study were to (i) calibrate the SEN0193 for soil typical of the Puglia (Italy) region (i.e., silty loam soil) against the thermogravimetric method, (ii) report the resulting calibration function for a local soil to enhance the sensor’s integration into smart farming solutions, and (iii) investigate the consistency (variation) of the sensor.

2. Materials and Methods

2.1. Capacitive Soil Moisture Sensors

A capacitive soil moisture sensor estimates the water content of the soil by utilizing its dielectric properties. The sensor operates based on the principle that water has a significantly higher dielectric constant (of approximately 80) compared to dry soil (ranging from 3 to 7) and air (around 1) [47]. This difference allows the sensor to estimate the soil’s moisture content by detecting variations in the dielectric properties of the medium surrounding the sensor.
A capacitive soil moisture sensor typically consists of two metal plates, or conductive surfaces, that form a capacitor (Figure 1). These plates are placed either inside the soil or in close proximity to it. When an electric field is applied across the plates, the sensor acts as a small capacitor, with the soil representing the dielectric material between the plates.
Capacitance is defined as the ability of a system to store an electrical charge per unit voltage and is expressed as
C = ϵ A δ
where C is the capacitance in farads (F); ɛ is the dielectric constant (permittivity) of the material, typically expressed as ϵ = ϵ 0 ϵ r , where ϵ 0 is the relative permittivity of the material (soil, in this case), which is dimensionless, and ɛ r is the vacuum permittivity, a constant value of 8.854 × 10−12 (F/m); A is the metal surfaces area (m2); and δ is the distance between metallic surfaces (m).
The capacitive soil moisture sensor can be paired with a timer circuit (such as the TLC555 in the case of the SEN0193 sensor) and can output a duty cycle that corresponds to an analog voltage.
As mentioned, in this study, SKU:SEN0193 version 1.2 capacitive soil moisture sensors were used. The sensors are coated with corrosion-resistant materials, have dimensions of approximately 98 mm × 23 mm × 3 mm (length × width × thickness), and weigh around 15 g. They feature an onboard voltage regulator, allowing them to operate within a voltage range of 3.3 to 5.5 V. The sensor includes two pins for power (5 V and Ground) and an analog output pin, making it ideal for interfacing with low-voltage microcontrollers. The output is provided as a frequency signal, ranging from 260 Hz at high moisture levels to 680 Hz at low moisture levels, with higher frequencies indicating lower moisture content [49]. Using the built-in frequency-to-voltage converter circuitry on the sensor, the frequency signal is converted into an output voltage that can be read as an input by the MCU GPIO. The ESP32 MCU has a 12-bit analog-to-digital converter (ADC), which means it can represent this input voltage as an analog value between 0 and 4095.
The sensor was integrated with the MCU by connecting its output to GPIO pin 34, configured as an analog input. The measured analog signal was processed by the ESP32 and subsequently displayed on the 128 × 64 pixel OLED display interfaced via an I2C protocol, utilizing the dedicated SDA and SCL pins of the microcontroller, GPIO 19 and 23, respectively. The system was programmed to acquire analog readings from the sensor every 2 s, ensuring regular monitoring of soil moisture levels. The processed data were dynamically updated on the OLED display, providing a real-time visualization of the sensor output in a user-friendly manner. Figure 2 shows the setup for the sensor and the microcontroller, while Figure 3 shows the schematic of the connections. The algorithm was written using the C++ programming language. The algorithm flowchart is shown in Figure 4 and was uploaded to the MCU using the Arduino integrated development environment (IDE).

2.2. Soil Sampling and the Calibration Process

For the sensors’ calibration, soil samples were collected using an auger from the core soil 10 cm below the soil surface in the experimental field of CIHEAM Bari—Italy, latitude 41°2′40.3872″ N, longitude 16°53′3.8364″ E. The soil is pedologically classified as Colluvic Regosol with a silty loam texture, which consists of 23.5% sand, 59.27% loam, and 17.25% clay; and EC = 0.3 ds/m. It is a soil typical of the Puglia region in southern Italy, representing 20–25% of soil textures in the region and found throughout much of the limestone and calcareous areas [50].
Using the thermogravimetric method [51], a suitable weight (2 kg) of disturbed soil was dried in the oven for 24 h at 105 °C. The average bulk density was 1.1 g/cm3. After drying, 15 samples of a known weight (165 g) were prepared in 282 cm3 containers. It is important to note that the volume of the sample had to be suitable enough to surround the sensor from all sides as a cylinder, in order to ensure maximum contact. For each set of three sample replicas, the water content was raised by a known amount representing a precalculated percentage of the dried soil weight. The raised steps were 5%, 10%, 20%, 30%, and 40% of gravimetric water content (GWC) (Equation (2)). Water density was assumed to be 1 g/mL (8.25 g or mL of water corresponds to 5% of dry weight):
G W C = m w m d m d × 100
where m w is the soil wet weight (g), and m d is the soil dry weight (g).
To ensure the homogeneity of water distribution throughout the sample, the soil was mixed after each added dose of water and layered carefully in the container to maximize contact with the sensor.
With each raised step of water content, 12 sensors were inserted vertically, and the output voltage of each sensor was read through the ESP32 MCU as an analog value displayed on the OLED screen. A 3D Polyethylene terephthalate glycol (PETG) case was designed and printed to protect the upper part of the sensor where the electronic parts are located. The methodology framework is presented in Figure 5, while Figure 6 shows an example of the calibration setup.
The 180 readings resulting from the five water content steps, three replicas per step, and 12 sensor readings per replica were plotted against the known values of the thermogravimetric water contents. The calibration function was drawn from the linear regression of the resulting curve. Once the calibration function was generalized for the 12 sensors, the accuracy of the sensor was estimated using the coefficient of determination (R2) and the root mean square error (RMSE) (Equation (3)). Finally, the coefficient of variation (CV) (Equation (4)) was used to assess the sensor-to-sensor variability in the random sample:
R M S E = i = 1 N y i y ¯ ( i ) N
where N is the number of data points, y i is the ith measurement, and y ¯ ( i ) is its corresponding prediction:
C V ( % ) = S X ¯   ×   100
where  S is the standard deviation, and X ¯ is the sample mean.

3. Results and Discussion

3.1. Sensor Calibration Equation

Table 1 reports the resulting data set from the sensors’ outputs, while Figure 7 shows the results against the thermogravimetric water content within the investigated soil moisture spectrum. The constant parameters resulting from the linear regression function were used as the guiding calibration function to sense the soil moisture content in our typical soil (silty loam).

3.2. Sensor Accuracy

Using the resulting calibration function for the typical silty loam soil of the Puglia region, the sensor was able to predict the soil moisture content with relatively high accuracy, where R2 ranged between 0.85 and 0.87 for the three replicas, while the RMSE was between 4.5–4.9%, as shown in Figure 8. These results indicate that the calibrated sensor is capable of detecting soil moisture content in this soil with acceptable accuracy and could be integrated into a smart irrigation management system solution. This tailored calibration demonstrates that capacitive sensors, despite their known limitations, can be highly effective in soil moisture monitoring if customized to local soil characteristics, providing a cost-efficient solution for real-time field measurements. However, even if calibrated, real field conditions, such as temperature fluctuations, soil salinity, heterogeneous soil textures, and varying soil compaction, can impact the accuracy of capacitive soil moisture sensors calibrated in controlled laboratory settings. These factors may alter the sensor’s response, leading to deviations from lab-derived calibration curves. Despite these challenges, laboratory calibration remains essential, as it establishes a baseline accuracy and minimizes measurement errors under controlled conditions. By accounting for known variables and creating texture-specific calibration models, lab calibration helps ensure that the sensors perform reliably in diverse field conditions, albeit with potential adjustments needed for site-specific factors.

3.3. Sensor Variability and the Coefficient of Variation

Another important aspect to investigate is the sensors’ variability. The used generalized calibration function was drawn from a random sample of 12 different sensors. Thus, a more thorough analysis of the sensor-to-sensor variation is important. Figure 9 shows the CV between the 12 sensors for each level of soil moisture content, while Figure 10 shows the variation in each sensor separately.
For the first three soil moisture levels, i.e., 5, 10, and 20%, the sensors showed lower variation, with CV ranging between 6.5 and 10.3%, while with higher soil moisture levels (above 30%), the sensors showed less consistency, and the CV ranged between 10 and 16%. This behavior is mainly due to the working principle of capacitive sensors, as they work by detecting the changes in the dielectric constant of the soil, as previously shown in Equation (1). As mentioned previously, water has a high dielectric constant compared to air and dry soil, so as soil moisture increases, the dielectric constant changes. However, at higher moisture levels, the dielectric constant changes less significantly with additional water, making it harder for the sensor to detect small variations, resulting in lower sensitivity and higher CVs. Table 2 reports the calculated statistical indicators between the 12 sensors at each soil moisture level.

4. Conclusions

Advancements in electronic technology have enabled researchers to access affordable solid-state sensors and programmable microcontroller-based circuits. In this study, a low-cost soil moisture sensor was calibrated under laboratory conditions. The calibration equation for the sensor was determined, and results indicate that the SEN0193 capacitive soil moisture sensor, when adjusted for the specific properties of the silty loam soil in the Puglia region in Italy, achieves a high predictive accuracy for soil moisture content. With a coefficient of determination (R2) ranging between 0.85 and 0.87 and an RMSE ranging between 4.5 and 4.9% across three replicas, the sensor demonstrated a strong correlation between observed and predicted values, highlighting its effectiveness in capturing moisture variations under these specific soil conditions. This result suggests a high degree of reliability in the sensor’s readings, showing that it is well-suited for smart irrigation management applications.
This study’s findings enhance the integration of SEN0193 capacitive soil moisture sensors by providing a tailored calibration function that could be used for silty loam soils. The findings underscore the impact of region-specific calibration for capacitive sensors, which tend to have higher error margins in generalized applications due to soil textures and salinity. By calibrating the sensor, this study reduced such errors, thereby enhancing the sensor’s integrability for precision agricultural practices in similar semi-arid, silty loam soils.
This research adds to the growing body of knowledge regarding low-cost precision agriculture tools, suggesting that capacitive sensors are a viable and cost-effective alternative to more complex methods for soil moisture monitoring that could be easily integrated into farming systems. However, the impact of such integration should be quantified in terms of water productivity and water savings compared to conventional irrigation management systems, which will be a subject for future studies.

Author Contributions

Conceptualization, A.A.A. and R.K.; methodology, A.A.A. and C.M.A.K.; software, A.A.A. and B.D.; validation, G.D. and C.M.A.K.; formal analysis, G.D., A.A.A. and C.M.A.K.; investigation, A.A.A. and R.K.; data curation, A.A.A.; writing—original draft preparation, A.A.A.; writing—review and editing, R.K.; supervision, A.A.A. and R.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Mishra, R.K. Fresh water availability and its global challenge. Br. J. Multidiscip. Adv. Stud. 2023, 4, 1–78. [Google Scholar] [CrossRef]
  2. McDermid, S.; Nocco, M.; Lawston-Parker, P.; Keune, J.; Pokhrel, Y.; Jain, M.; Jägermeyr, J.; Brocca, L.; Massari, C.; Jones, A.D. Irrigation in the Earth system. Nat. Rev. Earth Environ. 2023, 4, 435–453. [Google Scholar] [CrossRef]
  3. Hardie, M. Review of novel and emerging proximal soil moisture sensors for use in agriculture. Sensors 2020, 20, 6934. [Google Scholar] [CrossRef] [PubMed]
  4. Abdelmoneim, A.A.; Khadra, R.; Derardja, B.; Dragonetti, G. Internet of Things (IoT) for Soil Moisture Tensiometer Automation. Micromachines 2023, 14, 263. [Google Scholar] [CrossRef] [PubMed]
  5. Chartzoulakis, K.; Bertaki, M. Sustainable water management in agriculture under climate change. Agric. Agric. Sci. Procedia 2015, 4, 88–98. [Google Scholar] [CrossRef]
  6. Fereres, E.; Soriano, M.A. Deficit irrigation for reducing agricultural water use. J. Exp. Bot. 2007, 58, 147–159. [Google Scholar] [CrossRef] [PubMed]
  7. Abdelmoneim, A.A.; Daccache, A.; Khadra, R.; Bhanot, M.; Dragonetti, G. Internet of Things (IoT) for double ring infiltrometer automation. Comput. Electron. Agric. 2021, 188, 106324. [Google Scholar] [CrossRef]
  8. Campbell, G.S. Soil water potential measurement: An overview. Irrig. Sci. 1988, 9, 265–273. [Google Scholar] [CrossRef]
  9. Bianchi, A.; Masseroni, D.; Thalheimer, M.; Medici, L.; Facchi, A. Field irrigation management through soil water potential measurements: A review. Ital. J. Agrometeorol. 2017, 22, 25–38. [Google Scholar]
  10. Abdelmoneim, A.A.; Khadra, R.; Elkamouh, A.; Derardja, B.; Dragonetti, G. Towards Affordable Precision Irrigation: An Experimental Comparison of Weather-Based and Soil Water Potential-Based Irrigation Using Low-Cost IoT-Tensiometers on Drip Irrigated Lettuce. Sustainability 2023, 16, 306. [Google Scholar] [CrossRef]
  11. Chowdhury, S.; Sen, S.; Janardhanan, S. Comparative analysis and calibration of low cost resistive and capacitive soil moisture sensor. arXiv 2022, arXiv:2210.03019. [Google Scholar]
  12. Kitić, G.; Crnojević-Bengin, V. A sensor for the measurement of the moisture of undisturbed soil samples. Sensors 2013, 13, 1692–1705. [Google Scholar] [CrossRef] [PubMed]
  13. Raghunath, S.; Devi, K.S. IOT in precision farming for a sustainable future. J. Pharm. Negat. Results 2022, 13, 728–736. [Google Scholar]
  14. Adla, S.; Rai, N.K.; Karumanchi, S.H.; Tripathi, S.; Disse, M.; Pande, S. Laboratory calibration and performance evaluation of low-cost capacitive and very low-cost resistive soil moisture sensors. Sensors 2020, 20, 363. [Google Scholar] [CrossRef]
  15. Walker, J.P.; Willgoose, G.R.; Kalma, J.D. In situ measurement of soil moisture: A comparison of techniques. J. Hydrol. 2004, 293, 85–99. [Google Scholar] [CrossRef]
  16. de los Ángeles Calva Jiménez, A.; Duarte Guedes Cabral de Almeida, C.; Santos Júnior, J.A.d.; Silva dos Santos, C. Calibration of two capacitive soil moisture sensors in Ultisol. Dyna 2020, 87, 75–79. [Google Scholar]
  17. Mukhlisin, M.; Astuti, H.W.; Wardihani, E.D.; Matlan, S.J. Techniques for ground-based soil moisture measurement: A detailed overview. Arab. J. Geosci. 2021, 14, 1–34. [Google Scholar] [CrossRef]
  18. Sakaki, T.; Limsuwat, A.; Illangasekare, T.H. A Simple Method for Calibrating Dielectric Soil Moisture Sensors: Laboratory Validation in SandsAll rights reserved. No part of this periodical may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Vadose Zone J. 2011, 10, 526–531. [Google Scholar]
  19. Cardenas-Lailhacar, B.; Dukes, M.D. Precision of soil moisture sensor irrigation controllers under field conditions. Agric. Water Manag. 2010, 97, 666–672. [Google Scholar] [CrossRef]
  20. Stacheder, M.; Koeniger, F.; Schuhmann, R. New dielectric sensors and sensing techniques for soil and snow moisture measurements. Sensors 2009, 9, 2951–2967. [Google Scholar] [CrossRef] [PubMed]
  21. Kulmány, I.M.; Bede-Fazekas, Á.; Beslin, A.; Giczi, Z.; Milics, G.; Kovács, B.; Kovács, M.; Ambrus, B.; Bede, L.; Vona, V. Calibration of an Arduino-based low-cost capacitive soil moisture sensor for smart agriculture. J. Hydrol. Hydromech. 2022, 70, 330–340. [Google Scholar] [CrossRef]
  22. Zazueta, F.S.; Xin, J. Soil moisture sensors. Soil Sci. 1994, 73, 391–401. [Google Scholar]
  23. Rao, B.H.; Singh, D. Moisture content determination by TDR and capacitance techniques: A comparative study. Int. J. Earth Sci. Eng. 2011, 4, 132–137. [Google Scholar]
  24. Selig, E.T.; Mansukhani, S. Relationship of soil moisture to the dielectric property. J. Geotech. Eng. Div. 1975, 101, 755–770. [Google Scholar] [CrossRef]
  25. Topp, G.; Davis, J. Measurement of soil water content using time-domain reflectrometry (TDR): A field evaluation. Soil Sci. Soc. Am. J. 1985, 49, 19–24. [Google Scholar] [CrossRef]
  26. Bogena, H.R.; Huisman, J.A.; Schilling, B.; Weuthen, A.; Vereecken, H. Effective calibration of low-cost soil water content sensors. Sensors 2017, 17, 208. [Google Scholar] [CrossRef] [PubMed]
  27. Vaz, C.M.; Jones, S.; Meding, M.; Tuller, M. Evaluation of standard calibration functions for eight electromagnetic soil moisture sensors. Vadose Zone J. 2013, 12, 1–16. [Google Scholar] [CrossRef]
  28. Pelletier, M.G.; Karthikeyan, S.; Green, T.R.; Schwartz, R.C.; Wanjura, J.D.; Holt, G.A. Soil moisture sensing via swept frequency based microwave sensors. Sensors 2012, 12, 753–767. [Google Scholar] [CrossRef] [PubMed]
  29. Visconti, F.; de Paz, J.M.; Martínez, D.; Molina, M.J. Laboratory and field assessment of the capacitance sensors Decagon 10HS and 5TE for estimating the water content of irrigated soils. Agric. Water Manag. 2014, 132, 111–119. [Google Scholar] [CrossRef]
  30. Zhang, R.-B.; Guo, J.-J.; Zhang, L.; Zhang, Y.-C.; Wang, L.-H.; Wang, Q. A calibration method of detecting soil water content based on the information-sharing in wireless sensor network. Comput. Electron. Agric. 2011, 76, 161–168. [Google Scholar] [CrossRef]
  31. Kojima, Y.; Shigeta, R.; Miyamoto, N.; Shirahama, Y.; Nishioka, K.; Mizoguchi, M.; Kawahara, Y. Low-cost soil moisture profile probe using thin-film capacitors and a capacitive touch sensor. Sensors 2016, 16, 1292. [Google Scholar] [CrossRef] [PubMed]
  32. Kodešová, R.; Kodeš, V.; Mraz, A. Comparison of two sensors ECH2O EC-5 and SM200 for measuring soil water content. Soil Water Res. 2011, 6, 102. [Google Scholar] [CrossRef]
  33. Ma, Y.; Qu, L.; Wang, W.; Yang, X.; Lei, T. Measuring soil water content through volume/mass replacement using a constant volume container. Geoderma 2016, 271, 42–49. [Google Scholar] [CrossRef]
  34. Placidi, P.; Gasperini, L.; Grassi, A.; Cecconi, M.; Scorzoni, A. Characterization of low-cost capacitive soil moisture sensors for IoT networks. Sensors 2020, 20, 3585. [Google Scholar] [CrossRef] [PubMed]
  35. Pereira, R.M.; Sandri, D.; Rios, G.F.A.; Sousa, D.A.d.O. Automation of irrigation by electronic tensiometry based on the arduino hardware platform. Rev. Ambiente Água 2020, 15, e2567. [Google Scholar] [CrossRef]
  36. Nagahage, E.A.A.D.; Nagahage, I.S.P.; Fujino, T. Calibration and validation of a low-cost capacitive moisture sensor to integrate the automated soil moisture monitoring system. Agriculture 2019, 9, 141. [Google Scholar] [CrossRef]
  37. Majumder, S.; Kasirao, G.; Himavarsha, P.; Chaudhary, S.; Sekopo, K.P.; Tanwar, T.; Verma, J. Assessing Low-cost Capacitive Soil Moisture Sensors: Accurate, Affordable, and IoT-ready Solutions for Soil Moisture Monitoring. Int. J. Environ. Clim. Chang. 2023, 13, 2233–2242. [Google Scholar] [CrossRef]
  38. Souza, G.; De Faria, B.T.; Alves, R.G.; Lima, F.; Aquino, P.T.; Soininen, J.-P. Calibration equation and field test of a capacitive soil moisture sensor. In Proceedings of the 2020 IEEE International Workshop on Metrology for Agriculture and Forestry (MetroAgriFor), Trento, Italy, 4–6 November 2020; pp. 180–184. [Google Scholar]
  39. Pereira, R.M.; Sandri, D.; da Silva Júnior, J.J. Evaluation of low-cost capacitive moisture sensors in three types of soils in the Cerrado, Brazil. Rev. Eng. Na Agric.-Reveng 2022, 30, 262–272. [Google Scholar] [CrossRef]
  40. Okasha, A.M.; Ibrahim, H.G.; Elmetwalli, A.H.; Khedher, K.M.; Yaseen, Z.M.; Elsayed, S. Designing low-cost capacitive-based soil moisture sensor and smart monitoring unit operated by solar cells for greenhouse irrigation management. Sensors 2021, 21, 5387. [Google Scholar] [CrossRef] [PubMed]
  41. Domínguez-Niño, J.M.; Oliver-Manera, J.; Arbat, G.; Girona, J.; Casadesús, J. Analysis of the variability in soil moisture measurements by capacitance sensors in a drip-irrigated orchard. Sensors 2020, 20, 5100. [Google Scholar] [CrossRef]
  42. Rende, A.; Biage, M. Characterization of capacitive sensors for measurements of the moisture in irrigated soils. J. Braz. Soc. Mech. Sci. 2002, 24, 226–233. [Google Scholar] [CrossRef]
  43. Fares, A.; Alva, A.K. Evaluation of capacitance probes for optimal irrigation of citrus through soil moisture monitoring in an entisol profile. Irrig. Sci. 2000, 19, 57–64. [Google Scholar] [CrossRef]
  44. Mander, G.; Arora, M. Design of capacitive sensor for monitoring moisture content of soil and analysis of analog voltage with variability in moisture. In Proceedings of the 2014 Recent Advances in Engineering and Computational Sciences (RAECS), Chandigarh, India, 6–8 March 2014; pp. 1–5. [Google Scholar]
  45. Fang, H.-Y.; Daniels, J.L. Introductory Geotechnical Engineering; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
  46. García, L.; Parra, L.; Jimenez, J.M.; Lloret, J.; Lorenz, P. IoT-based smart irrigation systems: An overview on the recent trends on sensors and IoT systems for irrigation in precision agriculture. Sensors 2020, 20, 1042. [Google Scholar] [CrossRef]
  47. Robinson, D.A.; Campbell, C.S.; Hopmans, J.W.; Hornbuckle, B.K.; Jones, S.B.; Knight, R.; Ogden, F.; Selker, J.; Wendroth, O. Soil moisture measurement for ecological and hydrological watershed-scale observatories: A review. Vadose Zone J. 2008, 7, 358–389. [Google Scholar] [CrossRef]
  48. Hrisko, J. Capacitive soil moisture sensor theory, calibration, and testing. no 2020, 2, 1–12. [Google Scholar]
  49. Schwamback, D.; Persson, M.; Berndtsson, R.; Bertotto, L.E.; Kobayashi, A.N.A.; Wendland, E.C. Automated low-cost soil moisture sensors: Trade-off between cost and accuracy. Sensors 2023, 23, 2451. [Google Scholar] [CrossRef] [PubMed]
  50. Costantini, E.A.; Barbetti, R.; Fantappie, M.; L’Abate, G.; Lorenzetti, R.; Magini, S. 6.1 Systematic Pedology and the Soil Information System of Italy. Available online: https://ec.europa.eu/eip/agriculture/en/find-connect/online-resources/italian-soil-information-system-sisi.html (accessed on 4 September 2024).
  51. Day, P.; Black, C.; Evans, D.; White, J. Methods of Soil Analysis Part 1. Physical and Mineralogical Properties; American Society of Agronomy: Madison, WI, USA, 1965. [Google Scholar]
Figure 1. A sketch showing the principle of capacitance soil moisture sensors [48].
Figure 1. A sketch showing the principle of capacitance soil moisture sensors [48].
Sensors 25 00343 g001
Figure 2. The setup of the soil moisture sensing system.
Figure 2. The setup of the soil moisture sensing system.
Sensors 25 00343 g002
Figure 3. The schematic of the data acquisition system produced by Fritzing.
Figure 3. The schematic of the data acquisition system produced by Fritzing.
Sensors 25 00343 g003
Figure 4. The algorithm flow chart.
Figure 4. The algorithm flow chart.
Sensors 25 00343 g004
Figure 5. Methodology framework.
Figure 5. Methodology framework.
Sensors 25 00343 g005
Figure 6. One example of the calibration setup at 5% GWC.
Figure 6. One example of the calibration setup at 5% GWC.
Sensors 25 00343 g006
Figure 7. The calibration function for the soil moisture sensor, a = −0.025 and b = 66.967.
Figure 7. The calibration function for the soil moisture sensor, a = −0.025 and b = 66.967.
Sensors 25 00343 g007
Figure 8. The accuracy of the soil moisture content estimated by the sensor in the three replicas.
Figure 8. The accuracy of the soil moisture content estimated by the sensor in the three replicas.
Sensors 25 00343 g008
Figure 9. The coefficient of variation between the 12 sensors at each level of soil moisture content for the three replicas.
Figure 9. The coefficient of variation between the 12 sensors at each level of soil moisture content for the three replicas.
Sensors 25 00343 g009
Figure 10. Coefficient of variation of the 12 sensors across the five soil moisture levels.
Figure 10. Coefficient of variation of the 12 sensors across the five soil moisture levels.
Sensors 25 00343 g010
Table 1. The output analog readings from the 12 sensors under all moisture levels.
Table 1. The output analog readings from the 12 sensors under all moisture levels.
Probe No.Gravimetric Water Content, %Voltage (Analog Output)
Rep. 1Rep. 2Rep. 3Average
152509254424692507.33
102320223822412266.33
201922184518561874.33
301407141914561427.33
401339134313431341.67
252336233622952322.33
101963207019682000.33
201953190518181892.00
301524156713931494.67
40895937957929.67
352497246525112491.00
102271222722932263.67
201857182118081828.67
301462147313541429.67
401330133813391335.67
452340242923782382.33
102150219421802174.67
201827196920321942.67
301410142414471427.00
401296130312691289.33
552525249524972505.67
102291243423202348.33
202033185817131868.00
301477149714241466.00
401339134413461343.00
652549255425252542.67
102325220123422289.33
202053201518451971.00
301478147214771475.67
401339133413271333.33
752535251825392530.67
102257224422852262.00
201895183318421856.67
301521156115351539.00
401321137613851360.67
852530250226242552.00
102371237921912313.67
201931203219341965.67
301589157515841582.67
401362137613481362.00
952667258726692641.00
102462241622172365.00
202083217320792111.67
301626157415111570.33
401397140313951398.33
1052554249525872545.33
102309228621842259.67
201876191918741889.67
301575147114951513.67
401295138413781352.33
1152353234723692356.33
102039195118721954.00
201839195819681921.67
301178116812181188.00
40855863857858.33
1252032196319391978.00
101776185016491758.33
201551152314561510.00
301139110311261122.67
40976989953972.67
Table 2. The calculated statistical indicators for the resulting dataset.
Table 2. The calculated statistical indicators for the resulting dataset.
SWCRep. 1Rep. 2Rep. 3
Mean52452.252436.252450.17
102211.172207.502145.17
201901.671904.251852.08
301448.831442.001418.33
401228.671249.171241.42
Standard
Deviation
5165.64167.60193.94
10195.22177.28209.34
20138.86156.99160.68
30151.43154.18131.98
40196.60196.34196.55
Coefficient of variation56.756.887.92
108.838.039.76
207.308.248.68
3010.4510.699.31
4016.0015.7215.83
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Abdelmoneim, A.A.; Al Kalaany, C.M.; Khadra, R.; Derardja, B.; Dragonetti, G. Calibration of Low-Cost Capacitive Soil Moisture Sensors for Irrigation Management Applications. Sensors 2025, 25, 343. https://doi.org/10.3390/s25020343

AMA Style

Abdelmoneim AA, Al Kalaany CM, Khadra R, Derardja B, Dragonetti G. Calibration of Low-Cost Capacitive Soil Moisture Sensors for Irrigation Management Applications. Sensors. 2025; 25(2):343. https://doi.org/10.3390/s25020343

Chicago/Turabian Style

Abdelmoneim, Ahmed A., Christa M. Al Kalaany, Roula Khadra, Bilal Derardja, and Giovanna Dragonetti. 2025. "Calibration of Low-Cost Capacitive Soil Moisture Sensors for Irrigation Management Applications" Sensors 25, no. 2: 343. https://doi.org/10.3390/s25020343

APA Style

Abdelmoneim, A. A., Al Kalaany, C. M., Khadra, R., Derardja, B., & Dragonetti, G. (2025). Calibration of Low-Cost Capacitive Soil Moisture Sensors for Irrigation Management Applications. Sensors, 25(2), 343. https://doi.org/10.3390/s25020343

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop