A wireless sensor network consists of spatially distributed sensor nodes that monitor physical conditions and communicate wirelessly. Nodes sense data, process it, and transmit it to other nodes or a central gateway. The gateway provides a connection to the wired world to collect, process, analyze and present measurement data. Routers can extend the communication range between nodes and the gateway. Sensor nodes are small, require little power, are programmable and cost-effective to purchase and maintain.