Professional Documents
Culture Documents
on
WIRELESS DATA TRANSMISSION
USING LIGHT
Submitted By
NAVYA 4NM18EC104
NIDHI SUBHAS POOJARY 4NM18EC107
NIRADVI N SHETTY 4NM18EC111
ABSTARCT
INTRODUCTION
Visible Light Communication is the way of communication using light which is visible to
human eye. Figure 1 shows block diagram for VLC, communication is achieved with the
help of LEDs. Light at a very high speed is modulated such that the modulation is not
visible to human eye by switching the LEDs on and off rapidly on the transmitter side.
Photodiode is used on the receiver side to detect the modulation. Light Fidelity or Li-Fi is
communication through light at a very high speed. Modulation of light using LEDs can be
done using processors such as Arduino. Li-Fi makes the electronic devices able to
connect to the internet without any wire. The emergence of Li-Fi is to overcome the
shortages of Wi-Fi.
WORKING PRINCIPLE
LED is used in transmitter side to transmit the data as shown in figure 2. The text data to
be transmitted is taken as a string. Each character in the data is converted to binary, this
bitstream is transmitted. Bit manipulation is done by Arduino Uno before transmitting. LED
is interfaced with Arduino UNO. The bit ʻ0ʼ is represented by ʻOFFʼ LED and the bit ʻ1ʼ is
represented by ʻONʼ LED. The data is followed coherently. Arduino Uno is very sensitive
to voltage fluctuations. A small-time interval after each bit separates it from the next bit.
There is a guard bit at the end that indicates completion of data transmission. LDR is
interfaced with Arduino UNO in receiver side. The LDR senses the incoming fluctuation,
of LED. Arduino decides whether it’s a 0 or 1 and stores. Then converts the bits into the
data at receiver end as shown in figure 3.
• Medical applications- Wi-Fi cannot be used in operation theatre because they can
interface with medical equipments.
• Internet access in Aircraft- The Wi-Fi cannot be used inside the aircraft as it can be
interfaced with navigation system of aircraft or aero plane.
• Underwater application- Radio waves can get easily absorbed in water and
therefore limit the underwater radio communications, whereas light can travel large
distances in water.
CONCLUSION
The main motive of the project was to implement a Li-Fi model. It has been successful in
sending low amounts of data but sending data like multimedia (photo, video) and image
data is still a main point of concern. In the future this model can be implemented in IOT
as well. This model can be used in hospitals as the main media of communication between
systems and devices like live tracking of patients’ condition – heart rate, blood pressure
etc.
CODE
TRANSMITTER CODE
#define LED_PIN A1
PERIOD 100
string_length;
void setup()
pinMode(LED_PIN, OUTPUT);
pinMode(BUTTON_PIN, INPUT_PULLUP);
string_length = strlen(string);
void loop()
send_byte(string[i]);
delay(1000);
digitalWrite(LED_PIN, LOW);
delay(PERIOD);
//transmission of bits
delay(PERIOD);
digitalWrite(LED_PIN, HIGH);
delay(PERIOD);
RECIEVER CODE
LDR_PIN A2
current_state;
void setup()
Serial.begin(9600);
pinMode(LED_PIN, OUTPUT);
void loop()
//Serial.println(sensorValue);
&& previous_state)
print_byte(get_byte());
previous_state = current_state;
bool get_ldr()
//Serial.println(voltage);
char get_byte()
char ret = 0;
delay(PERIOD*1.5);
delay(PERIOD);
return ret;
"%c", my_byte);
Serial.print(buff);
REFERENCES