A Low-Cost Li-Fi Communication Setup

Similar documents
Transmission of Digital Audio with Visible Light

VLC Physical Layer Design based on Pulse Position Modulation (PPM) for Stable Illumination

Activity 4: Due before the lab during the week of Feb

SV613 USB Interface Wireless Module SV613

A High-Speed Bi-Directional Visible Light Communication System Based on RGB-LED

II. BLOCK

Design and Implementation of Visible Light Communication System using low cost microcontroller module and LED as light source

Is Li-Fi the near future wireless technology?

DASL 120 Introduction to Microcontrollers

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

EECE494: Computer Bus and SoC Interfacing. Serial Communication: RS-232. Dr. Charles Kim Electrical and Computer Engineering Howard University

Unit D. Serial Interfaces. Serial vs. Parallel. Serial Interfaces. Serial Communications

Electronics / Water analogy. Resistor. Inductance. Capacitor. Water Electronics Energy - Energy Pressure - Voltage Flow - Current Volume - Charge

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

Serial Communications RS232, RS485, RS422

BYTE-INVERT TRANSMISSION FOR FLICKER PREVENTION AND ILLUMINATION CONTROL FOR VISIBLE LIGHT COMMUNICATION

Gigabit-class optical wireless communication system at indoor distances (1.5-4 m)

Data Transmission in Ships Based on Light Fidelity

TFmini Infrared Module Specification

Lifi(Light fidelity)-efficient use of visible spectrum

USB Port Medium Power Wireless Module SV653

CARRIER LESS AMPLITUDE AND PHASE (CAP) ODULATION TECHNIQUE FOR OFDM SYSTEM

Training Schedule. Robotic System Design using Arduino Platform

Lesson UART. Clock Systems and Timing UART (Universal Asynchronous Receiver-Transmitter) Queues Lab Assignment: UART

G3P-R232. User Manual. Release. 2.06

Embedded Radio Data Transceiver SV611

Wysips R Connect, the first solution for the indoor/outdoor VLC lighting saturation problematics

Practical Space Shift Keying VLC System

Transistor Characteristics

Design and Simulation of Universal Asynchronous Receiver Transmitter on Field Programmable Gate Array Using VHDL

Semiconductors, ICs and Digital Fundamentals

Catalog

What is LiFi? Harald Haas, and Cheng Chen.

An Optical Version of WIFI for Indoor Application

Remote Switching. Remote Gates. Paging.

Radiation Hardened RF Transceiver For In-Containment Environment Applications Using Commercial Off the Shelf Components

Remote Switching. Remote Gates. Paging.

IGBT based Multiport Bidirectional DC-DC Converter with Renewable Energy Source

BASIC-Tiger Application Note No. 059 Rev Motor control with H bridges. Gunther Zielosko. 1. Introduction

SMARTALPHA RF TRANSCEIVER

YDLIDAR G4 DATASHEET. Doc#: 文档编码 :

Li-Fi ( Light Fidelity)

POWER LINE COMMUNICATION. A dissertation submitted. to Istanbul Arel University in partial. fulfillment of the requirements for the.

VHDL Implementation of Universal Asynchronous Transmitter

Applications. Operating Modes. Description. Part Number Description Package. Many to one. One to one Broadcast One to many

IEEE P Wireless Personal Area Networks. IEEE P Task Group Visible-Light Communication (TG-VLC)

Catalog

Prototype Model of Li-Fi Technology using Visible Light Communication

Serial Input/Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

Stensat Transmitter Module

RF RECEIVER DECODER RDF1. Features Complete FM Receiver and Decoder. Applications

Local Asynchronous Communication. By S.Senthilmurugan Asst.Professor/ICE SRM University. Chennai.

Beacon Atom Hardware Design Analysis Seeed Studio EE 2012/12

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

EE445L Fall 2012 Final Version B Page 1 of 7

Implementation of Microcontroller Based Sensing Unit in Transmitter for Wireless Weather Station

