Abstract:TI ZStack, a protocol stack up to ZigBee standard, focused on building low power, low rate wirelss sensor network(WSN). Aiming at it’s not direct access to the Internet, the application of HTTP protocal in ZStack is provided. Firstly, With the aid of the network chip ENC28J60, uIP protocal is ported to the ZStack providing the ZigBee easy access to the internet. Secondly, encapsulating the TCP client mode in the uIP protocol stack realizes the POST requirement in the HTTP protocal. JSON markup language widely used in the internet is adopted to transfer data to the PC datebase so the simple and effective communication is ensured. Finally, with the use of this program collecting temperature and humility and transfer the related data to backstage, and realize the realtime data curve drawing of temperature and humidity and displaying of ZigBee network topology.