ruthvik presentation 02_12

Post on 11-Jan-2017

155 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Visible Light Communication(VLC) Project

Name: T SAI RUTHVIK (INDIA)Institute: ISEP, FRANCE

Home Institute: BITS PILANI GOA CAMPUS

Education: Electronics & Instrumentation

2

Connecting 2 Arduinos by Bluetooth using a HC-05 and a HC-06

• Connection on Bread Board

3

HC 05

• There are two modes of operation in a Bluetooth module:

1.Command mode or AT mode: where we can send AT commands. The Status LED starts blinking slowly (once per 2 secs).This indicates that the module has entered the command mode at 38400 baud rate

2.Data Mode: where we can send and receive data

4

HC 05 Master Mode• HC 05 can go into command mode if SET pin is

HIGH.• Now we enter the following commands in

order to achieve master mode:S.no Command Response1 AT OK2 AT+ROLE1(Master) ROLE=1, OK3 AT+CMODE1(Connect to any device) CMODE=1, OK

4 AT+INQM0,5,5(search for devices and stop searching after 5 devices are found or 5 seconds are over.

OK

5 AT+PIN1234 PIN=1234, OK (master and slave’s PIN should be the same)

6 AT+RESET OK, READY, connecting

5

Connecting 2 Arduinos by Bluetooth using a HC-05 and a HC-06

Code for HC 05(Master Module)

6

HC 06

• HC 06 module will always be in slave module• We have to make sure that

the passwords of both slave and master are matching• Hence in the command

mode of HC 06, we set the password by using the command AT+PIN1234.

7

Connecting 2 Arduinos by Bluetooth using a HC-05 and a HC-06

Code for HC 06(Slave Module)

Bluetooth controlled LED

Android Device Arduino Yun/Uno

HC 06 Bluetooth Module

LED

Bluetooth controlled RGB LED

Android Device Arduino Yun/Uno

HC 06 Bluetooth Module

RGB LED

Methodology

Features of Android App• The APP lets you connect to the HC 06 Bluetooth module from the BT

List• LED Turn On button switches on the white light( perfect mixture of

RGB(255.255.255)) and the Off button switches it off• Android APP shows a colour RGB wheel on the display with drag/slide

capability built in the APP.• The colour code is decided by A.B.C where A is the amount of red light

present (ranges from 0 to 255) and B is the amount of green light and similarly C is the amount of Blue Light present.

Bluetooth controlled RGB LED integrated with VLC Transmitter

VLC Transmitter

Android Device Arduino Yun/Uno

HC 06 Bluetooth Module

RGB LED

Methodology• The RGB LED Transmitter is given a

square-wave signal with different On- Time through Arduino• An Android Device is used to control the

given signal(Choose one on-time signal at a time) with the help of Bluetooth connection between Android and HC-06 Bluetooth Module.

Circuit Diagram

Introduction to

• OpenVLC is an open-source, software-defined, flexible,

low-cost Visible Light Communication platform

• OpenVLC cape has three components

1. High-power LED

2. Low-power LED

3. Photodiode

• Low-power LED can be reused for both transmitting

and receiving of light signals.

Beagle bone black openVLC cape

Functionality of the platform

VLC Receiver

Trans impedance Amplifier HP Filter ADC BBB

Photodiode

Functions of the components used in Receiver

• Photodiode

1. semiconductor converting light into an electrical current2. A reverse voltage of -5v is given to amplify the current

• Trans impedance Amplifier

1. current-to-voltage converter2. commonly used with photodiodes

Functions of the components used in Receiver

• High Pass Filter

1. remove unwanted noise from surrounding light sources, e.g., the sun or luminaries

• Analog to Digital Converter

1. Converts the analog output from the high pass filter to the digital input for the Beagle bone Black

VLC Receiver Schematic Design with ICL 7660 IC

5v-5v

ICL7660

photodiodeUA741CP

Trans impedanceAmplifier

High Pass Filter

ADCswitch Input to Beagle

Bone black

Input to oscilloscope

PCB Board Design

Icl 7660

Icl 7660

top related