3 Definitions, symbols, abbreviations, and conventions

ECEN 720 High-Speed Links: Circuits and Systems. Lab3 Transmitter Circuits. Objective. Introduction. Transmitter Automatic Termination Adjustment

School of Engineering Science Burnaby, BC V5A 1S6. November 2, 2009

DESCRIPTION DOCUMENT FOR WIFI SINGLE DIMMER ONE AMPERE BOARD HARDWARE REVISION 0.3

RS-232 Electrical Specifications and a Typical Connection

ROM/UDF CPU I/O I/O I/O RAM

A Low Cost Demonstration Platform for Reducing Energy Consumption by Regulating Building Controls through VLC

TRXQ1 RXQ1 FM NARROW BAND TRANSCEIVERS. RXQ1 Version. Applications. TRXQ1 Version

An LED-to-LED Visible Light Communication System with Software-Based Synchronization

Roland Kammerer. 13. October 2010

Cost efficient design Operates in full sunlight Low power consumption Wide field of view Small footprint Simple serial connectivity Long Range

Visible Light Communication-based Indoor Positioning with Mobile Devices

= V IN. and V CE. = the supply voltage 0.7 V, the transistor is on, V BE. = 0.7 V and V CE. until saturation is reached.

Published in: Proceedings of the 20th Annual Symposium of the IEEE Photonics Benelux Chapter, November 2015, Brussels, Belgium

DR7000-EV MHz. Transceiver Evaluation Module

JEPPIAAR SRR Engineering College Padur, Ch

LABORATORY AND FIELD INVESTIGATIONS ON XBEE MODULE AND ITS EFFECTIVENESS FOR TRANSMISSION OF SLOPE MONITORING DATA IN MINES

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

III. MATERIAL AND COMPONENTS USED

Smart Shopping System By Using Li-Fi Technology In Supermarkets

B & D Enterprises 1P repeater controller pg 1 INTRODUCTION:

28 International Journal of Electronics & Communication Technology

Speed your Radio Frequency (RF) Development with a Building-Block Approach

Lab 2.2 Custom slave programmable interface

Cost efficient design Operates in full sunlight Low power consumption Wide field of view Small footprint Simple serial connectivity Long Range

The Breakdown. Figure 1: Block Diagram (above: Transmitter; below: Receiver)

AT-XTR-7020A-4. Multi-Channel Micro Embedded Transceiver Module. Features. Typical Applications

Speed Control of Single Phase Induction Motor Using Infrared Receiver Module

DEFINITIONS AND FUNDAMENTAL PRINCIPLES IDC

2014, IJARCSSE All Rights Reserved Page 459

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

INTELLIGENT HOME AUTOMATION SYSTEM (IHAS) WITH SECURITY PROTECTION NEO CHAN LOONG UNIVERSITI MALAYSIA PAHANG

Dual Tone Laser Driver

Wireless Firing Interface for Power Electronic Converters

ZX Distance and Gesture Sensor Hookup Guide

ANALYSIS OF WIRELESS OPTICAL COMMUNICATION FOR UNDERWATER APPLICATIONS: A REVIEW

Wireless Music Player Design Based on White LED Visible Light Communication Shu-min ZHANG, Chun-xian XIAO, Chen-qiao XUE and Jin-ming LU

Low Noise Wireless Speaker Using LASER and Infra-Red Technology for Public Address System

Demonstration of bi-directional LED visible light communication using TDD traffic with mitigation of reflection interference

Bandwidth Extension of an Enhanced SNR with a higher Light Uniformity of a Phosphorescent White LED Based Visible Light Communication System

Multi Frequency RFID Read Writer System

Ultrasonic Positioning System EDA385 Embedded Systems Design Advanced Course

Fast IC Power Transistor with Thermal Protection

Developing a laser Ethernet transceiver to a final prototype assembly

Transcription:

