OptiLink Nano-Uno Li-Fi System

POST DESCRIPTION Discover OptiLink, a DIY wireless optical communication system that sends text messages between Arduino Nano and Uno using visible light. Explore how LED and LDR communication, Manchester encoding, packet framing, and CRC-8 error detection work together.

PIDPEN Robotics Lab

11/4/20261 min read

a close up of a small electronic device on a table
a close up of a small electronic device on a table

Project Overview

OptiLink is a DIY wireless optical communication system that transfers text messages between two Arduino boards using visible light instead of Wi-Fi, Bluetooth, or a wired data connection.

The Arduino Nano acts as the transmitter, while the Arduino Uno R3 acts as the receiver. The Nano converts text into digital data and transmits it through rapid light pulses generated by a 5mm LED. An LDR connected to the Uno detects these optical signals and helps reconstruct the original message.

Hardware and Source Code

  • 1 × Arduino Nano

  • 1 × Arduino Uno R3

  • 1 × 5mm LED

  • 1 × CdS Photoresistor (LDR)

  • 1 × 4×3 Matrix Keypad

  • 1 × Green LED

  • 1 × Red LED

  • 1 × Buzzer

  • Resistors

  • Breadboards

  • Jumper wires

  • USB cables or suitable power supplies

The complete Arduino source code for both the Nano transmitter and Uno receiver is available on GitHub.

View OptiLink Source Code on GitHub.

YouTube and Project Updates

Include a closing section inviting readers to watch our electronics and robotics projects on the PIDPEN Robotics Lab YouTube channel:

https://www.youtube.com/@PIDPENRoboticsLab/

End with an invitation to follow the upcoming projects in the UNO × NANO series.

a close up of a small electronic device on a table
a close up of a small electronic device on a table

Copyright © 2026 PIDPEN Robotics Lab. All rights reserved.

Get in touch

+91-75 74 0505 74
info@pidpen.com

Made with 💙 in Bharat

1st Floor, "Amrut", Opp. Samarpan complex, Bortalav Rd., Bhavnagar, Gujarat - 364003