总字数:24000+

摘要

当前人们的居住环境空气质量越来越差,当前在大部分的用户中,并没有实时准确检测大量空气质量的检测仪器,此次设计为了解决这个问题,设计一款空气质量检测系统,该系统分为软件设计和硬件设计,硬件设计包括:MQ-5检测当前环境中的天然气或者煤气泄漏浓度,MQ-7检测当前环境中的CO浓度,MQ-135检测环境中的甲苯浓度,MS1100检测环境中的甲醛浓度,SGP30检测环境中的C02浓度,LCD1602将检测的数据进行显示,当检测到气体的浓度异常时,进行声光报警,并控制风扇和净化器的工作,使得空气中的环境处于正常的范围,蓝牙监测模块,将监测的数据传输到用户手机上,用户也可以通过手机远程控制通风或者净化器的工作,及其控制模式的切换;软件设计,此次设计采用Kil5作为此次设计的程序编程软件;通过软件和硬件配合使用,经过调试,此次设计可以准确检测环境中的天然气、煤气、CO、甲苯、甲醛、CO2浓度,并及时控制外设进行处理,使得这些参数处于正常的范围之内,此外,此次设计还增加了远程监测和控制系统,用户可以远程接收监测的设计和远程对其进行控制;此次设计可以解决当前用户由于不及时了解当前环境中的空气参数进行实时监测,导致人们的生命安全和财产安全受到损失。

关键词:单片机;空气质量;测控;通风;净化器;蓝牙

Abstract

At present, the air quality of people’s living environment is getting worse and worse. At present, most users do not have real-time and accurate detection instruments for a large amount of air quality. In order to solve this problem, this design designs an air quality detection system, which is divided into software design and hardware design. Mq-2 smoke detection sensor detect the concentration of smoke in the environment, MQ-5 detect the current environment of natural gas fire gas, MQ-7 detect the concentration of CO in the environment, MQ-135 detect the concentration of harmful gas in the current environment, LCD1602 will detect the data display, when the detection of abnormal gas concentration, sound and light alarm, And control the fan and purifier work, make the air environment in the normal range, Bluetooth monitoring module, the monitoring data will be transmitted to the user’s mobile phone, users can also remote control ventilation or purifier work through the mobile phone, and control mode switch; Software design, this design uses Kil5 as the programming software of this design; Through software and hardware, after debugging, this design can accurately detect smoke, gas fire gas current value in the environment, CO value and harmful gas, and timely control peripherals for processing, make these parameters in the normal range, in addition, this design also increased the remote monitoring and control system, Users can receive and control the monitoring design remotely. The design can solve the current users because they do not timely understand the air parameters in the current environment for real-time monitoring, resulting in the loss of life and property safety.

Keywords:single chip microcomputer; Air quality; Measurement and control; Ventilation; Purifier. bluetooth

目录

摘要

Abstract

第一章 绪论

1.1 选题背景及实际意义

1.2 国内外研究现状

1.3本论文研究目标与框架

第二章 系统设计方案

2.1整体设计方案

2.2主要元器件选择

2.2.1主控芯片选择

2.2.2显示方案选择

2.2.3 MQ-5煤气或天然气监测模块方案选择

2.2.4 MQ-7CO监测模块方案选择

2.2.5 MQ-135甲苯监测模块方案选择

2.2.6 甲醛检测模块方案选择

2.2.7 CO2检测模块方案选择

第三章硬件设计

3.1单片机最小系统

3.1.1主控模块电路

3.1.2复位电路

3.1.3电源电路

3.1.4下载电路

3.2 MQ-5煤气检测模块电路

3.3 MQ-7CO监测模块电路

3.4 MQ-135甲苯监测模块电路

3.5 甲醛检测模块电路

3.6 CO2检测模块电路

3.7 LCD1602液晶显示模块电路

3.8 报警模块电路

3.9 按键模块电路

3.10 继电器控制电路

3.11 蓝牙模块电路

第四章软件设计

4.1编程软件介绍

4.2主程序流程设计

4.3按键函数流程设计

4.4显示函数流程设计

4.5处理函数流程设计

第五章 仿真测试

5.1 仿真总体设计

5.2 天然气检测模块仿真测试

5.3 CO监测仿真测试

5.4 甲苯监测仿真测试

5.5 甲醛气体监测仿真测试

5.6 CO2检测仿真测试

5.7 有机物TVOC检测仿真测试

5.6 蓝牙测控仿真测试

第六章 实物测试

5.1 仿真总体设计

5.2 天然气检测模块仿真测试

5.3 CO监测仿真测试

5.4 甲苯监测仿真测试

5.5 甲醛气体监测仿真测试

5.6 CO2检测仿真测试

5.7 有机物TVOC检测仿真测试

5.6 蓝牙测控仿真测试

第七章 结论

参考文献

致谢

附录

附录1:原理图

附录2:PCB

附录2:主程序

……………..本设计说明书是配套实物和仿真的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源