摘要
针对空气质量监测问题,文章提出一种基于STM32的多参数环境监测系统。该系统用STM32F103作为主控芯片,并由温湿度传感器模块、PM_(2.5)模块、气体检测模块、数据显示模块、无线通信模块、云平台数据上传模块和手机端数据显示模块构成,基于I2C协议、串口传输、PWM脉冲捕获、模数转换等方法实现数据检测、处理及传输功能。试验结果表明,该系统能够准确检测空气中的温度、湿度、PM_(2.5)、一氧化碳、二氧化氮5种参数的变化数据,并将监测数据实时显示在检测终端、手机端和电脑端,具有实时监测多参数和远程监控的特点。
Aiming at the problem of air quality monitoring,in this paper,the author proposes a multi-parameter environmental monitoring system based on STM32.The system uses STM32F103 as the main control chip,and consists of temperature and humidity sensor module,PM_(2.5) module,gas detection module,data display module,wireless communication module,cloud platform data upload module and mobile phone data display module.Based on I2C protocol,serial port transmission,PWM pulse capture,analog-to-digital conversion and other methods,we can achieve data detection,processing and transmission functions.The test results show that the system can accurately detect the change data of temperature and humidity,PM_(2.5),carbon monoxide,nitrogen dioxide in the air,and display the monitoring data in real time on the detection terminal,mobile phone terminal and computer terminal.The system has the characteristics of real-time monitoring multi-parameter and remote monitoring.
作者
杨娜
Yang Na(Shangqiu Institute of Tecology,Shangqiu 476000,China)
出处
《无线互联科技》
2023年第5期70-72,76,共4页
Wireless Internet Technology
基金
2021年度河南省高等学校青年骨干教师培养计划项目,项目编号:2021GGJS192。