基于单片机AT89C51下蔬菜大棚温湿度测控系统毕业设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
蔬菜大棚温湿度测控系统设计
摘要
温室大棚是设施农业的重要组成部分,大棚测控系统是实现大棚自动化、科学化的基本保证。通过对监测数据的分析,结合作物生长规律,控制环境条件,使作物达到优质、高产、高效的栽培目的。计算机应用技术的发展,也使得用计算机控制的方面也涉及到各个领域,其中在大棚内用单片机控制温度、湿度是应用于实践的主要方面之一。
对于蔬菜大棚来说,最重要的一个管理因素是温度和湿度等控制。本设计是一个专门为温室大棚温湿度测量控制而设计的系统。通过对系统的硬件部分和软件部分设计来达到监控要求。硬件部分实现了对温湿度传感器模块、显示模块、控制模块的设计;软件部分主要根据系统的设计思想设计出了主程序和子程序流程图,并通过程序实现。在系统设计过程中充分考虑到性价比,选用价格低、性能稳定的元器件。通过实践证明,系统具有性能好、操作方便等优点,能实现对温湿度等的显示、调节和控制。系统在其它领域还具有一定的推广价值。
关键词:大棚,温度,湿度,传感器
The Design of Greenhouse Temperature and
Humidity Control System
ABSTRACT
Greenhouse is an important component of protected agriculture. Measuring and controlling systen is the basis of the management automation in the greenhouse. With the growth rules analyzing measurement data and controlling circumstance condition. It makes greenhouse better, and more productive and high quality. With the development of computer application technology, the computer-controlled areas are also involved, the plastic temperature using SCM and humidity is one of the main aspects used in practice. For vegetable shed speaking, one of the most important management factor is the temperature and humidity control. The thesis is about an intelligent system designed for controlling the temperature and humidity of a greenhouse. It can meet the demand of monitoring through the design of hardware and that of software in details. The former is more important in this dissertation, including the introduction of sensor of measuring temperature and humidity, demonstrating mode of data, the mode of control and the connecting part of the changing column. And according to the design thoughts the latter shows the flow chart of the main program and the subprogram, realized by program. This thesis choose the decices as full consideration of the ration between prformance and cost as possible. The system adopts quite a new integrated circuit, which makes it function better and run more conveniently when put into practice. Furthermore, not only can it achieve the goals of manifesting and regulating the temperature, but also it can be controlled. And it has much of value to apply and popularize in other fields.
KEY WORDS:Vegetable, Temperature, Humidity, Sensor
目录
前言 (1)
第1章设计方案论证 (2)
1.1 设计要求及框图 (2)
1.2 元器件的选择 (2)
1.2.1 单片机的选择 (2)
1.2.2 温度传感器的选择 (3)
1.2.3 湿度传感器的选择 (3)
1.2.4 显示模块的选择 (4)
1.2.5 系统设计方案的确定 (4)
第2章系统的硬件设计 (6)
2.1 系统硬件的简述 (6)
2.2 单片机模块的设计 (6)
2.2.1 单片机的功能特性描述 (6)
2.2.2 单片机的最小系统 (8)
2.3 温湿度采集系统的设计 (9)
2.3.1 温湿度传感器的概述 (9)
2.3.2 传感器的接口说明 (9)
2.3.3 硬件连接 (10)
2.4 显示模块的设计 (10)
2.4.1 LCD12864的概述 (10)
2.4.2 LCD12864引脚说明 (12)
2.4.3 LCD12864的主要技术参数 (13)
2.5 报警电路的设计 (14)
2.6 功能键的设计 (15)
2.7 控制电路的设计 (15)
第3章软件系统设计 (17)
3.1 软件设计的整体思想 (17)