Font Size: a A A

Design And Implementation Of Wireless Gateway For Smart Home Based On STM32

Posted on:2018-09-20Degree:MasterType:Thesis
Country:ChinaCandidate:Z LiuFull Text:PDF
GTID:2322330512479956Subject:Industrial engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the economy and technology,people have higher requirements for their living standards.Smart home has been especially popular in industries and a focus of the market.A glare number of technology companies develop smart home products with great enthusiasm.Unfortunately,consumers are not willing to pay for them because of the over-the-top hype,unreasonable market positioning and expensive prices.In terms of the phenomenon,the thesis is targeted at the low and middle-end products in smart home industry.It aims to develop one system of simple and useful smart home control gateway with cheap prices thereby attracting ordinary people to buy and share these products.The gateway system has synthesized the technology of electric,computer and communication.The research will be divided into two parts: hardware and software.Eventually the goal of monitoring smart home environment will be realized.In view of hardware,the system of control gateway uses single chip microcomputer(SCM)as its hardware control system.Under the assistance of peripheral circuits for power supply,clock and EEPROM module as well as the communication technology of ZigBee and WiFi,the building of smart home gateway system will be completed.The SCM of gateway uses powerful and cheap STM32F103RCT6 based on Cortex?-M3 with ARM32 for task scheduling and intelligent control of home environment.ZigBee adopts the wireless communication module of the main chip,CC2530,which includes coordinator and terminal node.The terminal node including communication,sensors of temperature and humidity,light and smoke is responsible for packaging and sending the data.While the coordinator is responsible for repackaging and sending the data from the terminal node to main control module through serial port.As for WiFi,it adopts cheap and useful ESP8266 WiFi communication module consisting of STA,AP and STA/AP.Thus WiFi with the function of hot-linking and hot-sending will be responsible for the units of smart home control and outside communicating.As for software,the control gateway uses Keil and IAR as developmentenvironment and uC/OS-? operating system as operating environment.In addition,it adopts C programming language and little assembly language to jointly finish the control of software.As development environment,Keil and IAR can do additional program testing and burning to greatly reduce work load.uC/OS-? operating system is characterized by refining and functionality to make more reasonable use of hardware.Therefore,the cost will be reduced and mufti-task will be operated by control gateway system.Moreover,the function will be strengthened and the development speed will be improved when the functions and resources in Internet base are fully and reasonably used.The key of the smart home gateway system designed by the subject is to build a technology platform of smart home.It can collect and send the data of temperature,humidity,light intensity and smoke concentration in smart home.With the features of strong practicability and low cost,it is easy to upgrade the system when finishing the building of platform.However,the thesis is mainly to study the slave part of smart home.It chooses the assistance tool of Internet debugging to send and receive remote data.
Keywords/Search Tags:Smart home, STM32, ZigBee, CC2530, WiFi, ESP8266, uC/OS-?
PDF Full Text Request
Related items