Automatic Irrigation System Using Arduino UNO: Kriti Taneja Sanmeet Bhatia

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

International Conference on Intelligent Computing and Control Systems

ICICCS 2017

Automatic Irrigation System using Arduino UNO


Kriti Taneja Sanmeet Bhatia
Department of Computer Science Engineering Department of Computer Science Engineering
Thapar University Thapar University
Patiala, India Patiala, India
ktscorpio92@gmail.com sanmeet.bhatia@thapar.edu

Abstract : Now a days its a challenge to improve development of project is a mini model for gardening purpose at home which
plant in respect of its growth and to reduce costs which leads to an contains two modules- one for measuring soil moisture
innovative idea of using an automated irrigation system which will
content in soil and the other for detecting water level in tank.
further help in better management of water and human resources.
An automated irrigation system have been developed using sensors This paper highlights the working of the existing
technology with Arduino to efficiently utilize water for irrigation technologies such as Arduino, Sensors and so on. This paper is
purpose. The system has soil moisture sensor inserted into the soil organized as follows - Section II summarizes the literature
of the plants and a water level sensor placed in a water container review on the existing systems. Section III describes the
from where water will be pumped to plants for irrigation. An
framework applied on this project. Finally, Section IV
algorithm has been build out with threshold values of soil moisture
sensor to control the water quantity in soil and also a water level describes the working/methodology of the project, Section V
sensor has been implemented to measure the water level in tank. represents implementation details of this project, in Section
This project requires Arduino board having inbuilt ATMega328 VI results of an experiment have been discussed, Section VII
microcontroller. This project is need of the hour to convert manual presents conclusion and future scope and at last is the
irrigation into an automated irrigation which with the help of soil
reference papers.
moisture sensor will detect dankness content of soil leading to turn
ON/OFF of pumping motor. Human efforts can be reduced using
this technique and increase saving of water by efficiently irrigating
the plants. The design has been made with better resource
II. RELATED WORK
management and low power consumption. This project brings into Researchers in the field of Agriculture have been trying to
play a micro-controller which is of 8051 family, this programmable reduce the water wastage amount used for irrigation of plants,
micro-controller collects the input signals converted into values of therefore different technologies can be used to make this
moisture in the soil via soil moisture sensors. As the
microcontroller starts obtaining the signals, it creates an output possible which has been highlighted by many researchers.
that forces a relay for running the water pumping motor. An LCD Some of such researches in agriculture field are summarised
screen is also linked to the micro-controller to show moisture below.
conditions of the soil and water pump. The water level sensor is In [1] author has discussed the benefits of using wireless
used to detect the level of tank so that tank contains efficient water sensor technologies and standards for wireless
to transfer into crops.
Keywords—Arduino UNO, soil moisture sensors, water level communications applied on wireless sensors in agriculture
sensors, microcontroller. field over traditional mechanisms of irrigation by analysing
the market growth. In [2] author has described a wireless
I. INTRODUCTION sensor network implementation for low data rate applications
in agriculture by using wireless stations that work on solar
85% of worldwide available water resources is used in
power and the moisture is sensed using dual-probe heat-pulse
agriculture and this percentage will not decrease keeping in
method. In [5] author has designed an irrigation system which
mind the rate of population growth and hence leading to high
is site specific in which irrigation machine is electronically
demand of food [12]. Its high time to create and implement
controlled by a program which updates the geographic
new methodologies using smart technologies for sustainable
location of sprinklers from a GPS and communicate that
agriculture . In this electronics era, a smarter approach of
wirelessly to base station. In [10] author has developed a
leading a life should be carried out and thus we have made
project Carnegie Mellon University for plant nursery by
“Automated Plant Irrigation System” for smarter irrigation.
creating a sensor/actuator network and a web based GUI to
Automated Irrigation System will regulate water flow in soil
view the real-time data collected. In [11] author has mentioned
without much human intervention, while maintaining moisture
remote monitoring systems which uses various wireless
of the plants. This project automatically turns ON or OFF by
protocols introduced by different researchers to improve
detecting the water content in the soil. An automated irrigation
agricultural yield and, additionally, author has proposed a
system will not only minimize the excess wastage of water but
model for agricultural monitoring with wireless protocol
also imply reduction of labour and other overheads. This

978-1-5386-2745-7/17/$31.00 ©2017 IEEE 132

Authorized licensed use limited to: University of Florida. Downloaded on March 31,2022 at 00:31:34 UTC from IEEE Xplore. Restrictions apply.
International Conference on Intelligent Computing and Control Systems
ICICCS 2017

