摘要
设计了一种基于STM32F103C8T6单片机的室内有害气体云端监测系统。硬件部分包括环境参数感知单元、报警与控制单元、无线数据传输单元;软件部分包括云服务器设计,数据库交互,监测界面设计。硬件部分采用ESP8266的透传模式进行wifi传输,并使用Json打包技术保证数据的准确性和完整性。云服务器端使用jsonToBean对json包进行解析,并使用Springboot和mybatis框架对接收数据进行控制和处理,前端采用http协议和thymeleaf模板实时展示数据库存储的数据。
A cloud monitoring system for indoor hazardous gases based on STM32F103C8T6 microcontroller is designed.The hardware part includes the environmental parameter perception unit,the alarm and control unit,the wireless data transmission unit,and the software part includes the cloud server design,the database interaction,and the monitoring interface design.The hardware portion uses ESP8266's transmission mode for wifi transmission and uses Json packaging technology to ensure the accuracy and completeness of the data.The cloud server uses json-ToBean to parse the json package,controling and processing the receiving data using the Springboot and mybatis frameworks,with the front end using http protocols and thymeleaf templates to present the data stored in the database in real time.
作者
吕斌
孙玉国
LV Bin;SUN Yu-guo(School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093)
出处
《软件》
2019年第12期158-162,共5页
Software
关键词
有害气体检测
无线数据传输
云服务器
数据库
Harmful gas detection
Wireless data transmission
Cloud servers
Database