This paper provides a study of how to design and implement Wireless Sensor Network (WSN) in NS2 (Network Simulator version 2).A wireless sensor network (WSN) consists of a number of sensors which are spatially distributed and are capable of computing, communicating and sensing.NS2 is an event-driven simulation tool that is useful in studying the dynamic nature of computer networks.NS2 provides users with executable command ns which take on input argument, which is the name of a Tool Command Language (TCL) simulation scripting file. Network Animator (NAM) is a TCL based animation tool for viewing network simulation traces and real world packet traces. Scripting languages such as AWK (Aho Weinberger Kernighan) script and PERL script can be used to calculate the performance metrics using these trace files. A simple simulation consisting of 17 nodes and calculation of average end-to-end delay and average energy consumption is shown.
Wireless Sensor Network (WSN) has gained popularity in diverse application fields owing to the inexpensive sensor nodes also called as motes. These sensor nodes are either deployed randomly or placed manually depending on the type of applications. The services of WSN are tremendously being used in application areas such as disaster relief, search and rescue, target tracking, battlefield and many more. Due to the application of WSN in such environments, it is not possible to manually deploy sensor nodes and therefore, the nodes are randomly deployed in the area of interest. Due to the random placement of the sensor nodes, it becomes essential to determine the location of the nodes in order to facilitate communication between nodes as well as Base Station (BS). Further, in case of random node deployment, the usual practice is to deploy a very large number of nodes (more than that of the requirement) in the area of interest. This is done in order to achieve fault tolerance, thus opening a large number of research directions to determine the optimal number of nodes participating in WSN 'covering' problem. This paper deals with an insight on the various localization and coverage techniques used in WSN. Further this paper tries to establish the interdependence between the localization and covering techniques.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.