董威+董凡+王明华+高超+姚智韧



DOI:10.16644/j.cnki.cn33-1094/tp.2016.02.003
摘 要: 针对当前环境污染严重,构建了一个以yeelink物联网为云服务平台,Arduino为核心控制板,DSM501A为传感器的实时监测系统。利用Arduino对DSM501A粉尘传感器的控制,将采集的数据进行处理,通过串口上传至yeelink云平台,便于实时、异地监控和长时间的数据分析,实现了实时空气质量综合评估,是一种低成本、多功能、实时化和远程化的污染物监测方案。
关键词: 云平台; Arduino控制板; 粉尘传感器; 实时远程监测
中图分类号:TP702 文献标志码:A 文章编号:1006-8228(2016)02-08-03
Design of PM2.5 pollutant monitoring system based on cloud platform
Dong Wei, Dong Fan, Wang Minghua, Gao Chao, Yao Zhiren
(School of Mathematics &Computer Science, Hubei University of Arts and Sciences, Xiangyang, Hubei 441053, China)
Abstract: In view of the current serious environmental pollution, a real-time monitoring system is constructed, which uses yeelink as cloud service platform, Arduino as the core control board, and DSM501A as the sensor. Arduino is used to control DSM501A dust sensor, process the data collected and upload it to yeelink cloud platform through the serial port, so as to complete the real-time monitoring and long-time data analysis, realize the real-time air quality comprehensive evaluation.This is a kind of low cost, multifunction, real-time and remote pollutant monitoring scheme.
Key words: cloud platform; Arduino control board; dust sensor; real-time and remote monitoring
0 引言
科技进步,生活节奏加快,社会工业化的步伐越来越急,我们生活的环境也遭到严重破坏。最直观的感受是蓝天不是那么蓝了。有研究表明,大气中PM 2.5[1]每升高10μg/m3,人群呼吸系统疾病的死亡率从2.1%增加到3.75%[2]。本文主要介绍利用现有云平台搭建一个pm2.5污染物实时监测系统的设计思路。
1 系统设计
系统原理图如图1所示。用于采集环境颗粒物的DSM501A灰尘传感器将采集到的信息发送给Arduino(mega328p)输入端,DSM501A输出的是PWM脉宽调制信号。Arduino可以完成对采集到数据的处理,可以通过串口在PC上收集,但是无法上传至网络,所以使用yeelink提供的串口工具进行数据上传,在yeelink平台上进行相应的配置后就可以在yeelink网站上远程,异地,实时地查看传感器数据,对空气中pm2.5进行监测。
[灰尘传感器DSM501A][Arduino(mega328p)][PC][Yeelink串口工具][Yeelink平台]
图1 系统原理图
1.1 硬件设计
1.1.1 Arduino控制板
控制板采用Arduino平台,它是一个开放源代码的硬件项目平台,核心器件是一块AVR ATmege328微控制器。该平台包括一块具备简单I/O功能的电路板及一套程序开发环境软件。……