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

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

Project: IEEE P Working Group for Wireless Personal Area Networks N

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

Project: IEEE P Working Group for Wireless Personal Area Networks N

Transmission of Digital Audio with Visible Light

Real-time white-light phosphor-led visible light communication (VLC) with compact size

Li-Fi And Microcontroller Based Home Automation Or Device Control Introduction

doc.: IEEE vlc

Bandwidth and Power analysis of PADM

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

Demonstration of a Visible Light Communication System for Underground Mining Applications Gang Wu a, Jian Zhang b

An Optical Version of WIFI for Indoor Application

A HIGH-PERFORMANCE BLUE FILTER FOR A WHITE-LED-BASED VISIBLE LIGHT COMMUNICATION SYSTEM

750 Mb/s monochromatic LED-based real-time visible light communication system employing a low-complexity cascaded post-equalizer

Practical Space Shift Keying VLC System

Design of Signal Conditioning Circuit for Photoelectric Sensor. , Zhennan Zhang

Optical Wireless Communication System with PAPR Reduction

International Journal of Scientific & Engineering Research, Volume 8, Issue 3, March-2017 ISSN Jitu Prakash Dhar

Design and Implementation of a Low Power Successive Approximation ADC. Xin HUANG, Xiao-ning XIN, Jian REN* and Xin-lei CHEN

A 10-Gbps optical WiMAX transport system

JOURNAL OF LIGHTWAVE TECHNOLOGY, VOL. 32, NO. 11, JUNE 1,

Prototype Model of Li-Fi Technology using Visible Light Communication

IEEE Transactions on Consumer Electronics. Visible Light Communication for Audio Systems

The Framework of the Integrated Power Line and Visible Light Communication Systems

Receiver characteristics evaluation of over-gigabit indoor visible light transmission system with QPM device

Visible light communication using TDMA optical beamforming

On the Impact of Visible Light Communication for Audio and Video Transmissions

URL: <

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

School of Electronic Science and Engineering, Nanjing University of Posts and Telecommunications, Nanjing, , China

Design and Research of Piezoelectric Ceramics Drive Power

II. EXPERIMENTAL SETUP

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

Amplify-and-Forward Integration of Power Line and Visible Light Communications

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

ANALYTICAL DESIGN OF ITERATIVE RECEIVER FOR OPTICAL WIRELESS COMMUNICATION BASED ON FLIP-OFDM

Dual Tone Laser Driver

Key Features for OptiSystem 14

VISIBLE LIGHT COMMUNICATION CHANNEL FOR AN INTELLIGENT PHOTOELECTRIC SENSOR MODULE Uliana Dudko, Ludger Overmeyer

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

Visible Light Communication

Class #9: Experiment Diodes Part II: LEDs

Gigabit Transmission in 60-GHz-Band Using Optical Frequency Up-Conversion by Semiconductor Optical Amplifier and Photodiode Configuration

Optical Infrared Communications

Optical Fibers p. 1 Basic Concepts p. 1 Step-Index Fibers p. 2 Graded-Index Fibers p. 4 Design and Fabrication p. 6 Silica Fibers p.

Design of high precision current signal source on DDS Han Ya Kun1, a, Suo Xue Song*,1, b

A Review on MATLAB based Platform for the Evaluation of Modulation Techniques using Multiuser MIMO-OFDM for Visible Light Communications using MATLAB

Used in Image Acquisition Area CCD Driving Circuit Design

8/21/2017. Executive Summary Problem Statement & Solution System Requirements System Analysis

Matlab based Platform for the Evaluation of Modulation Techniques used in VLC

Visible Light Communication

A new ground-to-train communication system using free-space optics technology

Developing a laser Ethernet transceiver to a final prototype assembly

All-Optical Clock Division Using Period-one Oscillation of Optically Injected Semiconductor Laser

Li- Fi. (Light Fidelity)

Lifi(Light fidelity)-efficient use of visible spectrum

Improvement of Ultrasonic Distance Measuring System

Transmission and Reception Using Power Line Communication

