• 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 / Lamps and Lights / How to make simple a LI-FI (Light Fidelity) Circuit

DIY Circuits | Learn Basics | Arduino Coding




How to make simple a LI-FI (Light Fidelity) Circuit

Last Updated on January 2, 2024 by Swagatam 172 Comments

LI-FI is buzzing around the Internet since past few years; recently LI-FI is gained more popularity around the internet and developers. LI-FI stands for Light Fidelity which was coined by Harald Hass.

Circuit Objective

The objective of LI-FI is transfer data through visible light. Since the bandwidth of visible light is 10,000 times more than Radio waves, more data can be transferred through light at short period of time.

Visible light communication (VLC) eliminates the risk of some disease caused by the Radio waves due to long period exposure.

This protocol can be adapted where Radio waves are restricted, such as airplanes, hospitals, and in some research facilities. Researchers reached bit rate of 224 GB/s which is 100s of times faster than our average WI-FI connection at home or office.

This article explains about the basic idea how to make a very simple LI-FI circuit in which we will be able to transfer any audio source through light and receive it from the receiver which is placed few feet from the Transmitter.

Here explained about analogue communication through light, where as original LI-FI system uses digital communication, which is more complex and difficult to make one at hobby lab. But the concept is exactly the same.

Here is a simple block diagram explaining LI-FI:

block diagram explaining LI-FI:

The Design:

The circuit consists of two parts, which are receiver and transmitter. The transmitter consists of 3 transistors and few passive components paired with 1 watt LED. The transistors are configured as common emitter amplifiers which alters the LED brightness with respect to audio signal.

But changes in brightness due to audio signal will not visible to human eye. We only see static illumination of white LED. The receiver consists of a photo detector (here I used solar cell) which is paired with an amplifier. The sound output is given by the speaker.

The transmitter is transistorized amplifier which consists of 3 amplifiers connected in parallel to drive the 1 watt white LED.

Each transistor base consists of voltage divider which gives necessary bias for the individual transistor. The input stage has capacitors at each transistor’s base for blocking DC signals which could degrade the quality of output.

LI-Fi Circuit Diagram

LiFi circuit using two transistors only

Update: The above design can be also tried using a single transistor as shown below:

Li-Fi circuit using just a single transistor, capacitor, and LED

You can use a current limiting resistor series with LED if you want operate the circuit at higher voltage (say 12V).You can also use standard 0.5mm white LED with current limiting resistor. For an audio source you can use mp3 player, mobile phone or a microphone with pre-amplifier etc.

The receiver consists of a 6 volt solar cell (3 volts above works fine) in series with 2.2uf capacitor which is paired with an amplifier. The amplifier need not to be the same illustrated here, but you can use any amplifier lying around your house. But make sure it as good sensitivity.

Amplifier Schematic

LI-Fi Receiver Amplifier Circuit

Here is author’s prototype

Tested prototype of the Li-Fi Circuit

Li-Fi Video Clip:

You can use any amplifier with good sensitivity for receiver part. To test this circuit, go to a room where ambient light is dim and make sure no nearby electrical light source.

Place the 1 Watt LED parallel to solar cell. Turn ON the power supply for both transmitter and receiver, give audio input to transmitter, adjust the volume to transmitter. You can here clear audio sound on the receiving speaker.

The above explained Li-Fi circuit can also be tried using a photodiode as shown below, where the amplifier section is replaced with a LM386 amplifier circuit:

Li-Fi circuit using a photodiode

UPDATE:

Some Important Notes and Considerations Regarding the above Li-Fi Circuit

In this Li-Fi the LED does flicker, but it is in-significant for our eyes to detect.

If your eyes can detect those flickers, something wrong with the build.

The change in the brightness of LED due to the audio input is very small, but there is change in the brightness, where our eyes can’t detect.

If there is no audio input, the LED stays solid ON, the solar cell produce some voltage. The input capacitor at receiver blocks those DC signal giving almost zero voltage to amplifier.

When we apply audio signal at transmitter there will be change in the LED’s brightness (Very small). The solar cell replicates the small varying voltage, the capacitor will allow the small variation in voltage amplitude to amplifier and rejecting strong constant DC voltage.

The amplifier must have good sensitivity since the input is feeble. Probably that’s why many readers are commenting on loudness of the audio.

I have used old-school home theater’s amplifier which had very good sensitivity and the resulting output was LOUD and CLEAR.

