Date post: | 07-Jul-2018 |
Category: |
Documents |
Upload: | perfect-solutions |
View: | 221 times |
Download: | 0 times |
of 62
8/18/2019 automatic irrigation system using three way solenoid valve
1/62
CHAPTER 1
INTRODUCTION
1.1 INTRODUCTIONABOUT THE PROJECT WORK
As we all know now a day’s water usage is becoming one of the biggest problems
in the world. Different methods have been developed for water conservation. Water is
been needed in each and every field. Water is an essential part of our day today life.
Hence water is been considered to be basic need of human. Water is required in
tremendous quantity in agriculture field. Water wastage is one of the major problems in
agriculture. his water wastage occur when e!cess of water is been provided to the
fields. Different techniques is been used to control or to save water wastage from
agriculture.
"n the agriculture field# the current agricultural practices need to intensify the rate
of food crop production for the rate of population growth with available resources. his
project presents the automated system to make effective utili$ation of water resources for
agriculture and crop growth monitoring using %&' and &olenoid (alve. he water use
efficiency is increased in a drip irrigation system by using soil moisture sensors and
Water level sensor. he signals from the sensors are coordinated by the microcontroller
and transmitted to the irrigation control center )"**+.
Terraced irrigation: "n this method the land is been cut into steps and supported by
retaining walls. he flat area is been used for planting and the idea is that the water flows
down each steps watering each plot. his in turns allow steep land to be used for planting
crops.
Ditch irrigation: his method is considered to be a traditional method in which
ditches are dug out and seedlings are planted in rows.
!rin"#er $%te&: "n this irrigation system sprinklers are used which is been
installed in ground and the sprinkler rises up when water pressure rises which is one of
the popular irrigation system used on parks and golf courses. "n this sprinklers moving
and setting is not required hence it saves time and timer delay as per the environmental
condition can be added for automatic watering.
1
8/18/2019 automatic irrigation system using three way solenoid valve
2/62
1.' EAE O( UE
his type of automated irrigation system can be found convenient# especially for
those who keep on travelling. his type of irrigation system is been designed to
discharge water in more precise amount in a targeted area which in turns result into water conservation.
1.'.1 E)ITIN* +TE,:
"n the e!isting system they are using the technology said by ,"%-
echnology.Here it is not controlled completely# where semi control only possible. here
will have monitoring but cannot controlled manually.
1.- HARDWARE PAT(OR, UED:
*, &od/#e: %&' module is been used to bring connectivity purpose. "t includes an
embedded transmission control protocol. "t also consists of %&' module and &"'
)subscriber identity module+ socket.
,icrocontro##er: ntire automation is done using microcontroller.
en%or /nit: &everal &/ are been deployed in0field to configure the distributed sensor network for automated irrigation system. &/ sense water level and send information to
the information unit.
In0or&ation /nit: All data from &/ is been received# identified# and analy$ed in "/.
"t consists of master controller and %&' module.
Watering &od/#e1 he irrigation is performed by controlling the solenoid valves
connected with microcontroller.
OENOID AE:
hree way solenoid valves has three ports and two switching states. "n each
switching state# two of the three ports are connected. -y activating the solenoid# the
valve switches state and a different connection between the valve ports is established.
he drawing below shows a direct operated 2 way valve. he water use efficiency is
increased in a drip irrigation system by using soil moisture sensors and Water level
2
8/18/2019 automatic irrigation system using three way solenoid valve
3/62
sensor. he signals from the sensors are coordinated by the microcontroller and
transmitted to the irrigation control center )"**+.
(ig/re 1.-:o#enoid 2a#2e
1.3 ADANTA*E O( PROPOED +TE, OER PREIOU:
,ODE e%% hard4are in2o#2e: his proposed system consist of less hardware
as compared to the previous model hence it is compact as compared to the previous
system.
Co%t E00icient: his proposed system is more cost efficient than the previous system
this claim is made on the fact that the proposed system does not need the heavy and
e!pensive hardware for implementation.
1.3.1BAIC ADANTA*E:
a2e% 4ater: &tudies shows that this type of automated irrigation system consumes
340546 less water as compared to the traditional system
3
8/18/2019 automatic irrigation system using three way solenoid valve
4/62
I&!ro2e% gro4th: "deal growth condition is been provided when small amount of
water is been applied over large amount of time. his smart irrigation system e!tends
watering time for plants# and provides ideal growth condition.
a2e ti&e: "n this sprinklers moving and setting is not required hence it saves time and
timer delay as per the environmental condition can be added for automatic watering.
Ada!ta5#e: his smart irrigation system can be adjusted and modified according to the
changing environment.
i&!#er ðod: "t is simple to operate it starts by designing the map of your garden
and marking the location of planting. hen the required distance is been measured for
length of plastic tubing so that the desired area can be reached.
4
8/18/2019 automatic irrigation system using three way solenoid valve
5/62
CHAPTER '
ITERATURE URE+
'.1 Contro# o0 Irrigation A/to&atica##$ U%ing Wire#e%% en%or Net4or"
5$ Ra%hid H/%%ain 6Jahga# 6,d.Ri$a78Internationa# 7o/rna# o0 %o0t
co&!/ting and engineering9IJCE IN:''-1;'-
8/18/2019 automatic irrigation system using three way solenoid valve
6/62
A system was powered by photovoltaic panels and had a duple!
communication link based on a cellular0internet interface that allowed for
data inspection and irrigation scheduling to the programmed through a web
page. he automatic system was tested in a sage crop field for 92: days and
water saving ofupto ;46 compared with traditional irrigation practices of
the agricultural $ones were achieved.
he automated irrigation system implemented was found to be
feasible and cost effective for optimi$ing water resources for agricultural
production. his irrigation allows cultivation places with water scarcity
thereby improving sustainability. he use of solar power in this irrigation
system is pertinent and significantly important for organic crops and other
agricultural products that are geographically isolated where the investment
in electric power supply would be e!pensive. 8urthermore# the internet
links allow the supervision through mobile telecommunication devices such
as a smart phone.
'.- De%ign I&!#e&entation o0 Wire#e%% Tran%cei2er 0or Data
Ac@/i%ition in Wire#e%% en%or Net4or" 5$ Dr. R.K. Pra%ad6 ,r. .R.
,ad"ar8Internationa# Jo/rna# o#/&e-6 I%%/e=6 J/#$ '
8/18/2019 automatic irrigation system using three way solenoid valve
7/62
including the design of wireless node and the implementation principle of
data transmission and communication modules. =etworking for monitoring
equipment# convenient installation and low cost and reliable nodes and high
capacity.
'.3 A/to&atic Contro# o0 Dri! Irrigation $%te& and ,onitoring o0 oi#
5$ Wire#e%% 5$ Ani"et H. Hade6 Dr. ,.K. eng/!ta8IOR Jo/rna# o0
Agric/#t/re and eterinar$ cience6 e;IN: '-1;'-
8/18/2019 automatic irrigation system using three way solenoid valve
8/62
-.1 (UNCTIONA BOCK DIA*RA,:
(ig/re -.1: (/nctiona# B#oc" Diagra&
Hard4are Re@/ire&ent%:
• >"* 'icrocontroller
•&olenoid valve
• %&' 'odem
• Water level sensor
• >ower supply
• 'otor drive
• *rystal oscillator
-.1.' ,icrocontro##er 4ith it% 5a%ic e#e&ent% and interna#
connection%1
8
POWER SUPPLY
8/18/2019 automatic irrigation system using three way solenoid valve
9/62
(ig/re -.1.': ,icrocontro##er interna# connection%
-.' PIC ,ICROCONTROER
Introd/ction to ,icrocontro##er%:
*ircumstances that we find ourselves in today in the field of
microcontrollers had their beginnings in the development of technology of
integrated circuits. his development has made it possible to store hundreds
of thousands of transistors into one chip. hat was a prerequisite for
production of microprocessors# and the first computers were made by
adding e!ternal peripherals such as memory# input0output lines# timers and
other.
-.'.1,e&or$ /nit:
'emory is part of the microcontroller whose function is to store
data. 8or a certain input we get the contents of a certain addressed memory
9
8/18/2019 automatic irrigation system using three way solenoid valve
10/62
location and that?s all. wo new concepts are brought to us1 addressing and
memory location. 'emory consists of all memory locations# and addressing
is nothing but selecting one of them. his means that we need to select the
desired memory location on one hand# and on the other hand we need to
wait for the contents of that location.
(i(ig/re-.'.1: 5#oc" diagra& o0 &e&or$ /nit
-.'.'Centra#Proce%%ing Unit:
7et add 2 more memory locations to a specific block that will have a
built in capability to multiply# divide# subtract# and move its contents from
one memory location onto another. he part we just added in is called
@central processing unit@ )*>/+. "ts memory locations are called registers.
10
8/18/2019 automatic irrigation system using three way solenoid valve
11/62
8/18/2019 automatic irrigation system using three way solenoid valve
12/62
(ig/re -.'.3: Watch dog ti&er
&uppose that as a result of some interference )which often does occur
in industry+ our microcontroller stops e!ecuting the program# or worse# it
starts working incorrectly.
Bf course# when this happens with a computer# we simply reset it and
it will keep working. However# there is no reset button we can push on the
microcontroller and thus solve our problem. o overcome this obstacle# we
need to introduce one more block called watchdog. his block is in fact
another free0run counter where our program needs to write a $ero in every
time it e!ecutes correctly. "n case that program gets @stuck@# $ero will not be
written in#and counter alone will reset the microcontroller upon achieving its
ma!imum value. his will result in e!ecuting the program again# and
correctly this time around.
-.'.>In!/t;o/t!/t /nit:
hose locations we?ve just added are called @ports@. here are several
types of ports1 input# output or bidirectional ports. When working with
ports# first of all it is necessary to choose which port we need to work with#
and then to send data to# or take it from the port. When working with it the
port acts like a memory location. &omething is simply being written into or
read from it# and it could be noticed on the pins of the microcontroller.
12
8/18/2019 automatic irrigation system using three way solenoid valve
13/62
-.'.eria# co&&/nication:
As we have separate lines for receiving and sending# it is possible to
receive and send data )info.+ at the same time. &o called full0duple! mode
block which enables this way of communication is called a serial
communication block. /nlike the parallel transmission# data moves here bit
by bit# or in a series of bits what defines the term serial communication
comes from. After the reception of data we need to read it from the
receiving location and store it in memory as opposed to sending where the
process is reversed. "n order for this to work# we need to set the rules of
e!change of data. hese rules are called protocol. Data goes from memory
through the bus to the sending location# and then to the receiving unit
according to the protocol.
-.'.=Ti&er /nit:
he timer block this can give us information about time# duration#
protocol etc. he basic unit of the timer is a free0run counter which is in fact
a register whose numeric value increments by one in even intervals# so that
by taking its value during periods 9 and C and on the basis of their
difference we can determine how much time has elapsed. his is a very
important part of the microcontroller whose understanding requires most of
our time.
-.'.Ana#og to Digita# Con2erter:
As the peripheral signals usually are substantially different from the
ones that microcontroller can understand )$ero and one+# they have to be
converted into a pattern which can be comprehended by a microcontroller.
13
8/18/2019 automatic irrigation system using three way solenoid valve
14/62
(ig/re -.'.: Ana#og to Digita# con2erter
his task is performed by a block for analog to digital conversion or
by an AD*. his block is responsible for converting an information about
some analog value to a binary number and for follow it through to a *>/
block so that *>/ block can further process it.
he AD module has four registers. hese registers are1
E AD
8/18/2019 automatic irrigation system using three way solenoid valve
15/62
(ig/re -.'.: &icro contro##er 4ith 5a%ic e#e&ent%
E "nterrupt capability )up to 93 sources+
E ight level deep hardware stack
E Direct# indirect and relative addressing modes
E >ower0on Bower0up imer )>Wower saving &7> mode
E &electable oscillator options
E 7ow0power# high0speed *'B& 87A&H>
8/18/2019 automatic irrigation system using three way solenoid valve
16/62
(ig/re -.-: Pin #a$o/t
-.-.1 PIC ,icrocontro##er core 0eat/re% 9PIC1(==A:
E All single cycle instructions e!cept for program branches which are
two cycle
E Bperating speed1 D* 0 C4 'H$ clock input D* 0 C44 ns instruction
cycle
E /p to F ! 93 words of 87A&H >rogram 'emory#
E /p to 2: ! bytes of Data 'emory )
8/18/2019 automatic irrigation system using three way solenoid valve
17/62
8/18/2019 automatic irrigation system using three way solenoid valve
18/62
(ig/re -.3: CIC and RIC
Interr/!t%:
he >"*9:8G family has up to 93 sources of interrupt. he
interrupt control register )"=*B=+ records individual interrupt requests in
flag bits. "t also has individual and global interrupt enable bits. A global
interrupt enable bit# %" )"=*B=IGJ+ enables )if set+ all un0masked
interrupts or disables )if leared+ all interrupts. When bit %" is enabled# and
an interrupt’s flag bit and mask bit are set# the interrupt will vector
immediately."ndividual interrupts can be disabled through their
corresponding enable bits in various registers."ndividual interrupt bits are
set regardless of the status of the %" bit.he %" bit is cleared on reset.
he Kreturn from interruptL instruction#
8/18/2019 automatic irrigation system using three way solenoid valve
19/62
E "nternal or e!ternal clock select
E "nterrupt on overflow from 88h to 44h
E dge select for e!ternal clock
imer mode is selected by clearing bit 4*& )B>"B=M
8/18/2019 automatic irrigation system using three way solenoid valve
20/62
bits )B>"B=M
8/18/2019 automatic irrigation system using three way solenoid valve
21/62
8/18/2019 automatic irrigation system using three way solenoid valve
22/62
(ig/re -.3.-: Direct addre%%ing
-.3.3 Indirect Addre%%ing:
"ndirect unlike direct addressing does not take an address from an
instruction but makes it with the help of " bit of &A/& and 8&
8/18/2019 automatic irrigation system using three way solenoid valve
23/62
(ig/re -.3.3: Indirect addre%%ing
23
8/18/2019 automatic irrigation system using three way solenoid valve
24/62
-.> ARCHITECTURE O(PIC1(==A :
(ig/re -.>:Architect/re o0 PIC1(==A
24
8/18/2019 automatic irrigation system using three way solenoid valve
25/62
-. ,OTOR DRIER:
DECRIPTION:
he 7C;2D is designed to provide bidirectional drive currents of up
to :440mA at voltages from 3.5 ( to 2: (. devices are designed to drive
inductive loads such as relays# solenoids# dc and bipolar stepping motors# as
well as other high0currenthigh0voltage loads in positive0supply
applications. All inputs are 7 compatible. ach output is a complete
totem0pole drive circuit# with a Darlington transistor sink and a pseudo0
Darlington source. Drivers are enabled in pairs# with drivers 9 and C enabled by 9#C= and drivers 2 and 3 enabled by 2#3=. When an enable input is
high# the associated drivers are enabled# and their outputs are active and in
phase with their inputs. When the enable input is low# those drivers are
disabled# and their outputs are off and in the high0impedance state. With the
proper data inputs# each pair of drivers forms a full0H )or bridge+ reversible
drive suitable for solenoid or motor applications.
A separate supply input is provided for the logic# allowing operation
at a lower voltage and internal clamp diodes are included. his device is
suitable for use in switching applications at frequencies up to 5 kH$. he
7C;2D is assembled in a 9: lead plastic package which has 3 center pins
connected together and used for heat sinking
he 7C;2DD is assembled in a C4 lead surface mount which has
center pins connected together and used for heat sinking.
25
8/18/2019 automatic irrigation system using three way solenoid valve
26/62
-.: Pin diagra& o0 &otor dri2e
-..1(eat/re%:
E Wide &upply0(oltage rotection
E hermal &hutdown
E High0=oise0"mmunity "nputsE Butput *urrent 9 A >er *hannel ):44 mA for 7C;2D+
Ta5#e -..1: (/nction Ta5#e
26
8/18/2019 automatic irrigation system using three way solenoid valve
27/62
-..' BOCK DIA*RA,:
(ig/re -..': B#oc" diagra& o0 &otor dri2e
-..- ogic Diagra&:
27
8/18/2019 automatic irrigation system using three way solenoid valve
28/62
(ig/re -..- ogic Diagra&
-..3 che&atic% o0 in!/t% and o/t!/t%9'-D:
(ig/re -..3: che&atic Diagra&
28
8/18/2019 automatic irrigation system using three way solenoid valve
29/62
8/18/2019 automatic irrigation system using three way solenoid valve
30/62
A power supply provides a constant output regardless of voltage
variations.@8i!ed@ three0terminal linear regulators are commonly available
to generate fi!ed voltages of plus 2 (# and plus or minus 5 (# ; (# 9C (# or
95 ( when the load is less than about G amperes.
he @G!!@ series )G45# G9C# etc.+ regulate positive voltages while
the @G;!!@ series )G;45# G;9C# etc.+ regulate negative voltages. Bften# the
last two digits of the device number are the output voltage.
-.=.1 (eat/re%:
Butput *urrent up to 9A
Butput (oltages of 5# :# # ;# 94# 9C# 95# 9# C3
hermal Bverload >rotection
&hort *ircuit >rotection N
Butput ransistor &afe Bperating Area >rotection
When you have a requirement for a project of say 9C(# or even 5( if it?s a
digital project# then these are the types you use. G45 or G9C are the types.
30
8/18/2019 automatic irrigation system using three way solenoid valve
31/62
(ig/re -.=.1: Co&!onent% o0 T$!ica# Po4er /!!#$
(ig/re -.=.': T$!ica# !o4er %/!!#$
-.=.- Circ/it de%cri!tion:
his circuit is a small O5( power supply# which is useful when
e!perimenting with digital electronics. &mall ine!pensive wall tranformers
with variable output voltage are available from any electronics shop and
supermarket.
hose transformers are easily available# but usually their voltage
regulation is very poor# which makes then not very usable for digital circuit
e!perimenter unless a better regulation can be achieved in some way. hefollowing circuit is the answer to the problem. his circuit can give O5(
output at about 954 mA current# but it can be increased to 9 A when good
cooling is added to G45 regulator chip.
31
8/18/2019 automatic irrigation system using three way solenoid valve
32/62
(ig/re -.=.-: Circ/it diagra& o0 the !o4er %/!!#$
-.WATER EE ENOR ,C'3
8/18/2019 automatic irrigation system using three way solenoid valve
33/62
8/18/2019 automatic irrigation system using three way solenoid valve
34/62
-.CD:
7*D )7iquid *rystal Display+ screen is an electronic display module
and find a wide range of applications.
A 9:!C 7*D display is very basic module and is very commonly used
in various devices and circuits. hese modules are preferred over seven
segments and other multi segment 7Ds.
he reasons being1 7*Ds are economicalQ easily programmableQ have
no limitation of displaying special R even custom characters )unlike in
seven segments+# animations and so on.
A 1G' CD means it can display 9: characters per line and there are C
such lines. "n this 7*D each character is displayed in 5!G pi!el matri!. his
7*D has two registers# namely# *ommand and Data.he command register
stores the command instructions given to the 7*D.
A command is an instruction given to 7*D to do a predefined task like
initiali$ing it# clearing its screen# setting the cursor position# controlling
display etc. he data register stores the data to be displayed on the 7*D.
he data is the A&*"" value of the character to be displayed on the 7*D.
34
http://www.engineersgarage.com/content/seven-segment-displayhttp://www.engineersgarage.com/content/seven-segment-displayhttp://www.engineersgarage.com/content/ledhttp://www.engineersgarage.com/microcontroller/8051projects/create-custom-characters-LCD-AT89C51http://www.engineersgarage.com/microcontroller/8051projects/display-custom-animations-LCD-AT89C51http://www.engineersgarage.com/content/seven-segment-displayhttp://www.engineersgarage.com/content/seven-segment-displayhttp://www.engineersgarage.com/content/ledhttp://www.engineersgarage.com/microcontroller/8051projects/create-custom-characters-LCD-AT89C51http://www.engineersgarage.com/microcontroller/8051projects/display-custom-animations-LCD-AT89C51
8/18/2019 automatic irrigation system using three way solenoid valve
35/62
Ta5#e -.: Pin con0ig/ration
35
Pin
No (/nction Na&e
9 %round )4(+ %round
C &upply voltageQ 5( )3.G( S 5.2(+ (cc
2 *ontrast adjustmentQ through a variable resistor (
3 &elects command register when lowQ and data
register when high
8/18/2019 automatic irrigation system using three way solenoid valve
36/62
-..1PinDiagra&:
(ig/re -..1 CD Diagra&
-.1< O%ci##ator Con0ig/ration%:
he >"*9:8G can be operated in four different oscillator modes.
he user can program two configuration bits )8B&*9 and 8B&*4+ to select
one of these four modes1
E 7> 7ow >ower *rystal
36
8/18/2019 automatic irrigation system using three way solenoid valve
37/62
E *rystal or H& modes# the device can have an e!ternal clock source to
drive the B&*9 *7F"= pin.
8or timing insensitive applications# the K
8/18/2019 automatic irrigation system using three way solenoid valve
38/62
*rystal Bscillators are usually# fi!ed frequency oscillators where
stability and accuracy are the primary considerations. 8or e!ample it is
almost impossible to design a stable and accurate 7* oscillator for the upper
H8 and higher frequencies without resorting to some sort of crystal control.
Hence the reason for crystal oscillators.
A PRACTICA E)A,PE O( A CR+TA OCIATOR:
"f the water level has been lowered for inspection# or if the unit was
shipped without being completely filled with water# the unit must be filled
to the proper level before energi$ation.
(ig/re -.1
8/18/2019 automatic irrigation system using three way solenoid valve
39/62
8/18/2019 automatic irrigation system using three way solenoid valve
40/62
-.11OENOID AE:
A 2 way solenoid valve has three ports and twoswitching states. "n
each switching state# two of the three ports are connected. -y activating the
solenoid# the valve switches state and a different connection between the
valve ports is established.
he drawing below shows a direct operated 2 wayvalve."nthede0energi$ed
state# the medium can flow between from the port on the right side to the top
port. "n the energi$ed state# the medium can flow from the left port to the
right port. his is a called a normally closed 20way valve.
-.11.1 OENOID AE (EATURE:
*ompact three way solenoid valves with orifice and pipe connection
in valve body.(alves are designed to handle relatively high pressure 20way
applications.(alves do not require a minimum operating pressure.
(ig/re -.11.1: - 4a$ o#enoid a#2e
40
http://solenoidvalveshop.co.uk/solenoid-valve/3-way/http://solenoidvalveshop.co.uk/solenoid-valve/3-way/
8/18/2019 automatic irrigation system using three way solenoid valve
41/62
(ig/re -.11.': o#enoid a#2e O!eration
-.1'*, ,ODE,:
89442 %&' modem is based on C% %&' network
• %&';44%&'944
• *ompliant to %&' phase CCO
• &upport D'8
•
&upport &'& and *&D function• &tandard A command interface
-.1'.1 *, PECI(ICATION:
Ta5#e -.1'.1: *, !eci0ication
41
8/18/2019 automatic irrigation system using three way solenoid valve
42/62
8/18/2019 automatic irrigation system using three way solenoid valve
43/62
for)int iV4QiI2444QiOO+Q
voidcmd)char a+
U
8/18/2019 automatic irrigation system using three way solenoid valve
44/62
data))!694+O3+Q
void disp9)int y+
U
data))y944+O3+Qdata)))y94+694+O3+Q
data))y694+O3+Q
void dispC)int $+
U
data))$944+O3+Q
data)))$94+694+O3+Q
data))$694+O3+Q
void main)+
U
int !Q
int yQ
int $Q
8/18/2019 automatic irrigation system using three way solenoid valve
45/62
!V))AD
8/18/2019 automatic irrigation system using three way solenoid valve
46/62
8/18/2019 automatic irrigation system using three way solenoid valve
47/62
applications# keyboard emulation# "&A>" scripting )for ""&+. 'ost of these
additional functions are only available in the Windows flavour of the
interpreter# even though a 7inu! version is still available.
>roteus was designed to be practical )easy to use# efficient# complete+#
readable and consistent.
"ts strongest points are1
• powerful string manipulationQ
• comprehensibility of >roteus scriptsQ
• availability of advanced data structures1 arrays# queues )single or
double+# stacks# bit maps# sets# A(7 trees.
he language can be e!tended by adding user functions written in >roteus
or D77s created in **OO.
(eat/re%:
At first sight# >roteus may appear similar to -asic because of its straight
synta!# but similarities are limited to the surface1
• >roteus has a fully functional# procedural approachQ
•
variables are untyped# do not need to be declared# can be local or public and can be passed by value or by referenceQ
• all the typical control structures are available )if0then0elseQ for0ne!tQ
while0loopQ repeat0untilQ switch0case+Q
• new functions can be defined and used as native functions.
47
https://en.wikipedia.org/wiki/ISAPIhttps://en.wikipedia.org/wiki/Internet_Information_Serviceshttps://en.wikipedia.org/wiki/Linuxhttps://en.wikipedia.org/wiki/Array_data_structurehttps://en.wikipedia.org/wiki/Queue_(data_structure)https://en.wikipedia.org/wiki/Stack_(data_structure)https://en.wikipedia.org/wiki/Bit_arrayhttps://en.wikipedia.org/wiki/Set_(computer_science)https://en.wikipedia.org/wiki/AVL_treehttps://en.wikipedia.org/wiki/Dynamic-link_libraryhttps://en.wikipedia.org/wiki/C%2B%2Bhttps://en.wikipedia.org/wiki/ISAPIhttps://en.wikipedia.org/wiki/Internet_Information_Serviceshttps://en.wikipedia.org/wiki/Linuxhttps://en.wikipedia.org/wiki/Array_data_structurehttps://en.wikipedia.org/wiki/Queue_(data_structure)https://en.wikipedia.org/wiki/Stack_(data_structure)https://en.wikipedia.org/wiki/Bit_arrayhttps://en.wikipedia.org/wiki/Set_(computer_science)https://en.wikipedia.org/wiki/AVL_treehttps://en.wikipedia.org/wiki/Dynamic-link_libraryhttps://en.wikipedia.org/wiki/C%2B%2B
8/18/2019 automatic irrigation system using three way solenoid valve
48/62
Data types supported by >roteus are only three1 integer numbers# floating
point numbers and strings. Access to advanced data structures )files# arrays#
queues# stacks# A(7 trees# sets and so on+ takes place by using handles# i.e.
integer numbers returned by item creation functions.
ype declaration is unnecessary1 variable type is determined by the
function applied S >roteus converts on the fly every variable when needed
and holds previous data renderings# to avoid performance degradation
caused by repeated conversions.
here is no need to add parenthesis in e!pressions to determine theevaluation order# because the language is fully functional )there are no
operators+.
>roteus includes hundreds of functions for1
• accessing file systemQ
• sorting dataQ
• manipulating dates and stringsQ
• interacting with the user )console functions+
• calculating logical and mathematical e!pressions.
>roteus supports associative arrays )called sets+ and A(7 trees# whichare very useful and powerful to quickly sort and lookup values.
wo types of regular e!pressions are supported1
• e!tended )/ni! like+Q
• basic )Dos like# having just the wildcards @\@ and @[@+.
-oth types of e!pressions can be used to parse and compare data.
48
https://en.wikipedia.org/wiki/Regular_expressionhttps://en.wikipedia.org/wiki/Regular_expression
8/18/2019 automatic irrigation system using three way solenoid valve
49/62
he functional approach and the e!tensive library of built0in
functions allow to write very short but powerful scriptsQ to keep them
comprehensible# medium0length keywords were adopted.
he user# besides writing new high0level functions in >roteus# can add
new functions in **OO by following the guidelines and using the templates
available in the software development kitQ the new functions can be invoked
e!actly the same way as the predefined ones# passing e!pressions by value
or variables by reference.
>roteus is an interpreted language1 programs are loaded into memory# pre0compiled and runQ since the number of built0in functions is large# e!ecution
speed is usually very good and often comparable to that of compiled
programs.
Bne of the most interesting features of >roteus is the possibility of
running scripts as services or ISAPI scripts.
roteus script as a service# started as soon as the operating
system has finished loading# gives many advantages1
• no user needs to login to start the scriptQ
• a service can be run with different privileges so that it cannot be
stopped by a user.
his is very useful to protect critical processes in industrial
environments )data collection# device monitoring+# or to avoid that the
operator inadvertently closes a utility )keyboard emulation+.
he "&A>" version of >roteus can be used to create scripts run through
"nternet "nformation &ervices and is equipped with specific functions to
cooperate with the web server.
8or intellectual property protection >roteus provides1
49
https://en.wikipedia.org/wiki/ISAPIhttps://en.wikipedia.org/wiki/ISAPI
8/18/2019 automatic irrigation system using three way solenoid valve
50/62
• script encryptionQ
• digital signature of the scripts# by using the development key )which
is unique+Q
• the option to enable or disable the e!ecution of a script )or part of it+
by using the key of the customer.
>roteus is appreciated because it is relatively easy to write short#
powerful and comprehensible scriptsQ the large number of built0in functions#
together with the e!amples in the manual# keep low the learning curve.
he development environment includes a source code editor with synta!
highlighting and a conte!t0sensitive guide. >roteus does not need to be
installed1 the interpreter is a single e!ecutable )below 344 Fb+ that does not
require additional D77s to be run on recent Windows systems.
(ig/re No.3.1: Prote/% a$o/t
50
https://en.wikipedia.org/wiki/Source_code_editorhttps://en.wikipedia.org/wiki/Source_code_editor
8/18/2019 automatic irrigation system using three way solenoid valve
51/62
CHAPTER >
I,UATION REUT
>.1 I,UATION BE(ORE ON:
(ig/re No.>.1:i&/#ation 5e0ore ON
>.' I,UATION A(TER ON
51
8/18/2019 automatic irrigation system using three way solenoid valve
52/62
(ig/re No.>.': i&/#ation a0ter ON
>.- PROPOED I,UATION CIRCUIT:
(ig/re No.>.-: Pro!o%ed i&/#ation Circ/it
52
8/18/2019 automatic irrigation system using three way solenoid valve
53/62
CHAPTER
REUT O( PROJECT
.1In!/t o0 the Hard4are Kit:
53
8/18/2019 automatic irrigation system using three way solenoid valve
54/62
(ig/re No..1: In!/t o0 the Hard4are "it
54
8/18/2019 automatic irrigation system using three way solenoid valve
55/62
(ig/re No..1.a:,o5i#eo/t!/t di%!#a$
When we switch on the power supply to the Fit R %&' modem#the
7*D gets B= and displays as "
8/18/2019 automatic irrigation system using three way solenoid valve
56/62
8/18/2019 automatic irrigation system using three way solenoid valve
57/62
(ig/re No..-.a: Path ' ,o5i#e O/t!/t Di%!#a$
When >ath C gets filled#by sensing with soil moisture sensors the
information goes to >"* and displays as A=F C full and diverts to ne!t
>AH.
57
8/18/2019 automatic irrigation system using three way solenoid valve
58/62
(ig/re .3: To! ie4 o0 Entire "it
58
8/18/2019 automatic irrigation system using three way solenoid valve
59/62
CHAPTER =
CONCUION
=.1 CONCUION:
&ince earlier days farmer is supposed to visit their agricultural land
and check the moisture content of soil manually. "t will take minimum
human efforts this technology can be used. "t allows the user can monitor
and maintain the moisture remotely irrespective of time. "t is really an
effective and economic way to reduce human effort and water wastages.
*urrent techniques in agriculture have reduced the ground0water level and
improve the crop production. his "rrigation control system using A mobile
can help farmer in many ways to know the Humidity# Automatic and
'anual modes of operation. his system not only in agricultural fields# this
system also can be used in *ricket stadiums or %olf stadiums and also in
public gardens. his system has a huge demand and scope in crop
production. "t allows a lot of development within it and leads to the standard
and useful system which can be used vary widely in agricultural field for
betterment of crop production.
Hence#we proposed an automatic irrigation system fully controlled
using %&' and &B7=B"DA7 (A7( .Here we configured an automated
approach for the water tanker to be filled when it is empty.his project is
practically implemented and it is feasible. "t brings into focus the future
direction of water management.he irrigation has been fairly developed.
59
8/18/2019 automatic irrigation system using three way solenoid valve
60/62
CHAPTER
(UTURE WORK
"n future work to have an automated irrigation system ion with the
help of "B)"nternet of things+.he hydraulics of surface irrigation is
possible# for e!ample# continues to receive research attention even though
the fundamental relationships have been established.
60
8/18/2019 automatic irrigation system using three way solenoid valve
61/62
CHAPTER
RE(ERENCE
Y9Z Automatic *ontrol of Drip "rrigation &ystem and 'onitoring of &oil by
Wireless by Aniket H. Hade# Dr. '.F. &enguptaY"B&< ]ournal of
Agriculture and (eterinary &cience# e0"&&=1 C29;0C24# (olumeG# "ssue 3
April C493Z
YCZ *ontrol of "rrigation Automatically /sing Wireless &ensor =etwork by
aper =o. 5:. ower &ystems *onference and !position
)>&*+# pp. 93530935G# Bct. C44:.
61
8/18/2019 automatic irrigation system using three way solenoid valve
62/62
YZ. /llah# ,.Q -urford# -.Q Dillip# &.Q K8ast intelligent battery charging1
neural0fu$$y approach#L " Aerospace and lectronic &ystems 'aga$ine#
(ol. 99# pp. C:023# ]une 9;;:.
Y;Z. &tuart 7. Warren and ed . -. )C443+# "rrigation iming1 ffect on
>lant %rowth# >hotosynthesis# Water0/se fficiency and &ubstrate
emperature Departmentof Horticultural &cience# =orth *arolina &tate
/niversity# hysical energy&ystems]ournal#"0sept C494n cycle control .