• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Wireless Circuits / LiFi Internet Transmitter Circuit – USB Signal Transfer through LED

DIY Circuits | Learn Basics | Arduino Coding




LiFi Internet Transmitter Circuit – USB Signal Transfer through LED

Last Updated on July 27, 2020 by Swagatam 65 Comments

In this post I have explained how to transmit Internet data through LiFi using a class D amplifier as the transmitter and an ordinary audio amplifier circuit as the receiver.

How Li-Fi Concept Works

If you are wondering how a LiFi concept could be used for transmitting USB data, this article will provide with all the details you required.

We know that a Li-Fi concept is used for transmitting  a digital data across a given premise  more efficiently than any other means invented so far, especially because the Li-Fi idea allows the user to transmit the data and additionally illuminate the area where it's been installed, so it's like getting two crucial benefits from a single unit.

Remember our age old film projector device? It's probably the oldest known method of using light for transmitting data (picture).

Although we always had other great means of transmitting wireless data such as Wi-Fi technology, RF circuits, etc, using light for this purpose was never imagined simply because lights have been always considered as low-tech units, and thus underestimated, until the day when Mr. Harald Hass discovered this hidden potential of lights (LEDs), and showed the world how LEDs could be actually used for transmitting data in a much efficient way than any other contemporary techniques.

In one of our earlier articles I have explained through an example circuit regarding how to effectively transmit audio signal through a Li-Fi, in this article we'll go a little further and learn how to transmit an USB signal through Li-Fi.

Since LEDs are semiconductors devices these become perfectly compatible for handling digital data without any form of distortions. An LED will replicate and transmit the input content exactly as it was in the original source, and this property make LEDs extremely easy to configure for the intended purpose.

So far we have understood that Li-Fi is a method in which LED is used for transmitting a high frequency content within an enclosed room, which effectively transforms the LED into a wireless  transmitter as well as a light producing device.For example Li-Fi concept can be used for transmitting and receiving a music data by using an LED as the light source and also a wireless music transmitter.

However the biggest challenge is to use a Li-Fi circuit for transmitting Internet data using ordinary parts and without involving complex and difficult to get components or MCUs.

A USB connector basically consists of the following wiring details:

USB connector wiring details

1) +5V
2) Ground
3) +D
4) -D

The +5V and ground are the supply out terminals which are normally used for powering the connected external device.

The +D, and -D are the data communication terminals which produces the complex differential signal across each other in a push-pull manner, meaning the +D is referenced to -D, while the -D signal is referenced to the +D terminals. This is what makes transmitting Internet through LED so confusing and complex.

This forced me to think of an alternative and more efficient design, that could actually transmit an USB internet data through LED Li-Fi circuit, without distorting the actual signal, and by employing ordinary components.

After some thinking I came up with the following circuits which hopefully would enable transmitting internet through LED light.

For the transmitter I decided to use a simple differential amplifier circuit module using IC BD5460, the following image shows the basic layout of this amplifier circuit.

I modified the design into the required Li-Fi transmitter circuit for making it compatible to internet signals, as shown below:

We can see how the differential  music input terminals are used for receiving the internet data, while the output is connected to an LED via a bridge rectifier.

Using a bridge rectifier appears to be a smart idea, otherwise it would be simply impossible to transmit the push-pull signals through a LED, since an LED would simply fail to differentiate between these two signals.

By using the bridge we have effectively enabled the LED to recognize both the halves of the USB signal and send it to the receiver without causing any distortions in the original content.

The Receiver Li-Fi Circuit

Now the next challenge for me was to ensure that the rectified pulsating internet data through the LED is correctly decoded back to the original differential form in the receiver section.

This looked difficult however the simulation could be quite easily accomplished by using a dual supply based power amplifier circuit, for example the 100 watt mosfet amplifier already published in this website efficiently fulfilled the intended purpose as shown below:

The BJTs and the mosfets can be any general propose rated to work with 12V/1amp supply. However if you want a powerful decoded output you could very well keep the original values for the devices and enjoy a powerful LiFi decoded inernet output.

UPDATE:

In the discussed concept we used a class D amplifier for the LiFi transmitter, however a class D amplifier essentially involves PWM for processing the input, which could be highly undesirable for an internet data to go through.

We do not want to distort or modify the complex Internet data in any manner, therefore a class D amplifier perhaps cannot be applied for an internet LiFi.

As per my assumption we don't need a classD amplifier rather only a BTL amplifier, which does not involve a PWM function, an example design can be witnessed below using the IC TDA7052.

LiFi Internet Transmitter Circuit - USB Signal Transfer through LED

Now this looks perfect, and seems like the Internet data would be transferred to the LED without going through any sort of artificial  transformation.

To start with we can go with this 1 watt amplifier circuit as the Li-Fi transmitter and use a 1 watt LED at the output. The idea will confirm whether the proposed Li-Fi transmitter really works or not.

