Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Research on the Application of Visible Light

Communication in IoT System Configuration


Do Viet Phuong Hoang Nam Nguyen
Department of Automation Department of Automation
Hanoi University of Science and Technology (HUST) Hanoi University of Science and Technology (HUST)
Hanoi, Vietnam Hanoi, Vietnam
nam.nguyenhoang@hust.edu.vn

Abstract – The growing need for seamless connectivity in the The VLC system will reduce the cost of setting up a wireless
Internet of Things (IoT) paradigm has fueled the development communication system like traditional methods as well as
of innovative technologies. This research deeply focuses on the overcome the limitations that RF is facing.
integration of Visible Light Communications (VLC) to redefine
IoT system configurations. VLC, an emerging technology that Notably, VLC has demonstrated potential in mitigating
uses visible light to transmit data, is not limited in frequency and challenges associated with the implementation of 5G
maximizes security in wireless data transmission. Furthermore, technology, offering a viable alternative to the heavily
due to the use of light-emitting diodes (LEDs) in almost every burdened RF spectrum [10–13]. Its most notable advantage
aspect of our daily lives, VLC is providing massive connectivity lies in providing a staggering 10,000 times more capacity than
for various types of large-scale IoT communications, from the RF spectrum, and it remains unregulated and unlicensed
machine to machine, vehicle to infrastructure, infrastructure- [14,15]. VLC's unique capability to address RF spectrum
to-vehicle, chip-to-chip as well as device to device. This article scarcity while coexisting with critical communication
presents a meticulous investigation of the multifaceted systems, such as those used in airplanes and hospitals,
applications of VLC, especially its role in configuring WiFi positions it as a valuable and safe-to-use bandwidth solution
connectivity for smart devices and the GPS location of the [16,17].
system within the IoT framework. In addition to conventional
data transmission capabilities, VLC has emerged as a key
technology for transmitting location data, thereby supporting
accurate device positioning. This study shows the effective
interaction between VLC and IoT, shedding light on the
applications of VLC in IoT systems, especially in the smart
homes field.

Keywords— Visible light communication (VLC), Internet of


Things (IoT), Light-Emitting Diodes (LEDs), VLC-IoT comm-
unication. Fig. 1 The electromagnetic spectrum

I. INTRODUCTION Furthermore, VLC has shown promise in transmitting


The increasing demand for wireless connectivity for medical data, including photoplethysmography,
various "Things" through the internet infrastructure has gained electrocardiography, and body temperature monitoring, with
significant attention, particularly with the expansion of smart ongoing studies exploring its applications in various
city initiatives, smart grids, smart manufacturing, and smart healthcare scenarios. Unlike RF signals, visible light cannot
transportation concepts [1–4]. The surge in Internet of Things penetrate through walls and maintains controlled
(IoT) and advancements in wireless communication has led to transmission, making it suitable for highly secure connections
a substantial rise in the number of connected devices within within the range of an access point. This characteristic renders
IoT, resulting in a scarcity of available radio frequency (RF) VLC applicable to a wide range of IoT-based smart systems.
spectrum [5–7]. Addressing this challenge has become a The convergence of IoT and VLC has given rise to a novel
genuine concern, prompting extensive research efforts to paradigm known as the Internet of Light-Emitting Diode
explore alternative wireless communication solutions capable (LED), utilizing LED technology to integrate IoT with VLC
of providing massive connectivity, diverse data rates, low This innovative approach has found application in diverse
latency, high capacity, efficiency, and robust security. fields, such as indoor navigation and transmission data. The
Among various emerging wireless communication automotive industry has also embraced VLC by using LED
techniques, visible light communication (VLC) stands out as headlights and taillights for vehicular VLC in collision
a promising solution to overcome key challenges in the prevention systems. Additionally, VLC-IoT holds promise in
wireless communication industry [8,9]. VLC is one of the transmitting medical data for biomedical sensing and data
advanced technologies in optical wireless communication transmission
technology, based on the visible light region (wavelength In the IoT era, connecting smart devices to Wi-Fi networks
375–780 nm) of the electromagnetic spectrum as a data is very important.
transmission medium, in Fig. 1 . Taking advantage of existing
LED lighting infrastructure, researchers are bringing the ideas − Challenges in IoT connectivity:
of data transmission via LED signals to commercial
applications, which have been growing rapidly in recent years.