implemented using field programmable gate array which IV. METHODOLOGY OF PROPOSED AUTOMATIC
facilitates the system with re-configurability and re- IRRIGATION SYSTEM
programmability according to different environmental Soil moisture sensor and water level sensor are connected to
conditions. arduino UNO board through jumper wires and breadboard,
connections have been provided in this section only. Soil
moisture sensor will sense the dankness of soil and through
WSN the data will be transferred to actuators to act upon that
III. FRAMEWORK OF AUTOMATIC IRRIGATION data. A threshold value has been set, both minimum and
SYSTEM maximum, so that whenever the measured value crosses the
Physical layer in the below framework (fig. 1) includes soil predefined threshold value the motor will be switched on/off
moisture sensor which collects data by detecting automatically. Same working goes with water level sensor in
environmental conditions, in this case its moisture of soil and which a minimum and maximum threshold value has been set
so that whenever the measured value of water level crosses the
send the information to the microcontroller where the actual
predefined threshold value the motor will be switched on/off
processing of that information will take place to convert it into
automatically to fill the tank.
a meaningful data and this processing comes under decision An LCD is connected with arduino and all the sensors to
making layer where the program logic takes its role. Sensor display the status of moisture content in soil and water level in
only collects information but does not take any action in revert tank. A 5V motor pump has been used for this project as this
to that information and that is done by actuator. Therefore is a mini prototype model and arduino that is used in this
sensor sends control signals to actuator after collecting project can provide maximum of 5V power.
information for moving or controlling a mechanism or system.
When actuator receives these signals then it turn on/off motor.
This conceptual division of this project comes under control Start
layer. For creating a communication interface for the end user
and for providing end user services an application can be
created to view what the system is doing on daily basis and
this can be a small extension that can be added to this project Take the value of soil moisture sensor
for future reference. To store and retrieve data generated by
this system an open source IoT application and API is used
known as "ThingSpeak" . In this user can create location
tracking applications, sensor logging applications and a social no
network of various things with their status update. value<threshold

APPLICATION LAYER CLOUD


yes

Motor switched on to pump water


CONTROL LAYER

DECISION MAKING LAYER


tank water
level<threshold
TRANSPORT LAYER
yes

PHYSICAL LAYER Alarm on to fill tank and motor is


switched off
Fig. 1. Layered architecture of framework of Automatic irrigation system

Stop

Fig.2. Project working flowchart

978-1-5386-2745-7/17/$31.00 ©2017 IEEE 133

Authorized licensed use limited to: University of Florida. Downloaded on March 31,2022 at 00:31:34 UTC from IEEE Xplore. Restrictions apply.
International Conference on Intelligent Computing and Control Systems
ICICCS 2017

V. IMPLEMENTATION DETAILS print "tank is full"


output pin for alarm LOW
A. Block Diagram end of function
convert()
convert sensor value to percentage
Soil Moisture Sensor LCD print percent value
display end of function
End

Microcontroller
ALGORITHM 1: Algorithm for working of the project
Water level Sensor
B. Components connection description

Power TABLE1. Connecting soil moisture sensor


Supply Arduino UNO board Soil moisture sensor
5V VCC pin
GND GND
A0 A0

TABLE2. Connecting LCD display


DC motor Motor driver Arduino board LCD display
circuit Digital pin 12 RST
Digital pin 11 CE
Digital pin 10 DC
Fig.3 Block Diagram of Automated Irrigation System Digital pin 9 DIN
Digital pin 8 CLK
3.3V VCC
Arduino IDE acts as a GUI via which microcontroller GND LIGHT
GND GND
programming is done in basic C language with some
additional keywords which is known as Arduino language. TABLR3. Connecting water level sensor
The code contains two main functions setup(), loop().setup() Arduino UNO board Water level sensor
defines the initialization of variables while loop() defines the GND negative
main working functions. 5V positive
Analog pin S

Begin TABLE4. Connecting water motor pump


initialize threshold for water level in tank and threshold for Arduino UNO board Water motor pump
maximum dryness in soil Digital pin Wire 1
variables definition GND Wire 2
setup()
set input pin and output pin
end of function VI. RESULTS AND DISCUSSION
loop()
sensor value pin reading An experiment has been performed by taking readings of
If sensor value >= maximum dryness then water consumption for irrigation of plants in a small garden
print "soil dry start watering" everyday for a month. The difference has been illustrated in
output pin HIGH fig.4 ,when watering a plant manually by assuming the
Else approximate quantity without using sensor based technique
print "soil is wet"
and when using the automatic irrigation system based on
output pin LOW
End if arduino. By analysing fig.4 it can be concluded that the
print results on serial monitor traditional method of watering plants consumes more water
output value water level reading than its required for good yield of a plant and hence water
If output value <= water level threshold then wastage is performed. On the other hand by using arduino
print "tank is empty" project for irrigating plants right amount of water is provided
output pin for alarm HIGH by calculating moisture content of plant soil therefore no water
Else wastage at all. Many parameters are to be kept in mind while

