Index
Index
ACKNOWLEDGEMENT
The completion of any project brings with it a sense of satisfaction, but it is
never complete without thanking those people who made it possible and whose
constant support has crowned our efforts with success.
One cannot even imagine the power of the force that guides us all and neither
can we succeed without acknowledging it. Our deepest gratitude to Almighty God for
holding our hands and guiding us throughout our lives.
I would also like to express our gratitude to Prof. S E Mendhe, Head of the
Department, Electronics and Communicationation LDRP Institute of Technology &
Research, Gandhinagar for encouraging and inspiring us to carry out the project in the
department lab.
I would also like to thank our guide, Mr. Rahul Patel of Electronics and
Communication Dept. for his expert guidance, encouragement and valuable
suggestions at every step.
We also would like to thank all the staff members of Electronics and
Communication Dept. for providing us with the required facilities and support
towards the completion of the project.
We are extremely happy to acknowledge and express our sincere gratitude to
our parents for their constant support and encouragement and last but not the least,
friends and well wishers for their help and cooperation and solutions to problems
during the course of the project.
Also our friends Mr. Chinmayananda Das Dept. of Applied Electronics &
Instrumentation Engineering at Dhaneswar Rath Institute of Engineering &
Management Studies, Cuttack who provided solutions at times when we were against
the wall in need of help.
i
ii
SYNOPSIS
Appropriate environmental conditions are necessary for optimum plant growth,
improved crop yields, and efficient use of water and other resources. Automating the
data acquisition process of the soil conditions and various climatic parameters that
govern plant growth allows information to be collected at high frequency with less
labor requirements. The existing systems employ PC or SMS-based systems for
keeping the user continuously informed of the conditions inside the greenhouse; but
are unaffordable, bulky, difficult to maintain and less accepted by the technologically
unskilled workers.
This makes the proposed system to be an economical, portable and a low maintenance
solution for greenhouse applications, especially in rural areas and for small scale
agriculturists.
iii
TABLE OF CONTENTS
9 Chapter 9: CNCLUSION 73
9.1 Conclusion 73
vi
i
LIST OF FIGURE
1 Chapter 1: INTRODUCTION
1.1 Basic Model of the System 04
3 Chapter 3: HARDWAER
3.1 Moisture Sensor 09
3.2 Light Dependent Resistor 11
3.3 Light Sensor Circuit 12
3.4 HIH4000-001 Humidity Sensor 13
3.5 Humidity Sensor Circuit 14
3.6 LM35 Temperature Sensor 15
3.7 Temperature Sensor Circuit 16
3.8 Getting data from analog world 17
3.9 Block Diagram of ADC 18
3.10 Flowchart of ADC 20
3.11 Pin Diagram of ADC 21
3.12 ADC Pin Details 23
3.13 Timing Diagram of ADC 24
3.14 Clock Circuit for ADC 25
3.15 Effect of using Schmitt Trigger 26
3.16 Pin Diagram of AT89S52 30
3.17 Block Diagram of Microcontroller 30
3.18 Power-On Reset Circuit 33
3.19 AT89S52 Oscillator Clock Circuit 35
3.20 Internal Memory Blocks 38
3.21 Microcontroller Configuration 43
viii
4 Chapter 4: SOFTWAER
4.1 Windows for choosing the Target Device 56
4.2 Project Workspace Panel 57
4.3 Project Option Dialog box 57
4.4 “Save All” and “Build All Target Files” Buttons 58
4.5 µVision3 Debugger window 59
4.6 Reset’, ‘Run’ and ‘Step into’ options 60
4.7 Programming window 63
ix
List of Table
3 Chapter 3: HARDWAER
3.1 Selecting an Analog Channel 21
3.2 Alternate Functions of Port 3 32