With the coming of "Internet+" era, the way to make life more comfortable, convenient and efficient has attracted more and more people’s attention, thus increasing the requirements for smart home. This thesis designs a smart home system upon mobile devices, which are used as a control way, by combining current situation and significance of smart home, and analyzing the domestic and foreign related programs.This thesis first designs the entire smart home system with practicality, cost efficiency, and energy saving. It has chosen and combined the two technologies of Wi-Fi and ZigBee, which breaks limits in functions of the single wireless communication tools, and has used Android mobile phone as a control terminal. And then it explains the key technologies what are involved in the system in detail including smart routing, home intranet, smart mobile terminal and server. It designed and then transformed it into reality.Smart routing consists of RT5350 chip and OpenWrt System based on Linux. Aiming at functions required by the smart home system, we realize management of Web pages, Wi-Fi wireless, Wi-Fi serial port and server video surveillance function by modifying, configuring and compiling OpenWrt source code. Home intranet uses ZigBee modules to construct the wireless sensor network, which has strong networking and anti-jamming capabilities. ZigBee coordinator connects internal and external network, executes control-commands and feedbacks information by adopting custom serial port control protocol to communicate with Wi-Fi network of smart routing. Smart mobile terminal based on Google’s Android operating system implements the client-side program, including security login, hardware control, video monitoring. What’s more, in order to meet the requirements of households, Tomcat server which is built manages user, control and storage equipment data state, and gives the implementation scheme of the remote control.After test of the system, user can manage the smart home system designed by this thesis via android phone. The system can monitor indoor state and control home equipment, which is convenient to be operated and popularized. |