XXX-X-XXXX-XXXX-X/XX/$XX.00 ©20XX IEEE


An increasing number of IoT devices require efficient and broader IoT framework. The VLC receiver, serving as a
user-friendly Wi-Fi configuration methods. Traditional sensor node, is responsible for collecting data on temperature,
manual setup is cumbersome. Therefore, simplifying the humidity, and pressure within the measured area.
process is essential.
All data collected by the sensor node, along with relevant
– Wi-Fi configuration methods: information about the system, is systematically updated to the
server through the MQTT protocol. This data transmission
• Mobile app setup: Utilizing companion apps for protocol ensures efficient and reliable data transfer,
effortless configuration; offering a user-friendly facilitating real-time monitoring of the system.
interface to input Wi-Fi details.
The rest of the work is organized as follows. Section 2
• Web browser: Access setup pages via temporary Wi- discusses related contributions. In Section 3, an overview of
fi network; providing a convenient and accessible the VLC-IoT concept is presented. Section 4, proposes the
way to configure devices. design of a VLC-based IoT system. In Section 5, we present
• NFC: Enabling users to tap and transmit Wi-Fi detailed experimental results. Finally, Section 6 presents
details directly from their smartphones; offering a conclusions based on the acquired results and the potential
quick and intuitive method for configuration. future development directions.

