摘要PM2.5是近年来备受公众瞩目的一项环境指标,“雾霾”是它的另一个名字。相对应的,人们对PM2.5的关注也在提高,个人如何检测PM2.5成为大家关心的问题。而基于无线通讯技术的PM2.5检测系统应运而生。46433
课题针对小面积室内环境的PM2.5检测,具有实时检测颗粒度的功能,并在浓度过高时预警。课题首先搭建系统硬件平台:由夏普gp2y1010au灰尘传感器、Arduino Uno开发板和HC-06蓝牙模块构成。在此基础上熟悉通信协议,并在Android Studio和Arduino IDE平台下开发软件,实现实时检测及预警功能。
课题完成成品具有成本小、结构简单、拓展性强的特点,经过测试验证,实现预设工作要求,满足毕设要求。
毕业论文关键词:细颗粒物;安卓;蓝牙;Arduino
ABSTRACT
PM2.5 is an environmental indicator which takes the public much attention in recent years, or you call its another name "haze". Correspondingly, attention to PM2.5 is also increasing. How to detect PM2.5 inpidually puzzles all. Then the PM2.5 detection system based on wireless communication technology came into being.
This object is designed for detecting PM2.5 in small space,for example:bedroom or office.It has two capabilities.On the one hand,it can detect graininess constantly.On the other hand,when the graininess is over the limit,it sends warnings to people.The main hardware system includes the Sharp gp2y1010au dust sensors, Arduino Uno board and HC-06 Bluetooth module. After understanding all the communication protocols based on the hardware,I develop the system with Android Studio and Arduino IDE.
Compared to market popular products, this product is cheaper,also it is more simple in structure.Last but not least, its scalability is excellent.After testing,it can meet the requirement both in work and study.
Keywords: PM2.5; Android; Bluetooth; Arduino
目录
第一章绪论 1
1.1PM2.5课题背景及意义 1
1.2国内外发展现状 1
1.3课题的研究内容 2
第二章系统及开发平台 3
2.1系统综述 3
2.2开发平台 4
2.2.1软件开发平台Android 4
2.2.2硬件开发平台Arduino IDE 6
2.3本章小结 6
第三章系统硬件架构设计 7
3.1系统硬件 7
3.1.1传感器模块 7
3.1.2Arduino Uno模块 8
3.1.3蓝牙模块HC-06 10
3.1.4Android设备 11
3.2各模块数据传输通信协议 11
3.2.1 Arduino数据传输及IIC协议 12
3.2.2串口协议 13
3.2.3蓝牙通讯协议 14
3.3本章小结 16
第四章系统软件框架设计 17
4.1Arduino IDE的基本使用 17
4.1.1PM2.5传感器的软件设计 18
4.1.2蓝牙模块软件设计 19
4.2Android Studio编程设计 20
4.3本章总结 26
第五章系统各版块调试以及总体联调 27
5.1PM2.5传感器调试 27
5.2蓝牙模块调试 30
5.3系统总体联调 32
5.4本章小结 35
结束语 36
总结 36
展望 36
致 谢 37
参考文献 38
第一章绪论
1.1PM2.5课题背景及意义
智能家居有别于传统家电,是“带在身边的家居”,是一种新型的,硬件与软件高度结合的家居设备,它可以应用在各个生活家居上,例如中央空调、蓝牙音响、安全监控等。智能家居是建立在网路技术、自动控制技术以及计算机技术的基础上,连接家居设备使其协调工作,实现家居生活的智能化管理[12]。 Arduino基于即时通讯技术PM2.5检测系统设计:http://www.youerw.com/tongxin/lunwen_48142.html