一种基于RT-Thread的室内环境监测系统设计
Design of an Indoor Environment Monitoring System Based on RT-Thread
李楷文 1潘启勇1
作者信息
- 1. 苏州大学电子信息学院,江苏 苏州 215000;常熟理工学院电子信息工程学院,江苏 苏州 215500
- 折叠
摘要
为了提高传统环境监测系统多任务协调与实时性的水平,设计了一款以STM32F103ZET6 微控制器为核心的监测系统.该系统利用RT-Thread实时操作系统来进行多任务调度,实现温湿度、空气质量、光照强度等参数的采集,并通过窄带物联网上传至阿里云平台进行观测.经测试,监测温度误差不超过 0.5℃,空气质量误差小于 2%,检测时间低于 0.5秒,相较于传统监测系统实时性更好.
Abstract
In order to improve the level of multi-task coordination and real-time performance of traditional environmental monitoring system,this paper designs a monitoring system based on STM32F103ZET6 microcontroller.The system uses RT-Thread real-time operating system to perform multi-task scheduling,realizes the collection of temperature and humidity、air quality,light intensity and other parameters,and uploads it to Alibaba cloud platform for observation through narrowband Internet of Things.After testing,the monitoring temperature error is less than 0.5℃,the air quality error is less than 2%,and the detection time is less than 0.5 seconds,which is better real-time than the traditional monitoring system.
关键词
操作系统/RT-Thread/窄带物联网/阿里云/实时监测Key words
operating system/RT-Thread/NB-IoT/Alibaba cloud platform/real-time monitoring引用本文复制引用
出版年
2024