Font Size: a A A

Design Of Indoor Environment Monitoring System Based On RT-Thread

Posted on:2022-05-10Degree:MasterType:Thesis
Country:ChinaCandidate:X F ZhangFull Text:PDF
GTID:2492306491952199Subject:Automation Technology
Abstract/Summary:PDF Full Text Request
In order to create a healthy and good home environment more conveniently,this system studies an indoor environment monitoring system based on RT-Thread embedded system,which can monitor the environment remotely,including temperature and humidity,light intensity,CO2,formaldehyde,volatile organic compounds,PM2.5,PM10 and other environmental factors.It can better monitor the living environment.The paper describes the hardware and software design of the monitoring system,covering detailed functional exploration of each module.The system consists of several independent sensor acquisition modules,WIFI communication module with the development board,LCD display module,and the Internet of Things platform.Sensor collection mainly consists of temperature and humidity sensor module for temperature and humidity data monitoring,and light intensity sensor module for light intensity data collection.Both of them complete data transmission through IIC communication mode,and also includes air quality sensor module connected by UART serial port communication protocol,which mainly implements indoor environment data collection.Data collection is completed after data collection.The data is transmitted to the MCU module through serial communication,and finally all the sensors send the collected information to the STM32F103 microprocessor on the development board.Then,it sends to the server reaching the Internet of Things platform through the WIFI communication module,completes the user’s reception at the remote end,and realizes the intelligent environment monitoring.Using Keil MDK software the development environment is developed and burned.MDK_ARM software provides a device integrated development environment based on Cortex-M3,which provides rich and powerful functions.The transplantation of embedded RT-Thread kernel is mainly completed by Keil software.The design of embedded programs requires creating threads,handling various work tasks,completing initialization,placing them in the starting work queue,and implementing the overall routine of program design.Program routines can be effectively supported on the development board,LCD display sensor collects information,key input and user interaction,to achieve the functional effect of each LCD interface display.This system uses the free and efficient One NET Internet of Things platform developed by China Mobile IOT Co.,Ltd.The Internet of Things platform can connect to the Internet of Things server through a variety of network transmission protocols,which greatly facilitates the fast and effective connection between devices connected to wireless networks and the platform,and also provides efficient and convenient services such as data storage,viewing and analysis.Through the debugging of system hardware and the integration test of software and hardware and function test,the basic design requirements have been completed.After the system is powered on successfully,the function debugging of hardware is carried out to make the system run normally,and after no failure,the integrated test of embedded software and hardware is carried out,the interface communication between the unit and the unit is realized,and the overall test of the system is finally carried out,which mainly involves the functions of monitoring,display and storage that meet the design requirements,especially when the environment changes,the system can be timely displayed on LCD screen and feed back to the background of the Internet of Things at the same time.After testing the process of the whole system,the basic functional requirements are met,no obvious BUG appears,and the aesthetics can be adjusted.The data is stored on a cloud server,where you can connect to the network anytime,anywhere,and view the results of data transfer on the One NET open platform for the Internet of Things.After a series of system tests,this system basically meets the needs of indoor environment monitoring and achieves the purpose of this design,followed by further system optimization and upgrade.
Keywords/Search Tags:environmental monitoring, RT-Thread, Internet of things platform
PDF Full Text Request
Related items