设计说明书
总字数:16000+
摘 要
随之科技水平的提高,人们的生活水平也得到提高,然而在人们的生活环境中存在很多危害人们身体健康的因素,在室内,当前很多家居质量不过关,导致其内部的甲醛含量超标,甲醛超标使十分危险的事情,有可能会引起或者甚至危及住户生命。为了解决以上问题,设计一款甲醛检测系统,该系统分为软件设计和硬件设计,硬件设计包括:采用DHT11检测环境中的温湿度值,采用MS1100检测环境中的甲醛浓度,采用OLED将检测的数据进行显示,当检测到甲醛浓度异常时,进行语音提醒,并启动继电器控制通风,使得空气中的甲醛浓度处于正常的范围。此外,本设计还采用WiFi模块,将监测的数据传输到用户手机上,用户也可以通过手机远程控制通风或者净化器的工作,及其控制模式的切换,此次设计可以解决当前用户由于不及时了解当前环境中的换参数进行实时监测,导致人们的生命安全和财产安全受到损失。
关键词:单片机;甲醛;通风;净化器;WiFi
Abstract
With the improvement of science and technology, people’s living standards have also been improved, but in people’s living environment there are many factors that endanger people’s health, in the indoor, the current quality of many homes is not up to standard, resulting in its internal formaldehyde content exceeded, formaldehyde exceeded the very dangerous things, may cause or even endanger the life of the household.In order to solve the above problems, a formaldehyde detection system is designed. The system is divided into software design and hardware design. The hardware design includes: DHT11 is used to detect the temperature and humidity value in the environment, MS1100 is used to detect the formaldehyde concentration in the environment, and OLED is used to display the detected data. When the formaldehyde concentration is abnormal, voice reminder is given and the relay is started to control ventilation, so that the formaldehyde concentration in the air is in the normal range. In addition, the design also uses the WiFi module to transmit the monitoring data to the user’s mobile phone, the user can also remotely control the work of the ventilation or purifier through the mobile phone, and its control mode switch, this design can solve the problem that the current user does not timely understand the parameters in the current environment for real-time monitoring, resulting in loss of people’s life and property safety.
Keywords:MCU; Formaldehyde; Ventilation; Purifier; WiFi
目 录
摘要
Abstract
第一章 绪论
1.1 选题背景及实际意义
1.2 国内外研究现状
1.3本论文研究目标与框架
第二章 系统设计方案
2.1整体设计方案
2.2主要元器件选择
2.2.1主控芯片选择
2.2.2显示方案选择
2.2.3 甲醛检测模块方案选择
2.2.4温湿度传感器方案选择
第三章硬件设计
1.3.2单片机最小系统
3.1.1 主控模块电路
3.1.2 晶振电路
3.1.3 复位电路
3.1.4 电源电路
3.1.5 下载电路
3.2 DHT11温湿度检测模块电路
3.3 甲醛检测模块电路
3.4 OLED液晶显示模块电路
3.5 语音输出模块(TTS)
3.6 按键模块电路
3.7 继电器控制电路
3.8 WiFi模块电路
第四章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3独立按键
4.4温度检测模块子流程
4.5OLED显示流程设计
4.6WiFi模块子流程设计
第五章 实物测试
5.1 实物总体设计
5.2 温湿度模块实物测试
5.3 甲醛气体监测实物测试
5.4 WiFi测控实物测试
第七章 结论
参考文献
致谢
附录
附录1:原理图
附录2:PCB
附录3:主程序
购买后可查看具体内容!