基于DHT11数字温湿度传感器的环境监测系统设计毕业论文
2022-06-04 23:01:25
论文总字数:25216字
摘 要
单片机STM32是一种低功耗、高性能的单片机,因为它价位低同时拥有较强的功能,因此它在很多领域都得到使用。本设计采用的是STM32单片机,它和DHT11构成了低成本的温湿度环境监测系统。本计划包含硬件设计和软件设计两部分。
本系统主要要实现温湿度实时数据的读取的功能,还有能在一段时间内观察温湿度的变化趋势和超过预设值发出报警。本设计的温湿度的采集主要是靠温湿度传感器DHT11来实现,然后单片机读取采集到的数据信号,再将信号进行分析处理提供给显示模块进行温湿度的显示。如果读取到的温湿度值超过设定的最高或者最低限制,将给蜂鸣器发送报警信号,让蜂鸣器实现报警功能,以此来达到对温湿度监控的目的。在温湿度的显示界面再加入一个温湿度变化曲线,来达到观察一段时间内温湿度变化的目的。本设计的温湿度监控系统有工作稳定、操作便捷、测量精度高的优点,并且在我们的日常生活中有一定的实用价值。
关键词:单片机 温湿度 LCD显示 蜂鸣器报警
The Measuring and Controlling System Design of Temperature and Humidity Based on DHT11
Abstract
This design uses STM32 microcontroller, it and DHT11 constitutes a low-cost temperature and humidity environmental monitoring system.SCM STM32 is a low-power, high-performance microcontroller, because it has a low price and strong features, so it is used in many areas.DHT11 temperature and humidity sensor is a digital calibration of temperature and humidity compound sensor, the general is composed of two parts: composition: a resistive element and a NTC temperature sensor, the product has a fast response speed, good texture, low price, strong anti-jamming capability advantages. This plan contains two parts of hardware design and software design.
The circuit of the design is composed of five parts, which are MCU module, temperature and humidity sensor module, buzzer alarm module, power module and display module. The collection of temperature and humidity is mainly achieved by temperature and humidity sensor DHT11, then the MCU reads the collected data signal, signal analysis and processing is supplied to the display module for display of temperature and humidity.If the value of the reading of the temperature and humidity exceeds the set maximum or minimum limit will be sent to the buzzer alarm signal, let a buzzer alarm function, in order to achieve the purpose of monitoring of temperature and humidity. The temperature and humidity display interface with a temperature and humidity change curves, to observe a period of time changes in temperature and humidity inside.The design of the system has the advantages of clear structure, stable operation, convenient operation, high accuracy, and has some practical value in our admission life.
Key words: singlechip;humiture; LCD display technology;Buzzer alarm
目 录
摘要 I
Abstract II
第一章 绪论 1
1.1课题背景 1
1.2课题的目的和意义 2
1.3课题的内容和所要解决的问题 3
第二章 温湿度监控系统的方案和总体设计框架 4
2.1总体硬件电路设计框架 4
2.2设计方案 4
第三章 温湿度监控系统的硬件设计 6
3.1温湿采集模块 6
3.1.1 DHT11的简介和基本结构 6
3.1.2 DHT11的数据结构 7
3.1.3 DHT11的温湿度计算方法 7
3.1.4 DHT11的传输时序 8
3.1.5 硬件设计 8
3.2单片机模块 10
3.2.1 STM32单片机简介 10
3.2.2 STM32的MCU芯片原理图 10
3.3按键电路原理图 11
3.4复位电路原理图 11
3.5显示电路设计 12
3.5.1 TFTLCD简介和原理图 12
3.5.2 TFTLCD的硬件设计 12
3.6电源电路原理图 13
3.7 蜂鸣器报警电路原理图 14
3.8 Altium Designer Winter09绘制电路图 14
第四章 系统的软件设计 16
4.1 软件设计环境 16
4.2 编写设计程序 18
4.3 系统验证 22
结语 26
参考文献 27
致谢 28
请支付后下载全文,论文总字数:25216字