A Low-Cost Li-Fi Communication Setup Güray Yıldırım* 1, Özgür Özen 2, Heba Yüksel 3, M Naci İnci 4 1,2,3 Bogazici University, Dept. of Electrical-Electronics Eng., Istanbul, Turkey; e-mails: 1 guray.yildirim@boun.edu.tr, 2 ozgur.ozen@boun.edu.tr, 3 heba.yuksel@boun.edu.tr 4 Bogazici University, Physics Department, Istanbul, Turkey e-mails: 4 naci.inci@boun.edu.tr ABSTRACT This study defines a low cost and minimal setup of a light-fidelity (Li-Fi) system. Li-Fi is a communication technique, which utilizes encoded visible light for a wavelength range from 375 nm to 780 nm. In order to build a transmitter, a power light-emitting diode (LED) is driven with a power MOSFET. Power LEDs are more efficient illumination sources rather than other classical light sources such as lamps since LEDs can be modulated via various control techniques. In this work, a power MOSFET is used for controlling power LEDs since power MOSFETs are high power switching semiconductors. On/off switching is used for transmitting data via visible light communication. For driving the power MOSFET, an NPN BJT and a pull-up resistor is used. Data is sent via LEDs through the BJT and MOSFET. As the controller part, an Arduino UNO board and its hardware UART module are employed. Data is encoded with UART protocol with 1 start bit, 1 stop bit, no parity bit, 8 bit data length, least significant bit first, and 600 bits per second configuration. The time data is used as the telemetry data for the testing of the system. The data is also monitored in a serial port terminal at the computer screen. A light dependent resistor (LDR) is used for the receiver part. LDR is a semiconductor that has different resistance values under the light and at dark. This difference is translated into voltage with a serial resistor. The result is read from a logic analyzer, which is arranged to catch UART data with 1 start bit, 1 stop bit, 8 bit data length, 600 bits per second and least significant bit first. As LDR has high resistance at dark, this sometimes caused problems for it to drive gate capacitances at higher baud rates. Adding an NPN BJT at the output of LDR-resistor serial connection allowed us to reach higher baud rates. Keywords: Li-Fi, visible light communication, UART Topics: Visible light communication, light-fidelity, communication protocols 1. INTRODUCTION LEDs can produce white light up to 20 times more efficient than light bulbs and they have many extra features and usage areas than conventional lightning systems such as display technology and allowing communication [1]. Transmission with LEDs is evaluated as more reliable than RF technology due to the fact that they cannot be seen outside the walls [3]. In this work, a one-way communication system which consists of an easy to implement and low cost segments is implemented and tested in a room that has another light source with on and off state. For lighting, 10W power LEDs are used. Communication with LEDs can be implemented faster when LEDs are small due to their switching speed [3]. This work can also be implemented so that intensity is more stable through utilizing dual-code word as illustrated in [7]. On-

off keying is a common and simple solution to transfer data with switching. This technique depends on turning LEDs on and off according to data transmitted [2]. For example, if the LED is at on-state, it can be evaluated as logic 1 and otherwise if the LED is at off-state, it can be evaluated as logic-0. There is no physical connection to synchronize clocks of the transmitter and receiver. In this case, there should be either a self-clocking coding algorithm or another mechanism used to transfer data correctly. This work uses Universal Asynchronous Receiver/Transmitter (UART) for that purpose. 2. TRANSMITTER AND RECEIVER CIRCUITS 2.1. Transmitter Circuit Atmel s Atmega 328P microcontroller on an Arduino board is used with all of the transmitter implementation progress. 10W power LEDs are utilized for lightning the test room. There are cold-white and warm-white options available for power LEDs, however, our system is independent of color temperature for information. For switching power LEDs, a driver MOSFET is required which costs more than a basic NPN transistor. An NMOS with low RDS-on resistance is needed for minimal power loss due to heating which removes the need of a heat sink. To drive the power MOSFET with 5V digital output of Atmega328P, an NPN bipolar junction transistor is employed. Power LEDs are the most expensive part of the transmitter costing about $2 per LED. The Power MOSFET and the NPN BJT are relatively inexpensive costing about $0.25 and $0.03 respectively. A schematic of the transmitter is shown in Figure 1. Figure 2 shows a picture of the realized transmitter circuit. Figure 1: LED driving circuit schematic gets input from controller (TX) and drives MOSFET (Q1) via a NPN BJT (T1)