• Scan QR code: Allowing users to scan QR codes for II. LITERATURE REVIEW
automatic setup; streamlining the configuration The evolution of Visible Light Communication (VLC)
process through visual recognition. has been guided by the IEEE 802.15 Task Group 7, which
• Push button and LED: Monitoring button and LED introduced the VLC standard in 2011. This standard defines
signals to facilitate configuration; providing a visual the PHY and MAC layers for short-range optical wireless
and tactile method for users to confirm and set up communication using visible light and categorizes devices as
Wi-Fi connections. infrastructure, mobile, or vehicle. While the existing standard
covers peer-to-peer, star, and broadcast MAC topologies,
• WPS: Entering a PIN code for a swift and secure ongoing revisions, such as IEEE 802.15.7r1, extend support
connection; simplifying the configuration process for
to infrared and near ultraviolet wavelengths, Optical Camera
users seeking quick and easy connectivity.
Communications (OCC), and LiFi. The IPv6 over Low-
• Set up Bluetooth or BLE: Configuring devices via a power Wireless Personal Area Networks (6LoWPAN)
mobile app and Bluetooth; leveraging Bluetooth ensures IP-based communication over IEEE 802.15.4
capabilities for efficient and wireless configuration. networks, evolving to support Bluetooth Low Energy (BLE)
and NFC. Additionally, protocols like Constrained
• Set up wired Ethernet: Initiating the configuration
process with a wired connection; offering a reliable Application Protocol (CoAP), MQTT, and oneM2M have
and straightforward method to configure Wi-Fi been designed to accommodate IoT device constraints,
settings. offering communication, management, and security
solutions.
In the realm of VLC, as it undergoes continuous In exploring related contributions, the literature has
development and widespread adoption, configuring Wi-Fi for primarily focused on VLC applications for various wireless
devices using VLC emerges as a viable and efficient solution. technologies, with limited emphasis on their integration into
This approach facilitates quick and easy connection, unifying IoT systems. For instance, studies have investigated indoor
all devices within the same system under the umbrella of VLC systems, channel modeling, and the potential of LiFi in
VLC-enabled connectivity. Notably, devices within the
wireless communication. Some contributions propose
system utilizing the same light for communication contribute
to easy management, further enhancing the overall innovative VLC system designs for IoT, incorporating
connectivity experience within the IoT ecosystem. The orthogonal frequency division modulation (OFDM) and
evolution of VLC technology presents a promising avenue for evaluating performance through bit error rate analysis. Others
transforming Wi-Fi configuration methods, ensuring that the discuss the challenges and applications of optical IoT (OIoT)
connection process is not only efficient but also seamlessly in VLC and Optical Camera Communications (OCC) within
integrates with the expanding landscape of IoT devices. the framework of 5G standards. While previous work has laid
the foundation for VLC applications, our paper aims to bridge
This paper introduces a novel feature for device the gap by proposing a comprehensive framework for VLC-
management and data transmission within Internet of Things based IoT networks, focusing on device management, and
(IoT) networks using Visible Light Communication (VLC).
data transport. This research adds value by addressing the
Our proposed VLC-based IoT scheme addresses the need for
underexplored area of effectively integrating VLC services
effective management of VLC devices, encompassing both
transmitters and receivers while facilitating seamless VLC into IoT networks, positioning VLC as a wireless access
data transmission in IoT networks. In our envisioned VLC- medium for IoT connectivity.
based IoT framework, we emphasize one-way VLC III. OVERVIEW OF THE VLC-IOT SYSTEMS
transmission, originating from the VLC transmitter and
terminating at the VLC receiver. This transmission mode is This section provides a comprehensive overview of the
dedicated to configuring the Wi-Fi access of the data integration of Visible Light Communication (VLC) services
collection device and determining the GPS location of the into the Internet of Things (IoT) network, beginning with a
entire system. This configuration process is particularly detailed exploration of VLC and IoT individually.
relevant in the context of a single-node system within the
A. VLC: An Overview IV. PROPOSED VLC-BASED IOT SCHEME
In the contemporary landscape, LED lights have become A. Proposed overview system
pervasive in our daily lives, forming the basis for Visible
The proposed VLC-integrated IoT system has the
Light Communication (VLC). The IEEE 802.15.7 group has
architecture shown in Fig. 2
played a pivotal role by issuing a draft standard on Optical
Wireless Communication (OWC), specifically focusing on
the advancements in LED-based VLC at the physical and data
link layers. Defined in IEEE 802.15.7-2011, VLC is
recognized as a communication solution addressing specific
challenges in environments with limited Radio Frequency
(RF) communication capabilities, such as factories, mines, or
underground facilities.VLC emerges as a compelling choice
for supporting IoT communication due to several key factors.
These include network scalability, effective interference
mitigation, and the scarcity of RF frequency bands.
Importantly, VLC operates without interfering with existing
RF-based communications, offering the significant
advantage of not requiring a license to utilize the visible light
spectrum. Furthermore, VLC provides precise location-based
communication, distinguishing itself from other low-power
communication technologies like Bluetooth Low Energy Fig. 2 Overview system
(BLE) and near-field communication.
- Transmitter: uses LEDs and LED controllers to
B. IoT: An Overview
transmit data. Transmitted data includes: Wifi
The Internet of Things (IoT) has evolved from a limited information, and GPS coordinates of the room, data will
Machine-to-Machine (M2M) communication system to a be modulated before the LED lights up for data
global network service with profound implications for daily transmission.
life. In conjunction with Artificial Intelligence (AI) and - Receiver: employs a photodiode to capture the light
robotics, IoT stands as a cornerstone of the Fourth Industrial signal, which is subsequently transmitted to the
Revolution (4IR). Its impact extends to various domains, microcontroller for processing. Once the processing is
including smart cars, smart cities, smart campuses, and smart finalized, the microcontroller utilizes the refined Wi-Fi
manufacturing. Wireless communication technologies, such data to configure the Wi-Fi connection. Additionally, it
as Narrow Band-IoT (NB-IoT), BLE, and ZigBee, alongside reads sensor parameters such as temperature, humidity,
protocols like CoAP and MQTT, form the backbone of IoT pressure, and light intensity. Subsequently, this
networks. As IoT transitions towards comprehensive compiled data, along with GPS coordinates obtained
digitalization, cloud computing emerges as a crucial support from the lamp, is sent to the MQTT broker. The
mechanism. Standards and software, such as those developed overarching objective is to monitor the specified
by the Open Connectivity Foundation (OCF) and oneM2M, parameters within the room and pinpoint the location of
facilitate the development of IoT systems and products. At the room where the transmitter is installed.
the device level, a significant challenge lies in achieving - Web application: will play the role of working with
scalability, especially concerning physical media access. data once it has been sent to the MQTT broker. Then
While 5G is expected to provide the necessary frequency visually display all the data so users can easily observe
bands, relying solely on cellular network providers for IoT the information from the node
support faces impediments, including legislative variations
across countries regarding frequency band allocation and
limitations in the under 1G band. B. Transmitter Section
1) Transmitter Design
C. Integration of VLC into IoT Networks
Fig. 3 shows the hardware architecture of the LED driver
The integration of VLC services into the IoT network circuit shows a reference architecture for transmitting data to
emerges as a strategic response to the unique advantages LED.
offered by VLC, including network scalability, interference
mitigation, and precise location-based communication. As
IoT continues to shape the global digital landscape, the
incorporation of VLC introduces a novel and efficient
wireless access medium, providing a viable solution to the
challenges faced in specific communication environments
and contributing to the seamless evolution of IoT
connectivity.
Fig. 3 Tx hardware architecture
In OOK modulation, LEDs are switched on and off
according to the bits in the data string. The content and the
number of signal bits in a data packet are determined
according to the specific decoding method employed.
However, the fundamental principle of these data packets
remains consistent: they are transmitted and repeated an
appropriate number of times to prevent data loss. Fig. 2 shows
a reference architecture for transmitting data to LED.
Fig. 4 Schemctic diagram of Tx

