| Once upon a time,smart home was just an unreachable concept,but with the development of science and technology and the improvement of people's living standards,smart home developed rapidly and gradually penetrated into people's lives.As a new industry,the Internet of things is one of the commanding heights of the new round of economic and technological competition in the world.Its scale will far exceed that of Internet and mobile Internet,and it will play an important role in the development of China's national economy.This paper studies and analyzes the smart home at home and abroad.According to the characteristics of Wi Fi wireless communication,such as no wiring,convenient communication,wide range of use,and combined with people's daily needs,a smart home design based on Wi Fi wireless communication is made.The design includes four parts,infrared detection of the entrance,light collection of the living room,combustible gas detection of the kitchen,temperature and humidity monitoring of the master bedroom.In this paper,the design of temperature and humidity monitoring is explained in detail,and other links are similar to it,which will be detailed in the future research.First of all,this paper introduces the basic smart home,respectively expounds and compares the current situation of smart home at home and abroad.Secondly,the characteristics of smart home are explained,reflecting the advantages and inevitability of smart home.Thirdly,the design of temperature and humidity monitoring is described in detail from the whole,hardware and software.The function of temperature and humidity detection design is that the terminal is responsible for collecting field data and operating the field;the control terminal(mobile phone or computer and other equipment)to view the collected data and issue commands.In order to connect the terminal and the control terminal,the design of the server is added.The data of the terminal is transmitted to the server,which in turn transmits the data to the control end.In this way,the monitoring and control of the control end will not be limited to the local area network,but can be realized anywhere.The control chip used in this design is STC12C5A60S2,which is used to control Wi Fi module,relay module and temperature and humidity sensor.The control terminal logs in the web page tomonitor and issue commands.After experimental verification,this design can achieve the expected goal and achieve the function.It is also a design with strong implementation,strong operability and easy to understand. |