Font Size: a A A

Research And Design Of Smart Home Control System Based On WiFi And Bluetooth 5.0

Posted on:2021-01-22Degree:MasterType:Thesis
Country:ChinaCandidate:C Y BaoFull Text:PDF
GTID:2392330614970359Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of Internet of things and Internet technology,5g communication era is coming,smart home is rising in China,and people's daily life is becoming more convenient and intelligent.However,at present,the mainstream sales products in the domestic market are still their own system and lack of unified standards of intelligent single products,rather than a complete intelligent home control system.There are still various deficiencies in the existing home control system,such as a single communication mode,lack of data security,etc.,so in view of these problems,research and development of a set of intelligent home with multiple communication modes The system is very necessary.Based on embedded hardware design,Wi Fi communication,Bluetooth communication,Android development and other technologies,this paper designs a smart home control system combining Wi Fi and Bluetooth 5.0,completes the development of communication protocol of home equipment based on two communication modes and the development of Android client software,designs a smart curtain control system,and tests the performance of the whole system.The main work and achievements of this paper are as follows:(1)Based on the requirement analysis of smart home gateway,the overall framework design of smart home system is completed.Its main structure consists of four parts: CPU of main controller,Wi Fi communication module,Bluetooth 5.0 communication module and Android client software.The architecture design has the characteristics of centralization and modularization,which helps the system achieve the goal of centralized control logic,clear data flow boundary and clear hardware distribution.(2)Using the idea of modular design,the hardware and software design of the intelligent home control system are completed.In the aspect of STM32 programming,the main control logic program of the system is developed,including data transmission and data protocol analysis with two communication modules,sensor control,etc.The software of Wi Fi communication module adopts serial port RS232 transmission scheme to realize data transmission and control protocol analysis.The Bluetooth 5.0 communication module adopts ti-rtos protocol stack programming mode,compiles Bluetooth broadcast embedded software and burns it to the Bluetooth chip,realizes the Bluetooth data receiving and sending with the smart phone,and the communication protocol encoding and decoding with the IO port of the main control chip.The smartphone client software is developed based on Android operating system.Its main function is to display the device status and send protocol instructions to control the home devices.(3)The experimental tests of the system are completed.The intelligent curtain machine system is designed according to the existing requirements,and the control function test experiment of mobile phone is carried out according to the specified control logic.The performance test of other modules of the intelligent home control system is completed to verify the feasibility of the scheme.The experimental results show that the smart home control system can achieve two different communication methods from the client to the device effective control,the status of the device can also be displayed in the client interface through two different communication methods,at the same time,the sensor or device can execute the specified communication protocol command.This system has the advantages of certain functionality,convenient operation,transmission path security and so on.Compared with the existing scheme,it has a higher control success rate,and has a certain practical value and development prospects.
Keywords/Search Tags:WiFi, Bluetooth 5, Smart home, Control system, Android
PDF Full Text Request
Related items