摘要:温湿度检测系统可以自行对大棚内部的温湿度,与蔬菜正常生长所需的温湿度进行比较,以直观便捷的形式向管理者提供温室环境的具体信息,从而在帮助温室大棚种植户提高农作物产量的同时,也减少了其工作量。本系统主要由AT89C51单片机、DHT11温湿度传感器、1602液晶显示模块和报警电路构成。数字温湿度传感器DHT11把采集到的温湿度数据传给所选择的AT89C51单片机,经过单片机的处理,显示在LCD屏幕上,同时通过蜂鸣器对温湿度进行阈值报警。该系统具有结构简单、检测可靠、成本低、功能易扩展等特点,可广泛应用于中小型的种植户和小型的大棚种植公司。65380
毕业论文关键词:温室大棚,AT89C51单片机,温湿度传感器,报警电路
Abstract: Temperature and humidity detection system may of its own temperature and humidity inside the greenhouse, with vegetables needed for normal growth temperature and humidity compared to the intuitive form to provide specific information to managers greenhouse environment, thereby helping greenhouse growers increase crop yields while also reducing their workload. The system consists of AT89C51 microcontroller, DHT11 temperature and humidity sensors, 1602 LCD module and alarm circuits. DHT11 digital temperature and humidity sensors to collect the temperature and humidity data to the selected AT89C51 microcontroller, through SCM processing, is displayed on the LCD screen, while the buzzer for temperature and humidity alarm threshold. The system is simple, reliable detection, low cost, easy expansion and other functions, and can be widely used in small and medium farmers and small greenhouse cultivation companies.
Key words: greenhouses, AT89C51, temperature and humidity sensor, alarm circuit
目 录
1前言 3
1.1研究的背景和意义 3
1.2 研究的任务和要求 4
2 系统方案设计 4
2.1 总体方案设计 4
2.2 系统组成框图 4
3 系统硬件设计 5
3.1 AT89C51主机模块 5
3.1.1 AT89C51介绍 5
3.1.2 AT89C51最小系统 6
3.2 温湿度采集模块 7
3.2.1 DHT11介绍 7
3.2.2 单总线介绍 8
3.2.3 温湿度采集模块电路设计 8
3.3 显示模块 9
3.3.1 LCD1602的介绍 9
3.3.2 显示模块电路设计 9
3.4 按键电路 10
3.5 报警电路 11
4 系统软件设计 11
4.1 主程序设计流程图 11
4.2显示模块程序设计流程图 12
4.3 温湿度采集模块程序设计流程图 13
5 Proteus仿真实现 14
5.1 Proteus仿真软件与keil软件简介 14
5.2仿真实现与结果分析