Figure 2: Realized circuit with 10W LEDs, power MOSFET and a NPN driving it. 2.2. Receiver Circuit For the receiver side, a light-dependent resistor (LDR), which costs about $0.01, is employed for detecting light status. Data is gathered from LDR via some NPN transistors, which cost about $0.03 each. The output of NPN transistors is connected to the input (named RX) of a USB to a UART adaptor, which cost about $0.8. A schematic of the receiver is shown in Figure 3. Figure 4 shows a picture of the realized receiver circuit. Figure 3: Receiver circuit schematic with LDR and 2 NPN transistors one for getting input and the other for implementing a NOT gate.

Figure 4: Implemented circuit for receiver " 3. TRANSMITTER AND RECEIVER SOFTWARE As the controller part, an Arduino UNO board and its hardware UART module are employed. Data is encoded with UART protocol with 1 start bit, 1 stop bit, no parity bit, 8 bit data length, least significant bit first, and 600 bits per second configuration. The time data is used as the telemetry data for the testing of the system. The data is also monitored in a serial port terminal at the computer screen. 3.1. Transmitter Software An Arduino program is written for testing the transmitter side. This program gets the time passed since the Arduino has been powered. Afterwards, it transmits the elapsed time in seconds in a fractional format. All the data is transmitted as ASCII text so that it is easy to track time changes and data at the receiver part. This information flow also provides the chance of tracking data integrity due to increasing data value by one every second. 3.2. Receiver Software At the beginning, in order to monitor logic states of the receiver output, a logic analyzer which can sample at 24 MHz maximum is utilized. After getting data correctly from the logic analyzer, a USB to UART converter is used in place of the analyzer for collecting data as a cheaper solution. The USB to UART converter costs $0.8. USB to UART converter adaptor has a pin named RX for incoming data. The output of the receiver circuit is connected to this pin. Any serial port terminal program which supports baud rate configuration can be used due to the fact that the entire data protocol configuration is kept default with the exception of the baud rate which needs to change in order for the maximum speed to be reached with the current setup. GNU Screen utility which supports serial port monitoring and changing the baud rate is employed. The gathered data can be observed as in Figure 5.

" Figure 5: Example gathered data in ASCII format logged with GNU Screen utility. 4. COMMUNICATION PROTOCOL On-off keying is used for communication between the transmitter and the receiver. All data is sent over the air in a room which has people working in it daily. For transmitting and receiving data, UART protocol is employed. In UART protocol, both the transmitter and receiver should have the same speed and different parameters which will be explained later. Standard UART speeds are expressed in bits per second and this unit is also called as baud rate [9]. These standard baud rates include 300, 600, 1200, 2400, 4800, 9600 bits per seconds and this list goes on with multiples of these values. In order to be in standard values, these baud rates are applied from lower to higher to reveal maximum data rate which can be achieved using this hardware. The other reason is that many hardware and software which support UART natively works with these speeds with slight changes in the configuration. When there is no data in the communication line, the output is in logical high state. In this case, the light should be on so that it can provide luminance to the room. For the purpose of keeping the lights on when there is no data, a not gate is implemented with a transistor before switching the transistor at the output of UART hardware as in Figure 1 [10]. As being a part of standard UART settings, one start bit and one stop bit is selected when the hardware is configured. With these bits, transmission starts with a logical-low output which lasts for a time equals to 1 bit at the current speed being 1/ x where x is the baud rate and the result is in units of seconds. Afterwards, 8 bits data is sent with on-off keying in a sequential order. A stop bit is also sent after the transmission of one byte. The stop bit has the same specifications with the start bit except being in a logical high state. There is no parity bit used for checking data integrity. It is separated as a software stack job. 5. TEST RESULTS The circuit and software are run with different baud rates from 300 bps to 2400 bps. The maximum data rate achieved is 1200 bps. With these conditions, when data rate is doubled to 2400 bps, the error rate increases and passes 50%. In this case, 1200 bps data rate is used and two of every ten bits are utilized for the start and stop bits. Maximum data sent per second can be calculated with X/(D+St+Sp), (1) where X is baud rate, D is the number of bits of data sent every time, St is the number of start bits, and Sp stands for the number of stop bits. It is not mandatory that the result will be an integer due to the variable structure of these parameters. The stop bit may also be selected as a fractional number [11].