978-1-5386-2745-7/17/$31.00 ©2017 IEEE 134

Authorized licensed use limited to: University of Florida. Downloaded on March 31,2022 at 00:31:34 UTC from IEEE Xplore. Restrictions apply.
International Conference on Intelligent Computing and Control Systems
ICICCS 2017

taking readings for everyday water consumption such as VII. CONCLUSION AND FUTURE SCOPE
weather, soil type and plant type. In fig.5 the difference among
everyday readings of water consumption is because of An automated irrigation system is developed which is
presence and effect of such parameters. The experiment has effective enough to optimise utilization of water and other
been taken under two parameters weather and plant type. resources. This system helps in irrigation in areas with low
Some days weather was windy and dry while some were water level and leads to sustainability. This system is very
sunny and cold wind so therefore according to the weather volatile and low maintenance and could be adjusted according
amount of evaporated water depends and also on 3 different to various types of crops without much human efforts.
plants the experiment has been performed are rose which Different modules in terms of utility of project that is green
require 2-3 litres of water a day, jasmine require 0.5-1 litres a house or open field can be developed and implemented using
day, marigold require 1-2 litres once in a 5 day span. The similar techniques. Other than cost reduction this project helps
advantage of using automatic irrigation system over traditional to save the vital element of life that is water.
method of watering plants is that it saves water which is In future this project can be extended to bigger level of
wasted in runoff and evaporation and saves plant from agriculture as this project is only limited to farming at home.
drainage by watering it when its required at correct time. In GSM/GPRS module can be extended in this project to send
fig. 5 on days 12, 13, 15, 18 the required amount of water is text messages to the owner of its garden about water motor
more than provided by traditional method of watering without pump status.
using sensors and hence water consumption using sensor is
more than water consumption without sensor therefore it REFERENCES
saved plant from being drained.
[1] Ning Wanga, Naiqian Zhangb, Maohua Wangc, "Wireless sensors in
agriculture and food industry—Recent development and future perspective" ,
science direct, 2006.
[2] Raul Morais, A. Valente, and C. Serôdio, "A Wireless Sensor Network for
Smart Irrigation and Environmental Monitoring: A Position Article" ,
EFITA , 2005.
[3] Y Kims, R.G. Evans, "Software design for wireless sensor based site-
specific irrigation ", Elsevier, 2009.
[4] Dan Teibel Pat Bowen, "Results from an Agricultural Wireless Sensor
Network", IEEE, 2004.
[5] Yunseop (James) Kim, Member, IEEE, Robert G. Evans, and William M.
Iversen, "Remote Sensing and Control of an Irrigation System Using a
Distributed Wireless Sensor Network" , IEEE, 2008.
[6] Aqeel-ur-Rehman, and Zubair A. Shaikh, "Towards Design of Context-
Aware Sensor Grid Framework for Agriculture", 2008.
[7] Qiang Fu, Zhenxiang Xing, Yongsheng Ma, "Applying Multivariate Auto-
Regression Model to Forecast the Water Requirement of Well Irrigation Rice
in Sanjiang Plain ", 2004
[8] Narayut Putjaikal, Sasimanee Phusael, Anupong Chen-Iml, Dr.Phond
Phunchongharnl, and Dr Khajonpong Akkarajitsakup, "A Control System in
Fig. 4.Zig-Zag Representation of comparison of water consumption with and an Intelligent Farming by using Arduino Technology ", IEEE, 2016.
without sensor [9] Aqeel-ur-rehman, Abu Zafar Abbasi, Noman Islam, Zubair Ahmed
Shaikh, "A review of wireless sensors and network application in agriculture",
Science Direct, 2011.
[10] Sanjiv Singh, "Integrated Wireless Sensor/Actuator Networks in an
Agricultural Application", 2004.
[11] Akash Jain, Suraj Kudre, Mahesh Giri, "A review on smart sensors based
monitoring system for agriculture ", IJESR, 2014.
[12] B. shylaja, B. srinivas, " Design and implementation of agricultural
automation through wireless network and GPRS", IJPRES, 2016

Fig. 5. .Bar Representation of comparison of water consumption with and


without sensor

978-1-5386-2745-7/17/$31.00 ©2017 IEEE 135

Authorized licensed use limited to: University of Florida. Downloaded on March 31,2022 at 00:31:34 UTC from IEEE Xplore. Restrictions apply.

You might also like