You are on page 1of 5

2019 International Conference on Vision Towards Emerging Trends in Communication and Networking (ViTECoN)

IoT based Irrigation and Water Logging monitoring


system using Arduino and Cloud Computing
Chandra Prakash Meher Adyasha Sahoo Suraj Sharma
Department of CSE Department of EEE Department of CSE
IIIT Bhubaneswar IIIT Bhubaneswar IIIT Bhubaneswar
Bhubaneswar,India Bhubaneswar,India Bhubaneswar,India
b115022@iiit-bh.ac.in b315009@iiit-bh.ac.in suraj@iiit-bh.ac.in

Abstract—In a peninsular country like India, agriculture whole field manually by making efficient use of water,so some
contributes about 16% of total GDP, so irrigation system has technical irrigation facility is required to efficiently distribute
been given a high priority in economic development. With the the water to the whole farm land for better crop production.
advancement of wireless sensor network, cloud computing and
IoT in the field of irrigation, this paper aims at conventional India is blessed with a large acreage of land for cultivation but
usage of water by providing adequate amount of water to the due to poor irrigation facilities and inadequate water supply its
crops at the right time and conserving the excess run-off water does not provide a sufficient output for the country’s GDP[1].
from the farmlands. The excess runoff water will be saved in a The manual method of watering the crops leaves the land
tank for future use. As in coastal belts of India there remains uncultivated due to scarcity of water during arid seasons which
a heavy scarcity of water during the month of March to May
the farmlands remains as barren lands. By using this method, results in decrease of crop retainability. In India,as rice is the
crop rotation becomes possible, as water will be supplied from staple food of most of the coastal regions so maximum area of
the water stored from run-off water. It aims at automation the peninsular part is cultivated with rice but due to lack of proper
irrigation process by surveillance of soil moisture, humidity irrigation system there is an inadequate crop yield. Also due
and temperature. Arduino Uno is the micro-controller, which to retreating monsoon and unseasonable rainfall water logging
monitors the sustainability conditions of the crops ensuring
adequate water supply and better crop yield. It also helps the comes into an issue as the result the lands gets logged with
farmer to control the farmland remaining in far away from that rain water which results in rotting away of crops[2].
place also. By using IoT the farmer can also make a predictive In this proposed model, sensors will play the main role in
study of the amount of water requirement in the upcoming collecting the data of the atmosphere and using the values
days. Humidity sensor, temperature sensor and moisture sensor of sensors it will provide an estimated quantity of water
are deployed in the peripherals of the field which will sense
the environmental conditions and send those data to an local required to the crops according to the environment. Valves
wireless server and the recorded data will be stored on cloud. will also play important role providing a pathway for inlet
and outlet of water into the field.Depending on the appropriate
Keywords—IoT,micro-controller,irrigation system,Water-logging instruction sent by the user the valve will follow the action.
real-time database,DHT11,Moisture sensor,Cloud By implementing this technique a huge amount of water can
be saved and excessive watering of plants can be avoided[3].
The humidity, temperature and moisture sensors will deployed
I. I NTRODUCTION
near the peripheral of the crops and the data collected from
Agriculture plays a vital role in Indian economy. Over 70% it will be sent to the nearest gateway. The gateway then
of the rural households depend on agriculture. Indian agricul- transfers the data to the cloud where it will be linked to a
ture sector accounts for 16% of India’s gross domestic product database system that will store the recorded data sequentially.
(GDP) and provides employment to 50% of the countries During the installation a predetermined threshold value is set
workforce. But due to uneven distribution of rainfall in our according to the average climatic condition of the area. If the
country various challenges come in the farming conditions. sensed value exceeds the threshold value then the Arduino will
During some months of the year there is scarcity of rainfall send an alert message or notification to the user to perform the
as a result of which proper growth of crops gets hampered desired action depending on the condition to water the land or
which results in loss of some plants in its juvenile stage not.
itself.And sometimes due to excessive unseasonal rainfall The notification will be sent to the user through the web
the crops gets rotten up which creates an environment for app[4]. As soon as the owner performs the desired action
the breeding of various insects. Several manual technologies it immediately sends response to the database which in turn
had been implemented to tackle the situation but it requires provides request to the Arduino and the valves gets opened up
a lot of man power as a result every time investment is for the inlet or outlet of water into the fields until the moisture
high.So,automated system will be economical and efficient content receives a threshold value.Thus the surplus outlet water
way for tackling the problems. Due to uneven distribution can be stored to be used during dry season. Hence,water har-
of rainfall, it becomes difficult for a farmer to irrigate the vesting can be done with efficient usage of water The database

978-1-5386-9353-7/19/$31.00 2019
c IEEE
2

