Design on Smart Home Service Gateway based on IoT

In order to achieve remote and short-range control in smart home system and based on the concept of IoT(Internet of things),an embedded WEB server terminal is designed.It combines the wireless sensor networks based on Zigbee protocol and the Internet based on TCP/IP protocol.This system,with STM32F107 vc as MCU and through the serial port for the communication with WSN coordinator,and with a extended chip implements the connection to the Internet.The software design gives emphasis on realization of smare-home communication control system.Meanwhile uCOS-II is introduced for managing the system resources,and LwIP protocol stack is transplanted for realizing the basic TCP / IP functions.