Serial and Parallel Data Transmission Through Li-Fi
Serial and Parallel Data Transmission Through Li-Fi
Serial and Parallel Data Transmission Through Li-Fi
Abstract - Light Fidelity (Li-Fi) is a new technology which focuses on communication by utilizing the visible light
spectrum. Li-Fi basically uses already available light sources like LED to transmit data, by blinking the LED. These changes
in the intensity of light are detected by a photodetector device which receives the data. Thus, illumination and
communication are achieved simultaneously. This paper presents a way for Serial and Parallel Communication of data
though Li-Fi. The text is transmitted serially by using a single LED and phototransistor. For parallel transmission, the
number of LED and phototransistor is increased. The system realized in this paper utilizes MATLAB(R2017b), Arduino
Uno, White LED for transmission of the text. At the receiver side, a phototransistor which is sensitive to visible light is used
along with Arduino Uno, MATLAB to complete the reception of the text. Li-Fi offers a completely new method of
communication, which has a potential to increase the speed of communication drastically.
Keywords - Li-Fi, Visible Light Spectrum, LED, Photodetector (L14G2), Serial Transmission, Parallel Transmission,
Arduino Uno, MATLAB(R2017b).
42
International Journal of Electrical, Electronics and Data Communication, ISSN(p): 2320-2084, ISSN(e): 2321-2950
Volume-6, Issue-6, Jun.-2018, http://iraj.in
light source for use in Li-Fi. LEDs can blink at a 1) MATLAB: MATLAB (matrix laboratory) is a
much higher rate than human eyes can perceive, proprietary programming language developed by
which gives them another advantage for use as a light MathWorks. MATLAB allows matrix manipulations,
source in Li-Fi. A constant current applied to an LED plotting of functions and data, implementation of
bulb results in the emission of photons, which is algorithms, the creation of user interfaces, and
perceived as illumination by a human eye. The interfacing with programs written in other languages,
intensity of this light can be modulated for including C, C++, C#, Java, Fortran, and Python. We
transmission of data. This intensity modulation is are using MATLAB (version 2017b) for conversion
detected by a photodetector device such as a of data into binary format. It also provides a support
phototransistor, photodiode, etc. The light signal is package for Arduino Uno which is essential for
then demodulated into electronic form and original moving data from PC to Arduino hardware[8].
data is recovered. 2) Arduino Uno: Arduino UNO board is an open-
source electronics platform based on the
III. SYSTEM MODEL ATmega328P microcontroller and developed by
Arduino.cc. The board is equipped with sets of digital
The basic system model consists of MATLAB, and analog input/output (I/O) pins that may be
Arduino, LED, Photo-Transistor. interfaced to various expansion boards (shields) and
other circuits. It is programmable with the Arduino
IDE (Integrated Development Environment) via a
type B USB cable[9].
3) LED: The most important requirement of the LED
is its ability to turn ON and OFF in very short
intervals (in ns range). So, we use LEDs which have
very low switching time. These LEDs turn ON and
OFF in Nanosecond based on the Pulse signal. Since,
the switching taking at a faster rate, it cannot be
detected by Human eye. So, it will appear as
illuminating even though they are blinking. Thus, the
modulated data is transmitted to the receiver via
Visible Light.
B. Li-Fi Receiver
At the receiver, a phototransistor is used for detecting
Figure 2: Block diagram of Proposed Li-Fi System the light signal. The phototransistor component is
highly sensitive to light. It detects the intensity of
A. Li-Fi Transmitter light as per light intensity and a particular voltage is
The transmission is done by using MATLAB read by Arduino pin. Now this voltage is given to
(2017b), Arduino Uno and LED. Ourchannel for MATLAB and with the help of this voltage the bits
transmission ofdata is visible light. The data are retrieved andregrouped for reconstruction of the
transmission is performed using the serial transmitted data. We have used phototransistor
transmission technique and parallel transmission L14G2 for this purpose. It can sense wavelength upto
technique. We have implemented a transmission of 940nm[10].
text and image from one PC to another PC. For the
processing and manipulation of the Data (text or IV. ALGORITHM AND FLOWCHART
image) MATLAB software is used. Here the data is
changed to binary by using inbuilt MATLAB Algorithm for transmitter code is given as follows:
commands and then forwarded bit by bit to Arduino 1. Start.
Uno board. The output of PC is given to the Arduino 2. Enter the text to be transmitted.
Uno which acts as target hardware and it further 3. Conver the entered data into binary format.
transmits the data using LED. Arduinooperates the 4. Transmit Start bits.
LED as per the Input from MATLAB. There is an 5. Read the data.
appropriate delay between two consecutive bits, 6. If 1 is detected turn ON LED.
which helps to reduce the bit error and reconstruction 7. If 0 is detected turn OFF LED.
of data. When the data received from MATLAB is 1, 8. Transmit Stop bits.
LED turns ON for a particular time and transmitted
and if the 0 is received from MATLAB, LED turns Above algorithm can also be explained with help of a
OFF for a particular time and data transmission takes flowchart. The flowchart is shown in the figure3
place. A brief description of components used in below:
transmitter section is given below.
43
International Journal of Electrical, Electronics and Data Communication, ISSN(p): 2320-2084, ISSN(e): 2321-2950
Volume-6, Issue-6, Jun.-2018, http://iraj.in
44
International Journal of Electrical, Electronics and Data Communication, ISSN(p): 2320-2084, ISSN(e): 2321-2950
Volume-6, Issue-6, Jun.-2018, http://iraj.in
In above figure, channel-1 shows the waveform of Figure 7 shows the system setup of parallel
LED at the time of transmission of data. Channel-2 transmission.
shows the waveform of phototransistor L14G2 during
the reception.
TABLE 1
CONCLUSION
FUTURE SCOPE
45
International Journal of Electrical, Electronics and Data Communication, ISSN(p): 2320-2084, ISSN(e): 2321-2950
Volume-6, Issue-6, Jun.-2018, http://iraj.in
Research in Applied Science & Engineering, Volume 2, Issue FiEnvironment Using MATLAB”, International Journal of
X, pp. 149-153, October 2014. Scientific & Engineering Research, Volume 8, Issue 3, pp.
[4] Shlomi Arnon, Visible Light Communication, 1st ed, Ben- 1971-1975, March-2017.
Gurion University of the Negev, Israel: 2015. [13] Yingjie He, Liwei Ding, Yuxian Gong, Yongjin Wang,
[5] Liju Sajan, Lince Mathew, Abraham Thomas, Sarun Sathyan, “Real-time Audio & Video Transmission System Based
Bibin Baby, “Wireless Data Transfer Using Visible Light onVisible Light Communication”, Optics and Photonics
Communication”, International Jornal of Research in Journal, pp. 153-157, June 2013.
Engineering and Technology (IJRET),Volume 4, Issue 3, pp. [14] Anurag Sarkar,Prof. Shalabh Agarwal,Dr. Asoke Nath, “Li-Fi
52-55, April 2015. Technology: Data Transmission through Visible Light”,
[6] Darshan Jadhav, “Lifi(Light fidelity)-Efficient use of visible International Journal of Advance Research in Computer
spectrum”, International Journal of Engineering Science Science and Management Studies [Online], Volume 3, Issue
Invention ISSN [Online], Volume 4 Issue 3, pp. 52-55, 6, pp. 1-12, June 2015. Available: http://www.ijarcsms.com/
March 2015. Available: http://www.ijret.org [15] Sinku U. Gupta, “Research on Li-Fi Technology&
[7] PureLiFi Website. [Online]. Available: Comparison of Li-Fi/Wi-Fi”, Research on Li-Fi
https://purelifi.com/technology/ Technology& Comparison of Li-Fi/Wi-Fi,Volume 5, Issue 6,
[8] Wikipedia Website. [Online]. Available: pp.429-433, June 2015.
https://en.wikipedia.org/wiki/MATLAB [16] Alif Shah,Muhammad Shahzad,Muhammad Wajih Ullah
[9] Wikipedia Website. [Online]. Available: Siddiqi,Muhammad Asghar Khan, “Novel Architecture for
https://en.wikipedia.org/wiki/Arduino_Uno Future Li-Fi Wireless Technology”, International Conference
[10] Fairchid Semiconductor, L14G2 datasheet. on Engineering and Emerging TechnologiesICEET, pp. 21-
[11] Shaik.Shakeera,P. Sai, Manideep,M.Shahin 22, March 2014.
Begum,V.V.Bhargav, P.D.N.Malleswara Rao, “PC to PC File [17] Yusuf Perwej, “The Next Generation of Wireless
Transfer using Li-Fi Technology”, International Journal of Communication UsingLi-Fi (Light Fidelity) Technology”,
Engineering Trends and Technology (IJETT), Volume 46, Journal of Computer Networks [Online], Vol. 4, No. 1, pp.
Number 3, pp. 143-145, April 2017. 20-29, 2017. Available: http://pubs.sciepub.com/jcn/4/1/3/
[12] Jitu Prakash Dhar, “Utilization of the Image Processing
Concept forSerially Communicating an Image in Li-
46