can be also beneficial in providing precision agriculture data. has power jack , an ICSP header, and a reset button to clear
A detailed study of the sensor values can also predict the yield the memory. It consists of all the things,required by the user.
percent. This can also prove beneficial in suggest the farmer Thus it can be simply connected to the power using AC-to-DC
to put extra manure or fertilizer for meeting its demand. adapter or else using battery to start the board.Thus the table:1
shows the board summary.
II. M AIN PART
TABLE I
A. Challenges of IoT in Agriculture A RDUINO BOARD ’ S S UMMARY
1.Customers Prospective: The final information that is Micro Controller ATMega328
Operating Voltage 5v
collected from the server by detailed study sensors is not Voltage(Input) 7-12 V
properly utilized by the rural based farmers due to lack using Voltage Limit(Input) 6-20 V
high end technology based application. To provide better Clock Speed 16 MHz
reliability on data more emphasis must be given to software SRAM 99.85 kb (ATMega328)
EEPROM 28 kb (ATMega328)
than hardware so the end user must be capable enough Flash Memory 32 KB (ATMega328)
to make the information notable.So there is not sufficient
institutional capacity to deliver farmers specific services[5].

2.Connectivity and Storage: The battery life span of the


module may be limited to an extent so proper inspection is
required every time to avoid the connectivity losses.Sometimes
due to poor signal connection the data may be lost on its
way to the database server so every time it must be ensured
to have a good connectivity signal[6].If there may be any
interruption in the user end application then also the data may
be interrupted resulting in poor decisions. The storage capacity
of the IoT devices has low memory so it cannot hold much of
its capacity.The application used may not have much memory
space to store all the data through out the year thereby creating Fig.2 Arduino UNO
data losses for analysis[7]. nRF24L01: It is small integrated RF transceiver chip of
frequency band of 2.4-2.5 Ghz.The main importance of this
integrated chip is that it posses ShockBrust technology so
that it can also communicate with microprocessor at low
speed . Without activating also it can access FIFO register
both in power-down mode and standby mode, MCU can also
access FIFO register without activation, which also reduces
the average power consumption[8].Thus nRF24L01,Fig.3
wireless module can transmit data even by consuming less
power[9].

Fig.1 Integration of sensor(s) with Arduino UNO.


3.Hardware Specifications: Standards of the devices are im-
portant in order to work on new technologies.If any component
needs to be replaced and if it posses some different standard
then the interoperability creates problem as a result the system
becomes complicated. And the issues with integration as
shown in the Fig.1 arises[5].

B. System Devices
Fig.3 Pin Configuration of nRF24L01
Arduino Uno : The Arduino Uno shown in the Fig.2 is a
development board with ATMega328 micro-controller used in Moisture Sensor : The increase in productivity of the crops,
the broad.It has 14 digital pins which allow user to interface water is the important source so keeping a track of the amount
input / output with the board. Besides that it provide 6 analog of water in the soil is necessary[10]. Soil moisture Fig.4 is
inputs, 16 MHz ceramic resonator, USB connection for data used to measure the water retaining capacity of the soil.The
transfer and power supply from laptops or PCs[13]. Also it voltage between two probes of the moisture sensor will
3

measure dielectric permittivity of the surrounding medium 1 Receiver, 2 General purpose input output pins i.e. GPIO
using a capacitance.In soil, dielectric permittivity is a function 0 and GPIO 2, Reset , VCC and Ground. ESP has faster
of the water content, and therefore the water content of the transmission and processing as it handles the information on
soil is measured. The sensor predicts the water content by both the ways, one as sensor interface unit and other as the
calculating the average over the entire length of the sensor[11]. Wireless Communication Unit[14].

Fig.4 Soil Moisture Sensor