Data is sent to the LED via the I/O pin of the ESP32. The Fig. 6 Architecture data string
ESP32 will control the MOSFET to open/close to turn the
LED on/off. In this test we will test at frequencies from 1kHz
- 500kHz. The input data string includes an 8-bit preamble, followed
by information that specifies the length of the data string (8
2) Modulation technique bits). Afterward, the data to be transmitted includes Wi-Fi
In the realm of Visible Light Communication (VLC) configuration details and the GPS location of the system.
modulation studies, On-Off Keying (OOK) modulation is a
popular choice owing to its practical design and Table 1. Data string
straightforward implementation. However, despite its
simplicity, OOK modulation presents certain drawbacks,
notably in the form of flickering issues, especially when
representing extended data strings with numerous '0' and '1'
bits. This limitation imposes constraints on the achievable
data transmission speed. To overcome the flickering
challenges associated with standalone OOK modulation, a
hybrid approach is introduced by combining OOK with
Manchester encoding. In this innovative modulation
technique, each '0' and '1' bit is uniquely represented by the Table 1 shows the format of all data sent. GPS
sequence of symbols '01' and '10,' respectively. This strategic information helps better manage the device during indoor
design ensures that no more than two consecutive matching usage conditions. However, due to these conditions, most
symbols occur, effectively mitigating the flickering issues GPS modules may not work properly, so I will provide the
characteristic of traditional OOK modulation. One significant device with fixed GPS information from where the LED is
advantage of this combined modulation method is its ability installed.
to maintain a balanced representation of '0' and '1' bits, C. Receiver Section
regardless of whether the transmitted data has undergone
encryption. This feature contributes to the consistency and 1) Hardware Design
reliability of the modulation scheme across different data The hardware in the proposed receiver (RX) design is a
wireless sensor node. At the receiver (Rx), there is a transition
scenarios. Fig. 5 visually illustrates the distinction between
impedance amplifier (TIA) and a comparator that acts as a
standalone OOK modulation and its amalgamation with signal conditioner. Technical specifications of the white LEDs
Manchester encoding. In the former case, a prolonged and photodiodes used in the experiment are presented in Table
sequence of '0' bits may result in noticeable flickering, 2.
especially if the modulation frequency is insufficiently high.
In contrast, the combined OOK and Manchester encoding Table 2. Technical specifications of LED and Photodiode
approach ensures a more evenly distributed symbol ratio,
Component Specification
effectively addressing the flickering challenges associated
with traditional OOK modulation. This hybrid modulation Name: Kingled Ceiling LED
technique represents a significant advancement, offering a Voltage rating: 26 -40 VDC
practical solution to enhance the performance of OOK
modulation in VLC systems. By intelligently combining LED Power: 12 W
OOK with Manchester encoding, this approach provides a View angle: 120◦
more robust and versatile method for data transmission, Wavelength: 380-760 nm
overcoming the limitations posed by flickering and enabling
more efficient and reliable communication in VLC Name: BWP34
applications. Photodiode Spectral response: 430-1100 nm
Rise/fall time: 100 μs

