| With the continuous improvement of people’s living standards,the progress of science and technology,high-tech intelligence equipment constantly into people daily life.In this rapidly changing society,people’s lives have brought a lot of convenience,but are also given brought a lot of security risks.In recent years,with the development of Internet of things technology,to solve these problems and meet the needs of everyone to provide a technical basis.In this paper,based on the analysis of the current situation of the development of smart home at home and abroad,designed a kind of intelligent home control system based on wireless sensor network,point for analysis of technology,cost and demand.The disadvantages of poor portability,difficult maintenance and high cost are solved.According to the function,the system is divided into three layers:the application layer,network layer and physical layer.The application layer describes the design of the server and browser interface.A brief description of the MySQL database and web server design,the user can use the browser to access the database query or control the environment parameters in Home Furnishing;The network layer designed of the core controller and the WiFi wireless communication.The hardware and software design of the core controller and the related peripheral modules are discussed in detail,and the WiFi module is introduced in detail.The physical layer consists of various detection and execution modules.The sensor and the execution module are the most front end equipment of the intelligent home system.The data collection and control command in the smart home are realized through the physical layer.This paper expounds the design of hardware circuit,the core controller and several terminal nodes including:DM9000 circuit,WiFi display circuit,wireless circuit,alarm circuit,temperature detection circuit,fire detection circuit,a light control circuit,infrared air conditioner control circuit and power supply circuit etc..The construction of embedded software platform is discussed in detail.By using the method of modular programming,the temperature sampling subroutine,infrared control subroutine and wireless WiFi communication subroutine are designed.Finally,the paper tests the browser access interface and infrared air conditioning control module.According to the test results,the WIFI wireless communication network is convenient,the nodes can be arbitrarily cut or increased,no wiring,and the ability of WIFI through the wall is low,and the packet loss rate is low.Therefore,wireless WIFI as a smart home communication mode is fully capable of being able to replace wired communication.Browser access interface is simple and convenient operation,the user only needs to have a network of computers or smart phones can access the system to quickly understand the situation at home or control the execution of the module. |