安全检测:瑞星:安全 诺顿:安全 卡巴:安全
毕业设计-单片机控制花草自动浇水控制系统设计,共63页,8955字,附外文翻译、答辩PPT、电路图、程序
摘要
随着改革开放,坚持科学发展观,促进农业持续快速发展,特别是90年代以来,我国的设施花草种植产业得到迅猛的发展,设施花圃被看作是21世纪最具活力的新产业。现代对花圃管理中,对自动化控制要求比较高。本次设计针对花草温度和湿度要求,利用单片机实现管理。本次设计的有点在于,可以自动调节花圃中的湿度,根据湿度的变化利用单片机自动控制喷水器件工作达到花草湿度稳定在某一范围。其灵敏度比较高,转化时间快,可以人为调节控制。
本文主要介绍以AT89C52单片机为主控器件,以土壤湿度传感器,1602液晶等外部器件的针对花圃温湿度检测与控制系统。该系统利用传感器采集数据,用单片机AT89S52处理数据把信息通过1602液晶显示出来。本设计为花草提供了精确的湿度控制,更有利于作物的生长。
关键词:花草,传感器,自动控制,单片机
ABSTRACT
With the reform and opening up, adhere to the scientific concept of development, and promote sustained and rapid development of agriculture, especially the 90 years since the garden of the facilities has been the rapid development of industrial facilities in the 21st century garden is seen as the most dynamic new industry.
The modern garden management, for automated control requirements are relatively high.The design temperature and humidity requirements for the garden, the use of MCU management.The design of the bit is that you can automatically adjust the humidity in the garden, according to changes in humidity automatic control microchip garden sprinkler devices work to stabilize at a certain humidity range. Relatively high sensitivity, fast conversion time, you can adjust the control of man-made.
This paper describes the AT89C52 microcontroller based controller parts to temperature and humidity sensor DHT11, LED digital tubes and other external devices for the garden of temperature and humidity measurement and control system.The system uses DHT11 sensor data collection, processing data with the microcontroller AT89C52 the information out through the LED digital display. The garden is designed to provide precise temperature and humidity control, is more conducive to crop growth.
KEYWORS:plants,ensor,utomatic control,microcontroller
目录
第一章绪论 5
1.1选题的背景 5
1.2选题的意义 5
1.3本课题主要内容 5
第二章硬件设计 7
2.1系统硬件选择 7
2.2系统整体框图 8
2.3主要功能模块 8
2.3.1单片机AT89S52 8
2.3.2土壤湿度检测电路 11
2.3.3 LCD液晶显示屏 11
2.3.4水泵浇水电路 15
2.3.5报警湿度设定按键电路 15
2.3.6报警电路 16
第三章软件设计 17
3.1 系统总程序流程 17
3.1.1系统主函数 17
3.2湿度监测流程图 20
3.2.1湿度监测程序 20
3.3按键程序流程图 24
3.3.1按键程序 25
3.4. 1602显示程序流程图 28
3.4.1 1602显示程序 29
第四章系统联机调试及仿真 33
4.1 系统软件开发工具 Keil 33
4.2 系统原理图绘制及仿真工具protues 34
4.3问题及解决 34
4.4仿真截图 35
4.1.1系统正常运行截图 35
4.1.2湿度低于设定湿度 36
4.1.3 使用按键调节设定温度范围 36
参考文献 37
致谢 38
毕业设计小结 39
附录 40
附录一程序源代码: 40
附录二电路图 60
本课题主要内容
本课题主要介绍以AT89C52单片机为主控器件,以土壤湿度传感器,1602液晶等外部器件的针对土壤湿度检测与控制的系统。该系统利用传感器采集数据,用单片机AT89S52处理数据把信息通过1602液晶显示出来,并控制水泵自动浇水。