Design of Intelligent Microspray Irrigation System Based on AT89C52 Single-chip Microcomputer
- Author
- ChenWeiHua
- Advisor
- ZhangGuoShan
- School
- Tianjin University
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 415
- Citations
- 1
Abstract
China is a shortage of water resources in the large agricultural country, and vigorously promote water-saving agriculture is the inevitable trend of development of China's agriculture. Water-saving irrigation, water-saving agriculture, it is through the use of advanced irrigation methods and techniques of the water as evenly as possible, moderate allocation to the crop root zone soil, keep the soil moisture suitable for crop growth, ventilation and nutritional status, so as to improve the efficiency of irrigation water use efficiency and Aquatic out purposes. Micro sprinkler irrigation technique developed in recent years as a water-saving irrigation techniques, and it set to spray, drip irrigation technology long to avoid both short, is a low-pressure pipeline system to a smaller flow of water sprayed onto the soil surface local irrigation technology, irrigation to save water, save labor, energy-saving, yield, etc.. In this paper, using a smart micro-sprinkler controller based on AT89C52 compared with the traditional timing sprinkler controller, it has the following functions: a multiple control functions, which can simultaneously control four groups solenoid valve complete different timing requirements sprinkler irrigation control; Second, have the select multiple sprinkler mode, that is, the user can select a different control mode for each output; Third, unattended irrigation function, that is, the user can crop growth characteristics, flexible set daily irrigation procedures; 4, with a low cost, and cost-effective features. The biggest innovation of the controller when the system works in the automatic control mode, the controller can automatically select day period the appropriate parameters of the sprinkler or sprinkler user program can achieve unattended irrigation. This article from two aspects of hardware design and software design, detailed description of the development process of the controller. The controller for the control of the more popular AT89C52 microcontroller core hardware power module, keyboard display interface circuit, data acquisition circuit and output driver circuit; system software uses the most popular MCS-51 series microcontroller software Keil software development, software function modules include: main control procedures, system clock program, key identification and treatment procedures, procedures and A / D conversion process by the actual debugging dynamic display to show that the controller can not only achieve the desired functionality requirements, and economic practical, applicable to a wide range, with a high price.
Table of contents
Abstract 3-4
ABSTRACT 4-9
The first chapter 9-12
1.1 Background <br / > 1.2 automatic sprinkler technology at home and abroad Research 9-10
1.3 of the subject design goals 10-12
second overall system design 12-20
2.1 overall system design 12
2.2 operation interface design and system functional description the 12-20 2.2.1 System control panel design
12-13
2.2.2 main operating interface design the 13-14 2.2.3 main operator interface to the response of the other keys
14-15
the 2.2.4 clock adjustment interface of design the 15-16
2.2.5 clocks, adjust the response of the interface buttons 16
2.2.6 control parameter setting interface design 16-17
The the 2.2.7 control mode button response 17-20
control system hardware circuit design 20-32
3.1 microprocessor AT89C52 Introduction 20-22
3.1.1 Main features
20 3.1.2 on the AT89C52 each pin function 20-22
3.2 clock circuit and reset circuit design 22-23
3.2.1 the Clock circuit design 22
3.2.2 Reset circuit design 22-23
3.3 man-machine dialogue interface circuit design 23-25 ??
3.3.1 LED display interface circuit designed 23-25 ??
the 3.3.2 keyboard interface circuit design 25
3.4 data acquisition circuit design 25-28
3.4.1 soil moisture sensor selection 25-26
3.4.2 analog-to-digital conversion chip TLC549 Introduction 26-27
3.4.3 TLC549 and system interface circuit design 27-28
3.5 data storage chip interface circuit design 28-29
3.5.1 AT24C16, Introduction 28
3.5.2 Data storage chip interface circuit design 28-29
3.6 output driver circuit design 29-30
3.7 power module design 30 < br /> 3.8 system hardware circuit diagram 30-32
Chapter system software design 32-59
4.1 microcontroller C language Introduction 32
4.2 Keil Software Description 32-33
4.3 system software 33
4.4 the main monitoring procedures designed 33-36
4.4.1 \Introduction 33-34
the 4.4.2 system state diagram design 34-35
4.4.3 state transfer method main control procedures designed 35 - 36
4.5 system clock program design 36-41
4.5.1 clock system established 36-39
the 4.5.2 system clock program designed 39-41
4.6 keyboard scanning procedures designed 41-46
4.6.1 software debounce processing 41
4.6.2 batter processing 41 -42
4.6.3 keyboard encoder 42-43
4.6.4 keyboard scanning procedures designed 43-44
the 4.6.5 keyboard scanning program 44-46
4.7 LED dynamic display program designed 46-52
4.7.1 LED display principle 46
4.7.2 font code 46-47
4.7.3 dynamic display principle 47-49
4.7.4 Dynamic programming 49-51
4.7.5 dynamic scanning display program 51-52
4.8 the TLC549 driver 52-53
4.9 AT24C16 programming 53-59
4.9.1 I to 2C bus protocol 54
4.9.2 AT24C16 chip addressing and answering 54-55
4.9.3 AT24C16, byte write timing 55
4.9.4 AT24C16 select read timing 55-56
4.9.5 read and write AT24C16 function subroutine the system 56-59
Chapter debugging and simulation 59 - 61
5.1 system debugging and simulation 5.2 Conclusions and Recommendations 59
to References 59-61
61-63
papers and to participate in research situations illustrate 63-64
Acknowledgements 64-
Related dissertations
- The Design and Realization of Wireless Temperature Transmitter Based on the WIA-PA
- The Design of Location System of Truck Body Displacement in Heavy Dust Environment
- The Development of the Small Part Dimension Detection System Based on Image Processing Technology
- EUP ECU Hardware Designand Underlying Driversoftware Development
- Development and Application of Highway Toll Fee-based Services Evaluation
- Design and Implementation of Automatic Flight Control Syetem on Model Helicopter
- Design of Hardware and Software of the Performance Test System for Hydraulic Components
- The Design of a Multi-interface Motion Controller
- Engineering Desigen for EO/PEO Expansion Plant Control System
- The Design of Baiyun Airport Access Control System
- Based on Single-chip Design and Implementation of Intelligent Toy Electric Car
- Design of Control System for6-DOF Tooling Equipment
- And implementation of security protection module design of terminal device
- Analog TV Design and Optimization in Mobile Phone
- Design of Standard Distribution Interface Unit for Satellitic Electronic System
- Research on Reactive Power Compensation Control System Based on MCR
- Research and development of SIZE3 DC contactor performance test system
- Research on SF6and O2On-Line Monitoring System of Substation
- Research and design of bridge type bidirectional DC converter
- Design of High-torque Permanent Magnet Synchronous Motor Control System