Full-duplex Star Redundant System for Visible Light Communication

Design of PC to PC Data Transfer System Using Optical Line of Sight Wireless Communication (OLSWC) Technology

Wireless Sensor Network for Intra-Venous Fluid Level Indicator Application

Electronic Instrumentation. Experiment 8: Diodes (continued) Project 4: Optical Communications Link

LoRa1278 Wireless Transceiver Module

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

S-band gain-clamped grating-based erbiumdoped fiber amplifier by forward optical feedback technique

An Extensive Study on Under-water Communication using LED /LASER Enabled Li-Fi Modules

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

Shock Sensor Module This module is digital shock sensor. It will output a high level signal when it detects a shock event.

SIMULATIVE INVESTIGATION OF SINGLE-TONE ROF SYSTEM USING VARIOUS DUOBINARY MODULATION FORMATS

Communication and Sensing Using Light

Li-Fi ( Light Fidelity)

LiFi High Speed Wireless Networking Using Nano-Metre Waves Professor Harald Haas

What is LiFi? Harald Haas, and Cheng Chen.

Indoor Visible Light Communications: challenges and prospects

A HYBRID MODULATION METHOD FOR DIMMING IN VISIBLE LIGHT COMMUNICATION

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

Study on Transmission of Audio Signal using Laser Communication System

LED-ID Systems Applying the Modulation and Coding Selection Scheme Based on Received Angle

Introduction. Laser Diodes. Chapter 12 Laser Communications

DESIGN OF AN ANALOG FIBER OPTIC TRANSMISSION SYSTEM

A10-Gb/slow-power adaptive continuous-time linear equalizer using asynchronous under-sampling histogram

Optical Power Meter Basics

Using Optical Isolation Amplifiers in Power Inverters for Voltage, Current and Temperature Sensing

Design of Adaptive RFID Reader based on DDS and RC522 Li Yang, Dong Zhi-Hong, Cong Dong-Sheng

Implementation of Green radio communication networks applying radio-over-fibre (ROF) technology for wireless access

A Low-Cost Li-Fi Communication Setup

Data Transmission in Ships Based on Light Fidelity

Dimming Techniques for Visible Light Communication System

Optical Fibres by using Digital Communication without Direct Current to Detect CFD

LAT Indoor MIMO-VLC Localize, Access and Transmit

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

DEFINITIONS AND FUNDAMENTAL PRINCIPLES IDC

Full Duplex Radio over Fiber System with Carrier Recovery and Reuse in Base Station and in Mobile Unit

International Journal of Modern Trends in Engineering and Research e-issn No.: , Date: April, 2016

Visible Light Communications: challenges and possibilities

Communication Technology

Project: IEEE P Working Group for Wireless Personal Area Networks N

Analysis of Visible Light Communication Using Wireless Technology

COMMUNICATION THROUGH POWER LINES

Screening Audiometer

Transcription:

2017 2nd International Conference on Electrical and Electronics: Techniques and Applications (EETA 2017) ISBN: 978-1-60595-416-5 Wireless Music Player Design Based on White LED Visible Light Communication Shu-min ZHANG, Chun-xian XIAO, Chen-qiao XUE and Jin-ming LU College of Electronic Information and Optical Engineering, Nankai University, 300350, China Keywords: VLC, Music Player, LED, Infrared Remote Control. Abstract. We design a music player system based on white light emitting diode (LED) in visible light communication (VLC) system, using infrared remote to control. The transmitter loads music data from the storage device, decodes it and sends it to modulate LED arrays. The receiver transforms the optical signals to electrical signals, through the PIN circuits. After the amplifying circuits manage them, they are sent to a speaker to play. At the same time, a LCD will display the information of the music playing. The test shows that the music player can play fluently a variety of formats of music files and be easily controlled by the infrared remote control. Introduction With frequency spectrum becoming more and more congestible, communication with higher frequency is the hotspot today. LED s short response time and high-speed modulation make it an ideal option for Visible Light Communication, which combines lighting and high speed communication [1]. It has also attracted more and more attention due to its high accuracy, security and low power cost [2]. White LEDs based on indoor VLC system can provide people the energy-saving lighting and complete information transfer. In this paper, we propose a music player based on a white-led-wireless-communication-system. The system includes two main parts: sending end and receiving end. STM32F103RCT6 is the main controller; SD card stores music files; VS1053 chip is an audio decoder. Figure 1 shows the flow diagram of the player system. In the down link, after decoding the music files, through the LED drive circuit, LED array will be controlled by the analog modulation signals. Receiving end gets the signals and plays the song through a speaker. In the uplink, infrared signals will select songs and adjust the volume. STM32 micro-controller is also connected to a LCD to display real-time information. Using light instead of electromagnetic waves, it is not only an improvement for modern digital players, but also a practical application of VLC system. Figure 1. Flow diagram of the system. System Overview Master Device We use STM32F103 as the main control chip, realizing the functions we need can be managed. SPI communication mode is used and microcontroller reads music information from SD card sector, communicating through four signal lines and 3 pins (PA5, PA6, PA7). 290

