文档详情

基于单片机的温湿度检测和控制.doc

发布:2018-09-15约2.13万字共34页下载文档
文本预览下载声明
电子测量大作业 华东交通大学 PAGE \* MERGEFORMAT3 基于单片机的温湿度检测与控制 基于单片机的温湿度检测与控制 专 业:通信工程 学 号:203 学生姓名: 张艳 指导老师: 黄德昌 摘要 温湿度等环境参数是气象环保、煤矿工业、精准农业等领域的主要因素,对其实时、准确的监测显得非常关键。设计智能的环境参数无线监测系统来解决上述难题显得尤为必要。 本次设计是采用MSC-51系列单片机中的AT89S51和DHT11的低成本的温湿度的检测系统。本设计主要包括硬件电路的设计和系统软件的设计。硬件电路主要包括单片机、温湿度传感器、显示模块、报警器以及键盘等5部分,由DHT11温湿度传感器及12864字符型液晶模块构成系统显示模块,该系统电路简单、工作稳定、集成度高,调试方便,测试精度高,具有一定的实用价值。其中测温湿度控制电路由温湿度传感器和预设温度值比较报警电路组成,用户根据需要预先输入预设值,当实际测量的温湿度大于预设的温湿度数值时,发出报警信号(蜂鸣器蜂鸣)。软件部分包括了主程序、显示子程序、测温湿度子程序。 经过设计制作和调试,系统可以在大区域内和复杂环境下实现稳定、准确监测环境中的温湿度,并可将结果实时显示在液晶屏上,达到了预期目标。本系统可广泛应用于气象环保、煤矿工业、精准农业等监测领域,具有一定的实用价值和良好的市场前景。 关键词: 温度测量 湿度测量 AT89S51 DHT11 ABSTRACT Environmental parameters, such as temperature and humidity, sunshine is the main factors to meteorological environmental protection, coal mine industry, precision agriculture, so actually and accurate monitoring is very critical. So, designing a intelligent environmental parameters monitoring system to solve the problem is necessary. This design is the use of MSC-51 Series MCU AT89S51 and DHT11 in the low-cost temperature and humidity detection system. This design includes the design of hardware and system software design. Hardware circuit includes a microcontroller, temperature and humidity sensors, display module, the alarm and the keyboard 5, the DHT11 temperature and humidity sensor and 1602 constitute a system of character LCD module display module, the system circuit is simple, stable, high integration, commissioning Convenient, high precision, has some practical value. Temperature and humidity control circuit in which the temperature and humidity sensors and compare the value of the preset temperature alarm circuit, the user input required pre-default value, when the actual temperature and humidity measurements of temperature and humidity is greater than the preset value, an alarm signal (bee Buzzer beep). Software part includes the main program, display routines, subroutines side temperature a
显示全部
相似文档