Professional Documents
Culture Documents
net/publication/347766266
CITATIONS READS
0 53
1 author:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Design and Construction of a Data Transmission System using Li-Fi technology View project
All content following this page was uploaded by Yussuf Kehinde Owolabi on 23 December 2020.
AUGUST 2018
DECLARATION
I hereby declare that I carried out the work reported in this report in the Department of
Electrical & Electronics Engineering, University of Ilorin, Ilorin, under the supervision
of Engr. O. S. Zakariyya. I also declare that to the best of my knowledge, no part of this
project has been submitted elsewhere in a previous application for an award of a degree.
-------------------------------
owolabiyussuff@gmail.com
13/30GC124
ii
APPROVAL
This is to certify that the project titled “Design and Construction of a Data Transmission
System using Li-Fi Technology” by Owolabi Yussuf Kehinde meet the requirements and
__________________ ________________
Project Supervisor
__________________ ________________
__________________ ________________
External Examiner
iii
DEDICATION
This project is dedicated to God, the Almighty (for everything in spite of everything),
my loving parents, guardians and siblings (I wish there was a better way of showing how
much you mean to me), my supervisor, project partner and to those wonderful friends of
mine, whose understanding and support have truly made this project possible.
iv
ACKNOWLEDGEMENTS
Unfashion Fashioner, the Greatest, the Most Merciful, the master of the day of
judgement, the Lord of the Universe. The beginner and the end of my life, whom through
his infinite mercy guided me and made me who I am today, without Him behind me, my
wonderful and ever remembered parents, Mr and Mrs Bashir Owolabi and to my Uncle
and his wife, Mr and Mrs Daud Owolabi, I say a big thank you for putting my feet on
the path of success through education. To my wonderful sisters (Omotola Owolabi and
Owolabi, Yusuff Owolabi, Wareez Owolabi) without you, this work would not have
Let me use this golden opportunity to appreciate the efforts of my family members for
their supports both spiritually and financially, Engr. J.O.F. Owolabi, Late Chief Rasaq
other family members to mention but few. To those who their names are not here, it does
not mean you do not deserve my appreciations, I say a very big thank you to you all.
I sincerely appreciate my ever-present supervisor Engr. O.S. Zakariyya for his immense
contributions towards the success of this project. He gave me everything I could ask for
and more. He understood me as a person and showed so much love to me. He gave a lot
v
of professional advice to me and his ideas and intuitions were always correct. He is the
best I could ever desire, special thanks goes to my amiable Acting Head of Department
and co-supervisor, Engr. Dr. (Mrs.) N.T. Surajudeen-Bakinde, my project partner, Ifada
Emmanuel E., who had been the light all the way and to the founder of Li-Fi, Prof.
Harald Haas for his genius and dedication to the expansion of this project worldwide.
Also to every lecturer in the Department of Electrical and Electronics Engineering, for
imparting useful knowledge in me. Among whom are Prof. Y.A. Adediran, Prof. B.J.
Engr. Usman, Engr. Temitope Fajemilehin, and Mr Olayanju. May Allah continue to
reward you all, Amin. My deep appreciation goes to these two (Larry Page and Sergey
Brin- the founder of Google Inc.) who have provided the platform for me and many
My appreciation goes to Students of the department who are known for as NAEEESites
for their cooperation and support are given to me while serving as their departmental
president and especially to my ever-present and wonderful colleagues for their supports,
am truly grateful. Serving the class as the Deputy Class Representative (Admin) is not
an easy task but seeing you behind me kept me going, the work might be much at times
and most times it looks tedious but at the end, it has been an honour to be part of the
class.
vi
My appreciation also goes to my mentors, Abdulrahman Abdulhakeem Temitope,
Abdulsalam Abdulmaliq, Oke Ridwan Esq., Aremu Ibrahim, Oyetunde Saheed thanks
my gratitude, this set of people are so special to me, Aremu Mariam Abisola, Yusuff
Muhammed Jubril Kolo, Adebisi Ridwan, Agbe Praise Amavi, Oyewumi Muftau,
to mention but few, Sadiq Roheemat, Tella Halimah, Rahman Latifat, Ojolowo Nafisat,
Industrial Training placements among whom are Engr. M.A. Lawal (Deputy Manager,
NOC Unilorin), Engr. Adeleke Olaoye (NOC Unilorin), Engr. Olushola (Power
Engineer, NOC Unilorin), and Engr. Alh. Ibraheem Abimbola Ganiyu (Electrical Unit,
This section would not be complete if I did not appreciate and mention my Achiever’s
Villa crew for their love and support, during this journey. Yes some of us started together
while we met some on the way, like; Tomori Blessing, Kolade Shakirat, Akinbola
Samuel, Izekor Lucky, Najeemdeen Adedamola Isma’il, Obadu Mobolaji John, Fayomi
vii
Samson, Kolawole Mubashir, Fakolade Adedoyin, Adeleke John, Alabi Fiyinfoluwa,
Club of University of Ilorin and Rotaract Zone J (Kwara and Ogbomoso) District 9125,
serving this noble humanitarian organization as the club service director and zonal
director of media and publicity has really added a lot to me both professionally and
opportunity given to serve the union as its financial secretary, it has been a pleasure. To
given to serve as Assistant General Secretary for the 2015/2016 academic session and
Web Application and Database Engineer for NUESA e-resources application and
NUESA website for three years added a lot to me both professionally and academically.
for the golden opportunity to have served as the Public Relations Officer II of the
Association for the 2015/2016 academic session which has really added a lot to me both
In addition, to every other person that has contributed to the success of this project, I say
viii
TABLE OF CONTENT
TITLE PAGE i
DECLARATION ii
APPROVAL iii
DEDICATION iv
ACKNOWLEDGEMENTS v
TABLE OF CONTENT ix
LIST OF TABLES xv
ABSTRACT xvi
CHAPTER ONE 1
INTRODUCTION 1
1.1. BACKGROUND 1
ix
1.5. AIM AND OBJECTIVES 5
1.6. METHODOLOGY 5
CHAPTER TWO 8
LITERATURE REVIEW 8
2.1.1. DATA 9
2.1.2. INFORMATION 9
x
2.5.3. APPLICATION OF LI-FI 17
2.6.2.2. SHADOWING 24
2.6.3. INTERFERENCE 24
2.9.3. ELECTROLUMINESCENCE 30
2.9.4. PHOTODIODES 31
xi
CHAPTER THREE 40
SYSTEM DESIGN 40
3.1. BACKGROUND 40
CHAPTER FOUR 53
xii
4.3. SOFTWARE IMPLEMENTATION 56
CHAPTER FIVE 62
5.1. CONCLUSION 62
5.2. RECOMMENDATION 62
REFERENCES 64
APPENDICES 68
xiii
LIST OF FIGURES
spectrum. 11
xiv
LIST OF TABLES
xv
ABSTRACT
Over the years, the over-dependence on Wireless Fidelity (Wi-Fi) for data transmission
necessitated the need for an alternate even reliable means of communication, hence,
Light Fidelity (Li-Fi). It involves the use of Light Emitting Diode to transmit data by
blinking (i.e. switching them On and Off) at a speed not noticeable to the eye. This
project implemented the Li-Fi system using off the shelf electronic components. After
testing, the results obtained showed that the advantages of Li-Fi data transmission
xvi
CHAPTER ONE
INTRODUCTION
1.1. BACKGROUND
Li-Fi (Light Fidelity) is a high speed, wireless communication using visible light. It falls
under the category of optical wireless communications. Data transmission takes place
through LED (Light Emitting Diode) bulbs whose intensity varies. Based on this
variation, communication occurs digitally. This technology has broad applications where
the use of Wi-Fi (Wireless Fidelity) is limited or banned. It also takes out the adverse
health effects of using electromagnetic waves. Unless the light is seen, data cannot be
The usage of light as a means to transmit data has been coined Li-Fi (Light - Fidelity)
technology is similar to Wi-Fi but is faster, allowing users to send and receive more data
in less time. By merely swapping incandescent bulbs with LEDs - which have electronic
properties - Li-Fi could bring Internet gain access to more areas and could revolutionize
Recently, wireless technology has bloomed to a great extent where we require wireless
technology to transmit many data every day. Nowadays, wireless communications have
1
become important in the communication process. The primary way of wireless data
transmission is by using electromagnetic waves, i.e., radio waves. However, radio waves
can support less bandwidth because of compact spectrum availability and intrusion.
Solution to this is data transmission using Visible Light Communication (VLC)[1]. Wi-
Fi deals with wireless coverage within premises, whereas Li-Fi is perfect for high
compactness wireless data coverage in a defined area and for mitigating radio
interference issues. Li-Fi focuses on transmitting multimedia data between two terminals
using LEDs.
Communication between two terminals in the 21st century is vital and occurs every day.
Li-Fi plays an essential role in communication as discussed earlier which uses light for
data transmission rather than radio waves used in wireless communication. The velocity
of data transmission was about 10Mbps, though it is aimed to improve up to 100 Mbps
by 2022 [3]. Li-Fi can be achieved by fitting a small microchip to every possible
wireless data transmission. By doing this, the four essential problems (i.e., capacity, cost,
efficiency, and security) faced in wireless communication these days would be solved.
Thus, in the future, there would not be only 14 billion light bulbs, but 14 billion Li-Fi
APs (Access Points) deployed worldwide -- for a cleaner, a greener and even brighter
future.
2
1.2. OVERVIEW OF THE PROJECT WORK
Wireless communication which uses radio waves for data transmission and the
connection between terminals proves fatal in areas like oil petroleum which can harm
the environment causing vast destruction, so to avoid such situation using of light in
some area demonstrates beneficial [3]. Li-Fi is better as it does not allow data leakage
[2]. Li-Fi technology consists of the transmission of data using light. Therefore, the
proposed system has LEDs, which is used for data transmission and implements the
fundamental concept of Li-Fi, this is split up into two segments; Transmitter and
Receiver.
• The transmitter side, the terminal which is the PC should contain Java codes
which will help in converting the text data into its binary format and later
• The receiver side, the exact reverse procedure takes place, the light received from
the LED is captured by the phototransistor which functions as a sensor and passes
the output to the comparator which analyzes the binary input and similarly the
employs visible light sources (LEDs). Li-Fi is implemented using LEDs. If the LED is
turned ON, a digital one (1) is transmitted, and if the LED is turned OFF, a digital zero
3
(0) is transmitted. The continuous flickering of LED helps in data travelling from one
This project circumvents the main problems mitigating and limiting efficient data
transmission (i.e., capacity, efficiency, availability, and security) when using the radio
spectrum. Hence, it would help in reducing the over-reliance on Wireless- Fidelity (Wi-
Among the benefits associated with Li-Fi beyond the speed is its relatively low
installation cost. Provided that a lighting system is available - and just about everywhere
requires some lighting - there is no need for new wiring and equipment to make a
connection. Li-Fi is more secure than Wi-Fi because visible light waves do not travel
beyond the area covered by the light. It would be inexpedient for someone to intercept a
Li-Fi data stream from a cafe next door, which means there’s less interference among
other devices.
1. It's usage in Indoor short-range data transfer such as in offices, classrooms and
lecture halls.
4
2. Vehicle to Vehicle (V2V) Communication - real-time application can be
implemented using Li-Fi. Using vehicle headlights data can be transmitted, and
The aim of this project is to design and construct a data transmission system (made up
of the receiver and the transmitter) that transmits text data effectively using Li-Fi
technology.
iii. To Implement the Java code on the PC (Transmitter & Receiver) to enable
1.6. METHODOLOGY
To achieve the various objectives of this project, the following steps would be taken
ii. To draw block diagram that illustrates the implementation of the system.
iii. To design the circuit diagram for the Transmitter and the Receiver in the system.
5
iv. To assemble the components on a Breadboard and then on a Vero board.
vi. To test and analyse the Li-Fi text transmission system to ensure it meets the
design details.
The proposed project would only be able to transmit text data using Li-Fi technology
but the receiver (PC) would not be able to transmit text data back to the transmitter.
Chapter One introduces the subject matter and problem(s) being studied, and its
importance and validity. Other information enumerated in this chapter includes the main
aim and objectives, the scope of the project, motivation and the intended methodology
employed to solve the problem. Chapter Two, on the other hand, would be devoted to a
critical review of the technical and academic literature on previous works on this project.
In addition to this, it provides insights into the problems and limitations of the previous
project. These involve the system design and calculations, the Java code development
and implementation, and the description of the construction of circuits implemented. All
Consequently, Chapter Four contains the steps taken to test the developed text data
transmission system. In addition, the results obtained during the tests would be discussed
6
extensively, the shortcomings/limitations of this project would be explained, and the
possible remedy would then be suggested. Finally, Chapter Five summarizes the
highlights of the previous chapters and briefly mention the findings of this project. It
clearly states the contributions of the work. On the other hand, the recommendations
section would state the constraints of the project and recommendations for other possible
7
CHAPTER TWO
LITERATURE REVIEW
Data processing is the act of handling or exploits data in some fashion. Regardless of the
activities involved in it, processing attempts to assigned meaning to data. Thus, the
ultimate goal of processing is to transform data into information. Data processing is the
process through which data are gathered, assigned meaning, communicated in front of
significant people and retained for future use. Hence, data processing can be defined as
a series of activities or functions that switches data into useful information. We use the
term 'data processing system' to include the resources that are used to accomplish the
processing of data[6].
Inside the context of data processing, data are identified as numbers or character types
that represent measurements from the real world. A single datum is a single measurement
from the real world. Measured information can then be algorithmically derived and
logically deduced and statistically calculated from multiple data. Information is defined
as either a meaningful response to a query or a useful stimulus that can cascade into
8
2.1.1. DATA
Data are any facts, figures, or text that can be processed by a computer. Today,
organizations are accumulating vast and growing amounts of data in several formats and
- Operational or transactional data such as sales, cost, inventory, salaries, and accounting
- Non-operational data, such as industry sales, forecast data, and macroeconomic data
- Metadata - data about the information itself, such as logical database design or data
2.1.2. INFORMATION
The patterns, associations, or relationship among all this data provides information. For
example, inspection of retail point of sale transaction data can yield information on
Consider any collected data that you have the experience of; for example, weight, sex,
ethnicity, job grade, and consider their different attributes. These parameters can be
Table 2.1.1 summarizes the data types and their associated measurement level, plus some
illustrations. It is significant to appreciate that suitable method for summary and display
9
depending on the type of data being used. This is also valid for ensuring the proper
visible light between 400 and 800 THz (780–375 nm). VLC is a subset of optical
lamps, not special communications devices) to transmit signals at 10 Kbit/s, or LEDs for
up to 500 Mbit/s [8]. By utilizing blinking of visible light elements such as LEDs for
10
communication, it is possible to transmit various varieties details fast and safely
communication using low-cost and omnipresent LEDs and photodiodes [10]. VLC can
Using visible light is also less dangerous for high-power applications because humans
can perceive it and act to protect their eyes from damage [3].
One among VLC"s features is providing full bandwidth as descriptive in Figure 2.2.1.
It’s apparently seen that use of optical part of the spectrum guarantees about 10, 000
Figure 2.2.1: Location of visible light and RF frequencies at the electromagnetic spectrum.
11
2.3. DATA MODULATION
In a digital communication system, the signal to be sent is discrete in both time and
amplitude. The digital information carrying signals must be first changed into an
converted back to a digital format before sending to the end user, the transformation
process at the transmitting end is known as modulation, the receiving end is known as
symbolized as a time sequence of icons or pulses, where the icon has m finite states.
The cause information is usually displayed as a baseband (low-pass) signal, due to signal
attenuation, it is pertinent to move the baseband signal spectrum to stay at a much higher
frequency band centred at fc, called the carrier frequency, in radio channel spectrum. At
the receiving end, the demodulation process eliminates the carrier frequency to recoup
12
by which homes, telecommunications networks and business installations avoid the
phone networks, wireless local area networks (WLANs), wireless sensor networks,
Wireless Fidelity (Wi-Fi) is a device certification delivered by the Wi-Fi Alliance based
on the IEEE 802.11 standard. This was conceived as a “Wireless Ethernet” solution. The
standard contains many different wireless-related technologies that evolve over time.
increased range and speed by using new technologies. The three most common
amendments in-home network are 802.11b, 802.11g, 802.11n and 802.11ac. The
802.11b standard is the oldest and 802.11ac is the most recent. Additionally, some
amendments to the standard define how to secure a wireless network using cryptography
[14]. Other wireless communication standards include Bluetooth, ZigBee, XBee, etc.
13
2.5. LIGHT FIDELITY (LI-FI)
Li-Fi is a new technology for short-range cellular communication system; which is well
suited for data transmission via LEDs by illumination. Li-Fi uses the visible light, a part
of the electromagnetic spectrum that remains to be not substantially utilized, rather than
RF part [15]. Professor Harald Haas, the founder of Li-Fi technology, in his Technology
Entertainment Design (TED) global talk on Li-Fi says: "At the cardiovascular system of
also clarifies "Very simply, if the LED is on, you transmit a digital 1, if it’s off you
transmit a 0, they can be switched on and off very quickly, which gives nice opportunities
for transmitted data.” [15]. It will be possible to encode data in the light by varying the
speed at which the LEDs glint on and off to give different strings of 1s and 0s. Figure
2.5.1 illustrates the concept of data transmission using light. The LED intensity is
moderated so rapidly that the human eye cannot notice, so the output looks constant;
also, techniques that are more complex could drastically increase Li-Fi data rates such
as using an array of LEDs, where each LED transmits another type of data stream, to
14
provide parallel data transmission. Other ideas are using mixtures of red, green and blue
LEDs to alter the light frequency encoding a different data channel [11].
Like Wi-Fi, Li-Fi is wireless and uses similar 802.11 protocols; but it
uses Ultraviolet, Infrared and visible light communication (instead of radio frequency
waves), which has the much bigger bandwidth. One part of VLC is modelled after
the IEEE 802.15.7 standard is out-of-date: it fails to consider the latest technological
modulation methods which have been optimized for data rates, multiple-access and
energy efficiency [17]. The introduction of O-OFDM means that a new drive for
Nonetheless, the IEEE 802.15.7 standard defines the physical layer and media access
control (MAC) layer. The standard is able to deliver enough data rates to transmit audio,
video and multimedia services. It takes into account optical transmission mobility, its
which may be generated by ambient lighting. The MAC layer permits using the link with
15
2.5.2. HISTORICAL BACKGROUND AND EVOLUTION OF LIGHT
FIDELITY
Professor Harald Haas, from the University of Edinburgh in the United Kingdom, is
widely recognized founder of Li-Fi. This individual coined the term Li-Fi and he is Chair
The general term visible light communication (VLC) includes any use of the visible light
Edinburgh's Institute for Digital Communications was funded from January 2010 to
January 2012 [20]. Haas promoted this technology in his 2011 TED Global talk and
helped start up a company to market it.[21] PureLiFi, earlier known as pure VLC, is an
original equipment manufacturer (OEM) firm build to commercialize Li-Fi products for
industry groups created the Li-Fi Consortium, to sell high-velocity optical wi-fi systems
and triumph over the constrained amount of radio-based wireless spectrum to be had
with the aid of exploiting a particular part of the electromagnetic spectrum.[22] Many
companies offer uni-directional VLC products that are not the same as Li-Fi. VLC
technology was exhibited in 2012 using Li-Fi.[22] By August 2013, data rates of over
1.6 Gbit/s were proven over a single colour LED.[23] In September 2013, a press release
said that Li-Fi or VLC systems, generally speaking, do not require line-of-sight
on the Li-Fi development kit.[24] In April 2014, the Russian company Stins Coman
16
announced the introduction of a Li-Fi wireless local network called Beam Caster. Their
current module transfers data at 1.25 gigabytes every second but foresees increasing
There are several applications of Li-Fi technology, from public Internet gain access to
through existing lighting (LED) to auto-piloted cars that communicate through their car
headlights (LED based). Applications of Li-Fi can extend in areas where the Wi-Fi
technology lacks its occurrence like aircraft and hospital wards (operation theatres),
power plant life and various other areas, where electromagnetic (Radio) wave features
great concern for security and safety of equipment and people. Seeing that Li-Fi uses
just the light, it can be used safely in such locations or areas. For a later date with the Li-
Fi enhancement, all the street lamps can be transformed to Li-Fi connecting points to
copy data. As a result of it, it'll be possible to get entry to the internet at any public place
and avenue [26]. A few of the future applications of Li-Fi could be as comes after:
a) Education systems: Li-Fi is the latest technology that provides a most effective rate
for Internet access. Consequently, it can augment Wi-Fi at educational institutions and
companies so that the people there can employ Li-Fi with the high speed.
b) Medical Applications: Operation theatres (OTs) do not let Wi-Fi due to radiation
equipment. As a result, it may have a harmful effect on the person's health, due to poor
17
working of medical equipment. To overcome this and make Operation Theatre (OT) tech
smart and modern, Li-Fi can be used to access the internet as well as control medical
equipment. This can be beneficial for conducting robotic surgical treatments and other
automated procedures.
c) Cheaper Internet in Aircraft: The passengers that venture in aircraft gain access to
the low-speed internet so at a very high rate. Additionally, Wi-Fi isn't always used due
to the fact that it may interfere with the navigational systems of the aviators. In aircraft,
Li-Fi can be adopted for data transmission. Li-Fi can certainly provide high-speed
Internet via every light source such as an overhead reading light bulb, etc. present inside
the aeroplane.
from large cables that offer their power and can allow them to receive signals from their
pilots above. But the harness utilized in ROVs is not long enough to allow them to
explore larger areas. If their wires were replaced by light -- say from a submerged, high-
powered light fixture -- then it would be much freer to explore. They could also use their
headlamps to communicate with each other, processing data autonomously and sending
their findings regularly back to the top. Li-Fi can even work under the sea where Wi-Fi
fails, thereby throwing limitless open opportunities for the military under the sea
operations.
18
e) Disaster management: Li-Fi can be used as an effective means of communication in
times disasters such as earthquake or hurricanes. The average people might not exactly
know the protocols during such catastrophes. Subway stations and passageways,
common dead zones for most emergency communications, do not obstruct Li-Fi.
systems so that demand, main grid integrity and core temperatures (in case of elemental
be bad for such sensitive areas surrounding these power plants. Li-Fi will offer safe,
abundant connectivity for all those areas of these hypersensitive locations. Also, the
pressure on the power plant 12’s reserves (power consumption for Radio marketing
passing vehicles (through the LED lights of the cars, etc.) which can help in taking care
of the traffic in an improved manner resulting into an easy flow of traffic and decrease
in accident numbers. Likewise, LED car lights can alert drivers when other vehicles are
too close.
h) Mobile Connectivity: Mobile phones, laptops, tablets, and other smartphones can
certainly hook up with each other. The short-range network of Li-Fi can yield
19
i) Replacement for other technologies: Li-Fi does not operate using radio waves. So,
it can effortlessly be used in the places where Bluetooth, infrared, Wi-Fi, etc. are
restricted.[18]
Li-Fi is an emerging technology poised to compete with Wi-Fi [19]. Also, Li-Fi
eliminates the constraints which have recently been put on the consumer by the Radio
illumination that is already available in the home, offices, and Shopping mall, etc., for
lighting goal. Hence the transmission of data requiring negligible additional power,
b) High speed: Mixture of low disturbance, high bandwidths and high-intensity output,
help Li-Fi provide high data rate i.e. 1 Gbps or even beyond.
Wherever there exists a light source, there can be an internet connection. Light bulbs are
available everywhere - in homes, offices, outlets, malls and even aircraft, which may be
d) Cheaper: Li-Fi does not require many components for its working and uses just a
20
e) Security: One main good thing about Li-Fi is security. As light cannot go through
maussade structures, Li-Fi internet is available only to the users an enclosed area and
f) The scope of Li-Fi technology in the future is great. The accelerated growth in the
utilization of LEDs for lighting indeed provides the possibility to integrate the
- The Internet cannot be accessed without a light source. This might limit the locations
- Natural light, sunlight, and regular electric light can change the data transmission speed
- Light waves do not permeate through walls, and so Li-Fi has a significantly shorter
21
2.6. CHALLENGES OF LI-FI BASED COMMUNICATION SYSTEM
The Li-Fi based communication system faced different varieties of challenges. These
challenges limit its performance and can decrease the overall efficiency of the network.
communication, so ON-OFF speed of the LED play an essential role. For a Li-Fi based
main problem showing how data transmission will occur when the LEDs are turned OFF.
A data transmission can easily still be possible if the lighting level of a LED transmitter
is shallow. The dimming level of LED bulb can be organized in such a way that the
desired data rate can be achieved using light depth. In hybrid setup, RF or infrared can
will be possible in any undesirable situation when LEDs are in its OFF mode.
22
2.6.1.2. LED JUNCTION TEMPERATURE
temperature of LED can be increased due to variation in drive current, self-heating, and
benefits of a solitary concerning time which lessens the signal to noise ratio (SNR) and
reduces the life expectancy of LEDs [28]. The result could cause severe problems if a
blend of hundreds of LEDs is linked closely to the other person in a light system in a
particular range.
receiver have a Line of Sight (LOS) connection. The LOS connection provides high data
rate because the transmitter and receiver are lined up their Field of View (FOV) to take
full advantage of the channel response. However, in real-world practical cases, a receiver
FOV can be changed, and it can also move from one location to another. The
enhancements made on the orientation of the receiver as well as its mobility suggest that
receiver's FOV cannot always be aligned with the transmitter. Therefore, it is important
23
to design such techniques which can handle the scenario of FOV imbalance and provides
desirable data rates. This needs adjustment in schemes and development of new
approaches to control this problem but designing such systems and methods is quite
2.6.2.2. SHADOWING
The data rate in Li-Fi network will decrease if an obstacle blocks the LOS channel as a
result overall performance of the network will degrade. Not enough research is done so
far to understand the interior model and effect of shadowing on Li-Fi [28]. Shadowing
could be one of the reasons for the LOS channel stoppage; it will produce variations in
stoppage event is of very short timeframe caused by the driving of obstacles or humans,
2.6.3. INTERFERENCE
In Li-Fi system, light from some other energy source except LED such as sunlight or
free ordinary electric light source can cause interference as it can affect the LOS channel
between transmitter and receiver. The interruption in the path of transmission will
influence the data communication therefore for indoor communication, new techniques
24
2.7. MODULATION TECHNIQUES USED IN LI-FI
As LI-FI uses visible light for sending data, it is required to modulate the data into a
signal that can be transmitted. These messages consist of light pulses. A few of the
spread out orthogonal sub-carrier signals are being used to transport data on several
a low symbol rate, retaining total data rates similar to conventional single-carrier
(b) OOK: On-off keying (OOK) denotes a most effective form of amplitude-shift keying
(ASK) modulation that signifies digital data as the occurrence or absence of the flagship
wave. In its purest form, the existence of a carrier for a specific period represents a binary
one, while the lack for the same duration signifies a binary zero. More elaborate schemes
encoding line code. It is straightforward to generate and decode although not very ideal
25
(c) PWM: Pulse-width modulation (PWM) is an approach used to encode a message
into a pulsing signal. Although this modulation approach can be used to encrypt
information for transmission, its primary use is to allow the control of the power
provided to electrical devices, especially to inertial loads such as motors. Pulse Width
Modulation transmits the data by encoding the data into the duration of the pulses. More
message bits are encoded by transmitting just one pulse in one of the possible required
time-shifts. This is repeated every T seconds, in a way that the transmitted bit rate in bits
per second. It is mostly useful for optical communications systems, where there is
Amplitude Shift Keying (ASK) and Quadrature Amplitude Modulation (QAM). SIM
uses the sub-carrier index to convey information to the receiver. Unlike the traditional
OFDM technique, the SIM-OFDM technique splits the serial bit stream into two-bit sub-
LI-FI is a term of just one used to describe visible light communication technology
applied to high-speed wireless communication. It acquired this name due to the likeness
26
to WI-FI, only using light rather than radio. WI-FI is excellent for standard wireless
coverage within structures, and li-fi is suitable for high-density wireless data coverage
in a restricted area and for relieving radio interference issues, so the two technologies
Wireless (current)
802.11n
Bluetooth 3 Mbps *
Wireless (future)
WiGig 2 Gbps **
Table 2.8.1 contains the current wireless technologies that can be used for shifting data
between devices today, i. e., Wi-Fi, Wireless Bluetooth and IrDA. Wi-Fi currently offers
high data rates. The IEEE 802. 11. n in most implementations provides up to 150Mbit/s
(in theory the standard can rise to 600Mbit/s) although in practice it is considerably less
than this. Be aware that one out of three of these is an optical technology [29].
27
Table 2.8.2 Comparison between LiFi and Wi-Fi [26]
LI-FI WI-FI
MEDIUM
Nick Holonyak, Jr. while working at General Electric developed the first visible-
spectrum (red) LED in 1962. Holonyak first reported his LED in the journal Applied
Physics Letters on December 1, 1962. Some years after, M. George Crawford, a former
graduate student of Holonyak, invented the first yellow LED and improved the
brightness of red and red-orange LEDs by a factor of ten in 1972 [30]. Consequently, in
1976, T. P. Pearsall created the first high-brightness, high-efficiency LEDs for optical
Appearing as practical electronic components in 1962, the earliest LEDs emitted low-
intensity infrared light. Infrared LEDs are still frequently used as transmitting elements
consumer electronics [30]. The first visible-light LEDs were also of low intensity and
limited to red. Modern LEDs are available across the visible, ultraviolet,
and infrared wavelengths, with very high brightness as shown in Figure 2.9.1.
Early LEDs were often used as indicator lamps for electronic devices, replacing small
incandescent bulbs. They were soon packaged into numeric readouts in the form
developments have produced LEDs suitable for environmental and task lighting. LEDs
have led to new displays and sensors, while their high switching rates are useful in
LEDs have many advantages over incandescent light sources, including lower energy
consumption, longer lifetime, improved physical robustness, smaller size, and faster
29
switching. Light-emitting diodes are used in applications as diverse as aviation
flashes, and lighted wallpaper. They are also significantly more energy efficient and,
junction diode that emits light when activated. When a suitable voltage is applied to the
leads, electrons are able to recombine with electron holes within the device, releasing
energy in the form of photons (i.e. light) [31]. This effect is called electroluminescence,
and the colour of the light (corresponding to the energy of the photon) is determined by
2.9.3. ELECTROLUMINESCENCE
experimenter H. J. Round of Marconi Labs, using a crystal of silicon carbide and a cat's-
whisker detector. Russian inventor Oleg Losev reported the creation of the first LED in
1927 [32]. Although his research was distributed in Soviet, German and British scientific
journals, no practical use was made of the discovery for several decades [32]. Kurt
30
Lehovec, Carl Accardo, and Edward Jamgochian explained these first light-emitting
diodes in 1951 using an apparatus employing Silicon Carbide (SiC) crystals with a
current source of battery or pulse generator and with a comparison to a variant, pure,
crystal in 1953.
as photons - light. Prior to recombination, electrons and holes may be separated either
2.9.4. PHOTODIODES
A photodiode – whose diagram is shown in Figure 2.9.2 - is a device that helps in the
reverse bias. The current is propagated in the photodiode when photons are absorbed and
a very less amount of current is also propagated when there is no existing light.
Accompanied by the increase of the surface area, photodiodes have lingering response
times [33]. Photodiode technology has been victorious and widely used due to its normal
and low-cost rugged structure. Photodiodes have two separate operation modes, namely,
31
the photovoltaic mode and secondly, the photoconductive mode. In the photovoltaic
mode, credence in light is non-linear and the dynamic range achieved is justly small and
highest speed is also not acquired in photovoltaic mode. In the photoconductive mode,
the credence on the light is very linear and the opposite voltage has no significant impact
on light but has a weak impact on dark current (current achieved without light). The
This section deals with the physical layer, modulation formats and frequency spectrum
that are associated with the Li-Fi communication. The IEEE 802.15.7 standard defines
the physical layer (PHY) and media access control (MAC) layer [34]. The standard is
capable of delivering enough data rates to transmit audio, video and multimedia services.
It takes into account the optical transmission mobility, its similarity with artificial
interference, originate by the comprehensive lighting. The MAC layer allows using the
32
link with the other layers like the TCP/IP protocol. The standard defines three PHY
• The PHY I was established for outdoor application and serve from 11.67 kbit/s to 267.6
kbit/s.
• The PHY II layer permission to reach data rates from 1.25 Mbit/s to 96 Mbit/s.
• The PHY III is used for many emission sources with a distinctive modulation method
called Color Shift Keying (CSK). PHY III can convey rates from 13 Mbit/s to 98 Mbit/s.
The modulation formats valid for PHY I and PHY II are the codings, On-Off Keying
(OOK) and Variable Pulse Position Modulation (VPPM). The Manchester coding
applied to the PHY I and PHY II layers include the clock inside the transmitted data by
representing a logic 0 with an OOK symbol “01” and a logic 1 with an OOK symbol
“10”, all with a DC component [34]. The DC component averts the light extinction in
Multiplexing (O-OFDM) modulation methods which have been improved for data rates,
multiple-access and energy efficiency can be utilized for Li-Fi communication. The
novel high-speed optical wireless models can be utilized both indoors and outdoors. The
Li-Fi confers resources for ODM (Original Design Manufacturers) and OEM (Original
USB 3.0, the stage is set for a wireless equivalent. When Wi-Fi is very famous for
33
pervasive 100+ Mbps service, multi-Gigabit short-range optical wireless interconnects
and provides a substitute to the proposed Gigabit RF (Radio Frequency) solution [33].
For communication, aimed light waves carry data in a rapid manner, but in a radio wave,
the data transfer rate is sluggish. For this cause, the essence of lightwave communication
is shown by the Figure 2.10.1, which complements Figure 2.2.1 and these consequently
explain the unlimited possibilities that abound in Li-Fi technology. However, the
drawback is that light cannot penetrate through the wall (which is an advantage,
considering the security mitigating RF networks) and no communication can take place
34
in darkness. Therefore, if one moves from one room to another one will require a wired
Professor Harald Haas promoted the Li-Fi technology in his 2011 TED Global talk and
35
Haas coined the term "Li-Fi" at his 2011 TED (Technology, Entertainment and Design)
Global Talk where he introduced the idea of "Wireless data from every light bulb"
In October 2011, companies and industry groups formed the Li-Fi Consortium, to
promote high-speed optical wireless systems and to overcome the limited amount of
A number of companies offer uni-directional VLC products, which is not the same as
established the LiFi Research and Development Centre at the school to conduct research
and development (i.e. R & D) on the technology. In 2012, he helped found pureLiFi,
several products.
PureLiFi introduced its first LiFi-X dongle in February 2016. About the size and width
of a business card, LiFi-X plugs into a computer’s USB port. An optical device that
accepts signals from the LED bulb, the dongle holds a receiver that converts the light-
36
intensity variations of the LED into an electric signal, which is then converted back into
The dongle also contains a digital data modulator that works with an infrared LED to
provide full duplex bi-directional wireless access at 43 Mb download and upload speeds.
Through a partnership with the French lighting manufacturer Lucibel, pureLiFi built a
Li-Fi system for office buildings. Included in the Li-Fi system are luminaires that hold
the LED bulbs as well as the modulating and demodulating circuits and digital signal
processors that run the communication protocols as firmware [36]. LED bulbs installed
in the ceilings can be networked into the company’s IT architecture, so people using a
computer or mobile device outfitted with the LiFi-X dongle can access data from office
Also, OLEDComm a French company founded by one of the inventors of LiFi, Suat
Topsu, provided products for indoor positioning and bidirectional modems at 2 Mbit/s
Recently, the first VLC smartphone prototype was presented at the Consumer
Electronics Show in Las Vegas from January 7–10 in 2014. The phone uses SunPartner's
Wysips CONNECT, a technique that converts light waves into usable energy, making
the phone capable of receiving and decoding signals without drawing on its battery [16],
[17]. A clear thin layer of crystal glass can be added to small screens like watches and
37
smartphones that make them solar powered. Smartphones could gain 15% more battery
In April 2014, the Russian company Stins Coman announced the development of a Li-
Fi wireless local network called Beam Caster [37]. Their current module transfers data
at 1.25 gigabytes per second (GB/s) but they foresee boosting speeds up to 5 GB/s in the
near future [16]. In 2014, Sisoft (a Mexican company) that was able to transfer data at
a new record.
Interestingly, Philips lighting company has developed a VLC system for shoppers at
stores. They have to download an app on their smartphone and then their smartphone
works with the LEDs in the store. The LEDs can pinpoint where they are located in the
store and give them corresponding coupons and information based on which aisle they
Recent integrated CMOS optical receivers for Li-Fi systems are implemented
with avalanche photodiodes (APDs) which has a low sensitivity. In July 2015, IEEE has
increase the efficiency of energy usage and make the receiver more sensitive [38]. In
38
Someday the last leg of our communication networks might not depend on a modulated
radio signal but on a modulated light signal from an LED bulb in a desk lamp or ceiling
fixture.
39
CHAPTER THREE
SYSTEM DESIGN
3.1. BACKGROUND
The design of the Li-Fi data transmission system to be controlled was divided into two
In the system, an Arduino microcontroller is used as the encoder and the decoder of the
data transmitted via the blinking LED and received by the photodiode.
The circuit diagram of the Li-Fi system is divided into two major parts as shown in figure
3.1.2. The transmitter part placed above while the receiver part is placed below. The
40
circuit diagram shown in details how the hardware components of the system are
connected for data transmission. However, during the implementation of the system, a
Transmitter Section
Receiver Section
For the Li-Fi system as shown in the circuit diagram, the hardware section consists of
the following parts:
1. A microcontroller (Arduino). It also serves as the Power Supply Unit (PSU) for the
Li-Fi Trans receiver System,
41
2. A Switching Transistor (2N222),
5. A Photodiode,
7. Jumpers and
8. Some connectors.
Arduino is a small microcontroller board with a USB plug to connect to your computer
and a number of connection sockets that can be wired up to external electronics, such as
motors, relays, light sensors, laser diodes, loudspeakers, microphones, etc. They can
either be powered through the USB connection from the computer or from a 9 V battery.
In this project, the system was powered by the Arduino which could be controlled by the
The Arduino Uno is a microcontroller board based on the ATmega328. It has 14 digital
input/output pins (of which 6 can be used as PWM outputs), 6 analogue inputs, a 16
MHz external crystal oscillator. Since most 8-bit AVR boards run an instruction per
second, the Arduino runs about 16 Mega Instructions per second(MIPS). The UNO
board contains everything needed to support the microcontroller; such includes a voltage
regulator (which can provide 5V and 3.3V derived from a 6-20V external power supply
through a power jack), a reset button, onboard programmer interfaced via universal serial
42
bus (USB) and so on. The board differs from other existing boards in that it features
to-serial driver chip. The ATmega328P has 32 Kilobytes of flash memory for storing the
program code, 2 Kilobytes of static random access memory (SRAM) and 1 Kilobyte
and other facilities enable the Arduino board to interconnect with a computer, another
In the Li-Fi transmission system, the Arduino board acts as both the transmitter pc (using
its serial monitor interface) and also the power supply for the whole system. This
configuration helps in preventing the use of an external power supply unit and also two
microcontroller boards in the transmitter and receiver circuit for the system.
43
Figure 3.2.1: Arduino Microcontroller board
By design, we desire the switching transistor in the transmitter circuit (shown in figure
3.1.2) to operate under hard saturation i.e. in the saturation region under all conditions.
Hence, a base resistance that produces a current gain of 10 i.e. (𝛽𝐷𝐶 = 10) is selected
[40]. This is because there is more than enough base current to saturate the transistor.
Selecting a base resistance, 𝑅𝐵 = 1 kΩ and taking 𝑉𝐵𝐸 = 0.7 V, from the base loop,
𝐼𝐵 = (𝑉𝐵𝐵 − 𝑉𝐵𝐸 ) / 𝑅𝐵
= (5 – 0.7) V / 1 kΩ
44
= 0.43 mA
Thus, 𝐼𝐶 = 𝛽𝐷𝐶 𝐼𝐵
= 10 x 0.43 mA
= 4.3 mA
Where 𝑉𝐶𝐸 = 0.3 V (from the data sheet) and 𝑉𝐿𝐸𝐷 = 0.7 𝑉,
= 93.023 Ω
45
3.2.3. DUAL OPERATIONAL AMPLIFIER (LM358N)
The LM358N – a Low Power Dual Operational Amplifier, consists of two independent
high gain, internally frequency compensated operational amplifiers which were designed
specifically to operate from a single power supply over a wide range of voltages as
Operation from split power supplies is also possible and the low power supply current
drain is independent of the magnitude of the power supply voltage. Application areas
include transducer amplifiers, dc gain blocks and all the conventional op amp circuits.
For example, the LM358N can be directly operated off the standard +5V power supply
voltage, which is used in digital systems and will easily provide the required interface
46
3.2.3.2. CHARACTERISTICS AND FEATURES
To duly implement the Li-Fi Transmission System, certain characteristics guided the
choice of the operational amplifier in the receiver circuit. The following are the unique
characteristics and features of the LM358N that makes it most suitable for the receiver
circuit.
i. In the linear mode, the input common-mode voltage range includes ground and
the output voltage can also swing to ground, even though it is operated from only
ii. It has two internally frequency compensated op amps for Unity Gain.
iii. Eliminates the need for dual supplies thereby making the Li-Fi receiver circuit
iv. It has a very low supply drain current (500 μA) which is essentially independent
of supply voltage.
v. Most importantly, it has a large dc voltage gain (of around 100 dB), large output
voltage swing (which is very pivotal because of the inconsistently low signal
expected to be generated by the photodiode), and very low input offset voltage
47
3.2.3.3. LOGIC DIAGRAM
The figure 3.2.3 shows the logic diagrams of the two operational amplifiers in the
The first stage of the receiver circuit is set up as a non-inverting dc gain amplifier to
amplify the weak signal from the photodiode. The voltage gain of the non- inverting
𝐴𝑉 = 1 + 𝑅2 /𝑅1 (4)
Since from the datasheet, the output signal from the photodiode is about 1.4V maximum
and we desired to have an output voltage that would be easily detected as a 1 signal when
48
𝑅1 = 𝑅2 / (𝐴𝑉 – 1)
= 8.2 kΩ / (3 – 1)
= 4.1 kΩ
With the configuration above, maximum output voltage to be read a bit ‘1’ is 3.84 V and
a bit ‘0’ voltage would still be far below - at around 0.6 V after amplification. This
ensures the data sent from the LED to the photodiode is decoded properly with high
The second stage of the receiver circuit is the gain regulation stage. The second amplifier
having input Pins 5 & 6 and output Pin 7 is desired to have a unity gain. At the feedback
kΩ. This variable gain setup helps in boosting the amplified signal when necessary i.e
under improper lighting conditions and ensure that the photodiode signal from the
49
3.3. SOFTWARE SECTION
microcontroller to use.
One of the reasons is due to the ease of programming the microcontroller. It involves
using the
50
Arduino IDE downloaded at Arduino.cc/en/Main/Software free. Codes written for
the board are called “sketches” and each sketch is divided, mainly into three parts:
The task of the transmitter is to convert digital data into visible light. An LED was a
suitable component because of its relatively linear relationship between current and light
intensity. The general idea is to modulate the light intensity of the LED i.e., the intensity
of the light corresponds to the symbol transmitted. The Arduino ports are not capable of
delivering the right amount of current to make the light intensity strong and fast enough.
To get around this problem a transistor is used as a switch, which made it possible to
switch a larger current faster. In Figure 3.2.2 a schematic is shown to give an overview
of the transmitter. The Hardware for the transmitter is designed using the following
steps:
1) The transmitter circuit design was drawn after design calculations were
completed. The software used for drawing the circuit schematic layout is the
51
2) After designing the circuit layout, the components were acquired and then
3) Next, the circuit after series of tests on the Breadboard is transferred into a Vero
4) Then finally, the components were soldered appropriately and then retested.
The task of the receiver is to convert the incoming light into a current using a photodiode.
For a digital signal, the Arduino cannot receive a voltage above 5 V. Therefore, the
electrical circuit between the photodiode and the Arduino needs to process the electrical
signal so it can be interpreted correctly. The receiver’s electronics need to convert the
current to voltage in order to amplify and compare it. The distance between the
transmitter and the receiver can be varied, but in order to avoid too small or too high
signal, an Automatic Gain Controller (AGC) can be designed, instead, a variable resistor
is used here. This component amplifies or reduces the input voltage to a selected output
voltage. To make sure the signal is digital and stable before the Arduino, the LM358
Operational Amplifier comparator was used because it has little or no offset. The
schematic of the circuit diagram as shown in figure 3.2.2 was tested on a Breadboard
along with the transmitter before being transferred to a Vero Board. The receiver’s Vero
52
CHAPTER FOUR
This Stage is the development and construction stage. The testing of the system
Universal Serial Bus (USB) controller on most models) which was used for loading
programs from a personal computer to the board. The Arduino IDE was used to program
the Arduino. The Arduino via the code was made to perform various tasks like switching on
or off the LED in the transmitter’s circuit and as well reading the analogue signal read from
In other not to make the system less bogus and redundant, the Arduino board was used
as the micro-controller as well as the Power Supply Unit (PSU) for the circuits. It
supplies a voltage of about 5V from its VCC port when connected to the PC via the serial
The Li-Fi data transmission system is set up such that a single Micro Controller -
Arduino board is used to encode, decode and supply power to the transmitter and receiver
circuits.
53
After the design and calculations of the resistor values in the transmitter and receiver, all
the components of the circuit were implemented on a breadboard carefully with the aid
of jumper wires and a multimeter was used to test the continuity of the circuit from point
to point.
In other to ensure the proper testing of the system and circumvent its proneness to errors,
the transmitter and receiver circuits were implemented on a single breadboard and the
LED and photodiode were in close proximity to one another as shown in figure 4.2.1.
After several tests, the components on the breadboard were then soldered carefully using
the same circuit configuration on separate Vero boards as shown in figure 4.2.2 and
4.2.3. A multimeter is used after soldering to detect dry joints, bridging of joints and test
54
for continuity of lines on the Vero board. This helps to reduce the strain of constructing
the circuit and detecting causes of error before using the circuit.
55
4.3. SOFTWARE IMPLEMENTATION
The only implementation of software design carried out is the creation of the application
that decodes the sent message from the transmitter and displays it on its output window.
The Arduino library was imported to the NetBeans IDE, as this is an external library
specially designed to ensure the Java application can communicate with the Arduino
microcontroller effectively.
The Graphical User Interface (GUI) developed from the program is shown in figure
4.3.1. It has a connect button and a system generated port list to give the user flexibility
The application is open through its link stored in the NetBeans IDE used to create it. The
application prompts the user to connect the Arduino microcontroller to one of the ports
from the drop-down list of ports shown in figure 4.3.1. The port to be chosen can be
determined by carefully viewing the port number from the Arduino IDE used to upload
56
the micro controller-encoding program onto the Arduino board. The port to connect to
is automatically chosen. Any error in connecting to the right port would impede the user
The ‘Connect’ button now becomes locked and changes to ‘Disconnect’ to prevent the
user from changing the port when a message is being received and thus disrupting the
decoding process.
57
4.4. IMPLEMENTATION PROCEDURE
The practical implementation of the project consists of the following separate parts:
1) Data packaging and encoding: This is done by the Arduino connected to the
transmitter. It converts the text to bits and sends sequentially as a Low or High voltage
signal.
2) Hardware control;
3) Transmission synchronization;
4) Transmission decoding: This is done by the photodiode which converts the light signal
to an analogue signal of varying magnitude and then passes it to the amplifier for
immediately after the photodiode. It ensures that a “1” is clearly differentiated from a
“0” bit.
Whenever a user wants to send data to another user, the following steps will take place:
1) The Arduino program is uploaded onto it chip via the serial port and the port number
is noted.
2) After successfully uploading the program, the Arduino serial monitor is opened and
the text to be sent is typed in the text box of the Arduino serial monitor indicated in
figure 4.5.1 (which was used to avoid making the process tedious). The sent text was
“Li-Fi System”.
58
3) The network module will buffer it and start transmitting it over the channel which is
the LED.
4) The Arduino connected to the receiving computer will collect the packet from the
channel i.e. the photodiode and the double stage amplifier, and hand it to the kernel of
5) The received text is then displayed using the Java GUI application designed as shown
in figure 4.3.1.
The final design verification was done using the complete system; a transmitter, receiver
and software, and the results are shown in figure 4.5.1 and figure 4.5.2.
59
Figure 4.5.2: The Li-Fi Receiver Interface
4.5.1 TRANSMITTER
The transmitter receives a signal from the PC using USB Cable then from General
Purpose Input Output (GPIO) pins on the Arduino. This signal controls the transistor,
which opens and closes the power supply to the LED. The LED voltage levels are shown
in figure 4.5.1; here it can be noted that both 12 V and 5 V supply can be used in the
transmitter for powering the LED but for simplicity 5 V supply is preferred for low
power operation.
4.5.2 RECEIVER
The receiver converts the incoming light into an electrical signal using the photodiode
and feeds it into the microcontroller via the operational amplifier - which filters and
amplifies the signal. After amplification, the signal is in analogue form; hence, ADC
operation is performed, before providing it to the Arduino. Figure 4.5.1 shows the
measured analogue signal at the output of the amplifier when a bit ‘1’ or ‘0’ is received.
The current which is generated by the photodiode is of very low value; hence a high-
value resistor is used to convert it to voltage. Now this voltage is further amplified for
60
the comparator to give properly transmitted bits. The difference in amplitude of the
amplified voltage, which is the output of the second part of the LM358 operational
amplifier, can be compared in figure 4.5.1. Finally, on the receiver PC, the message (text)
61
CHAPTER FIVE
5.1. CONCLUSION
The aim of this project was to design a Li-Fi Data Transmission system to send data
(limited to text – strings) from a PC to another PC. The Data Transmission system
constructed when tested showed satisfactory performances. The Li-Fi data transmission
system constructed was very cheap making it satisfy the major aim of the project –
Therefore, a Li-Fi prototype has been designed which demonstrates the basic principle
and supports the claim of the advantages of Li-Fi over Wi-Fi. The system constructed
has some limitations also. The Li-Fi prototype designed does not support multi-user
access. The speed achieved with this prototype is 11,520 bps only which is not of the
high order of Gbps. Also, this prototype is not bidirectional. Hence, it is only used for
broadcast purposes. The limitations of this work can be removed by using higher-end
devices.
5.2. RECOMMENDATION
For a personal project, the project is very good as it uses simple off the shelf electronic
sophisticated Graphical User Interface (GUI) would have to be created and more
functions incorporated at the receiver PC. Also, messages to be sent from the
62
transmitting PC need not be sent through the Arduino serial monitor using an application
Furthermore, a specially made chip - Integrated Circuit (IC) could be manufactured for
the encoding circuit to encode data as the microcontroller and at the receiver to decode
data sent in bits and interpret it correctly without the aid of the whole Arduino board,
which makes it look more bogus and less portable. This special chip can be connected
to the computer system just like a modem and would get its supply from the USB port
of the computer. This set up would greatly improve the portability of the device as well
I would recommend that the main improvement of this system should focus on the
simultaneously.
63
REFERENCES
64
[14] O. O. Alabi, “A DUAL MODE HOME AUTOMATION SYSTEM USING
THE ESP8266 WI-FI MODULE AND THE ARDUINO,” University of Ilorin,
2017.
[15] H. Haas, L. Yin, Y. Wang, and C. Chen, “What is LiFi?,” J. Light. Technol. (
Vol. 34, Issue 6, March15, 15 2016 ), vol. 34, no. 6, pp. 1533–1544, 2016.
[16] B. Ekta and R. Kaur, “Light Fidelity (LI-FI) - A Comprehensive Study,” Int. J.
Comput. Sci. Mob. Comput., vol. 3, no. 4, pp. 475–481, 2014.
[17] R. Mahendran, “Integrated Li-Fi (Light Fidelity) For Smart Communication
through Illumination,” 2016 Int. Conf. Adv. Commun. Control Comput.
Technol., vol. 2, no. 11, 2016.
[18] H. Elgala, R. Mesleh, H. Haas, and B. Pricope, “OFDM Visible Light Wireless
Communication Based on White LEDs,” 2007.
[19] H. Haas and S. Dimitrov, “Information rate of OFDM-based optical wireless
communication systems with nonlinear distortion,” J. Lightwave Technol., vol.
31, no. 6, pp. 918–929, 2013.
[20] M. Watts, “Meet Li-Fi, the LED-based alternative to household Wi-Fi,” Wired
Magazine, 2012.
[21] B. Harald, “pureVLC Demonstrates Li-Fi Streaming along with Research
Supporting World’s Fastest Li-Fi Speeds up to 6 Gbps | Business Wire,”
Business Wire, 2013. [Online]. Available:
https://www.businesswire.com/news/home/20130806006140/en/pureVLC-
Demonstrates-Li-Fi-Streaming-Research-Supporting-World’s. [Accessed: 03-
Jan-2018].
[22] R. R. W. Gonzalez, “Digital image processing.,” pp. 116–141, 2002.
[23] “pureVLC Demonstrates Li-Fi Using Reflected Light,” PureVLC, 2013.
[24] T. Lain, “Forget Wi-Fi, boffins get 150Mbps Li-Fi connection from a lightbulb •
The Register,” theregister.co.uk, 2013. [Online]. Available:
http://www.theregister.co.uk/2013/10/18/forget_wifi_chinese_boffins_get_150
mbps_lifi_connection_from_a_lightbulb. [Accessed: 03-Jan-2018].
[25] Y. Perwej, “The Next Generation of Wireless Communication Using Li-Fi
(Light Fidelity) Technology,” J. Comput. Networks, vol. 4, no. 1, pp. 20–29,
Aug. 2017.
[26] S. Chatterjee, S. Agarwal, and A. Nath, “Scope and Challenges in Light Fidelity
65
( LiFi ) Technology in Wireless Data Communication,” Int. J. Innov. Res. Adv.
Eng., vol. 2, no. 6, pp. 1–9, 2015.
[27] L. L. Fidelity, “Study Paper on LiFi & its Applications FN Division, TEC,”
2015.
[28] F. Aftab, “Potentials and Challenges of Light Fidelity Based Indoor
Communication System,” Int. J. New Comput. Archit. their Appl., vol. 6, no. 3,
pp. 91–102, 2016.
[29] J. Rani, P. Chauhan, and R. Tripathi, “Li-Fi (Light Fidelity)-the future
technology in wireless communication,” Int. J. Appl. Eng. Res., vol. 7, no. 11
SUPPL., pp. 1517–1520, 2012.
[30] S. Dimitrov and H. Haas, Principles of LED Light Communications: Towards
Networked Li-Fi. Cambridge, United Kingdom: Cambridge University Press,
2015.
[31] T. A. Tran and D. C. O’Brien, “LED holographic beam-steering for visible-light
communications,” in 2013 IEEE Globecom Workshops (GC Wkshps), 2013, pp.
1099–1102.
[32] Internet, “Electroluminescence,” 1999. [Online]. Available:
http://en.wikipedia.org/wiki/electroluminescence. [Accessed: 17-Jun-2018].
[33] Y. Saito, Y. Kishiyama, A. Benjebbour, T. Nakamur, A. Li, and K. Higuchi,
“Non-orthogonal multiple access (NOMA) for cellular future radio access,” in
IEEE Vehicle Technology Conference, 2013, pp. 1–5.
[34] Y. Perwej, H. Kashiful, U. Jaleel, and S. Saxena, “Some drastic improvements
found in the analysis of routing protocol for the Bluetooth technology using
scattered,” Comput. Commun. Inf. Technol. Appl. (CCITA), Seoul, South Korea,
vol. 1, no. 5, pp. 86–95, 2010.
[35] D. Tsonev, S. Videv, and H. Haas, “Unlocking spectral efficiency in intensity
modulation and direct detection systems,” IEEE J. Sel. Areas Commun., vol. 33,
no. 9, pp. 1758–1770, 2015.
[36] H. Haas, “Wireless Data from Every Light Bulb,” 2011. [Online]. Available:
http://bit.ly/tedvlc. [Accessed: 17-Jun-2018].
[37] J. Singh and A. Vikash, “A New Era in Wireless Technology using Light-
Fidelity,” Int. J. Recent Dev. Eng. Technol., vol. 2, no. 6, 2014.
66
[38] A. Sarkar, “Li-Fi Technology: Data Transmission through Visible Light,” Int. J.
Adv. Res. Comput. Sci. Manag. Stud., vol. 3, no. 6, 2015.
[39] Y. A. Badamasi, “The Working Principle of an Arduino,” in 11th International
Conference on Electronics, Computer and Computation (ICECCO), 2014.
[40] A. Malvino and D. J. Bates, Electronic Principles, 7th ed. New Delhi, India,
2007.
67
APPENDICES
EVALUATION (BEME)
68
APPENDIX B: SOURCE CODE FOR THE ARDUINO
1. Arduino code for viewing the sent message and how it is received in ANALOG
FORM
int i;
byte text;
int output;
void setup() {
pinMode(pin1,OUTPUT);
pinMode(pin2,INPUT);
Serial.begin(9600);
void loop() {
DATABUFFER();
if(Serial.available() == 0){
69
}
void DATABUFFER(){
while(Serial.available()==0){}
text = Serial.read();
bool x;
x = bitRead(text,i);
if(x == 1){
Serial.print(x);
digitalWrite(pin1,HIGH);delay(Time);
output = analogRead(pin2);
Serial.print(" (");Serial.print(output);Serial.print(")");
else if (x == 0){
Serial.print(x);
digitalWrite(pin1,LOW);delay(Time);
output = analogRead(pin2);
Serial.print(" (");Serial.print(output);Serial.print(")");
70
Serial.print(" ");
Serial.write(text);Serial.println("");
71
APPENDIX C: JAVA CODE FOR RETRIEVING THE SENT MESSAGE
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import jssc.SerialPort;
import jssc.SerialPortException;
import jssc.SerialPortList;
import javax.swing.*;
72