If you have any further doubts regarding this simple yet seemingly working LiFi Internet transmitter circuit you can feel free to express them in the below given comment box.

Adding a Push Pull Stage

In the above diagram everything looks great and it seems the circuit is ready for transmitting the Li-F- data without any issues, however there seems to be a little flaw in the design.

What happens if there's no data at the input? The LED would simply shut down, and that's something totally  unacceptable in a Li-Fi concept. Therefore we must somehow make sure that the LED always remains illuminated regardless of the input variations or presence of an input data.

In order to satisfy this condition, we need to introduce a basic LI-FI BJT push pull stage, which was already discussed in our first Li-Fi article.

The following image shows how to do it:

The above design now looks to be a perfect Li-Fi internet transmitter circuit without any flaws.

You'll also like:

  • LaserCommunicatorLaser Communicator Circuit – Send, Receive Data with Laser
  • 80 meter transmitter compressedTransmitter Receiver Circuit for 80-meter Ham Radio
  • wireless telephone transmitter circuitTelephone Transmitter Circuit
  • table 1Video Transmitter Circuit

Filed Under: Wireless Circuits Tagged With: Internet, LiFi, Signal, Transfer, Transmitter, USB

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Making a Single Channel Oscilloscope using Arduino
Next Post: Mp3 Player Using DF Player – Full Design Details »

Reader Interactions

Comments

Deepak says:
September 4, 2017 at 5:24 am

Hi,

I am just curious to know shouldn’t the Lifi Internet be bidirectional? Would the above single way would be enough to do Internet? I am confused!!!

Reply
Swagatam says:
September 4, 2017 at 7:47 am

bidirectional in what manner? I did not quite understand? Here we are only interested in transferring files from one source to other, for example just as we transfer files from a mobile to computer, the same may be done using light though the specified Tx/Rx units.

Reply
Aroloye Folajimi says:
July 31, 2017 at 12:31 pm

Good Afternoon Mr Swagatam,i have been able to simulate the project for audio transmission on proteus and the transmitter worked.
Which other Electronic Design Simulator will you recommend i use apart from proteus before i implement it on breadboard and later conclude on the PCB layout.
I am behind schedule on my final year project.
Looking at focusing on the Internet Circuit,Please can you explain the transmitter and receiver circuit to me and its implemenatation.
Look forward to your response

Reply
Swagatam says:
July 31, 2017 at 2:36 pm

Hi Aroloye,

Since so far I have entirely relied on my brain simulation for designing my circuits and have acquired 100% success, I have never required artificial simulators, therefore I cannot suggest much about them.

the Li-Fi explanation has been already provided in the article, but if you have specific questions, you can ask them I'll try to solve them…

Reply
Ben Stuart says:
May 30, 2017 at 1:41 am

Could you think of a way to go from manchester coding such as from a cat 5 cable to pwm to drive an led or led array

Reply
Swagatam says:
May 30, 2017 at 12:01 pm

I am not too sure about it, will need to research the subject..

Reply
NvD says:
May 14, 2017 at 1:07 pm

ok sir

Reply
Swagatam says:
May 3, 2017 at 2:40 am

You are welcome Ndidi!

Reply
Soumen Bhowmik says:
May 3, 2017 at 12:10 am

sir …good morning…. need a adapter circuit 220V AC to 9 V DC …1500mA….if u already posted plz share the link…. transformer or with out transformer ……thank you

Reply
Swagatam says:
May 3, 2017 at 6:20 am

Soumen, you can try the following design

https://www.homemade-circuits.com/2014/02/220v-smps-cell-phone-charger-circuit.html

Reply
Mohammed Rady says:
May 2, 2017 at 8:41 am

Good work

Reply
Unknown says:
April 30, 2017 at 6:13 am

Hi, I'm looking for delay circuit which will be used with motion sensor to open gate. Motion sensor will human presence and will wait for 5-10 seconds to open gate. During this gate we will need to capture Human face & expressions. Can anyone help us on this?

Reply
Swagatam says:
April 30, 2017 at 7:06 am

motion sensing can be achieved using PIR

https://www.homemade-circuits.com/search/?q=pir

and delay using the following circuit

https://www.homemade-circuits.com/2013/02/make-this-simple-delay-on-circuit.html

Reply
sangeet grover says:
April 29, 2017 at 5:27 pm

Sir my self sangeet grover B tech 3rd yr electronic engineer student. I want to make a lifi project regarding this I see some information about this project on your website. Can u help me to make this lifi project.

Reply
Swagatam says:
April 30, 2017 at 5:34 am

Hello Sangeet, if you have any specific questions, you can ask them here, i'll try to solve them…+

Reply
Back to Newest

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on 9 Simple Solar Battery Charger Circuits
  • Gagana on 9 Simple Solar Battery Charger Circuits
  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram

© 2026 · Swagatam Innovations