Skip to content

nurfitri97/LiFi-Arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Li-Fi

Arduino Li-fi Project

This project used two different Arduinos that is connected to two different computers, each are connected to their own serial monitor. One computer act as a data transmitter, while another computers act as the data receiver. Data between two PCs are transmitted using light that is send by Arduino's transmitter using an LED and is captured by Arduino's receiver using a photodiode. The data transmitted is string of characters that will be sent from the transmitter computer's serial monitor into receiver computer's serial monitor. Steps:

  1. The transmitter code will be uploaded into Arduino Transmitter while the receiver code will be uploaded into Arduino Trasnmitter.
  2. Connect Arduino Transmitter with an LED, with the Anode pin at D13 while cahthode pin at ground.
  3. Connect Arduino receiver with the photodiode, the DO pin is connected to D0 pin on Arduino Nano (it is written as RX0) After the codes have been uploaded, open serial monitor using this combination of keys ctrl + shift + m on both of the computers. Set the Baud rate to be 9600, and on the transmitter computer you can start typing anything on serial monitor and press send, the Arduino Transmitter will translate it into binary and lid the LED correspond to the binary that it receive from the computer. Meanwhile arduino receiver will read the Intensity of light that it received throught the photodiode and translate it again into binary and then into character before it sent the string of characters into the receiver computer.

For more information, you can check this link : https://create.arduino.cc/projecthub/hamiran1997/li-fi-system-36ff5b

About

Arduino Li-fi Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages