基于单片机的温湿度测量红外传输系统的设计
基于单片机的温湿度测量红外传输系统的设计(任务书,开题报告,论文13000字)
摘 要
本文设计了通过STC89C52单片机构建一个进行温湿度测量并通过红外传输的这样一个系统。温湿度的测量在生活中的很多领域都有着相当广泛的运用,同时随着时代的发展,无线传输已经逐渐成为主流,而本文的设计所采用的红外传输也吻合时代的发展趋势。
该系统的核心是STC89C52单片机,温湿度数据的采集使用的元器件是DHT11,而后STC89C52单片机会接收来自DHT11的数据,随后通过红外传输将数据发送到另一个STC89C52单片机,并通过LCD将数据显示在液晶显示屏上,如果数据超出预先设定的范围(默认温度为30℃,调节范围为10℃-40℃,湿度为80%RH,调节范围为50%RH-99%RH),则原本熄灭的LED亮起,这种响应表示为报警。除此之外,红外传输的距离可达9米。整套系统结构包括单片机模块、温湿度测量模块、红外收发模块、液晶显示模块和LED报警模块,对于温湿度测量以及无线红外传输等方面的研究提供一定的参考。
关键词:STC89C52单片机;温湿度测量;红外传输;DHT11;报警响应
Abstract
This paper designed through STC89C52 single-chip to build a temperature and humidity measurements and through the infrared transmission of such a system. Temperature and humidity measurement in many areas of life have a very wide range of applications, while with the development of the times, wireless transmission has gradually become the mainstream, and this design used in the infrared transmission is also consistent with the development trend of the times.
The core of the system is STC89C52 single-chip, the use of temperature and humidity data acquisition components are DHT11, and then STC89C52 microcontroller will receive data from DHT11, followed by infrared transmission of data to another STC89C52 microcontroller, and through the LCD data On the LCD screen, if the data exceeds the preset range (the default temperature is 30 ° C, the adjustment range is 10 ° C to 40 ° C, the humidity is 80% RH, the adjustment range is 50% RH to 99% RH) The LED is lit, this response is indicated as an alarm. In addition, the infrared transmission distance of up to 9 meters. The whole system structure includes SCM module, temperature and humidity measurement module, infrared transceiver module, liquid crystal display module and LED alarm module, which can provide some reference for the research of temperature and humidity measurement and wireless infrared transmission.
Key words:STC89C52 microcontroller;Temperature and humidity measurement;
Infrared transmission;DHT11;Alarm response
[来源:http://Doc163.com]
目录
摘 要 I
Abstract II
第1章 绪论 1
1.1研究的背景、目的及意义 1
1.2国内外研究现状 1
1.3研究内容与预期目标 3
第2章 设计任务的分析 4
2.1单片机模块 4
2.2时钟电路模块 7
2.3温湿度采集模块 8
2.4红外发射模块与红外接收模块 9
2.5液晶显示模块 11
2.6按键电路模块 13
2.7报警模块 13
2.8 小结 13
第3章 硬件电路的设计 14
3.1 硬件电路设计的软件介绍 14
3.2 采集发送部分的电路设计 14
3.3 接收显示部分的电路设计 17
3.4小结 21
第4章 软件部分的设计 23
4.1 系统的总体流程图 23
4.2 采集发送部分的软件设计 24 [来源:http://Doc163.com]
4.3 接收显示部分的软件设计 26
4.4 小结 30
第5章 结论与展望 31
参考文献 32
附录 33
致谢 36 [来源:http://www.doc163.com]