The main aim of this An Energy-Efficient MAC Protocol for Wireless Sensor Networks project is to evaluate the energy consumption across the wireless sensor networks and in this context a S-MAC protocol is proposed across the simulation process. A simple mobile ad hoc network is created and the number of nodes is set to 15 and a single wireless LAN server is created for the simulation purpose using OPNET modeler.

AODV is used the routing protocol and two scenarios are created in this simulation process, where the first scenario is the normal MAC configuration and the actual proposed S-MAC protocol is implemented in the second scenario and the simulation is run for 5 minutes and the results are compared to analyze the performance of S-MAC against the energy efficiency. 

From the overall analysis of the results achieved after comparing the ordinary MAC and S-MAC it is clear that, the proposed S-MAC has optimized the energy consumption of all the sensor nodes and also improved the overall performance of the network in terms of FTP application and also the wireless LAN MAC parameters. There is negligible packet loss across the proposed S-MAC scenario and also equal amount of traffic is sent and received across the proposed S-MAC configuration.

S-MAC protocol makes the sensor nodes to be in either idle or sleep mode when there is no communication to be happen across the network and thus the overall performance of network is optimized in terms of energy consumption. Thus from all the results achieved and after the required analysis it can be concluded that S-MAC is always the best way to improve the energy efficiency across the wireless sensor networks.