At the receiver side, the UART terminal program is executed and the results are achieved as shown in Figure 5. The tests are made when the ambient light source which consists of two 8W LED bulbs are on and off separately. In both situations, the maximum achieved baud rate is 1200 bits per second including the start and stop bits. 6. CONCLUSION With this basic and low cost Li-FI implementation setup, low data rates can be achieved without tough effort. In order to increase data speed, a comparator circuit built with operational amplifiers can be added to the input of the receiver system to eliminate transition states and provide more accurate inputs to it. For adjusting the receiver with different luminous values manually, a potentiometer may be added to the input of the comparator circuit. An adaptive system may also be used for reaching this target automatically. 7. REFERENCES 1. Kim, J. K., & Schubert, E. F. (2008). Transcending the replacement paradigm of solid-state lighting. Optics Express, 16(26), 21835-21842. 2. H. Haas, L. Yin, Y. Wang and C. Chen, "What is LiFi?," in Journal of Lightwave Technology, vol. 34, no. 6, pp. 1533-1544, March15, 15 2016. doi: 10.1109/JLT.2015.2510021 3. Aftab, F., & Ali, S. (2016). Light fidelity (LI-FI) based indoor communication system. arxiv preprint arxiv: 1606.02831. 4. Khalid, A. M., Cossu, G., Corsini, R., Choudhury, P., & Ciaramella, E. (2012). 1-Gb/s transmission over a phosphorescent white LED by using rate-adaptive discrete multitone modulation. IEEE Photonics Journal, 4(5), 1465-1473. 5. Petković, M. I., Đorđević, G. T., & Milić, D. N. (2014). BER Performance of IM/DD FSO System with OOK using APD Receiver. Radioengineering, 23(1), 480-487. 6. Bao, X., Yu, G., Dai, J., & Zhu, X. (2015). Li-Fi: Light fidelity-a survey. Wireless Networks, 21(6), 1879-1889. 7. Suh, Y., Ahn, C. H., & Kwon, J. K. (2013). Dual-codeword allocation scheme for dimmable visible light communications. IEEE Photonics Technology Letters, 25(13), 1274-1277. 8. KeyStone Architecture Universal Asynchronous Receiver/Transmitter (UART). (2016). 1st ed. [ebook] Texas Instruments. Available at: http://www.ti.com/lit/ug/sprugp1/sprugp1.pdf [Accessed 24 Jul. 2016]. 9. Durda, F. (2014, April 29). Serial and UART Tutorial. Retrieved July 24, 2016, from https://www.freebsd.org/ doc/en/articles/serial-uart/ 10. Najmabadi, F. (n.d.). Introduction to Bipolar-Junction Transistors. Lecture. Retrieved July 25, 2016, from http://web.eng.ucsd.edu/ece/courses/ece65/spring2012/fn-notes/main/bjt.pdf 11. Ali, L., Sidek, R., Aris, I., Ali, A. M., & Suparjo, B. S. (2004). Design of a micro-uart for SoC application. Computers & Electrical Engineering, 30(4), 257-268.