Font Size: a A A

The Design And Implementation Of Home Environment Monitoring System Based On STM32

Posted on:2019-09-25Degree:MasterType:Thesis
Country:ChinaCandidate:S M HuangFull Text:PDF
GTID:2428330545483981Subject:Electronic science and technology circuits and systems
Abstract/Summary:PDF Full Text Request
The home is the harbor where people live.No matter where they are,everyone keeps their thoughts at home.Having a comfortable home environment is also a topic of concern in everybody's life.In the era of rapid development of science and technology,the concept of smart home has been a hot topic of research and discussion since it was proposed.As a basic part of the smart home,the home environment monitoring system plays a huge role in real-time monitoring of home security and enhancing people's life experience.Currently,there are many defects in the home environment monitoring systems on the market,such as high deployment complexity,weak real-time monitoring capabilities,and poor alertness of dangerous conditions.Aiming at these disadvantages,this thesis designs a home environment monitoring system based on STM32.In the design,the embedded development platform is equipped with sensors to monitor data,combined with the ease of operation and scalability of the embedded platform to reduce the deployment complexity of the system;the use of Wi-Fi wireless transmission technology with the cloud server makes the data transmission rate increase,and finally The real-time display of data on the Android terminal enhances the real-time monitoring capability of the system.The Wi-Fi module and the Apache Web server on the cloud server complete the SMS alarm function,improving the system's ability to handle environmental hazardous conditions.In the implementation of the system,the first part is the data acquisition part based on the STM32F103ZET6 development platform.This part is equipped with AM2301 temperature and humidity sensor,MQ-2 smoke sensor,MQ-4 natural gas sensor and VC0706 visitor image acquisition camera complete the collection of home environment data.The collected data is sent to the cloud server using the Wi-Fi module,and equipped with OV7725 camera instead of peephole,get outside real-time monitoring video on the LCD screen;secondly,Tencent Cloud Server is purchased,and the upper computer software and the Apache Web server are deployed on the cloud server.The upper computer is used to complete Wi-Fi send data acquisition and save,Apache server is used to monitor and process Android terminal APP request,and when the indoor environment emerges dangerous(smoke concentration exceeded,natural gas leak),receive Wi-Fi module sends an alarm message request,and then through the SMS gateway The technology sends an alarm message to the user's mobile phone.Finally,an APP is developed and designed on the Android platform.The APP establishes a connection with the server through the HTTP protocol,and sends a request to obtain the home environment monitoring data stored on the server and displays it for the user to view.The real-time status of the home environment.At the end of this thesis,the entire system is tested,the data monitoring part can monitor the data in real time,and can accurately report when there is a danger;the Wi-Fi module can establish a stable connection with the server,and the server can receive data correctly.Processing;Android terminal APP can obtain real-time monitoring data from the server's home environment.During the test,the system was stable and the data monitoring was accurate,achieving the expected design goals.
Keywords/Search Tags:Home Environment Monitoring, Embedded System, Wi-Fi, Cloud Server, Android
PDF Full Text Request
Related items