Irrigation System
Irrigation System
Controlling and
Monitoring of
IRRIGATION
System by Using
Microcontroller
ACKNOWLEDGEMENT
First and foremost, we are deeply indebted to our mentor
Mr._______________________ whose inspiration has been
unfailingly available to us at all stages of our project.
In course of present work it has been privilege to receive help and
assistance from our friends. I take great pleasure in acknowledge
my debt to them.
We wish to express our sincere gratitude to our teachers for
providing us this opportunity to do this project
ABSTRACT
This project deals with Controlling and Monitoring of Irrigation
system. We have noticed that production of every crop depends on
certain basic atmospheric quotients like humidity, temperature,
quality of soil and to some extent on pressure. As the temperature
and humidity varies with season therefore normally a specific crop
can only be cultivated at a specific season. Quality of soil and its
moisture content can be controlled by watering and by spraying
insecticides and pesticides in the field but the temperature and
pressure cannot be controlled. These processes that farmers follow
are basically iterative, experience oriented and need a lot of labour.
Now at the age of technological advance we can cultivate an off-
season crop in a greenhouse and control the temperature, humidity,
moisture content of soil and pressure using sensors, motors and
controlling devices. Also spraying of insecticides, pesticides can be
controlled by motor. So the system is fully automatic. This system
is not only automated but also enabled with remote sensing. So we
can transmit data (temperature, humidity, moisture content etc.)
from transmitter to receiver. Also the controlling action from
control room to motor controlling device can be sent wirelessly. The
advantages are It can reduce human labour, Controlling the use of
insecticides, pesticides reduce the possibility of pollution (mainly
water pollution), Water usage can be controlled reducing the use of
excess water.
CONTENTS PAGE NO.
Chapter 1:
1.1 INTRODUCTION…………….....................................................................6
1.2 OBJECTIVE………………………………………………………………..7
1.3 MOTIVATION…………………………………………………………….8
Chapter 2:
2.1 COMPONENTS USED…………………………………………………….9
2.2 COMPONENTS DESCRIPTION………………………………………….10
Chapter 3:
3.1 CIRCUIT DIAGRAM……………………………………………………...11
3.2 WORKING OF DESIGNING ARCHITECTURE………………………...12
3.3 CIRCUIT DESCRIPTION…………………………………………………13
Chapter 4:
4.1 IMPACT ON SOCIETY…………………………………………………...17
4.2 ENVIRONMENT AND SUSTAINABILITY……………………………..18
Chapter 5:
5.1 MAINTENANCE AND PRECAUTIONS…………………………………19
5.2 ADVANTAGES……………………………………………………………20
5.3 APPLICATIONS…………………………………………………………...21
Chapter 6:
6.1 FUTURE SCOPE…………………………………………………………...22
6.2 CONCLUSION……………………………………………………………..23
6.3 REFERENCES……………………………………………………………...24 5
LIST OF FIGURES/ DIAGRAMS
LISTS PAGE NO.
Fig 1: Circuit Diagram of Controlling and Monitoring of ………………..11
Fig 5: Microcontroller……………………………………………………..15
Fig 6: Transformers………………………………………………………..15
Fig 8: DC motor…………………………………………………………....16
CHAPTER-1
1.1 INTRODUCTION
This project deals with “Controlling of IRRIGATION System by Using
Arduino”. We have noticed that production of every crop depends on certain basic
atmospheric quotients like humidity, temperature, quality of soil and to some extent
on light. As the temperature and humidity varies with season therefore normally a
specific crop can only be cultivated at a specific season. Quality of soil and its
moisture content can be controlled by watering and by spraying insecticides and
pesticides in the field but the temperature and pressure cannot be controlled. These
processes that farmers follow are basically iterative, experience oriented and need a
lot of labour.
Now at the age of technological advance we can cultivate an off-season crop in a
greenhouse and control the temperature, humidity, moisture content of soil and
pressure using sensors, motors and controlling devices. Also spraying of insecticides,
pesticides can be controlled by motor. So the system is fully automatic. This system
is not only automated but also enabled with remote sensing. So we can transmit data
(temperature, humidity, moisture content of soil and light etc.) from transmitter to
receiver. Also the controlling action from control room to motor controlling device
can be sent.
1.2 OBJECTIVES
Atmospheric quotients such as light, temperature, humidity etc. can be easily
measured by sensors. These sensors can easily be found or easily can be made. But
soil sensor is not easily be made. So when we started the project our main objective
is to make a device that would control motor depending on the atmospheric
quotients.
In brief our overall objectives are:
1. It will detect light, soil moisture, temperature, humidity correctly.
2. Central microcontroller will process the data correctly.
3. Data can be sent correctly to the computer from the device that is in the field.
4. Received documents from microcontroller needs to be sent to the device to control
the motors and switches, installed in the motor control section of the micro
controller.
1.3 MOTIVATION
The primary profession of India is Agriculture. About 60%-70% of India’s
population depends directly or indirectly on agriculture as a source of income. But
there has been a rapid decrease in the number of farmers from 53% of total
population being farmers in 1951 to only 24% in 2011. This decrease is mainly due
to the uncertainty observed by the farmers on the production of crops. Crop failures
have been a recurring factor, which means that all the money invested in the
plantation is lost and there is no income.
The main reason behind crop failures has always been droughts or insufficient
rainfall due to which, because of lack of fresh water the crops are unable to grow
properly.
To overcome this difficulty faced by farmers and to increase the productivity of
agriculture activities, “Controlling of Irrigation System by Using
Microcontroller”. can be employed which connects agriculture to technology. This
project helps in smart and efficient incorporation of networked sensors that can be
centrally monitored and administered, letting water managers and farmers optimize
their water use. Smart irrigation technologies help people precisely schedule when
lawns and crops need to be watered and how much water these plants require.
CHAPTER-2
2.1 COMPONENTS
Sensors:
1. Temperature sensor
2. Light sensor
3. Soil moisture sensor
4. Humidity sensor
Analog to Digital Converter (ADC)
Arduino UNO
Relay driver
Relays
16×2 characters LCD
2.2 COMPONENTS DESCRIPTION
I. Sensors: we are going to use temperature sensor, humidity sensor
and light sensor to sense temperature humidity and light
respectively. Metal thin rods or wires are used to sense soil
moisture. These sensors sense the parameters and gives
corresponding voltage output.
IV. Arduino Uno: This is the CPU (central processing unit) of our
project. We are going to use microcontroller of 8051 family. The
various functions of microcontroller are like:
DC MOTOR
A
ight Temperature R
ensor Sensor
D DC MOTOR
U
N DC MOTOR
e ADC O
N DC MOTOR
O
DC MOTOR
3.2 WORKING OF DESIGNING ARCHITECTURE
For power supply in the “Greenhouse Environment Control System” to provide 5V
and 12V, the circuit consists of step down transformer of 230/12V. This transformer
steps down 230V AC from main supply to 12V AC. Then that 12V AC is converted
into 12V DC with the help of bridge rectifier. After that a 1000/25V capacitor is used
to filter the ripples and then it passes through voltage regulator. There are two power
supply arranged in same manner one containing 500mA transformer and second has
750mA transformer.
This project comprises of sensors, Analog to Digital Converter (ADC), Micro –
controller AT89S52, Relay driver IC (ULN2003), Relays, 16×2 characters LCD and
a buzzer. The AT89S52 micro – controller is as the heart of the system, it makes the
set-up low-cost and effective nevertheless. Each sensor gives their measured
parameter found to the micro – controller through ADC after being converted to a
digital form. When any one of the parameter read by the controller crosses a safety
limitation which has to be maintained for protection of the crops, then micro –
controller performs the required actions by employing relays until the strayed-out
parameter has been brought back to its optimum level. There is a LCD display which
displays all the information of four sensors. At each update of controller there will be
a sounds buzz for indication of updating.
Department of Electronics & Communication Engineering
3.3 CIRCUIT DESCRIPTION
3.3.1 Temperature Sensor:
The LM35 series are precision integrated-circuit temperature sensors, whose output
voltage is linearly proportional to the Celsius (Centigrade) temperature. The output
of sensor converted to digital that easy connecting with microcontroller.
3.2.4 Amplifier
As the voltage output from the sensors is in miliVolts, it has to be increased to 0 to 5
volts range. We are going to use linear amplifier for this purpose.
3.3.5 ADC
The main part of our project is microcontroller which reads only digital input. (0V &
5V) But the output of Amplifier is in analog form, so it has to be converted into
digital format, for this purpose we are going to use ADC to convert analog output
from amplifier into the digital output to be given to microcontroller.
3.3.6Arduino Uno:
Arduino FTDI-
Pro 8MH Compatible
3.3V 14 6 6 1
3.3v/8 z Header
MHz
Arduino FTDI-
Pro 16M Compatible
5V 14 6 6 1
5V/16M Hz Header
Hz
Arduino FTDI-
16M
mini 05 5V 14 8 6 1 Compatible
Hz
Header
Arduino FTDI-
Pro Compatible
8MH
mini 3.3V 14 8 6 1 Header
z
3.3v/8
mhz
Arduino FTDI-
Pro Compatible
16M
mini 5V 14 8 6 1 Header
Hz
5v/16m
hz
Arduino FTDI-
16M
Etherne 5V 14 6 6 1 Compatible
Hz
t Header
FTDI-
Arduino 8MH
3.3V 14 8 6 1 Compatible
Fio z
Header
LilyPad FTDI-
Arduino Compatible
8MH
328 3.3V 14 6 6 1 Header
z
main
board
LilyPad FTDI-
Arduino 8MH Compatible
3.3V 9 4 5 0
simple z Header
board
Mega FTDI-
8MH
Pro 3.3V 54 16 14 4 Compatible
z
3.3V Header
Mega FTDI-
16M
Pro 5V 54 16 14 4 Compatible
Hz
5V Header
Mega FTDI-
Pro 8MH Compatible
3.3V 54 16 14 4
Mini z Header
3.3V
Power USB
Arduino board can be powered by using the USB cable
from your computer. All you need to do is connect the
USB cable to the USB connection (1).
Crystal Oscillator
The crystal oscillator helps Arduino in dealing with time
issues. How does Arduino calculate time? The answer
is, by using the crystal oscillator. The number printed
on top of the Arduino crystal is 16.000H9H. It tells us
that the frequency is 16,000,000 Hertz or 16 MHz.
Arduino Reset
You can reset your Arduino board, i.e., start your
program from the beginning. You can reset the UNO
board in two ways. First, by using the reset button
(17) on the board. Second, you can connect an
external reset button to the Arduino pin labelled RESET
(5).
Analog pins
The Arduino UNO board has five analog input pins A0
through A5. These pins can read the signal from an
analog sensor like the humidity sensor or temperature
sensor and convert it into a digital value that can be
read by the microprocessor.
Main microcontroller
Each Arduino board has its own microcontroller (11).
You can assume it as the brain of your board. The
main IC (integrated circuit) on the Arduino is slightly
different from board to board. The microcontrollers are
usually of the ATMEL Company. You must know what
IC your board has before loading up a new program
from the Arduino IDE. This information is available on
the top of the IC. For more details about the IC
construction and functions, you can refer to the data
sheet.
ICSP pin
Mostly, ICSP (12) is an AVR, a tiny programming
header for the Arduino consisting of MOSI, MISO, SCK,
RESET, VCC, and GND. It is often referred to as an SPI
(Serial Peripheral Interface), which could be
considered as an "expansion" of the output. Actually,
you are slaving the output device to the master of the
SPI bus.
TX and RX LEDs
On your board, you will find two labels: TX (transmit)
and RX (receive). They appear in two places on the
Arduino UNO board. First, at the digital pins 0 and 1,
to indicate the pins responsible for serial
communication. Second, the TX and RX led (13). The
TX led flashes with different speed while sending the
serial data. The speed of flashing depends on the baud
rate used by the board. RX flashes during the receiving
process.
Digital I/O
The Arduino UNO board has 14 digital I/O pins (15) (of
which 6 provide PWM (Pulse Width Modulation) output.
These pins can be configured to work as input digital
pins to read logic values (0 or 1) or as digital output
pins to drive different modules like LEDs, relays, etc.
The pins labeled “~” can be used to generate PWM.
AREF
AREF stands for Analog Reference. It is sometimes,
used to set an external reference voltage (between 0
and 5 Volts) as the upper limit for the analog input
pins.
Structure
Arduino programs can be divided in three main
parts: Structure, Values(variables and constants),
and Functions. In this tutorial, we will learn about the
Arduino software program, step by step, and how we can
write the program without any syntax or compilation error.
Let us start with the Structure. Software structure consist
of two main functions −
Setup( ) function
Loop( ) function
Void setup ( ) {
}
PURPOSE − The setup() function is called when a sketch starts. Use
it to initialize the variables, pin modes, start using libraries, etc. The
setup function will only run once, after each power up or reset of the
Arduino board.
INPUT − -
OUTPUT − -
RETURN − -
Void Loop ( ) {
}
PURPOSE − After creating a setup() function, which initializes and
sets the initial values, the loop() function does precisely what its
name suggests, and loops consecutively, allowing your program to
change and respond. Use it to actively control the Arduino board.
INPUT − -
OUTPUT − -
RETURN − -
3.3.7 Transformers
The circuit consists of step down transformer of 230/12V. This transformer steps
down 230V AC from main supply to 12V AC. Then that 12V AC is converted into
12V DC with the help of bridge rectifier. After that a 1000/25V capacitor is used to
filter the ripples and then it passes through voltage regulator. There are two power
supply arranged in same manner one containing 500mA transformer and second has
750mA transformer.
3.3.8 RELAY DRIVER IC
A Relay driver IC is an electro-magnetic switch that will be used whenever we want
to use a low voltage circuit to switch a light bulb ON and OFF which is connected to
220V mains supply.
3.3.9 RELAYS
We have used 2 relays in our project. First one will be turned on when the
temperature goes above the desired value. And the second relay will be turned on
when humidity goes above the desired value. (e.g. if the desired value of temperature
is 35 degree C and for humidity it is 50%, then Relay 1 will be turned on when
temperature is 36 or above and Relay 2 will be turned on when humidity is 51 or
above).
3.3.10 DC MOTOR
We are going to use two 12 volt DC motors. First DC motor will be turned on when
Light goes above threshold level. Second DC motor will be turned on when Soil
moisture goes below threshold level.
3.3.11 GSM MODULE
2. Low Cost
8. Ability to grow all the year. You can get more than one crop cycle per year and
different species of plants.
5.3 APPLICATIONS
1. Save Time – The system does all of the work
Gone are the days where time is wasted with a hose in hand watering the lawn, plants
and flowers. Now, with a Smart Irrigation System, timers are set so that watering
occurs only when it is best for the landscape and climate the landscape is located.
Home owners can go out on a hot day or away on holidays with confidence that their
landscape will be maintained and that their lawns and plants will be looked after and
blossoming on return.
2. Save water – The system is much more efficient than traditional time based
systems
The Weathermatic Smart Link system can save as much as 20-50% of the water that
would normally be used with a typical irrigation system. The systems can be
extremely efficient and will only apply the amount of water required by the plants.
There is little to no waste through overwatering, overspray and run off.
3. Save money – Less water means lower cost
With everything programmed to suit each landscape, climate and weather conditions,
the landscape will only be watered when required. No water wasted means no money
wasted. Additional costs including replacing dead plants that may occur with
traditional watering methods are also prevented. It also decreases the taxes needed to
build more water infrastructure that may be caused through run off and erosion.
4. Save the plants – plants will be kept in peak health
With optimal watering plants are kept in perfect health and growth is promoted.
Plants and lawn will grow a lot faster when they are watered correctly over a long
period of time. More luscious, greener and healthier landscapes can be achieved.
CHAPTER-6
6.1 FUTURE SCOPE
1. This project can be further implemented and connected to the smart phones for
better operations and automation of the system and process.
2. These automations can be controlled wirelessly through Bluetooth headset.
3. The farmer can control the motor by a smart phone application and can get
notifications when the moisture level of the soil is low and the motor is going to start
and also for when sufficient water has been provided and motor is going to be turned
off.
4. Adding more sensors only one part of the field can also be provided with water if
only a certain section lacks required moisture content.
5. The system can also be applied further to the lawns of houses, golf fields, etc. by
adding timer which controls the timing of how long the grass is to be irrigated and
have a constant time per day for which it can be switched on and off by itself.
6. Used in greenhouse to control temperature, soil moisture, humidity, and light for
proper growth of plants.
7. With little modification this project can be used in Mechanical companies to
measure various parameters of operating machines like temperature and light.
8. Temperature monitoring and controlling action can be used in home or various
halls like conference room, seminar hall to control the temperature of room.
6.2 CONCLUSION
Our main focus in this project is to design a simple, easy to use, micro – controller
based circuit which monitor and record the values of temperature, humidity, soil
moisture and sunlight of the natural environment that are continuously modified and
controlled. This helps in achieve maximum plant growth and yield. We use in this
circuit a low power, cost efficient chip.
It communicates with the various sensor modules in real-time in order to control the
temperature, soil moisture, humidity and day light inside a greenhouse by actuating a
cooler, water pump, sprayer and lights respectively according to the necessary
condition of the crops. This project provides economical, portable and a low
maintenance solution for greenhouse environment.
6.3 REFERENCES
o www.alldatasheets.com
o www.support.microchip.com
o www.cybersen.com
o www.citeseerx.ist.psu.edu.com
o www.microgrow.com