Infrared receiver module is installed, including keyboard matrix, driver, remote control ASIC and infrared LED. The circuit of receiver module are shown in Figure 2. The PAM (pulse amplitude modulation) signals drive the infrared LED, using a 38kHz carrier wave. After the probe HS0038 receives pulse-code modulated signals, the amplification circuit will amplify and send them into the STM32, where the infrared signal will be decoded to the certain key code. Figure 2. Circuit of receiver module. Here we define Remote_Scan to accomplish this function and the main program is as follows: if(rmtsta&(1<<6)) // Get a button { t1=rmtrec>>24; // Get the address code t2=(rmtrec>>16)&0xff; // Get the anti-code of address code if(t1==(u8)~t2) sta=t1; // Key is correct if((sta==0) ((RmtSta&0X80)==0)) // Key data error / no key pressed RmtSta&=~(1<<6); // Clear the received valid key Program Design Figure 3 shows the flow diagram of the program of the whole system. mp3_play_song is for music playing. Some of the key code is as follows: if((vs_send_musicdata(databuf+i)==0)&&(pause==0)) // Send audio data to the VS1053 {i+=32;} //Send 32 bytes else { key=remote_scan(); // Scan infrared key switch(key) { //For play control case2:str_1="play";pause=!pause;break; //Pause and play case194:str_1="right";rval=key0_pres;break; //Next song mp3_msg_show(fmp3->fsize);} // Show information on LCD 291

Figure 3. Flow diagram of the program. Music Decoding The system uses VS1053 chip to decode, communicating with microcontroller through SPI. STM32 sends data to the VS1053 audio decoder module, after which the internal register will resolve it. For example, DECODE_TIME is used for storing decoding time; HDAT0 and HDTA1 get the code rate and calculate the total length of the media; The VOL controls the output of the left and right channels, separately. Playing music through VS1053 requires a configuration for registers and a reset before each song is played, ensuring the device is ready to decode the next song. VS_WR_Cmd () is to configure the register: VS_WR_Cmd (SPI_CLOCKF, 0X9800); //Set clock for VS1053 VS_WR_Cmd (SPI_MODE, temp); //Set the module VS_WR_Cmd (SPI_VOL, volt); //Set the volume VS_WR_Cmd (SPI_BASS, bass_ set); //Set BASS The audio data stream is transmitted in an orderly manner under the control of the DREQ signal. When DREQ goes high, it sends 32 bytes to the VS1053. After DREQ goes high again, it continues to transmit until the audio data is transmitted. If (VS_DQ! =0) //Send data tovs1053 For (n=0; n<32; n++) //Send 32 bytes Four I / O ports and SCK, MOSI, MISO are needed for SPI communication with allocating pins of PA4, PA5, PA6, PA7, PA8, PA11 and PA12. Circuit at Transmitter The transmitter circuit receives the analog signals decoded by VS1053 for further processing. TL062 amplifier amplifies them and ICL7660S convers the voltage to provide -5V when there is only a single power supply. Figure 4 shows the schematic diagram. The signal inputs from the SIGNOL IN. R01, R15 provide the same biased voltage with biased amplifier, and R16 and R17 provide a negative feedback. To ensure that the signal does not distort, the voltage for LEDs work ranges from 2.5 to 3V. The amplified current drives LEDs, controlling their luminous intensity change with the input signals [3], and converses music information into the visible light. 292

