Raspberry pie,a light-weight computer is interfaced with Xbee wireless communication board to act as a gateway for 802.15.4 base wireless sensor network.