You'll also like:

  • Infrared (IR) Controlled LED Emergency Lamp Circuit
  • neon astableNeon Lamps – Working and Application Circuits
  • containeronepickgadgetarewriteMimeimageurlhttpimages.brighthub.comc79c79165ef19ec38fb8bf5f6ad1142913aad354a22 largeHow to Make Any Light a Strobe Light Using Just Two Transistors
  • image5RGB Light Strip Controller Circuits

Filed Under: Lamps and Lights Tagged With: FI, Fidelity, LI, Light, Simple

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: « Selecting Power Supply for Car Amplifiers
Next Post: High Voltage Battery Charger Circuit »

Reader Interactions

Comments

Deepak says:
December 26, 2021 at 8:49 pm

Hii,
What is the use of 2N2222 transistor in the circuit diagram. Can you explain whole circuit diagram please I will be very thankful for that.
Please respond as soon as possible
Thank you in advance

Reply
Swagatam says:
December 27, 2021 at 10:34 am

2N2222 is configured to work like a simple common emitter amplifier circuit. It amplified and music across its collector so that the LED is able to respond according to the music amplitudes.

Reply
kimmy kervel says:
October 6, 2021 at 3:06 pm

This is mind blowing, thanks for sharing.

Reply
Akshay Kumar Sarda says:
April 16, 2021 at 9:40 am

Hello,
Have you got the procedure for finding why the particular values of resistor and capacitors
I will really appreciate you if you can provide the procedure or atleast the reference for it.
If you have the procedure do mail it to
14bm047sakshay@gmail.com

Reply
Swagatam says:
April 16, 2021 at 1:47 pm

All the values are experimented to get optimal amplification…..if you alter the resistor values, the output amplification will be effected, similarly if you alter the capacitor again the amplification will get effected….the resistive divider limits the input amplitude or the peak voltage, the capacitor limits the current.

Reply
Kendall says:
February 13, 2021 at 12:06 pm

Does it need to turn on mobile data to play music in youtube?

Reply
Ankit Raj says:
November 11, 2020 at 6:03 pm

Here the signals that are transmitted are analog i think so, then the output in led will be analog too so how this is lifi ?

Reply
Swagatam says:
November 11, 2020 at 9:29 pm

The purpose of Li-Fi is to communicate signals or music via light, it does not need to be digital.

Reply
kimmy kervel says:
August 6, 2020 at 11:37 am

Thanks for sharing this is really helpful for me and also for my upcoming project. hope you add some more in future also. thanks for sharing

Reply
Swagatam says:
August 6, 2020 at 6:11 pm

You are welcome kimmy.

Reply
Ololo chukwuemeka bright says:
January 7, 2020 at 9:27 am

Sir
Have u got projects on internet generation and transmission using LiFi

Reply
Swagatam says:
January 7, 2020 at 4:17 pm

Ololo, sorry, I do not have any other article related to internet lifi other than this one.

Reply
howtooz says:
November 20, 2019 at 11:54 pm

Hi there!!!

for transmitter part we are using almost same components (as shown in figure with 3 transistors)…

for receiver part we are using solar panel (5V 1.25W) followed by amplifier circuit with LM386, however we have not used 2.2uF capacitor in series with solar panel…

our receiver part is probably not working as we are not getting any sound in speakers…transmitter part is working as we have tested it with 5 Hz test tone as audio input, we were able to see LED flickering

kindly help us…

Reply
Swagatam says:
November 21, 2019 at 6:47 am

Hi, please replace the photodiode with an LDR in the LN386 circuit, and make sure to connect a 2.2uF or any capacitor in the range, in series with the pin3 of the LM386

Reply
sai kiran kencha says:
May 21, 2019 at 12:38 pm

sir, I am working on the research project on Li-Fi. I would like to connect Li-Fi receiver to the FPGA . can you help me with the circuit diagram
I have a simple question … if we switch the transmitter and receiver between two devices does it works in lifi technology?
also, I found some devices on the internet they work with the help of USB. I would like to replace the USB cable.

Reply
Swagatam says:
May 21, 2019 at 1:28 pm

Sai, Sorry I do not know much about FPGA technology, but any high frequency will be accepted and processed by this Li-Fi circuit.

As long as the input is a high frequency signal, the LiFi will work across the selected devices.

Reply
Rahul says:
May 8, 2019 at 2:37 pm

