一种随身空气环境监测系统的设计
一种随身空气环境监测系统的设计(论文19000字)
摘要:近年来,随着我国工业、制造业的快速崛起,由此产生的空气污染问题日益严重,PM2.5、API指数越来越成为热门词汇,生活水平的提高使得人们对空气质量问题的关注也更加密切。随着由空气污染所引起的呼吸系统疾病日益增多,大众越来越认识到空气质量问题的严重性,认识到空气质量检测问题的必要性。然而,当前空气质量监测主要以固定站点的空气检测为主,虽然具有一定的代表性,但是远远不能满足个人对空气质量检测的需要,如家庭空气检测、办公室空气检测、随身空气检测。个人具有移动性,就要求能够随身携带的空气检测设备,能够随时检测周围较小空间内的空气污染指数以及温湿度等指数。本文目的在于开发一种基于单片机的空气质量检测设备,能够随身携带,实时检测个人周围空气环境的必要指数,包括PM2.5、温度湿度数值以及有害气体警示等,同时能够连接手机等终端,在手机等终端上实时显示空气指数。能够弥补城市空气检测的广泛性等缺点,对城市空气质量检测起到补充作用。
关键词:单片机;温湿度;PM2.5;粉尘浓度;手机APP
Design of a portable air environment monitoring system
Abstract:In recent years, with the rapid rise of industry and manufacturing industry in China, the problem of air pollution is becoming more and more serious. The PM2.5 and API index become more and more popular. The improvement of the living standard makes people pay more attention to the air quality problem. With the increasing number of respiratory diseases caused by air pollution, the public has become more and more aware of the seriousness of air quality problems and the necessity of air quality testing. However, the current air quality monitoring is mainly based on the air inspection of fixed sites. Although it has certain representation, it cannot meet the needs of individual air quality testing, such as home air inspection, office air inspection, and carry air inspection. With the mobility of the individual, the air testing equipment that can be carried around is required to detect the index of air pollution and temperature and humidity at any time in the smaller space around it. The purpose of this article is to develop a kind of air quality detection equipment based on single chip microcomputer, which can carry and detect the necessary index of the ambient air around the individual, including PM2.5, temperature and humidity value and harmful gas warning, and can also connect the terminal of mobile phone and so on, and display the air index in real time on the terminal of the mobile phone. It can make up for the shortcomings of universality of urban air detection, and play a supplementary role in the detection of urban air quality. [资料来源:http://doc163.com]
Key words:Single chip microcomputer;Temperature and humidity; PM2.5;Dust concentration; Mobile phone APP.
[来源:http://www.doc163.com]
目录
1绪论 1
1.1研究背景 1
1.2随身空气环境监测系统选题的现实意义 2
1.3国内外研究状况以及发展 2
1.3.1空气质量检测因素 2
1.3.2国内外监测PM2.5主要方法 3
1.3.3空气监测系统存在的主要问题 3
1.4随身空气环境监测系统的主要研究内容 4
1.5系统的发展前景 4
1.6本章小结 4
2 随身空气环境检测系统的总体设计 4
2.1 功能设计 4
2.2 设计指标 5
2.3 系统组成以及工作原理 5
2.4本章小结 6
3 系统硬件电路设计 6 [资料来源:www.doc163.com]
3.1 单片机模块 6
3.1.1 单片机概述 6
3.1.2 STM32F103RCT6单片机主要引脚、性能 6
3.1.3 单片机最小系统的设计 7
3.2 温湿度检测模块 8
3.2.1 模块介绍 8
3.2.2 引脚介绍 8
3.2.3 总线协议及模块连接 9
3.3 PM2.5监测模块 10
3.3.1 模块介绍 10
3.3.2 ZPH01传感器检测原理 11
3.3.3 ZPH01引脚定义 12
3.3.4 ZPH01空气粉尘传感器模块输出 12
3.3.5模块连接 13
3.4有害气体检测模块 14
3.4.1模块介绍 14
3.4.2 检测原理 14
3.4.3模块连接 15
3.5通信模块 16
3.5.1通信模块选型 16
3.5.2蓝牙模块介绍 16
3.5.3蓝牙模块的配置 17 [资料来源:http://www.doc163.com]
3.5.4模块连接 17
3.6本章小结 17
4系统软件设计 17
4.1单片机开发环境keil 18
4.2 单片机程序设计 19
4.2.1主程序设计 19
4.2.2 SHT20温湿度传感器模块初始化子程序设计 20
4.2.3 ZPH01粉尘浓度传感器模块子程序设计 21
4.2.4 MQ135空气质量传感器模块子程序设计 21
4.3 手机app设计 22
4.3.1 开环环境Eclipse介绍 22
4.3.2 APP图形用户界面设计 23
4.3.3 程序设计 24
4.4本章小结 27
5系统调试 27
5.1 硬件调试 27
5.2 软件调试 28
5.3 误差分析 29
5.4同类产品比较 31
6 结论 31
6.1 论文总结 31
6.2 展望 31
参考文献 33
致谢 34
[资料来源:http://Doc163.com]