Font Size: a A A

The Design And Research Of Smart Home Control System Based On STM32

Posted on:2019-03-11Degree:MasterType:Thesis
Country:ChinaCandidate:L J ZhuFull Text:PDF
GTID:2322330566466314Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
The intelligent home control system has now become the development trend of the modern home furnishing industry,as a product that can improve the quality of life of people and can provide convenience for people's living environment.It is increasingly favored by people.At present,there are various problems in this field,such as high cost,high complexity,inconsistent standards,single service,and there is a difference between the product and people's demand.In view of the above problems,a kind of intelligent home control system based on STM32F103 is designed in this paper.The main works are as follows:First of all,the paper has analyzed and introduced in detail the research background,research significance,research content,and research status of domestic and foreign smart home control systems.At the same time,the overall architecture of the system is designed from the perspective of economy,practical convenience,security,stability and comprehensiveness.It is mainly composed of four levels: the master control node,the terminal node,the PC terminal,and the mobile phone terminal.The master control node and the terminal node in the lower computer communicate through the ZigBee wireless network,the master control node and the host computer monitor interface use the TCP/IP protocol to carry out network communication,the master control node communicates with the mobile terminal through the serial port.The user can realize the operation and monitoring of the smart home control system through the PC and the mobile terminal.Secondly,according to the overall scheme and functional requirements of this article's system,the system-related hardware and software are designed.The main control center uses the STM32F103 microprocessor as the core processor,the real-time operation system of ?C/OS-III was ported to the major control chip and its kernel was optimized,at the same time,the data collected by the terminal node is displayed on the TFTLCD liquid crystal display in the form of any one of two kinds of Chinese-Tibetan languages.The terminal node adopts CC2530 chip as the core processor,which mainly realizes data acquisition function such as temperature and humidity,light intensity,smoke,body infrared,PM2.5 and so on.The PC terminal uses LabVIEW software as an integrated development environment to implement data display and data monitoring function.At the same time using Altium Designer software to complete the design of hardware circuit construction and the design of PCB board.In order to solve the problem that the system cannot be operated because of the failure of the PCB circuit,circuit fault diagnosis and fault prediction are performed,so that the maintenance cost can be further reduced and the cost can be saved.Among them,in the process of completing the PCB circuit fault diagnosis and prediction in the system,it mainly introduces the construction of experimental circuits,the basic settings of related parameters,the collection of circuit fault sample information,the extraction of fault data features,and the use of SVM for fault classification,at the same time,the experimental circuit is used to verify the established analog circuit model.The result shows that the prediction data obtained from the system can accurately reflect the use of components compared with the actual data.Finally,the smart home control system is tested and analyzed.The experimental results show that the control commands sent by the users on the PC and the mobile terminal can be correctly executed on the node.At the same time,the system has stable operation,simple structure,accurate measurement,high sensitivity,low cost and intuitive man-machine interface,which provides the possibility for the promotion of the smart home control system.
Keywords/Search Tags:smart home, STM32, ?C/OS-?, ZigBee, LabVIEW
PDF Full Text Request
Related items