Due to advances in low-power wireless communications, low-power analog and digital electronics, the development of low-cost and low-power sensor nodes that are small in size has received increasing attention. Sensor nodes have the ability to sense the environment nearby, perform simple computations and communicate in a small region. Although their capacities are limited, combining these small sensors in large numbers provides a new technological platform, called Wireless Sensor Networks (WSNs).