DHT11-(Humidity and Temperature sensor): It is a digital Fig:6 ESP8266 Module
compound temperature & humidity sensor that gives a digital
output previously calibrated. It uses a acquisition technology III. S YSTEM A RCHITECTURE
in digital mode for temperature & humidity sensor technology
in order to have long term stability[9].
This single-chip micro-controller (Fig.5) with a a 8-bit con-
nection provides quick response and better output quality ,thus
makes it cost-effective.A single bus data format acts as both
input/output transmission or two way communication. One
single unit of data is 5 Byte (40 Bit).
The communication time of transmitting and receiving is
maximum 3 ms. The format single unit of output contains
40 bits.
Output format: 16 bit of Humidity(8 bit integer data + 8 bit
decimal data) and 16 bit of Temperature(8 bit integer data
+ 8 bit decimal data) and 8 bit calibration.The calibration is
the sum of the first four bytes[12]. The power consumption is
quite low i.e.,supply voltage of about 5V and the maximum
current(average) of about 0.5 mA . Fig:7 IoT Architecture Diagram
In this architecture, shown in the Fig.7 basically three com-
ponents used are Hardware Module,IoT Gateway and Cloud.
These basic components forms the architecture of the pro-
posed model. The Hardware Module contains sensors i.e.
DHT11(for temperature and moisture sensing), Soil moisture
sensor(measuring the moisture contain of the soil).For trans-
mitting the sensor data(s) from micro controller to the gateway
using nRF24L01 (a trans-receiver module).
In the gateway there is a setup of WiFi Module(ESP8266),
a nRF24L01 and a Micro-controller. These elements forms
the core gateway of the system. The gateway sets path of
Fig.5 DHT11 sensor to measure humidity and temp. of the communication between the transmitter and receiver end.It is
area highly authenticated and secured pathway where leakage of
ESP8266: It is a system on chip, highly integrated and data is least[15].
cost effective module with TCP/IP stack which allows micro- Finally, the Cloud which plays an decision part in IoT .
controller to connect to WiFi.The ESP8266 in Fig.6 is efficient Cloud serves as an environment for storage,user interaction,
to host an application.The storage and processing capacity handling real time database and others analytic work for
is much higher which helps the module integrate via GPIO project implementation[16]. Use of cloud in the proposed
ports of the sensors with least loading during run-time[13].It model will help to analyzed the data from the real time
has an integrated RF that allows it to work on the operating database i.e Firebase or AWS. Use of these database helps
condition without any external RF parts. The input voltage to build end user applications such as Web app or Mobile
being 3.3 V, with 8 pins, consisting of 1 Transmitter and app.
4

IV. W ORKING P ROPOSAL


The working proposal as shown in the Fig.8 is based on This alert or notification from cloud enable user at the
the automation in the agriculture.It checks for two major end point to send command to the hardware to perform
conditions i.e overflow of water and underflow of water certain action i.e to remove water using pipeline when
with other required conditions. As discussed above, the overflow of water in the field or to irrigate the field in time
hardware module (sensors,nRF and MCU) which need to be intervals.
setup making a chain of networks among the other hardware
Irrigation- The method of supplying of water to the fields at
modules in the fields (crop fields). These chains of network
an interval of time is called Irrigation. In our model, we have
forms a single transmission end from different parts of the
also discussed the process of irrigation in our model to show
field to the IoT gateway. In the field, sensors with data from
the utilization of pipelines and storage of water. Connection of
different parts, transmits to their respective MCU(s) and thus
pipes in the fields and storage tanks serve the major advantage
MCU(s) transmits the collected data from sensors to the nRF.
for irrigation during the hot seasons. In those days when the
With network protocol nRF from different module forms a
crops like legumes and other crops that grow in the fields
hub to make a single transmission end and hence the final
require water during the cultivation. In the tropic region, the
collected data is being transmitted to the Gateway.
sun rays are stronger, which cause plants to die. To overcome
this problem we have used the same model to irrigate the field.

Since the connection of sensors measure the humidity,


temperature and moisture of the soil, which is send to the
server as it did earlier. A notification is send to the user through
server, which enable the user to send back the command to
open up the gates and switch on the motor to fetch water from
tank to the field through pipelines. These enable irrigation
process in the field. On reaching the optimum level the sensor
send back the data to the gateways to stop the motor and closes
the gate to stop the flow of water to the fields.

Fig:8 Working Model


In the Gateway, transmitted data are being received by the
nRF module which works as a receiver. Further these data
are being passed to the MCU which enables WiFi ESP8266
to connect to the provided Cloud (AWS or Firebase). MCU
with the help of ESP8266 connects to the local router and on
successful connection, provides an IP address which contain
the received data. Further the network connects to the cloud
for storing the data and analyzing them.
In the cloud data get stored in the real time database which
provides APIs to access the stored data directly. It also
provide an admin panel for end user interaction with the
hardware and store data. As mention these module works
for certain condition, lets discuss the shortage of water in
field.In the cloud few analysis and prediction models shown
in flowchart Fig.9 are used to set threshold data for different
conditions which would state the requirement of irrigation or
control water logging. Based on the requirements a trigger or
notification will create in the admin panel mentioning as:

”Please switch ON motor for irrigation”


”Please OPEN the pipelines to remove excess water from
field.” Fig.9 Flowchart of proposed model
5

