摘 要:温湿度在日常的生产生活中有着重要的意义,环境温度和湿度的测试设备,广泛应用于日常生活、工业生产和农业管理等领域。本文设计了基于单片机的温湿度实时检测系统,该系统以单片机控制处理核心,由数字温湿度检测模块、人机接口模和报警模块等几部分组成,重点分析了单片机、数据采集器件、显示器等主要元件的选型,设计了各元件与单片机的接口电路,最后分析了数字温湿度传感器的通信原理并设计了温湿度数据采集程序,设计了独立式按键和LCD接口程序,该系统能实时检测出环境中的温湿度,并根据设定的报警限给予报警指示。该系统已经通过实际检测,完全达到设计的要求。与传统通过与传统的温湿度测量方案相比,本系统测量精度更高,外围电路更加简洁。54402
毕业论文关键词:温湿度检测,单片机,温湿度传感器,液晶显示器,键盘
Abstract: In production and daily life, temperature and humidity is of great significance. The test facilities of environmental temperature and humidity are widely used in daily life, industrial production and agricultural management. This design is based on the SCM’s real-time testing system of temperature and humidity, which is composed of modules of digital temperature and humidity detection, human-computer interface and alarm. It lays special stress on analyzing the selection of SCM, Data acquisition device, display and other main parts and designs the interface circuit of each element and the chip. Finally, it analyses communication principles of digital temperature and humidity sensor and designs the temperature and humidity data acquisition program setting up the keys and LCD interface program. The system can detect the temperature and humidity environment in real time, and give warning according to the set alarm limits, which has passed the practical test and fully meet the requirements. Compared with the traditional measurement of temperature and humidity, this system has more accurate measured results, and easier peripheral circuit.
Key words:temperature and humidity detection, MCU, temperature and humidity sensor, liquid crystal screen, keyboard
目录
1 引言 5
1.1 温湿度检测技术的发展 5
1.2 课题的提出及研究的意义 5
2 硬件部分设计 5
2.1 系统设计总体框图 5
2.2 控制电路设计 6
2.2.1 单片机的选择 6
2.2.2 单片机引脚说明 6
2.2.3 单片机的最小系统 7
2.3 传感器的选用 8
2.3.1 最初方案 8
2.3.2 传感器的最佳方案 9
2.3.3 接口电路设计 10
2.4 显示模块的选择与设计 10
2.4.1 显示模块的选择 10
2.4.2 连接电路设计 11
2.5 报警模块的设计 11
2.6 按键电路 12
3 软件设计部分 12
3.1 编程语言的选择 12
3.2 传感器通信程序设计 13 AT89C51单片机温湿度实时检测系统设计+电路图:http://www.youerw.com/zidonghua/lunwen_58617.html