Bro i used a led strip instead of a led bulb and a 3v solar panel and now the lifi is not working where maybe the problem be where should i make a change in the led or in the solar panel?

Reply
Swagatam says:
May 8, 2019 at 3:38 pm

Rahul, first build and verify the basic design which is explained above. If you succeed with that then we can proceed and modify it with an LED strip, and check the response!

Reply
Rahul says:
May 10, 2019 at 10:09 am

I made the circuit as given above but used a 3v solar panel and it is not working should i use a 6v or 9v solar panel? Plz reply fast i have to submit it today evening.

Reply
Swagatam says:
May 10, 2019 at 11:01 am

Did you check your amplifier normally using a music input? First check whether your amplifier is actually working or not? Any solar panel will work for this application…just make sure no other light except the Li-Fi light falls on the light sensor (solar panel)

Reply
ololo chukwuemeka bright says:
June 27, 2018 at 4:59 am

sir
i do not want the anologue experiment help with the minimal materials i need for this
moreso from my last post do i have the required material if not help me with what i need for the digital experiment perhaps i didnt find the article

Reply
ololo chukwuemeka bright says:
July 1, 2018 at 10:13 pm

Thanks on the receipt of your wonderful detail swaga
Kindly help me with detail for the digital LiFi transmitter and receiver

Reply
Swagatam says:
July 2, 2018 at 8:11 am

Ololo, the explanation for a digital LIfi circuit is given in the above article, so please go through it for detailed understanding.

Reply
Swagatam says:
June 27, 2018 at 10:16 am

may be you can try the following concept

https://www.homemade-circuits.com/lifi-internet-transmitter-circuit/

Reply
ololo chukwuemeka bright says:
June 26, 2018 at 6:21 pm

sir
i just got a 3 watts solar panel to be used as a photodetector, three 6 watts LED wifi panel bulbs,and fresnel lens for an amplifier
please is this enough for a room LiFi
internet
i realy want to know if the fresnel lens is a must since its in a room because its hard to get fresnel lenses in nigeria
help

Reply
Swagatam says:
June 26, 2018 at 7:22 pm

ololo, the minimum things are already specified in the article, you will just need those minimum things for the experiment, fresnel lens may not be necessary, please do exactly as explained in the article.

Reply
hassan says:
May 22, 2018 at 4:19 am

hi swag …can i send data more then 1M mebe text file or a picture for 2meters ..and can i buy it and export the circuit
for iraq

Reply
Swagatam says:
May 22, 2018 at 4:49 pm

Hi hassan, sorry this design supports only analogue signals, digital signal might not work correctly.

Reply
sunil says:
January 22, 2018 at 12:52 pm

sir,
i’m a final year undergraduate student working on applications of li-fi: indoor positioning using lifi. can you please tell me how to use this circuit for positioning.
and what is the distance between tx and rx to be placed

Reply
Swagatam says:
January 22, 2018 at 2:14 pm

Sunil, as long as the light sensor is able to receive the light from the LED it will work, the distance will not matter, but you will make sure that no other ambient light reaches the sensor…

Reply
Sumit says:
November 15, 2017 at 10:07 pm

Sir, can u please make some video showing connections and working of the project.

Reply
GAJENDRA PRATAP SINGH says:
October 31, 2017 at 7:46 pm

SIR SOLAR IS BETTER OR PHOTO DIODE IS FOR TRANSMITTER CIRCUIT

Reply
Swagatam says:
October 31, 2017 at 8:37 pm

Gajendra, solar cell will be easier to configure, photo diode will require some technical consideration…so solar cell is the easier option.

both are equally good as far as results are concerned..

Reply
Om chandrakar says:
October 27, 2017 at 7:58 am

Hii swag
I make lifi Circuit same as your Circuit diagram from above. But from wheres i will provide power supply i dont know,
Means R1 connect to +ve and R6 connect to -ve of battery ??

Reply
Swagatam says:
October 27, 2017 at 8:37 am

Om, the Vcc line is the positive, and all the wires linked with this line are positive.
similarly all the wire links joined with the ground symbol are negatives.
use 5V as the supply

Reply
Swagatam says:
November 21, 2019 at 6:48 am

if you want to use a solar panel, you can try connecting it between pin3 and ground of LM386….no need of connecting coupling capacitor in this case.

Reply
howtooz says:
November 20, 2019 at 11:56 pm

why can’t we use solar panel?

