Figure 1 A wireless sensor network (WSN) of spatially distributed autonomous sensor to monitor physical and environmental condition, such as temperature, sound, pressure etc. and to cooperatively pass their data through the network to a main location. The more modem network are bi-directional , also enabling control of the sensor activity. The development of wireless sensor network was motivate by military application such as battlefield surveillance. Today such network are used in many industrial and consumer application, such as industrial process monitoring and control, machine health monitoring and so on. hundreds or even thousands, where each node is connected