文档介绍:存档编号_ ________
xxxxxxxxxxxxxxxxxx
蔬菜大棚温湿度监控
报警系统的设计
教学学院 xxxxxxxxxxxxx
届别 2012届
专业电子信息工程
学号 xxxxxxxxxxx
姓名 xxxxxxxxx
指导老师 xxxxxxxxxxx
完成日期 2012年5月
目录
1 引言 3
2 AT89S52单片机 4
2. 1 CPU的结构 4
5
5
定时器 5
中断系统 5
I/O口结构 6
8
程序存储器及数据存储器 9
9
10
3 方案设计与比较 10
4 整体设计方案 11
5 硬件电路设计 12
最小系统 12
数据显示 13
LCD1602引脚功能 13
时序 15
指令集 16
报警电路 18
总电路图分析 18
6. 软件设计 20
7 调试与测试结果分析 22
22
22
23
参考文献 23
致谢 25
附录一 26
附录2 程序代码 27
内容摘要:温室大棚是蔬菜生产中必不可少的设施之一,不同种类的蔬菜对温度以及湿度的要求也不尽相同,而温湿度的管理对蔬菜的生长有这至关重要的作用。本论文设计蔬菜大棚温度湿度自动控制系统由主控制器AT89C52单片机、AM230湿度传感器、LED显示器和报警电路等构成,实现对蔬菜大棚温湿度的检测与控制,从而有效提高蔬菜的产量。文中提出了具体设计方案,讨论了蔬菜大棚温湿度巡回检测与控制的基本原理,进行了可行性论证。由于利用了单片机及数字控制系统的优点,系统的各方面性能得到了显著的提高。
关键词:温湿度传感器;湿度传感器;LED显示器;报警电路。
Abstract :Vegetable production in greenhouse is an essential facilities, different kinds of vegetables on the temperature and humidity requirements also vary, and the temperature and humidity of the management on vegetables growth has the vital roleVegetable greenhouse temperature and humidity control system consists of the main controller AT89C52 microcontroller, AM230 humidity sensor, LED display and alarm circuit, detection and control of vegetable greenhouse temperature and humidity, in order to effectively improve the production of vegetables. This paper proposes a design scheme to discuss the basic principles of circuit detection and control of vegetable greenhouse temperature and humidity to carry out a feasibility study. As the use of the advantages of a microcontroller and digital control system, the system performance has been significantly improved.
Key words:Temperature and humidity sensors; humidity sensor; LED display; alarm circuit.
1 引言
温室环境测控,即根据植物生长发育的需要,自动调节温室内环境条件的总称。现代化温室,通过传感器技术、微型计算机及单片机技术和人工智能技术,能自动测控温室的环境,其中包括温度、湿度、光照、C02浓度等,使作物在不适宜生长发育的反季节中,获得比室外生长更优的环境条件,达到早熟、优质、高产的目的。在农业种植问题中,温室环境与生物的生长、发育、能量交换密切相关,进行环境测