V. F UTURE W ORKS [9] Wang, Yanping, and Zongtao Chi. ”System of wireless temperature
and humidity monitoring based on Arduino Uno Platform.” Sixth
This proposed model can be further extended to include International Conference on Instrumentation & Measurement, Computer,
Communication and Control (IMCCC). IEEE, pp.770-773, 21 July 2016.
pH sensor to know the quality and type of soil. Further to
have better cloud management system we can use Firebase [10] Priya, C. Gaja, M. AbishekPandu, and B. Chandra. ”Automatic
or Amazon Web Services which will provide real time data plant monitoring and controlling system over GSM using sensors.”
IEEE Technological Innovations in ICT for Agriculture and Rural
as well as analysis of the data. We can use machine learning Development (TIAR). IEEE, pp.173-176,7 Apr 2017.
approach to predict the amount of water required in further
time span which will prove beneficial for the user.This will [11] Singh, Pushkar, and Sanghamitra Saikia. ”Arduino-based smart
irrigation using water flow sensor, soil moisture sensor, temperature
surely prove a new revolution in the field of agriculture that sensor and ESP8266 WiFi module.” IEEE Region 10 Humanitarian
will increase the productivity. Technology Conference (R10-HTC). IEEE, pp.1-4, 21 Dec 2016.

[12] Zhou, Yang, et al. ”Wireless temperature & humidity monitor and
VI. C ONCLUSION control system.” 2nd International Conference on Consumer Electronics,
Communications and Networks (CECNet). IEEE, pp.2246-2250, 21
The proposed model may definitely be a new era of Apr 2012.
technical advancement which would prove the increase in [13] Srivastava, Prakhar, Mohit Bajaj, and Ankur Singh Rana. ”IOT based
productivity of the crops.When the things will be set up to controlling of hybrid energy system using ESP8266.” IEEMA Engineer
the cloud and the internet of things set up will be successful Infinite Conference (eTechNxT). IEEE, pp.1-5, 13 March 2018.
then the whole agricultural sector can be digitally able to [14] Saha, Saraswati, and Anupam Majumdar. ”Data centre temperature
handle the field on their requirement basis. The harvesting of monitoring with ESP8266 based Wireless Sensor Network and cloud
excess run off water helps saving some amount of water for based dashboard with real time alert system.” Devices for Integrated
Circuit (DevIC). IEEE, pp.307-310, 23 March 2017.
for the benefit of the farm lands during summer seasons. The
above future works will also prove profitable to add further [15] Santoso, Freddy K., and Nicholas CH Vun. ”Securing IoT for smart
new advancements and innovation on agricultural field and home system.” International Symposium on Consumer Electronics
(ISCE). IEEE,pp.1-2, 24 June 2015.
hence increase the GDP contribution of the country.
[16] Bo, Yifan, and Haiyan Wang. ”The application of cloud computing
and the internet of things in agriculture and forestry.” International
Joint Conference on Service Sciences. IEEE, pp.168-172, 25 May 2011.
R EFERENCES
[1] Elumalai, Kannan, and Sundaram Sujata. ”Analysis of trends in Indias
agricultural growth.” The Institute for Social and Economic Change,
Bangalore-ISBN 978-81-7791-132 9, pp 1-27, (2011).

[2] Cruz, John R. Dela, et al. ”Design of a fuzzy-based automated organic


irrigation system for smart farm.” 9th International Conference on
Humanoid, Nanotechnology, Information Technology, Communication
and Control, Environment and Management (HNICEM). IEEE,pp.1-
6,1-3 Dec 2017.

[3] Rao, R. Nageswara, and B. Sridhar. ”IoT based smart crop-field


monitoring and automation irrigation system.” 2nd International
Conference on Inventive Systems and Control (ICISC). IEEE,pp.478-
483,19 Jan 2018.

[4] Rout, Kshirod Kumar, Samuchita Mallick, and Sivkumar Mishra.


”Solar Powered Smart Irrigation System Using Internet of Things.”
2nd International Conference on Data Science and Business Analytics
(ICDSBA). IEEE,pp.144-149, 21 Sept 2018.

[5] Mehta, Aditi, and Sanjay Patel. ”IoT based smart agriculture research
opportunities and challenges.” International Journal for Technological
Research in Engineering, ISSN (Online) 4.3, pp.2347-4718,Nov 2016.

[6] Chauhan R. M. ”Advantages and Challeging in E Agriculture.” Oriental


Journal Computer Science and Technology;8(3).,ISSN:0974-6471,
pp.228-233, 12 Dec 2015.

[7] Jaiswal, Kavita, et al. ”IoT-cloud based framework for patient’s data
collection in smart healthcare system using raspberry-pi.” International
Conference on Electrical and Computing Technologies and Applications
(ICECTA). IEEE, pp.1-4,21 Nov 2017.

[8] Gulliver, T. A. ”A design of active RFID tags based on NRF24L01.”


10th International Computer Conference on Wavelet Active Media
Technology and Information Processing (ICCWAMTIP). IEEE, pp.210-
213, 17 Dec 2013.

You might also like