Fig. 7 shows the block diagram of the receiver (RX)


design. The microcontroller used for internet connection in the
Fig. 5 Eliminate harmful flickering by utilizing Manchester code design is ESP8266-07 and incorporates a BME280 measuring
sensor to represent a specific measuring device.
Storing received data in EEPROM enables us to re-
establish a Wi-Fi connection in case the light is no longer in
use.
V. EXPERIMENT AND RESULTS
A. Experimental setup
The device used in the first experiment, as shown in Fig.
6, employs a 10cm diameter recessed LED for Tx
(transmission) and a photodiode for Rx (reception). This setup
is designed to assess the impact of distance, frequency, and
environmental factors on the likelihood of data errors. The
data received at Rx will be monitored via a PC's Serial port,
as shown in Fig. 10.
Fig. 7 Rx schematic

The analog circuit on the receiver side is used for


conditioning output signal from the photodiode because of
the output signal of the photodiode will be attenuated and
distorted. For photodiode output is current, TIA needed to
convert current to voltage. Current to the voltage converter is
done by op-amp as shown in Fig. 8. After being converted
into voltage, this signal is sent to the comparator to correct
the internal distortion signal. RV1 potentiometer can be
adjusted manually to set comparison threshold The output of
the comparator is then connected to Rx. Fig. 10 Tx and Rx in the first experiment

In this setup, I am experimenting with Rx, which will be


positioned opposite Tx. In reality, the transmission and
reception process continues as long as the photodiode receives
light from the lamp, regardless of any reflected light.

Fig. 8 TIA and comparator on the receiver

2) Software Design
The algorithm diagram on the microcontroller is depicted
in Fig. 9. The data packet is received once the header (start bit) Fig. 11 Experimental scenario design
is detected, and the data reception concludes upon the
successful establishment of the Wi-Fi connection. B. Experimental Results
Subsequently, the microcontroller will retrieve data from the 1) Data from LED
sensor, compile all necessary information, and transmit it to
the internet.

Fig. 12 Received data observed over serial

Fig. 9 Algorithm diagram


Below is a chart displaying the data error rate across
frequency conditions ranging from 1kHz to 500kHz, as well
as increasing distances and the influence of environmental
factors.

Fig. 15 A node activity is logged in the serial

Fig. 13 Test 3D chart under no external influence

In conditions where there is no interference from external


