1. Introduction
Improving irrigation management is essential to increase food production while optimizing water-use efficiency [
1,
2]. Currently, less than 65% of applied water is actually taken up by crops [
3], with the remainder lost through evaporation, deep percolation, or runoff (leading to nutrient leaching), groundwater pollution, and soil salinization [
4,
5,
6].
In this context, providing farmers with field-scale soil moisture monitoring tools is increasingly recognized as a key lever for rational irrigation management [
1,
7], especially as climate disruption continues to intensify [
8]. To address this challenge, the development of electronic sensors and the widespread availability of mobile networks able to transmit collected data in real time appear promising, because they make it possible to adjust irrigation on a daily basis according to the actual soil moisture status, thereby reducing unnecessary water applications and improving water-use efficiency.
However, for these technologies to be truly effective, the measurements they provide must be reliable, that is, sufficiently repeatable, reproducible, and accurate to support sound irrigation decisions.
Most in situ soil moisture sensors rely on the electromagnetic response of the soil because the apparent dielectric permittivity of a soil–water–air system varies strongly with water content. After calibration, the sensor output signal can therefore be converted into an empirical estimate of soil water content.
A key difference between sensor technologies is the frequency range over which this dielectric response is assessed. Time Domain Reflectometry (TDR) and Time Domain Transmissometry (TDT) use a broadband electromagnetic signal, with an effective frequency that is often in the high MHz to low GHz range. These sensors are generally considered robust and accurate, partly because their measurement principle is physically well established and standard calibration functions are available [
7,
8], but their cost limits their use mostly to research, monitoring networks or high-value agricultural systems.
Capacitance sensors operate at fixed and lower frequencies, commonly from a few MHz to several hundred MHz depending on the sensor design [
9]. Less expensive electronics are required for such low-frequency operation, which partly explains the low cost of these sensors. However, at these low frequencies, the measured response may be more sensitive to soil-specific properties, including texture and clay mineralogy [
10], pore-water salinity, and bulk electrical conductivity, which partly depends on the pore connectivity [
11,
12,
13]. This sensitivity is especially important for the lowest-cost capacitive sensors, whose raw output is an analogue voltage. The latter is consequently an empirical electronic response to changes in the apparent capacitance of the ‘soil-sensor’ system.
Despite this limitation, their extremely low cost and ease of implementation make these sensors attractive for a wide range of applications. They have therefore been evaluated in several studies aiming to optimize their use, both under agricultural conditions and for more precise monitoring in experimental settings [
14,
15,
16,
17,
18,
19].
This is the case for the SEN0193 sensor manufactured by DF Robot. However, the available studies use only a limited number of replicates, or cover a narrow range of soil textures, or provide poor control of salt content, all of which limit the generalizability of their conclusions.
The general objective of our study was to evaluate the performance (defined here as the capacity to deliver consistent readings irrespective of texture and salinity, while remaining sensitive to water-content variations) of this low-cost SEN0193 capacitive soil moisture probe over a wide range of soil textures and salinity levels, and to determine whether it could be used beyond the strictly agricultural applications recommended by the manufacturer, as suggested in some publications. Since DF Robot now markets the SEN0308, a more expensive, higher-performance sensor, we carried out the same tests with this improved version. These tests were not performed on natural soil, but on a model medium made of glass beads, with a packing porosity comparable to that of real soil. Such a model medium was selected because it seemed to be a practical and efficient option to account for a wide range of textures and salinity under controlled conditions. Because this model medium is easy to handle and fully reproducible, not only does it make it possible to increase the number of experimental replicates in any experiment, but it could also be used for facilitating future comparisons among different sensor types and for developing practical recommendations for users.
In this publication (i) we compare the performance of two DF Robot capacitive probes by analyzing their electrical response to variations in soil texture and water salinity; and (ii) we evaluate the validity of our model medium made of glass beads, to assess whether sensors show the performance claimed by the manufacturer or in some publications.
2. Materials and Methods
2.1. Operating Principle of Capacitive Sensors
Capacitive soil moisture sensors estimate the water content of a medium by detecting changes in the apparent capacitance of the ‘sensor-medium’ system. The principle is based on electrodes that form a capacitor, with the surrounding medium contributing to the dielectric. Since the dielectric permittivity of the medium strongly influences sensor capacitance, variations in water content can be inferred from changes in the sensor signal after appropriate calibration.
Soils are composed of elementary particles that differ in size and mineralogical nature. These include sand and silt, which are mineral grains ranging from 2000 to 50 µm and from 50 to 2 µm, respectively, and clay particles, which are organized as sheet-like minerals smaller than 2 µm. The arrangement of these constituents determines the packing porosity of the soil, which is filled with a variable combination of air and water.
Mineral particles typically have a relative permittivity between about 3 and 7, while air has a much lower permittivity, close to 1. In contrast, water has a very high relative permittivity, around 80 at 20 °C. As a result, the effective permittivity of the soil–water–air system is strongly influenced by water content and generally increases as volumetric water content increases. In low-cost capacitive sensors, the electronic circuit converts changes in the apparent capacitance of the sensor–soil system into an empirical output signal, typically an analogue voltage.
In this study, the sensor outputs a raw value read by the Arduino MKR Zero board (Arduino, Turin, Italy). With a 12-bit resolution, this value is converted into voltage using the following equation:
For the sensors tested in this study, the output voltage decreases as water content increases. A dry medium produces a high voltage, whereas a wet or saturated medium produces a lower voltage. During measurement, good contact between the sensor and the medium is essential, as air gaps or poor insertion can locally affect capacitance and introduce variability unrelated to the actual moisture content.
Two types of capacitive soil moisture sensors from DFRobot (Shanghai, China) were used: model SKU SEN0193 (S1) (Lien product) and model SKU SEN0308 (S3) (Lien product). In total, 10 of each model were installed to account for unit-to-unit variation. The S1 model measures 9.8 cm × 2.3 cm (L × W). The more recent S3 model is larger, with dimensions of 17.5 cm × 3 cm. According to the manufacturer, the longer electrodes allow more accurate moisture measurement by covering a more representative soil volume. In addition, the S3 has a reinforced design with improved waterproofing and better resistance to corrosion. From an electronic perspective, both models include a voltage regulator (operating between 3.3 and 5.5 V) and provide an analogue signal between 0 and 3 V. However, they operate at different frequencies: about 0.5 MHz for the S1 and 1 MHz for the S3.
Technical documentation from the manufacturer indicates that the higher frequency of the S3, combined with an optimized circuit, provides better performance, including improved signal stability and more accurate moisture measurement, with lower sensitivity to environmental interference.
Our data acquisition system consisted of an Arduino MKR Zero microcontroller based on a 48 MHz SAMD21 Cortex-M0+ 32-bit ARM microcontroller and operating at 3.3 V with data logging on a microSD card. The number of input channels was increased using an ADA2717 I2C multiplexer (Adafruit Industries, LLC, Brooklyn, NY, USA) and a 16-channel multiplexer (BOB-09056) (SparkFun Electronics, Niwot, CO, USA). To ensure a stable and continuous power supply, the entire system was connected to a laptop.
2.2. The Model Medium: Texture Variation
To reproduce the textural diversity of natural soils, spherical glass beads with different diameters were used: fine texture (F) with beads < 50 µm, medium texture (M) with beads of 70–110 µm, and coarse texture (C) with beads of 400–600 µm (
Figure 1). The beads used were MBIVER
®/GLASS B
® microbeads, supplied by the company A.M.P.E.R.E. ALLOYS (Saint-Ouen-l'Aumône, France). Like natural soils, the beads are composed mainly of silica (SiO
2: 73%), with secondary components including sodium oxide (Na
2O: 14%), lime (CaO: 10%), magnesia (MgO: 3%), alumina (Al
2O
3), iron oxides (FeO–Fe
2O
3), and potassium oxide (K
2O) (<1%). Their particle density, ranging between 2.45 and 2.55 g/cm
3, is close to that of natural soils (approximately 2.64 g/cm
3). Their hardness is approximately 6 on the Mohs scale, compared to 7 for quartz sands typically found in soils.
2.3. Wetting Procedure
The measurements were carried out at the soil physics laboratory of Institut de Recherche pour le Développement (IRD), in Paris (France). All experiments were conducted in a temperature-controlled room maintained at 21–22 °C. The glass beads were placed in beakers with a diameter of 9 cm and filled to a height of 20 cm. Bulk density was measured for each grain size fraction, and slight differences were observed between textures. Measured bulk densities were 1.54 g/cm3 for coarse (C), 1.46 g/cm3 for fine (F), and 1.40 g/cm3 for medium (M) fractions. These texture-specific values were used in all subsequent calculations. The model medium was prepared at different water contents using the following procedure: the required mass of dry glass beads for one beaker was weighed, and a defined amount of water was added to obtain gravimetric water contents (θg) of 0%, 10%, 20%, and 30%. The bead/water mixture was thoroughly mixed in a plastic bag by shaking. Finally, the moist beads were then transferred into the beaker and, when necessary, gently packed to reach the target height and thus target bulk density. To prevent moisture loss, the samples were covered with plastic film. After each measurement, the beads were dried in an oven at 105 °C for 2 days to ensure that each experiment started from dry conditions.
2.4. Salinity Treatments
To evaluate the effect of salinity, saline solutions were prepared at concentrations of 4, 8, and 16 g of NaCl per litre of distilled water, which correspond approximately to electrical conductivities of 7, 14 and 27 mS cm−1 at 25 °C, respectively. The samples were prepared following the same procedure described above. At the end of each measurement, the beads were rinsed with tap water, then with distilled water, and dried again in an oven at 105 °C for 2 days. This washing and drying protocol ensured that all experiments started under identical and reproducible conditions.
2.5. Manufacturer Procedure of Calibration in Air and Water
The manufacturer recommends the following calibration procedure: the probe is first placed in air, then immersed in a beaker filled with water. The output signal is recorded under each condition. To account for electronic variability, data were collected every 10 s over a period of 2 min, resulting in 12 values. Each measurement was defined as the mean of these 12 values. To reduce variability in measurement conditions, a 2 min rest period was applied between measurements. A second series of 12 values was then recorded over another 2 min period, and the mean value was calculated. This procedure was repeated five times.
2.6. Calibration in Dry and Saturated Medium
Another calibration was conducted by inserting the sensors in the dry (θ
g = 0%) and wet (θ
g = 30%) model soil, for the three textures (FMC), using the same measurement procedure as described in the previous paragraph. At (θ
g = 30%), the porosity was saturated by water (
Figure 2).
2.7. Measurements at Different Water Contents and Salinity Levels
The measurements were conducted using the same measurement procedure as described in the previous paragraphs.
2.8. Sensor Calibration and Validation
Two calibration approaches were compared. First, the manufacturer’s recommended air/water calibration was applied: each sensor was placed in air (0% moisture) and then fully immersed in water (100% moisture), and the output signal was recorded under each condition in the same way as previously described.
Second, sensor calibration was performed separately for each sensor, sensor type (S1 and S3), and granular texture (C, M and F) using a two-point approach based on dry and saturated conditions. The mean sensor signal measured at 0% gravimetric water content was used as the dry reference, whereas the mean signal measured at 30% gravimetric water content was used as the saturated reference. Gravimetric water contents were converted to volumetric water contents using the bulk density of each texture. Calibration parameters were derived from measurements performed with distilled water. For each experimental condition, twelve consecutive raw readings were averaged. Validation was carried out by applying the calibration obtained with distilled water to measurements collected under different salinity levels and comparing the estimated volumetric water contents with the imposed volumetric water contents. Calibration performance was assessed using the agreement between estimated and imposed values, with the 1:1 line representing perfect estimation.
2.9. Statistical Analyses
All data processing and statistical analyses were performed using R software (version 4.4.3, 2025-02-28; R Core Team, 2025) [
20].
Repeatability and reproducibility: For each individual sensor unit, intra-unit repeatability was quantified by computing the median coefficient of variation (CV, %) across the twelve repeated raw readings, pooled over all experimental conditions (texture, salinity, and water content). Inter-sensor reproducibility was assessed by comparing the raw output voltage profiles across the ten units of each model (S1 and S3) under identical conditions of texture and moisture state, and by calculating the mean, standard deviation (SD), and CV (%) for each sensor type and experimental condition.
Voltage range analysis: For each sensor model and condition (air/water reference and three granular textures), the voltage range was defined as the difference between dry and saturated output voltages. Mean, SD, and CV were computed across the ten individual units. To test for significant differences in voltage range among the three particle-size classes (coarse, C; medium, M; fine, F), a one-way analysis of variance (ANOVA) was performed separately for each sensor model. When the F-test indicated significant differences (p < 0.05), a post hoc Tukey’s Honestly Significant Difference (HSD) test was applied to compare means between particle-size classes. A critical difference (CD) was calculated at p < 0.05, and compact letter displays were used to indicate homogeneous groups: means sharing the same letter are not significantly different (p ≥ 0.05), while different letters indicate significant differences (p < 0.05).
Calibration performance: Calibration performance was evaluated using four complementary metrics: the coefficient of determination (R2), the root mean square error (RMSE, expressed in % volumetric water content, VWC), the mean bias (signed mean error, % VWC), and the mean absolute error (MAE, % VWC). These metrics were calculated between imposed and estimated volumetric water contents for each sensor unit, texture, and salinity level. Performance was summarized by texture (n = 800, observations per 10 sensors × 4 water contents × 5 replicates × 4 salinity levels) and by texture × salinity level (n = 200, observations per 10 sensors × 4 water contents × 5 replicates), and measurements based on fewer than three raw readings. Agreement between estimated and imposed values was further examined graphically using the 1:1 line as a reference for perfect estimation.
Effects of water content, texture, and salinity on sensor response: To assess the main and interaction effects of water content, model medium texture, and salinity on the raw output voltage, a Type III mixed-effects linear model ANOVA was fitted separately for S1 and S3 sensors. Individual sensor units were treated as random effects to account for unit-to-unit variability. All main effects (water content, texture, salinity) and their two-way and three-way interactions were included in the model. Significance was assessed at α = 0.05, and results are reported as F-values with associated p-values.
Gemini (version 3 Flash) and Nano Banana 2 were used to generate and refine the illustrative schematics of the glass bead size distributions (
Figure 1). Additionally, Claude was used for language translation, as well as spelling and grammar verification, to ensure the clarity and technical accuracy of the text. The authors have reviewed and edited all outputs and take full responsibility for the content of this publication.
3. Results
3.1. Repeatability
Repeatability measures the dispersion of results produced by a single probe when repeated measurements are made under the same experimental conditions. Repeatability is considered good when this dispersion is low.
Figure 3 presents the intra-unit signal stability of each individual probe, quantified by the median coefficient of variation (CV, %).
For S1 sensors, repeatability was excellent across all individual units. The median CV remained at or below 2% for all ten units, with values rounded to 0% for units C1 and C3, indicating very high signal stability across repeated raw measurements (
Figure 3). All ten units consistently exhibited very low variability under the tested conditions.
For S3 sensors, dispersion was markedly and systematically higher, i.e., lower repeatability. Median CV values ranged from 6% to 14%, with the majority of units exhibiting values between 7% and 12% (
Figure 3). This elevation of CV was consistent across all ten S3 probes, indicating that reduced repeatability is a systematic characteristic of this sensor model under the tested conditions.
3.2. Reproducibility
Reproducibility evaluates the dispersion of the results obtained with different individual probes placed under similar experimental conditions. Good reproducibility is achieved when the dispersion between probes is low.
Figure 4 enables visual comparison of the raw output voltage profiles across the ten units of each model under dry and saturated conditions in air and in the three-model medium textures (C, M, F).
For S1 sensors, the ten voltage profiles were highly similar under all conditions. In the air/water reference condition, output voltages were nearly identical across all individual sensors, with inter-sensor differences not exceeding 0.1 V. When inserted into the model medium, this homogeneity was maintained across the three particle-size classes and both moisture states. In dry conditions, the slight decrease in output voltage from coarse to fine particle-size class was consistent and uniform across all ten individual sensors. These results indicate good inter-sensor reproducibility for S1 sensors.
For S3 sensors, the ten voltage profiles were clearly less homogeneous than those observed for S1 sensors. In the air/water reference condition, inter-sensor differences were more pronounced than for S1. When inserted into the model medium, reproducibility was also poorer in dry conditions: two individual sensors showed markedly different output voltages from the remaining sensors, and variability was still observed among the other units. In saturated conditions, the dispersion among individual sensors remained substantial and varied with particle-size class. These results indicate poorer inter-sensor reproducibility for S3 sensors than for S1 sensors, both in dry and saturated model media.
3.3. Output Voltage Range
For S1 sensors, the mean voltage range was 1.35 V under the air/water reference condition and decreased slightly in the model medium, with values of 1.28 V for the coarse and medium particle-size classes and 1.24 V for the fine class (
Table 1). This decrease in the fine class was statistically significant, but inter-sensor variability remained low, with CV values of 2%. In contrast, S3 sensors showed a higher voltage range, reaching 2.27 to 2.44 V in the model medium, with no significant effect of particle-size class. However, this larger response amplitude was associated with higher inter-sensor variability, with CV values ranging from 6 to 8%. Thus, S3 provided better separation between dry and saturated states, with a range 80 to 90% larger than S1.
3.4. Calibration Performance
Calibration performance was assessed using complementary indicators describing both the agreement between estimated and reference water contents and the magnitude and direction of the estimation errors. These indicators included R2, RMSE, mean bias and MAE, in order to evaluate the strength of the relationship, overall error, systematic over- or underestimation, and absolute error.
3.4.1. Texture-Dependent Calibration Performance
Table 2 summarizes the mean calibration performance of the two sensor types according to the texture of the model medium, after pooling the four salinity levels. For S1, the calibration performance varied among textures. The highest R
2 was obtained in the coarse texture (0.80 ± 0.08), followed by the medium texture (0.75 ± 0.16) and the fine texture (0.68 ± 0.11). The lowest error values were observed in the medium texture, with an RMSE of 8.9 ± 3.8% VWC and an MAE of 5.5 ± 2.7% VWC. Higher errors were obtained in the coarse texture (RMSE = 10.3 ± 2.4% VWC; MAE = 7.1 ± 2.0% VWC) and especially in the fine texture (RMSE = 12.9 ± 2.7% VWC; MAE = 8.3 ± 1.7% VWC). The mean bias was positive for all three textures, ranging from 3.6 ± 2.4% VWC in the medium texture to 7.9 ± 1.4% VWC in the fine texture, indicating that the estimated water contents were generally higher than the reference values.
For S3, the best calibration performance was obtained in the coarse texture, with a high R2 value (0.96 ± 0.02), a low RMSE (3.5 ± 0.7% VWC), a low MAE (2.5 ± 0.6% VWC) and a mean bias close to zero (−0.5 ± 0.6% VWC). In the medium texture, R2 decreased to 0.82 ± 0.04, while RMSE and MAE increased to 7.6 ± 1.4% VWC and 4.9 ± 1.0% VWC, respectively. The fine texture showed the lowest R2 for S3 (0.75 ± 0.05) and the highest error values, with an RMSE of 9.1 ± 1.5% VWC and an MAE of 5.9 ± 0.9% VWC. The mean bias remained close to zero in the coarse and medium textures, but became positive in the fine texture (3.3 ± 1.5% VWC).
3.4.2. Salinity-Related Changes in Calibration Performance
Table 3 presents the calibration performance separately for each salinity level.
For S1, the errors generally increased with salinity in all textures. In the coarse texture, RMSE increased from 6.88% VWC at N0 to 12.55% VWC at N16, while MAE increased from 4.27 to 8.92% VWC. A similar pattern was observed in the medium texture, where RMSE increased from 5.60% VWC at N0 to 14.31% VWC at N16, and MAE increased from 3.45 to 9.41% VWC.
In the fine texture, the errors were already higher at N0, with an RMSE of 9.35% VWC and an MAE of 6.18% VWC, and remained high at the highest salinity level, with an RMSE of 14.87% VWC and an MAE of 9.83% VWC. The mean bias was positive for all S1 combinations and increased with salinity in most cases.
For S3, the coarse texture showed consistently high calibration performance across the four salinity levels. R2 decreased slightly from 0.98 at N0 to 0.94 at N16, while RMSE increased from 2.88 to 4.38% VWC and MAE from 1.92 to 3.36% VWC.
In the medium texture, R2 ranged from 0.87 at N4 to 0.77 at N16, and RMSE increased from 6.17% VWC at N4 to 9.38% VWC at N16. The mean bias was negative from N0 to N8, but became positive at N16.
In the fine texture, R2 decreased from 0.82 at N0 to 0.71 at N8 and N16, while RMSE increased from 7.08 to 10.58% VWC and MAE from 4.64 to 6.56% VWC. The mean bias was positive at all salinity levels and increased from 1.38% VWC at N0 to 5.03% VWC at N16.
Overall, S3 showed higher calibration performance than S1, particularly in the coarse texture, where it combined higher R2 values with lower RMSE, MAE and mean bias. The difference between the two sensors was smaller in the medium and fine textures, but S3 still showed lower error values than S1 in all texture groups. For both sensors, the detailed results by salinity showed that calibration performance was generally better at low salinity and decreased at higher salinity levels, although the magnitude of this decrease depended on sensor type and texture.
3.5. Statistical Analysis
The results of the Type III mixed-effects linear model ANOVA for both S1 and S3 sensors are presented in
Table 4. For S1, all two-way interactions were significant. The interaction between water content and texture was highly significant, as were the interactions between water content and salinity and between texture and salinity.
However, the three-way interaction between water-content, texture and salinity was not significant. This indicates that, for S1, the effects of texture and salinity on the sensor response were present, but their combined effect did not vary significantly across water content levels. For S3, the interaction between water content and texture was highly significant, while the interaction between water content and salinity was not significant.
The interaction between texture and salinity was significant, and the three-way interaction between water content, texture and salinity was also significant. Thus, for S3, the response pattern depended on a more complex combination of water content, texture and salinity than for S1.
3.6. Application of Calibration to the Experimental Data
Figure 5 shows the relationship between imposed and estimated volumetric water content for S1 and S3 sensors across the three-model medium textures and the four salinity levels. Values located on the 1:1 line indicate agreement between estimated and imposed water content, whereas values above or below this line indicate overestimation or underestimation, respectively.
For S1, at intermediate water contents, the estimated values showed clear deviations from the 1:1 line and were generally overestimated, with differences among salinity levels. In the medium texture, the dispersion among salinity levels was more pronounced, particularly at intermediate water contents, and the estimates tended to be higher than the imposed values. In the fine texture, S1 showed a marked overestimation at low and intermediate water contents, while the estimates at the highest water content were closer to the 1:1 line.
For S3, the estimated values were generally closer to the 1:1 line than for S1, particularly in the coarse texture. In this texture, the points followed the imposed water-content gradient more closely across the four salinity levels. In the medium texture, the response was less regular, with some underestimation or overestimation depending on the salinity level. In the fine texture, S3 also showed overestimation at the lowest non-zero water content, while the estimates became closer to the imposed values at higher water contents.
Overall, the figure shows that both sensors reproduced the imposed water-content gradient, but with texture- and salinity-dependent deviations. S3 showed a closer agreement with the 1:1 line than S1 in the coarse texture, whereas the differences between the two sensors were less regular in the medium and fine textures.
5. Conclusions
This study confirms the value of starting the evaluation of low-cost capacitive sensors in a simplified model medium. This approach made it possible to identify more clearly the main factors controlling the signal and the limitations of the probes. In a more complex medium, these limitations would probably have been more difficult to interpret.
The results also confirm the caution expressed by manufacturers, who present these sensors as tools able to distinguish broad moisture classes, rather than as instruments for precise quantitative measurement. The more detailed relationships reported in some studies probably correspond to specific situations, combining a given sensor, a given medium and a local calibration.
However, our results are consistent with studies showing that calibration must be performed in the medium of use, and not only in air and water. For farmers, these sensors can therefore be useful for detecting drying, comparing irrigation practices or triggering a local alert. In practice, these sensors should be used as decision-support tools rather than as reference instruments.
Their very low cost is an important advantage, provided that a robust classification of the water status, for example, dry, wet or very wet, is preferred over an overly precise absolute estimation of water content.
Finally, the glass bead model medium can serve as a first step for comparing different capacitive sensors under simplified and interpretable conditions. Future work could extend this approach by testing other probe models and then progressively introduce more complex media, including clay, aggregates and different levels of compaction.