Arduino-Based System For Soil Moisture Measurement: February 2017
Arduino-Based System For Soil Moisture Measurement: February 2017
net/publication/313720615
CITATIONS READS
3 11,391
2 authors:
2 PUBLICATIONS 3 CITATIONS
University of Montenegro
78 PUBLICATIONS 253 CITATIONS
SEE PROFILE
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
DEVELOPMENT OF FUTURE INTERNET ROUTER ON PROGRAMMABLE HARDWARE AND OPEN SOURCE SOFTWARE PLATFORMS View project
All content following this page was uploaded by Milutin Radonjic on 15 February 2017.
fine- and coarse- textured soils, respectively [1]. Even the continuous SMC parameters such as n, m and .
slightest error in the estimation of α may result in immense Since the MV-VG model assumes that the residual
error while estimating the SMR. The essential problem of moisture content is zero, leading to an underestimation in
the semi-physical methods is leading to the dry range dry range of the SMR, especially in clayey soils, we used a
underestimation of the SMR. conceptual scaling approach to reduce the model bias.
To predict the continuous SMR from the PSD data and
B. Scaling Approach
porosity, we used the parameterized Van Genuchten model
(VG), which was integrated with the Mohammadi and Let us assume that the reference soil consists of
Meskini-Vishkae (MV) model. Model was tested on 82 particles, which are spherical and uniform in size and are
soils samples from the UNSODA database, which has arranged in random close packing state leading to minimal
shown that the scaling approach improves the MV-VG porosity. This minimal porosity is known as the "Kepler
model estimations on average by 30% [2]. Results show conjecture" with value of 0.259 for this packing state or, in
that the scaled method properly estimates the SMR for all our case, for the reference soil. On the other hand, the
soil samples and may be used at larger field scale for maximum value of porosity for the reference soil
predicting continuous SMR from basic soil data. would equal to 1.41432. Thus we can suggest the scaling
factor λ, for each soil sample as:
A. Theory
. (10)
Model of the SMR developed by the Van Genuchten [3]
is widely used and mathematically defined as: Now being that the packing parameter ξ and pore-size
distribution index n are small for the fine-textured and
, (1) large for the coarse-textured soils, F. Meskini-Vishkaee,
, (2) M. H. Mohammadi and M. Vanclooster suggest that the
scaling factor can scale the index n as follows:
where is effective saturation degree, is the soil ∗
∗ , (11)
moisture content, and are saturated and residual soil where n* is scaled to the PoSD index in the VG model [2].
moisture contents, respectively. Parameter h represents the Finally, the scaled model is determined as:
suction head, n represents pore-size distribution index, is
the pore-length scaling factor and m is a fitting coefficient.
The suction head, hi is given as: ∗ . (12)
. ∗
, (3)
III. HARDWARE DESIGN
and corresponds to the particle radius of the i-th fraction Ri
Our design is based on the Arduino UNO
[4]. Parameter is defined as:
. microcontroller platform, equipped with the soil moisture
, (4) sensor Watermark 200SS and the GSM/GPRS SIMCOM
and represents a coefficient depending on the state of soil 900 mobile communication module (Fig. 1). The sensor is
particle packaging. Parameter e is the void ratio given by: connected to a built-in 10-bit analog-to-digital converter
, (5) (ADC) of the Arduino platform. The platform measures
where is soil particle density and is bulk density. output voltage of the moisture sensor, processes obtained
Because of the similarity between the SMR and PSD data and sends it over the GPRS connection to the cloud.
curves, many scientists expressed a SMR model in terms
of a PSD model. Arya and Paris (AP) [5] suggested that
the soil moisture content θ can be obtained from PSD and
as
∑ ; i = 1, 2, 3, ..., k, (6)
where is the mass fraction of particles in the j-th
particle size fraction. Let us now consider that
∑ , (7)
where is the cumulative mass fraction of soil particles,
would result in
, (8) Fig. 1. Experimental prototype of the system.
where S is the saturation degree. If = 0, then = S and
subsequently S = . However, the AP model ignores the In order to properly measure the water potential using
residual moisture content, which has considerable values the Watermark sensor, it is necessary to provide an
for many types of soil. Combining (1) and (3) and alternating current (AC) power source, because long
invoking them in (7) yields exposure to the direct current polarize sensor electrodes.
This has a negative impact on the measured results, and
. (9) leads to the degradation of the sensor over time. The AC
. ∗
power source is emulated by digital output ports of the
Fitting (9) to the PSD data enables us to predict the microcontroller, as shown in Fig. 2. Alternating the status
22nd Internacionalna Naučno-Stručna Konferencija Informacione Tehnologije 2017
of the digital pins D0 and D1 to HIGH (5V) and LOW the linear function:
(0V) digital levels, rectangular signal is generated. 20 ∗ ∗ 1 0.018 ∗ 24 0.55 (14)
Initially, D0 is set to HIGH, while D1 is set to LOW, so where P (kPa) is a potential humidity, R (kΩ) is the sensor
the current flows in one direction. We then measure the resistance and T (°C) is the soil temperature. The value
voltage drop on the sensor and perform the necessary 0.018*(T-24) represents the 1.8% resistance change for
calculations. The voltage polarity is then reversed, putting each degree of Celsius change in soil temperature from the
D0 to LOW and D1 to HIGH. The current now flows in reference value of 24°C.
the opposite direction and the measurement starts again.
TABLE 1. CALIBRATION POINTS OF THE WATERMARK 200SS
SENSOR
Moisture potential [kPa/cbar] Resistivity [Ω]
0 550
9 1000
10 1100
15 2000
35 6000
55 9200
75 12200
100 15575
200 28075
Fig. 2. Watermark 200SS sensor connection to Arduino.
V. CONCLUSION
In this paper we described design of the microcontroller
system for soil moisture measurement using Watermark
200SS soil moisture sensor. The idea was to develop a
modular, flexible system using affordable components.
Proposed solution is designed to measure water potential
from 0kPa to 200kPa, and to be used for agricultural
purposes. System is flexible, low cost, simple to use and
offers real-time monitoring. It is a suitable alternative to
similar expensive systems, especially in case of multiple
monitoring locations.
Future work on the system will include several different
Fig. 4. Example of measured vs. predicted SMRs using activities. Main point of interest will be to evaluate the
integrated MV-VG model, scaling approach and Rosetta recorded data and compare it to high accuracy systems.
software for clay textured soils. Attention will also be focused to autonomy of the system,
which can be achieved through autonomous power supply
consisting of solar energy or batteries and implementation
of attention (AT) commands. This greatly improves
flexibility and manageability of the system as it allows us
to control the system from a central point wirelessly,
without the need of field work. Another important issue is
to implement a temperature sensor for increased precision
and calibration of the moisture sensor.
LITERATURE
[1] A. Basile and G. D’Urso, “Experimental corrections of simplified
methods for predicting water retention curves in clay-loamy
soilsfrom particle-size determination”, Soil Technol., 10, 261–
272,1997.
[2] F. Meskini-Vishkaee, M. H. Mohammadi, and M. Vanclooster.
Fig. 5. Example of measured vs. predicted SMRs using Hydrol. Earth Syst. Sci., 18, 4053–4063, 2014. "Predicting the soil
integrated MV-VG model, scaling approach and Rosetta moisture retention curve, from soil particle size distribution and
bulk density data using a packing density scaling factor".
software for silty loam textured soils. [3] Van Genuchten, M. Th. 1980. "A closed-form equation for
predicting the hydraulic conductivity of unsaturated soils". Soil Sci.
The proposed system has been tested in a sample of clay Soc. Am. J. 44:892-898.
[4] Mohammadi, M. H. and Vanclooster, M.: Predicting the soil
soil in a large flower pot at a depth of 20 cm. The results moisture characteristic curve from particle size distribution with a
shown in Fig. 6 were obtained during a short test of tens of simple conceptual model, Vadose Zone J., 10, 594–602, 2011.
minutes of the previously sprinkled soil, with periods of [5] Arya, L. M. and Paris, J. F.: "A physicoempirical model to predict
the soil moisture characteristic from particle-size distribution and
measurement of a little more than a minute. The initial soil bulk density data". Soil Sci. Soc. Am. J., 45, 1023–1030, 1981.
moisture was at 50.9%. The soil is then briefly moistened [6] From Irrometer Company, Inc., Riverside, CA via M.K. Hansen
and allowed to dry over a period of several minutes. Company, E.Wanatchee, WA, October, 2000.
Increase in soil moisture (from first to fifth point) can be [7] Shock, C.C., J.M. Barnum, and M. Seddigh. 1998. Calibration of
Watermark soil moisture sensors for irrigation management.
noticed until the soil has reached the maximum humidity Proceedings of the 1998 Annual Meeting of the Irrigation
saturation of 51%. The excess water is then removed and Association. p. 139-146.
slight pressure is applied to the soil to remove a certain [8] Rick Allen (October 13, 2000)." Calibration for the Watermark
200SS Soil Water Potential Sensor to fit the 7-19-96 “Calibration
amount of water for the purposes of demonstration (fifth to #3” Table from Irrometer". University of Idaho.
tenth point). The rest of the graph shows a constant value
since the drying of clay soils is a time consuming process.