Reply
Swagatam says:
September 21, 2017 at 4:22 pm

That’s awesome ATR, the issue could be perhaps due very feeble output from the solar module, you can try adding a LM386 kind of amp in the middle to boost the solar chip output and then this could be fed to the amplifier for the final amplification, just a suggestion though!

Reply
ATR says:
September 21, 2017 at 3:44 pm

hey swag the setup worked …I am getting audio output but i think the speakers are not good enough because the sound is very grainy.

Reply
ATR says:
September 19, 2017 at 2:49 pm

Hey Swag, the preamplified speakers I told about in one of the previous comments are my old computer speakers which have an amplifier inside and a 3.5 mm jack coming out of it.

Reply
ATR says:
September 19, 2017 at 1:29 am

The transmitter circuit started working as soon as I connected the battery. The LEDs lit up and stay ON with or without the music signal from my phone. Does this mean that it’s OK?

Reply
ATR says:
September 18, 2017 at 4:01 pm

thanks again swag .You are very helpful. I am almost done making the project. Now I need to finish the receiver part .I have solar panels from 2 calculators that I scavenged. Will that be enough to run the receiver?

Reply
Swagatam says:
September 19, 2017 at 4:04 pm

that’s fine ATR, just touch the 3.5mm pin tip, if that makes a loud noise on the speakers then your system is ready for the solar chip integration, which can be connected across the 3.5 mm jack’s relevant inputs.

Reply
Swagatam says:
September 19, 2017 at 1:53 am

yes it is OK, please read the previous comments to get a detailed idea of the circuit.

Reply
Swagatam says:
September 18, 2017 at 4:04 pm

You are welcome ATR, you can try those solar chips, it should work!!

Reply
Swagatam says:
September 18, 2017 at 10:26 am

Thanks GR,

Yes since the response of the music pulses will be extremely rapid, the output cannot be detected by our eyes and we will be able to see a constant average illumination, but the solar cell and the amplifier will be able to extract the minute variations and reproduce it into the exactly same data as the input over the loudspeaker.

Actually the placement and the selection of the 2.2uF capacitor is interesting and crucial which helps to effectively vary the current into the base of the BJT which in turn causes the LED to change its illumination pattern as per the music, and since the BJT is a current controlled device becomes perfectly suitable for the application.!!

I’ll add your comment soon in the above article!!

Reply
GR says:
September 18, 2017 at 10:13 am

HI sir,

yes, you got it..

Reply
GR says:
September 18, 2017 at 10:11 am

Hi sir,

The LED does flicker, but it is in-significant for our eyes to detect.

If your eyes can detect those flickers, something wrong with the build.

The change in the brightness of LED due to the audio input is very small, but there is change in the brightness, where our eyes can’t detect.

If there is no audio input, the LED stays solid ON, the solar cell produce some voltage. The input capacitor at receiver blocks those DC signal giving almost zero voltage to amplifier.

When we apply audio signal at transmitter there will be change in the LED’s brightness (Very small). The solar cell replicates the small varying voltage, the capacitor will allow the small variation in voltage amplitude to amplifier and rejecting strong constant DC voltage.

The amplifier must have good sensitivity since the input is feeble. Probably that’s why many readers are commenting on loudness of the audio.

I have used old-school home theater’s amplifier which had very good sensitivity and the resulting output was LOUD and CLEAR.

I would suggest you past this comment in the article as update, if possible.

Regards

Reply
Swagatam says:
September 18, 2017 at 9:50 am

OK, I think I got it, higher voltage pulses will push proportionately more current to the base of the transistor and produce equivalent change in the brightness.

Reply
Swagatam says:
September 18, 2017 at 9:21 am

Hi GR,

Can you please briefly explain how will the LED respond to positive music peaks which may be above 0.6V, because the LED is already ON through R2?

Reply
View Older Comments

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 (95)
  • Audio and Amplifier Projects (133)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (87)
  • 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 (37)
  • Wireless Circuits (31)





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 How to Understand IC 4017 Pinouts
  • Swagatam on SMPS 2 x 50V 350W Circuit for Audio Power Amplifiers
  • LUIS ALVARADO ATENCIO on How to Understand IC 4017 Pinouts
  • Ola on What are the Different Types of Transformers? Explained
  • wonderfulaudio on SMPS 2 x 50V 350W Circuit for Audio Power Amplifiers

© 2026 · Swagatam Innovations