Professional Documents
Culture Documents
net/publication/262772087
CITATIONS READS
57 2,346
6 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Olfa Kanoun on 20 October 2014.
ISSN 1751-8822
Abstract: The main purpose of this study is to present a complete irrigation solution for the farmer based on wireless sensor
network. The challenge is to create an automated irrigation system which can reduce in the same time the water’s waste and is
cost effective. Different parameters are important to measure in order to calculate the efficient quantity of water needed by
plants. In this study, the proposed solution is the use of low-cost sensor nodes having reduced power consumption able to
realise necessary requirements. The system is composed of different types of nodes. Each node consists of a TelosB mote and
adequate sensors or actuators. Soil nodes are used to detect the level of moisture and temperature in soil. Weather nodes monitor
the climatic changes. Other nodes are connected to actuators which are able to control the opening of the irrigation valve if necessary.
0–1.1 V VWC = 10 V − 1 This project focuses on the use of multiple sensors as a device
1.1–1.3 V VWC = 25 V − 17.5 to control water quantity in irrigation system in real-time. The
1.3–1.82 V VWC = 48.08 V − 47.5 design of the device is chosen because of its features that fulfil
1.82–2.2 V VWC = 26.32 V − 7.89 the requirement for low-power consumption, low cost,
water’s waste reduced, manpower reduced and reliable data
communication between sensors nodes.
Low-power consumption: the main challenge is to design a
low-power hardware component. Thus, the overall system
Table 2 Experimental results should take into account the power consumption which
should be minimised as much possible as it can be at every
Parameters Thresholds Experimental results block of the system design. Moreover, the system uses a
gathered from sensors
battery that requires low-power consumption. It provides a
soil higher than 10°C 23°C service life of several weeks.
temperature Low cost: since we have a large number of nodes and
soil moisture higher than 10% 71.05% because our application is oriented to agriculture, our nodes
weather higher than 4.5°C 25.11°C must be as cheap as possible. The easy deployment and low
temperature below than 30°C
weather light higher than 269.1 lux 469.02 lux
maintenance cost make WSNs a cost effective solution for
below than 807.3 lux monitoring. WSNs are designed to run unattended for years,
weather below than 50% 41% thus, greatly reducing human resources for maintenance and
humidity repairing. Moreover, our wireless modules do not need any
cable to work.
Water’s waste reduced: to have an effective irrigation
Constantinos et al. [5] propose the realisation of a smart system you need to obtain as much water to the plants, or
system for garden watering using WSNs. Their system into the soil, as possible. It may seem easy to do, but in
consists of two types of sensors motes (TelosB and IRIS), fact, water loss from these systems can be up to 50%
special soil humidity sensors, electro-valves that are mote because of the evaporation cycle. On hot and sunny days, a
driven with the use of relays and a Java application that is good portion of water may never make it to the ground.
used for data collection. In this work, only soil moisture Therefore the irrigation system should be able to detect
was monitored. when the plants are in need for water to open valves for
Zhou et al. [6] proposed a wireless solution for intelligent irrigation.
field irrigation system based on ZigBee technology which is Manpower reduced: it reduces effectively manpower
of high cost, hard to be developed and has limited signal requirement. Farmer can remotely control his system
coverage. Indu and S.R.N. [7] proposed an innovative global without going to his farm. The irrigation is automatically
system for mobile communication (GSM)/Bluetooth-based released by opening and closing the valve without the
remote controlled embedded system for irrigation. The system intervention of the farmer. Sensor nodes are small in size
sets the irrigation time depending on the temperature and and weight and require no wiring which means that they are
humidity reading from sensors and type of crop and can easy to install in most locations and applications.
automatically irrigate the field when unattended. Information Low data rate: for the transmission of sensor data, we do
is exchanged between far end and designed system via short not need high-transmission rates. A few kbps will be
messaging service (SMS) on GSM network. The system sufficient. This also enables lower-power consumption and
informs users about many conditions like status of electricity, lower bit error rate while transmitting. The use of this
dry running motor, increased temperature, water content in device will not only reduce the overall monitoring system
soil and smoke via SMS on GSM network or by Bluetooth. cost in terms of labour cost, but also provides flexibility in
Bluetooth-based solutions are also used for this purpose terms of distance or location.
[8]. Although Bluetooth eliminates the usage cost of the This device is being developed with the following goals:
network to a great extent, its range of operation is limited to
a few metres. One cannot remotely monitor and control † Each mote must be able to communicate with the gateway
devices using this technology. Also it is desirable for each via a highly reliable radio module compatible with the IEEE
home device to have a dedicated Bluetooth module because 802.15.4 standard which intends to offer the fundamental
of the fiscal expense of this type of implementation; a lower network layers of a type of wireless personal area
single module is shared by several devices which have a network which focuses on low-cost, low-speed ubiquitous
disadvantage of access delay. Interference is also a problem communication between devices.
when using this technology. † It is proposed to develop a system which detects soil and
Even though very similar in principle to others described in environmental parameters through a sensor node and
the literature, our system is more robust, more cost effective displays measured parameter in real-time.
[Appendix (see Table 3)] and the provided user interface is † It must be able to process orders received by the base station.
more elaborate and flexible. A farmer can control his † Display real-time parameters of the environment received
system locally by a Java application or remotely from any via Java interface or via web site. These interfaces must be
part of the world by providing internet access. To apply simple to use and receptive to the user’s needs.
water in the right place with the right amount, soil moisture † Negative weather conditions do not affect a device’s work.
parameter is insufficient. Different kinds of sensors (soil
moisture, soil temperature, humidity, air temperature, light The following sections present the hardware and software
and wind speed) are involved in such an irrigation process. parts used in the sensor nodes that have been developed.
100 IET Sci. Meas. Technol., 2014, Vol. 8, Iss. 3, pp. 98–106
& The Institution of Engineering and Technology 2014 doi: 10.1049/iet-smt.2013.0137
www.ietdl.org
soil moisture changes, the water content of the porous block voltage regulation allows for easy and fast system
also changes. The electrical resistance between the two integration. Temperature accuracy of the sensor is ± 0.3°C
electrodes increases as the water content of the porous and the accuracy of the relative humidity is under ± 2%.
block decreases. The principle key to implement this The tiny size and low-power consumption makes SHT11
method is the voltage divider circuits which read out the the ultimate choice for even the most demanding
voltage drop across the soil samples and convert the voltage applications including sensor networks.
drop reading to the moisture level of the soil [10]. As the The water’s application pattern is susceptible to distortion
moisture level increases, resistance of the metal (usually by the wind. Although the wind speed and direction are not
metal pins) decreases, that is, conductance of the metal will controlled variables, their effect on irrigation uniformity is
increase and similarly when the moisture level decreases the significant, so a farmer should take in consideration the
resistance of the metal increases, that is, conductance will wind speed when irrigating. So to obtain more information
decrease. about weather changes that affect the plant growth the mote
Thus, in this work a resistive-based sensor was used instead is accomplished with a wind speed sensor. Using this
of a conductivity sensor because it is insensitive to salinity sensor is helpful to detect if irrigation is good for this
and it is not corrosion over time. Indeed, the sensor used is period or not because when the wind speed is high the
small, rugged and of lower power. The VH400 soil water will not persist in the soil.
moisture sensor by Vegetronix [11] was used for soil For this node we used the VORTEX anemometer wind
monitoring. Since it measures the dielectric constant of the speed sensor [16]. It is a rugged wind sensor which can
soil using transmission line techniques, it is insensitive to handle speeds from 5 to over 125 mph. A reed switch/
water salinity, and will not corrode over time. Compared magnet provides one pulse per rotation. The vortex wind
with other low-cost sensors such as gypsum block sensors, sensor is supplied without any electronics.
VH400 offers a rapid response time. Key features of this
sensor include low cost with volume pricing, small size,
power consumption <7 mA, measures volumetric water 5.3 Container node
content (VWC), output voltage is proportional to the
In the container, an actuator will be attached to the TelosB
moisture level, wide supply range 3.3–20 volt directional
mote. When urgent conditions are detected on other nodes,
current (VDC), can be buried and is water proof.
a simple order will be given to the actuator to open or not
Soil temperature can influence the germination rate and
the water valve for irrigation. To control the irrigation
survival of woody species that grow in semi-arid and arid
process, we used solenoid valves provided by Rain Bird
environments (Scifres and Brock, 1969) [12]. After
[17]. A solenoid valve is an electromechanical valve that is
scarification, mesquite seeds require both moisture and an
controlled by an electric current. The electric valve is a
optimal temperature (29°C) to emerge and survive on the
low-power consumption device and it is powered with 24 V
soil surface (Scifres and Brock, 1969). So, controlling
for 50/60 Hz. For the TelosB motes to be able to drive the
temperature of the soil was very important to reduce water
valves we used relays. The relay is used for switching
wastes. Soil temperature also affects how quickly plants
the amount of power with a small operating power. Then,
take up water and nutrients and how fast plants can grow.
the relay is connected in series with the electro-valve and
The soil temperature sensor adopts DS18B20 provided by
an external 9 V battery. This way, when the TelosB mote
Maxim integrated [13] which is a lower-power consumption
triggers the relay, the circuit closes, the electro-valve opens
digital temperature sensor. The temperature measuring of
and the irrigation process begins.
DS18B20 is −55 to +125°C, and the precision is 0.0625°
C, 9–12 bits A/D. Owing to its small size, it can save many
lead wires and much logic circuitry. It requires only one pin 6 Description of the software part
for communication and can be powered with 3 V. It
consists of three wires. The black wire is connected to the The sensor motes were programmed in TinyOS [18] with the
ground, the red is connected to the voltage common nesC [19], a component-oriented programming language.
collector (VCC) and finally the white is connected to TinyOS is a component-based architecture and forms an
digital-analogue convertor (DAC) channel pin. event-driven operating system. A software program was
developed and uploaded into the sensor nodes to allow each
5.2 Weather node node to measure the adequate parameter.
To succeed in retrieving data from a sensor, the appropriate
The environment monitoring part consists of various types of pin for each wire (analogue-digital convertor (ADC), DAC,
sensors to collect environmental factors such as luminance ground, analogue voltage common collector (AVCC)…)
level, temperature, relative humidity and wind speed. Air must be chosen. For example, the VH400 soil moisture has
temperature has a crucial role in plant’s growth; low three wires: the bare represents the ground, it is connected
temperature causes a decrease in the absorption and to PIN 9; the black represents data, it is connected to ADC1
movement of water in plants. Humidity also plays a major and the red represents the power, it is connected to PIN 1
role in plant growth; low humidity causes fast transpiration. (AVCC).
Fast transpiration means your plants will be taking up and Fig. 2 shows the nesC component diagram for the mote as
using lots of water (and nutrients). Normally, the range of developed. SoilMoteC is a new component that is grafted on
healthy relative humidity for the plants is from 50 to 70%. to TinyOS and is optimised for the use of two soil sensors:
High air moisture reduces the required plant watering VH400 and DS18B20. The programme entry point is
frequency [14]. With the help of a sensor (Sensirion SHT11 supplied by the MainC component using the boot interface.
[15]) integrated in the TelosB, we can control ambient For the programmes to function, it is necessary to
temperature and humidity. Both sensors are seamlessly instantiate a TimerMilliC component, which is required to
coupled to a 14 bit analogue to digital converter and a serial manage the programme timer and cancel any previously
interface circuit. The two wire serial interface and internal running timer and to signals that the timer has expired or
IET Sci. Meas. Technol., 2014, Vol. 8, Iss. 3, pp. 98–106 101
doi: 10.1049/iet-smt.2013.0137 & The Institution of Engineering and Technology 2014
www.ietdl.org
Fig. 2 SoilMoteC: NesC component diagram generated by the Eclipse plug-in YETI2 [20]
repeated (SimpleTimer1). For communications, two bus (USB) port that acts as a gateway for the rest of the
AMSenderC components are required, one of the type motes. When it receives measurement values, it forwards it
ActiveMessageC and another of the type AMSender. The to the PC where a Java application receives the data and
AMSend instance of the AMSenderC component is used to stores them in a MySQL database [21] for post-processing
send the data gathered from the sensors to the sink node. (Fig. 4).
The Packet instance of the AMSenderC component is used The displayed results contributed by the Java application or
to collect data into packet. by the web site will allow the user to view maps, tables and
The last component, ActiveMessageC, is used to initiate the graphs in a comprehensible form to ease decision making
radio module, set the number of retries and the delay between like where the irrigation amount will be delivered as the
them, and manage its operating time. In this way, energy season progresses. With this solution, the decision whether
expenditure by the radio transceiver can be optimised. to irrigate or not is no longer a matter of guessing and just
For reading parameters, three components are required: looking at the crop. With the soil sensors, it becomes
Msp430InternalVoltageC is used to read the battery level possible to know exactly what is happening in the zone
every hour, VH400C is used to read the soil moisture and where it matters: inside the soil where the roots from the
the DS18B20C is used to read the soil temperature. crop should take their water.
102 IET Sci. Meas. Technol., 2014, Vol. 8, Iss. 3, pp. 98–106
& The Institution of Engineering and Technology 2014 doi: 10.1049/iet-smt.2013.0137
www.ietdl.org
IET Sci. Meas. Technol., 2014, Vol. 8, Iss. 3, pp. 98–106 103
doi: 10.1049/iet-smt.2013.0137 & The Institution of Engineering and Technology 2014
www.ietdl.org
2 to obtain the mote’s supply voltage (Vcc). In our example environmental parameters of the weather node are
forwarded to the base station by the corresponding motes.
raw value = 0 × 0FFF = 4095 (in decimal) The base station is a mote connected to a PC on a USB
port that acts as a gateway for the rest of the motes. When
voltage = (4095/4096) × 1.5 × 2 ≃ 2.9993 V it receives a measurement value, it forwards it to the PC
where a Java application receives the data and stores it in a
MySQL database for post-processing. The implementation
Humidity and temperature sensors are located in the external of the system has been handled out successfully, so the
Sensirion® SHT11 sensor. The Hamamatsu® S1087 sensor farmer can control the amount of water needed in the field
provides visible light values. They are directly connected to with two manners: displaying data into Java application if
the microcontroller’s ADC. The specific data can be he is in the farm or from a web site if he is outside. Thus,
calculated using the formula given with the datasheet of the making a decision will be faster and easier (Fig. 7).
TelosB mote. The system is created for easy use with no Human–machine interface (HMI) equipment provides a
need to obtain a specific knowledge to understand its control and visualisation interface between a human and a
functions. process, machine, application or appliance. HMIs allow the
user to control, monitor, diagnose and manage an
9 Computer part application. HMI is a key element in the use of any
embedded system. In theory, a HMI must be ergonomic as
Throughout the operation of the system, the levels of moisture well as effective. In addition, these interfaces must be easy
and temperature of the soil node and the levels of some to use and receptive to the user’s needs. This application
104 IET Sci. Meas. Technol., 2014, Vol. 8, Iss. 3, pp. 98–106
& The Institution of Engineering and Technology 2014 doi: 10.1049/iet-smt.2013.0137
www.ietdl.org
also provides a histogram (moisture and temperature). So it anything. The application is very simple to use even if the
facilitates and simplifies the reading of data. farmer does not have knowledge of WSN. In future work,
The farmer has the possibility to save or print desired data. we plan to use solar panels along with rechargeable
He clicks on the option Save found in the File menu or on the batteries in order to make the system self sustainable in
saving button; data will be saved as an Excel table. Same terms of energy consumption. Moreover, instead of sending
functionalities contributed with a Java application are data to a farmer’s PC, the control of the system will be
offered by the web application. possible with smart phones, so the system will be more
flexible and efficient. The proposed system is a low-cost
system where information is exchanged via SMS on GSM
10 Experimental results network.
To complete the control of a whole farm, we will try to
For testing the system, we used a small field which is a
implement the nodes in the entire agricultural field, like
pot from the laboratory. As each plant has its particular
green house, machinery and animals.
parameters, we concentrated our tests on a small plant
known as a spider plant. We pictured the real system
in Fig. 8.
To understand the system’s behaviour facing climatic
changes, we have studied the need of the spider plant in 12 References
water, temperature, light and fertiliser [22].
1 Kshitij, S., Arti, N., Neelam, S., Raghuvir, S.: ‘Wireless sensor networks
The tested plant is undemanding for water. It prefers bright in agriculture: for potato farming’, Int. J. Eng. Sci. Technol., 2010, 2, (8),
light and tends towards scorching in direct sunlight. However, pp. 3955–3963
it will grow in conditions ranging from semi-shady to partial 2 Kiran, M., Kamal, K., Nitin, G.: ‘Application based study on wireless
direct sun, which means that the light must be established sensor network’, Int. J. Comput. Appl., 2011, 21, (8), pp. 9–15
between 269.1 and 807.3 lux. In summer, this plant should 3 ‘Memsic TelosB’. Available at http://www.memsic.com.php5-12.dfw1-
1.websitetestlink.com/products/wireless-sensor-networks/wireless-
be watered liberally, but during the winter we have to cat modules.html, accessed November 2013
watering back. The spider plant does not resist below 50°F 4 Mahir, D., Semih, O.: ‘A wireless application of drip irrigation
(10°C) or in cold drafts. The air temperature must be kept automation supported by soil moisture sensors’, Sci. Res. Essays,
between 40 and 85°F (4.5–29.5°C). Spider plants like 2011, 6, (7), pp. 1573–1582
fast-draining, well-aerated potting mix. When the soil 5 Constantinos, M., Sotiris, N., Georgios, C.: ‘Smart system for garden
watering using wireless sensor networks’. Proc. Ninth ACM Int.
moisture is below 10%, we need to apply irrigation. Workshop Mobility Management Wireless Access, MOBIWAC 2011,
Understanding the plant’s needs help us to compare the Miami Beach, FL, USA, 31 October–4 November, 2011, pp. 167–170
retrieved data from sensors (Table 2). 6 Zhou, Y., Yang, X., Wang, L., Ying, Y.: ‘A wireless design of low-cost
Reading the experimental results shows that the plant is irrigation system using ZigBee technology’. Networks Security,
Wireless Communications and Trusted Computing, 2009, NSWCTC
well irrigated and its demands on water are well respected. ’09. Int. Conf.(Volume: 1), Wuhan, Hubei, 25–26 April 2009,
If any of the experimental results exceed the threshold of pp. 572–575
the studied parameter, the system will alert the farmer about 7 Indu, G., Reddy, S.R.N., ‘Innovative GSM bluetooth based remote
this problem to make the appropriate decision. controlled embedded system for irrigation’, Int. J. Comput. Appl.,
2012, 47, (13), pp. 1–7
8 Subhodip, M.: ‘Realization of low cost bluetooth based visual sensor
11 Conclusions node for pest and disease detection in crops’, Int. J. Emerg. Technol.
Adv. Eng., 2012, 2, (6), pp. 92–97
9 Fedro, Z., Jiannong, X.: ‘Soil moisture sensors’ (Florida Cooperative
Managing water is a crucial task in the agriculture field Extension Service, 1994)
because its availability for agriculture is a global challenge 10 Perera, A.: ‘ZigBee wireless soil moisture sensor design for vineyard
for the upcoming years. management system’. Master’s thesis, Auckland University of
A complete irrigation solution based on a WSN has been Technology, New Zealand, 2010
11 ‘VH400 soil moisture’. Available at http://www.vegetronix.com/,
designed with the appropriate technology and components accessed November 2013
that satisfy many engineering design constraints such as 12 Scifres, C.J., Brock, J.H.: ‘Emergence of honey mesquite seedlings
economic or energy. In this project, we presented the relative to planting depth and soil temperature’, J. Range Manage.,
architecture and the implementation of an automated 1972, 25, pp. 217–219
irrigation system based on WSN. Remotely monitored 13 ‘Datasheet of DS18B20’. Available at http://datasheets.maximintegrated
.com/en/ds/DS18B20.pdf, accessed November 2013
embedded systems for irrigation purposes have become a 14 Teemu, A., Reino, V., Mohammed, E.: ‘Greenhouse monitoring with
new necessity for farmers to save energy, time and money. wireless sensor network’. IEEE/ASME Int. Conf., Beijing, China, 12–
This system is composed of three nodes; each node is 15 October 2008, pp. 403–408
composed from the TelosB mote and adequate sensors. The 15 ‘SHT11 datasheet’. Available at http://www.parallax.com/sites/
soil node will be used to measure soil moisture and soil default/files/downloads/28018-Sensirion-Temerature-Humidity-Sensor-
Documentation-v1.0.pdf, accessed November 2013
temperature, the weather node is used to measure 16 ‘Vortex wind sensor’. Available at http://www.inspeed.com/
environmental parameters such as the air temperature, the anemometers/Vortex_Wind_Sensor.asp, accessed November 2013
air humidity, the wind speed and brightness. The last node 17 ‘CP/CPF series actuator’. Available at http://www.rainbird.com/
is connected to an actuator which allows the controlling of homeowner/products/valves/CP-CPF.htm, accessed on November 2013
18 ‘TinyOS home page’. Available at http://www.tinyos.net/, accessed
the opening of the irrigation valve if necessary. The data November 2013
from each node are being transmitted to the base station 19 ‘NesC home page’. Available at http://nescc.sourceforge.net/, accessed
where it will be recorded and sent to the farmer’s PC just in November 2013
time to allow him to take the proper action. The big 20 ‘Yeti2’. Available at http://marketplace.eclipse.org/content/yeti-2-
advantage of this system is that the farmer does not need to tinyos-2x-eclipse-plugin#.Uc7m0Dtg_oI, accessed November 2013
21 ‘MySQL Query Analyzer’. Available at http://www.mysql.com/,
understand the technical details of the device. By using web accessed on 24/07/2013
or Java application, the farmer does not need to have 22 Bodie V,P. Growing Indoor Plants with success, Bulletin 1318, 2012,
knowledge about IEEE standards, wireless connection or pp. 1–27
IET Sci. Meas. Technol., 2014, Vol. 8, Iss. 3, pp. 98–106 105
doi: 10.1049/iet-smt.2013.0137 & The Institution of Engineering and Technology 2014
www.ietdl.org
Appendix
See Table 3.
TelosB 2.4 GHz TPR2420CA IEEE 802.15.4 TelosB mote with crossbow 3 77 €
sensor suite
VH400 soil moisture sensor VH400-2M soil moisture sensor – 2 m cable vegetronix 1 28.9 €
temperature sensor – waterproof SEN-11050 water temperature sensor maxim 1 7.48 €
(DS18B20) integrated
CPF series inline irrigation valve CPF-100 1″ FPT inline electric valve rain bird 1 16.5 €
valve size: 1″ (25 mm)
vortex wind sensor, 25′ INSPEED 1 41.38 €
Total 325.26 €
106 IET Sci. Meas. Technol., 2014, Vol. 8, Iss. 3, pp. 98–106
& The Institution of Engineering and Technology 2014 doi: 10.1049/iet-smt.2013.0137