For the past decade, there has been rapid development and advancement in the communication and sensor technologies that results in the growth of a new, attractive and challenging research area – the wireless sensor network (WSN). A WSN, which typically consists of a large number of wireless sensor nodes formed in a network fashion, is deployed in environmental fields to serve various sensing and actuating applications.