Visible light communication (VLC) is the branch of optical wireless communi-cations that uses light-emitting diodes for the dual purpose of illumination and very-high-speed data communication. The main motivation behind the current work is finding alternatives to the saturated radio frequency spectrum, radio frequency security issue, and vulnerability to interferences. The current work is aimed at developing a module for the physical layer of a VLC-based ad hoc network in network simulation 3. The VLC physical layer module is developed by using the optical signal modules available in the network simulator.The work also includes modelling of VLC-based transmitter, wireless optical channel, and the optical receiver. Furthermore, the implementation and evaluation of the VLC-based physical layer is carried out over a typical ad hoc network under different performance metrics. The designed ad hoc network is also tested under Wi-Fi module followed by its comparison with corresponding ad hoc network under VLC module. The comparison is based on bit error rate curves, system throughput, and gain in received signal-to-noise ratio mainly.Finally, the suitability of different modulation schemes is also investigated in the current work for both Wi-Fi-and VLC-based ad hoc networks. KEYWORDS ad hoc networks, bit error rate (BER), Li-Fi, modulation SCHEMES, network simulator, NS3, OOK, PAM, PHY layer, throughput, visible light communication (VLC), VPPM, 5G mobile communication
| INTRODUCTIONIn the past decade, there has been a drastic increase in the demand for high-speed data communication services (cellular networks, smart TVs, cloud-based computing, high-definition video calling, and live streaming). The existing radio frequency (RF) wireless technologies have been the forefront of telecommunication, revolutionizing the voice and data communication. 1 However, because of saturation of RF spectrum, security issues, vulnerability to interferences, and hazards of RF, low-cost and reliable technologies are required to provide efficient data communication. The discovery and growing use of light-emitting diodes (LEDs) have boosted the research in visible light communication (VLC) technology. 2 Visible light communication is becoming an emerging green technology aimed to providing high data rates for short-range communication and easy deployment in hospitals, planes, and areas where traditional RF systems are less preferred. 3 The VLC salient features include license and interference-free spectrum (430THz-790THz), extremely large bandwidth, inherent security, compatibility with existing technologies, and high efficiency for positioning purposes due to its line-of-sight (LoS) feature. 4