摘 要:温湿度是农业生产过程中必须考虑的因素。温湿度直接影响着农作物的生长发育,决定了农作物的产量。因此研究如何控制大棚内温湿度显得很有必要。本设计选择DHT11温湿度传感器作为温湿度检测组件。采用8位微控制器STC89C52单片机作为检测装置的核心处理器,完成信号采集、温湿度计算、显示、报警等功能;配以显示电路、光报警、EEPROM存储器等接口电路,通过对单片机的编程实现各模块的功能。当大棚内温度或湿度超过预先设定的报警阈值时,则LED报警灯亮起。通过搭建的硬件平台对室内温湿度进行测量,实验结果表明,该检测装置可以实现环境温湿度的检测,并且当温湿度超过设定的阈值时可以自动报警,验证了该设计的可行性。65391
Abstract: Temperature and humidity is in the process of agricultural production factors that must be considered. Temperature and humidity directly affects the growth and development of crops, and determined the crop production. Therefore study how to control temperature and humidity inside the greenhouse of is necessary.This design choose DHT11 temperature and humidity sensor as temperature and humidity measurement. Using 8-bit microcontroller STC89C52 single-chip microcomputer as the core processor of detection device, signal acquisition, temperature and humidity calculation, display, alarm, etc; With a display circuit block, light alarm, EEPROM memory interface circuit, such as through the microcontroller programming to realize the function of each module. When the canopy temperature or humidity exceeds preset alarm threshold, LED warning lights up.The indoor temperature and humidity is measured through the building of hardware platform.The experimental results show that the detection device can realize the detection of environmental temperature and humidity and when the temperature and humidity exceeds the threshold value of the set can be automatic alarm, verify the feasibility of the design.
Keywords: sensor, single-chip microcomputer,temperature and humidity, automation control
目 录
1 绪论 4
1.1 课题的选题背景 4
1.2 本论文主要研究内容 4
1.3 系统的工作原理简介 4
2 系统总体方案设计 5
2.1 系统总框图 5
2.2 方案选型 6
3 系统硬件电路的设计 7
3.1 系统硬件概述 7
3.2 主控模块设计 9
3.3 DHT11传感器模块设计 12
3.4 液晶显示模块设计 14
3.5 继电器模块 17
3.6 阈值设定模块 18
4 系统软件程序的设计 20
4.1 液晶显示模块设计 20
4.2 传感器模块设计 21
5 系统调试与实验 22
5.1 系统调试 22
5.2 系统实验 23
结 论 28
参考文献