light, the transmission and reception process remains stable.
Consequently, the achievable distance and frequency are quite
substantial. However, at higher frequencies, the generator
circuit overheats due to rapid MOSFET switching, and the Fig. 16 Sever MQTT HiveMQ
LED may also overheat due to rapid on-and-off cycling. This
affects the LED's luminous efficiency. As soon as data is published to the MQTT broker, it is
immediately retrieved by the server to send to MongoDB. If
the data is saved successfully, it will be written to cmd on the
server side. After being stored, data will be retrieved and sent
to a static file for processing and display on the Web
interface. Each node will be placed in different locations, the
locations will be displayed on the same map as Fig. 17. In
addition, the data collected from the sensor as well as the
parameters of each node will also be displayed on the web
interface as shown in Fig. 18.

Fig. 14 3D chart tested under external light conditions

In conditions influenced by external light noise, the light-


sensitive characteristics of the photodiode BWP34 result in
unstable transmission. Through the above experiment, I
recommend using the system at the frequency of 1kHz- Fig. 17 Map includes devices
100kHz and the distance from 1 - 3m to achieve the best
stability.
2) Sending data to MQTT Broker and connecting with
Web app to monitor.
MQTT broker is provided by HIVEMQ, the service is free
to use at: broker.hivemq.com. Connection information and
node activities will be logged in the serial when connected to
the computer including wifi connection information, wifi
connection status and MQTT connection, and data sent.

Fig. 18 The general interface of each node


VI. CONCLUSIONS AND DISCUSSIONS Theoretical Computing and Communication
In this paper, we have conducted experiments to develop Technology (iCATccT), Bengaluru, India, p. 275–
a fundamental device design capable of transmitting and 278, 21–23 July 2016.
receiving data in the VLC system. This data can be utilized to [6] "Visible light communication system (VLC)
configure the Wi-Fi connection pattern of the device and Using Diversity Technique with 4 QAM OFDM
provide notifications regarding the device's GPS location. FSO Link," Proceedings of the 2018 2nd
International Conference on I-SMAC (IoT in Social,
Mobile, Analytics and Cloud), Palladam, India,, p.
REFERENCES 631–635, 30–31 August 2018.
[7] "Research in visible light communication
[1] Cevik, T.; Yilmaz, S. , "An overview of visible systems with OpenVLC1.3," In Proceedings of the
light communication systems," arXiv 2015, 2019 IEEE 5th World Forum on Internet of Things
arXiv:1512.03568. (WF-IoT), Limerick, Ireland, p. pp. 539–544, 15–18
[2] Ismail, S.N.; Salih, M.H., "A review of visible April 2019.
light communication (VLC) technology," In [8] Warmerdam, K.; Pandharipande, A.; Caicedo,
Proceedings of the AIP Conference Proceedings. D., "Connectivity in IoT indoor lighting systems
[3] Katz, M.; O’Brien, D., "Exploiting novel with visible light communications," In Proceedings
concepts for visible light communications: From of the 2015 IEEE Online Conference on Green
light-based IoT to living surfaces," Optik 2019, 195, Communications (OnlineGreenComm), Piscataway,
163176. NJ, USA, pp. IEEE: Piscataway, NJ, USA, 2015; pp.
47–52, 10–12 November 2015.
[4] Novak, M.; Wilfert, O.; Simicek, T., "Visible
light communication beacon system for internet of [9] Chen, C.-W.; Wang, W.-C.; Wu, J.-T.; Chen, H.-
things," In Proceedings of the 2017 Conference on Y.; Liang, K.; Wei, L.-Y.; Hsu, Y.; Hsu, C.-W.;
Microwave Techniques (COMITE), Brno, Czech Chow, C.-W.; Yeh, C.-H.; et al, "light
Republic, pp. 1-5, IEEE: Piscataway, NJ, USA, communications for the implementation of internet-
2017. of-things," Opt. Eng. 2016, 55, 060501.
[5] Kadam, K.; Dhage, M.R., "Visible light
communication for IoT," In Proceedings of the 2016
2nd International Conference on Applied and

You might also like