Professional Documents
Culture Documents
Neww Boney
Neww Boney
Neww Boney
ACKNOWLEDGEMENT
First and the foremost, I shall thank God Almighty who gave me the inner
strength, resource and ability to complete the work successfully, without which all my
efforts would have been in vain.
I whole heartedly thankful to our Project guide Ms. Shiny k George (Asst,
Professor, Dept. of Electrical and Electronics Engineering) for her valuable advice
and support.
Once again I extend my gratitude to all those, who had directly or indirectly
influenced on the work.
1
Automatic Plant Watering System
ABSTRACT
2
Automatic Plant Watering System
TABLE OF CONTENTS
Page
Chapter No. Title
No.
ACKNOWLEDGEMENT i
ABSTRACT ii
CHAPTER 1 INTRODUCTION 4
CHAPTER 2 AIM & OBJECTIVE 5
2.1 AIM 5
2.2 OBJECTIVE 5
CHAPTER 3 COMPONENTS REQUIRED 6
3.1 HARDWARE COMPONENTS 6
3.2 SOFTWARE COMPONENTS 6
CHAPTER 4 EQUIPMENTS IN DETIAL 7
CHAPTER 5 PIN DIAGRAM 15
CHAPTER 6 BLOCK DIAGRAM 17
CHAPTER 7 CIRCUIT DIAGRAM 18
CHAPTER 8 WORKING 19
CHAPTER 9 PROGRAM 22
CHAPTER 10 ADVANTAGES AND DISADVANTAGES 28
10.1 ADVANTAGES 28
10.2 DISADVANTAGES 28
CHAPTER 11 FUTURE EXTENSION AND APPLICATIONS 29
CHAPTER 12 CONCLUSION 30
CHAPTER 13 REFERENCES 31
CHAPTER 1
INTRODUCTION
In present days, in the field of agriculture farmers are facing major problems
in watering their crops. Its because they dont have proper idea about the availability
3
Automatic Plant Watering System
of the power. Even if it is available, they need to pump water and wait until the field is
properly watered, which compels them to stop doing other activities which are also
important for them, and thus they loss their precious time and efforts. But, there is a
solution an automatic plant irrigation system not only helps farmers but also others
for watering their gardens as well.
The system simply senses the moisture level and switches on the irrigation
pump when the moisture is below the set limit. The system switches off the pump
when the moisture rises above the set point. The moisture level threshold can be set
using a trim pot on the system. The status of the pump (whether ON or OFF) is
displayed on a 16 x 12 LCD display
CHAPTER 2
4
Automatic Plant Watering System
2.1. AIM:
2.2. OBJECTIVE:
This project is designed to water for plants regularly. The circuit comprises of
sensor parts built using op-amp IC LM358, it is here used as a comparator. Two stiff
copper wires are inserted in the soil to sense whether the soil is wet or dry. The
Microcontroller is used to control the whole system by monitoring the sensors.
This automatic irrigation system senses the moisture content of the soil and
automatically switches the pump when the power is on. A proper usage of irrigation
system is very important because the main reason is the shortage of land reserved
water due to lack of rain, unplanned use of water as a result large amounts of water
goes waste. For this reason, we use this automatic plant watering system, and this
system is very useful in all climatic conditions.
CHAPTER 3
COMPONENTS
MICROCONTROLLER (AT89S52/AT89C51)
LCD
WATER PUMP
LM358 OP-AMP
BC547 TRANSISTOR
RELAY
1N4007
LED
PROGRAMMING LANGUAGES
COMPILERS:
Keil 2.0/3.0uv
CHAPTER 4
6
Automatic Plant Watering System
EQUIPMENTS IN DETAIL:
7
Automatic Plant Watering System
8
Automatic Plant Watering System
9
Automatic Plant Watering System
10
Automatic Plant Watering System
11
Automatic Plant Watering System
12
Automatic Plant Watering System
13
Automatic Plant Watering System
14
Automatic Plant Watering System
15
Automatic Plant Watering System
16
Automatic Plant Watering System
CHAPTER 5
PIN DIAGRAM
17
Automatic Plant Watering System
18
Automatic Plant Watering System
19
Automatic Plant Watering System
CHAPTER 6
BLOCK DIAGRAM
20
Automatic Plant Watering System
CHAPTER 7
CIRCUIT DIAGRAM
21
Automatic Plant Watering System
CHAPTER 8
WORKING
Project is about a moisture-sensing automatic plant watering system using
8051 microcontroller. The system simply senses the moisture level and switches on
the irrigation pump when the moisture is below the set limit. The system switches off
the pump when the moisture rises above the set point. The moisture level threshold
can be set using a trim pot on the system. The status of the pump (whether ON or
OFF) is displayed on 16 x 12 LCD display. The system can be divided into three
section as follows.
SENSING PROB
COMPARATOR CIRCUIT
22
Automatic Plant Watering System
The output voltage of the sensing probe is connected to the inverting input of
the opamp. When the moisture level is high more current passes through the sensing
probe and so the voltage at the inverting pin will be higher than the reference. The
reference can be set using the trim pot R2. At this condition output of the opamp goes
low and sinks the LED D1 to make it glow. When the moisture is lower than the set
point, the opposite happens. So in simple words, a LOW output of the
opamp indicates a high moisture and a HIGH output of the opamp indicates a low
moisture. The output of the opamp is marked as pin D0 on the sensor YL 38 module.
This pin is connected to the microcontroller for further processing. LED D2 is just a
power ON indicator. Capacitors C1 and C2 are noise filters.
MICROCONTROLLER SECTION
23
Automatic Plant Watering System
CHAPTER 9
PROGRAM
RS EQU P2.7
RW EQU P2.6
E EQU P2.5
ORG 00H
SETB P3.5
MOV TMOD,#00000001B
MAIN:ACALL DINT
ACALL TEXT1
JB P3.5, NEXT
ACALL LINE2
ACALL TEXT2
CLR P2.0
SJMP EXIT
NEXT:ACALL LINE2
ACALL TEXT3
SETB P2.0
EXIT:ACALL DELAY1
SJMP MAIN
24
Automatic Plant Watering System
DELAY1:MOV R0,#15D
BACK1: MOV TH0,#00000000B
MOV TL0,#00000000B
SETB TR0
HERE2: JNB TF0,HERE2
CLR TR0
CLR TF0
DJNZ R0,BACK1
RET
25
Automatic Plant Watering System
MOV A,#"C"
ACALL DISPLAY
MOV A,#"o"
ACALL DISPLAY
MOV A,#"n"
ACALL DISPLAY
MOV A,#"t"
ACALL DISPLAY
MOV A,#"r"
ACALL DISPLAY
MOV A,#"o"
ACALL DISPLAY
MOV A,#"l"
ACALL DISPLAY
RET
26
Automatic Plant Watering System
ACALL DISPLAY
MOV A,#"p"
ACALL DISPLAY
MOV A,#" "
ACALL DISPLAY
MOV A,#"O"
ACALL DISPLAY
MOV A,#"F"
ACALL DISPLAY
MOV A,#"F"
ACALL DISPLAY
RET
27
Automatic Plant Watering System
MOV A,#"p"
ACALL DISPLAY
MOV A,#" "
ACALL DISPLAY
MOV A,#"O"
ACALL DISPLAY
MOV A,#"N"
ACALL DISPLAY
RET
DINT:MOV A,#0CH
ACALL CMD
MOV A,#01H
ACALL CMD
MOV A,#06H
ACALL CMD
MOV A,#80H
ACALL CMD
MOV A,#3CH
ACALL CMD
RET
LINE2:MOV A,#0C0H
ACALL CMD
RET
28
Automatic Plant Watering System
CLR E
ACALL DELAY
RET
DISPLAY:MOV P0,A
SETB RS
CLR RW
SETB E
CLR E
ACALL DELAY
RET
DELAY: CLR E
CLR RS
SETB RW
MOV P0,#0FFH
SETB E
MOV A,P0
JB ACC.7,DELAY
CLR E
CLR RW
RET
END
29
Automatic Plant Watering System
CHAPTER 10
10.1 ADVANTAGES
1. Highly sensitive, low cost and reliable circuit.
2. Works according to the soil condition.
3. Complete elimination of man power.
4. Can handle heavy loads.
5. System can be switched to manual mode whenever required.
DISADVANTAGES
1. This is applicable for only large farms.
2. Have limited life after installation due to the deterioration of plastic component in
a hot, arid climate when exposed to ultraviolet light
30
Automatic Plant Watering System
CHAPTER 11
FUTURE EXTENSION:
The working of project is basically dependent on the output of the moisture sensors.
Whenever there is a need of excess water in the field, then it will not be possible by
using sensor technology. For this we will have to adopt the DTMF technology,by
using this we will be able to irrigate desired field and in desired amount.GSM
technology may also be initialised in future for much more advanced and easy
observations.
APPLICATIONS:
1. Irrigation in fields
2. Irrigation in gardens, parks, etc.
3. Pisciculture
31
Automatic Plant Watering System
CHAPTER 12
CONCLUSION
The primary applications for this project are for farmers and gardeners who do
not have enough time to water their crops/plants. It also covers those farmers who are
wasteful of water during irrigation. The project can be extended to greenhouses where
manual supervision is far and few in between. The principle can be extended to create
fully automated gardens and farmlands. Combined with the principle of rain water
harvesting, it could lead to huge water savings if applied in the right manner. In
agricultural lands with severe shortage of rainfall, this model can be successfully
applied to achieve great results with most types of soil.
This system ensures that the plants do not endure from the strain or stress of less and
over watering. The advantages of using this micro irrigation system are that for every
drop of water used, we get more crop, better quality, early maturity, higher yield.
Moreover, this system saves labor cost and water up to 70%.
32
Automatic Plant Watering System
CHAPTER 13
REFERENCES
33