总字数:16000+

摘要

随之科技水平的提高,人们的生活水平也得到提高,然而在人们的生活环境中存在很多危害人们身体健康的因素,在室内,当前很多家居质量不过关,导致其内部的甲醛含量超标,家居环境中煤气泄漏是十分危险的事情有可能会引起或者甚至危及住户生命。智能家居系统设计煤气检测模块使一旦发现煤气泄漏事件立即报警,通知用户立即采取有效措施来排除危险。此次设计为了解决这个问题,设计一款空气质量检测系统,该系统分为软件设计和硬件设计,硬件设计包括:MQ-5检测当前环境中的天然气或者煤气泄漏浓度,MS1100检测环境中的甲醛浓度,OLED将检测的数据进行显示,当检测到气体的浓度异常时,进行声光报警,并控制风扇和净化器的工作,使得空气中的环境处于正常的范围,蓝牙监测模块,将监测的数据传输到用户手机上,用户也可以通过手机远程控制通风或者净化器的工作,及其控制模式的切换,此次设计可以解决当前用户由于不及时了解当前环境中的空气参数进行实时监测,导致人们的生命安全和财产安全受到损失。

关键词:单片机;煤气;甲醛;通风;净化器;蓝牙

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 harm people’s health, in the indoor, the current quality of many homes is not up to standard, leading to its internal formaldehyde content exceeds the standard, gas leakage in the home environment is a very dangerous thing may cause or even endanger the life of the household. Smart home system design of gas detection module once found gas leakage event alarm immediately, inform the user to take effective measures immediately to eliminate the danger. This design in order to solve this problem, design an air quality detection system, the system is divided into software design and hardware design, hardware design includes: MQ-5 detects the concentration of natural gas or gas leakage in the current environment, and MS1100 detects the concentration of formaldehyde in the environment. OLED will display the detected data. When abnormal gas concentration is detected, sound and light alarm will be carried out, and the fan and purifier will be controlled to make the environment in the air within the normal range. The monitoring data is transmitted to the user’s mobile phone, and the user can also remotely control the work of the ventilation or purifier and the switch of the control mode through the mobile phone. This design can solve the problem that the current user does not timely understand the air parameters in the current environment for real-time monitoring, resulting in the loss of people’s life and property safety.

Keywords:MCU; Gas; Formaldehyde; 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.3 甲醛检测模块方案选择

第三章硬件设计

3.1单片机最小系统

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

3.3 甲醛检测模块电路

3.4 OLED液晶显示模块电路

3.5 报警模块电路

3.6 按键模块电路

3.7 继电器控制电路

3.8 蓝牙模块电路

第四章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 LCD1602液晶显示子流程

4.5 蓝牙模块子流程

第五章 实物测试

5.1 实物总体设计

5.2 天然气检测模块实物测试

5.3 甲醛气体监测实物测试

5.4 蓝牙测控实物测试

第六章 结论

参考文献

致谢

附录

附录1:原理图

附录2:PCB

附录3:主程序

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

发表评论

后才能评论

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

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

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

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

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