Figure 4. Drive Circuit at Transmitter. To solve the problem on transmission distance and transmission power with only one LED, LED arrays [4] are preferred. Considering the fact that the specific driving voltage can only drive a certain number of LED lights, combined with the actual needs for lighting [5], after calculation and several experiments, we confirm the appropriate layout: one drive circuit with 6 LED lights, two series with each other, and three groups of these are in parallel. The overall system uses 6 drive circuits to drive 6 arrays, 36 lights. Circuit at Receiver The optical signals carrying the music information need to be changed into playable electric signals again. Analyzing two widely used photodetectors APD avalanche photodiode and PIN photodiode, the BPX65 PIN tube with higher cost-efficient [6] is selected for system design. However, the PIN tube brings more noise. In this device, we design a pre-stage circuit to improve Signal to Noise Ratio (SNR). LM833 is used as an amplifier. The trans-impedance structure meets the circuit system requirements with the low input and output resistance, high sensitivity and SNR, strong anti-interference and large bandwidth. The circuit is shown in Figure 5. Figure 5. Pre-stage Circuit for Signal Conversion. After pre-stage circuit, UA741CN amplifier builds an active low-pass amplifier circuit, which can control the filter and amplification by adjusting the resistance values as well as the cut-off frequency. Finally, through further power amplification, the signals drive the speaker and we can hear the music. 293

Experiment In the test, the system can play a variety of formats of music files in SD card, and at the same time, the song s name, volume can also be displayed correctly to the LCD. Infrared remote sets the volume and selects music in 8 meters away, satisfying the requirement to walk freely in a room. The transmission distance of music information in VLC achieves 6 meters and LED arrays have no significant flicker. Figure 6 shows the practical circuits and system. (1) Transmitter (2) Receiver (3) LCD Figure 6. Conclusion In this paper, we proposed a music player based on white LEDs in VLC. The system can smoothly play music files from SD card and correctly display the song s name, volume and other information to the LCD screen. The transmission distance met the requirement to use freely indoor. In the experiment, we showed that this was an effective method for playing music and lighting at the same time. This is the first attempt to design a real application based on VLC. We will seek to generalize our results. Future work includes conducting other applicable devices in VLC. Reference [1] Y. Wang, Y. Wang, N. Chi, J. Yu, and H. Shang, Demonstration of 575-Mb/s downlink and 225-Mb/s uplink bi- directional SCM-WDM visible light communication using RGB LED and phosphor-based LED, Optics express, 21(22)1203-1208 (2013). [2] D. O'Brien, H. Le Minh, L. Zeng, G. Faulkner, K. Lee, D. Jung et al, Indoor visible light communications: challenges and prospect, Optical Engineering+ Applications. International Society for Optics and Photonics, 2008: 709106-709106-9. [3] O Brien. D., Hoa Le Minh., Zeng Lubin., Indoor Visible Light Communications: challenges and prospects In Proc of SPIE. Free-Space Laser Communications VIII, 2008, Vol. 7091, pp. 1-3. [4] Yeh C.H., Liu Y.L., Chow C.W. Real-time white-light phosphor-led visible light communication (VLC) with compact size [J]. Optics express, 21(22) 26192-26197(2013). [5] Haruyama., Shinichiro., Visible light communication, Journal of Japan Society of Mechanical Engineers, Vol. 107, pp. 710-711(2010). [6] X. Huang, Z. Wang, J Shi., Y. Wang, N. Chi, 1.6 Gbit/s phosphorescent white LED based VLC transmission using a cascaded pre- equalization circuit and a differential outputs PIN receiver, Optics express, 23(17)22034-22042(2015). 294