| When it comes to their own habitat,houses,people are getting choosy.A practical,userfriendly and reliable smart home system is growing on people.Smart home using wireless communication technology enjoys the following features: convenient network forming,easy expansibility,flexibility,no complicated wiring,no worn circuit,and easy maintenance,which greatly outshine traditional home.ZigBee communication protocol is not only a safe and reliable option but also has advantages regarding to self-organized network,cost,energy consumption,network node capacity,etc.Thus,ZigBee technology suits smart home system perfectly.The paper uses CC2530 from the American Texas Instruments as the main controller for ZigBee devices;by using Z-Stack protocol stack completed the ZigBee coordinator,the router,the specific function of end devices implementation.In order to fit the real life even better,we created the ZigBee tree topology.ZigBee wireless technology has already achieve automation in lighting control,temperature monitoring,light intensity monitoring,gas monitoring,electricity control,even in electric curtain and Infrared burglar prevention.The embedded Linux development is good at hardware and software tailoring,plus its strong hardware and software support capability,which provides development with quite a lot of flexibility.Our smart home system gateway is using the Samsung ARM9 as the main control unit of production.Base on this hardware platform,we complete the transplantation of the embedded Linux operating system.Additionally,the system is connected to the Internet through application of wireless WiFi module and LAN routers.At the same time,we ported the MJPG-streamer video server from the system gateway,which means the real-time video monitoring of home is possible with the use of a USB camera.There are three main components of this system,ZigBee wireless communication network,smart home system ARM9 gateway and Android client terminal.ZigBee wireless communications network that connects all sorts of different types of household equipment,through a variety of different types of sensor module that provides the real-time monitoring of the household environment.The ARM9 gateway is bridge between a ZigBee wireless network and the Internet.Only by accessing to the Internet,the ZigBee wireless network is able to go beyond a small family environment.The ARM9 gateway of the smart home system and the ZigBee coordinator use serial ports to communicate,it communicates with the Android client through Wi Fi or mobile networks.This leads to the communication loop between the Android phone and ZigBee’s wireless communication network,which in turn makes the monitoring and control of the home environment though Android phones possible. |