总字数:20000+

摘要

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

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

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 detects the concentration of smoke in the environment, MQ-5 detects the concentration of natural gas fire gas in the current environment, MQ-7 detects the concentration of CO in the environment, AND MQ-135 detects the concentration of harmful gas in the current environment. OLED will display the detected data, and when the abnormal concentration of gas is detected, it will alarm the sound and light. 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-2烟雾监测模块方案选择

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

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

2.2.6 MQ-135有害气体监测模块方案选择

第三章硬件设计

3.1单片机最小系统

3.2 MQ-2烟雾监测模块电路

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

3.4 MQ-7CO监测模块电路

3.5 MQ-135 有害气体监测模块电路

3.6 LCD1602液晶显示模块电路

3.7 报警模块电路

3.8按键模块电路

3.9继电器控制电路

3.10 蓝牙模块电路

第四章软件设计

4.1编程软件介绍

4.2主程序流程设计

4.3按键函数流程设计

4.4显示函数流程设计

4.5处理函数流程设计

第五章 实物测试

5.1 实物总体设计

5.2 烟雾检测模块实物测试

5.3 煤气监测实物测试

5.4 CO监测实物测试

5.5 有害气体监测实物测试

5.6 蓝牙测控实物测试

第六章 结论

参考文献

致谢

附录

附录1:原理图

附录2:PCB

附录2:主程序

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

发表评论

后才能评论

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

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

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

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

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