LED Fader Using 555 Timer IC
LED Fader Using 555 Timer IC
Wanted to generate a LED fading effect (fade-in and fade-out) for my upcoming video tutorial using the 555 timer IC.
I already have a video where I used LM358 Dual Operational Amplifier IC and another one with Arduino to generate the LED fading effect.
YouTube, is full of video showing how to generate the fading effect using 555 timer IC. However, none of them produce a true fading effect.
Some just fades-in but never fades-out. And there is literally no explanation of how they are generating the fading effect other than just showing how to assemble the components.
In this tutorial, I am going to show you guys how to create a true LED fading effect using the 555 timer IC. I will also explain how the circuit works and how changing components change the fading effect of the LEDs.
Components Required
For this tutorial you need:
- 1 x 555 Timer IC
- 1 x 47KΩ Resistor
- 1 x 220Ω Resistor
- 1 x BC548 NPN Transistor
- 1 x 33µF Capacitor, and
- 1 x Few Blue LEDs
Circuit Diagram
The heart of this circuit is the 555 timer IC.
Pin No.1 of the IC is connected to GND.
By connecting Pin 2 and 6 of the 555 timer IC, we put the IC in astable mode. In astable mode, the 555 timer IC acts as an oscillator (re-triggering itself) generating square waves [PWM Signals] from the output Pin no. 3.
3 other components connect to this junction.
1st one is the 33µF capacitor. The positive pin of the capacitor connects to the junction and the negative pin is connected to the GND.
2nd one is the 47KΩ resistor. One of its legs connects to the junction and the other leg connects to the Output pin, Pin No.3 of the IC.
3rd one is the Base of the BC548 NPN transistor. The collector of the transistor along with Pin 8 and 4 of the IC connects to the +ve terminal. of the battery. The LED along with its current limiting resistor is connected to the Emitter of the transistor.
That's it as simple as that.
Alright, now I am going to demonstrate how this circuit works with the help of an animation.
How The Circuit Works
When Pin 2 of the IC detects voltage LESS than 1/3rd of the supply voltage, it turns ON the output on Pin 3.
And, when Pin 6 detects voltage MORE than 2/3rds of the supply voltage, it turns OFF the output.
This is how the trigger pin (Pin2) and the
threshold pin (Pin6) of the 555 timer IC sense voltages and controls the output at Pin 3.
The Capacitor attached to the circuit will be in a discharged state immediately after firing up the circuit.
So, the voltage at Pin 2 will be 0v which is less than 1/3rds of the supply voltage, this will turn ON the output on Pin 3.
Since Pin 3 is looped back to Pin 2, it will start charging the Capacitor via the 47KΩ resistor.
At the same time the base current of the transistor also increases causing the LED to slowly "fade-in".
Once the voltage across the capacitor crosses 2/3rds of the supply voltage, Pin 6 turns OFF the output.
This causes the capacitor to slowly discharge causing the base current to fall and hence the LED starts "fading-out".
Once the voltage across the capacitor falls below 1/3rd of the supply voltage, Pin 2 turns ON the output, and the above cycle continues.
You can hook up a multimeter to the circuit to measure the charging and discharging of the capacitor.
Breadboard Demo
So, here is a quick demo on a breadboard.
In the current setup I have a 33µF Capacitor and a Blue LED on the breadboard.
Replacing the 33µF Capacitor with a 100µF Capacitor makes the LED fade in-and-out slower as the 100µF capacitor charges and discharges slower than 33µF Capacitor.
Also by replacing the "Blue LED" with a "Red LED", we can make the LED to stay "on" longer than the blue one with the same value of capacitor. This is because the "Forward Voltage" (Vf) of the Blue LED is higher than that of the Red LED.
"Forward voltage" is the minimum amount of voltage that is required to allow an electrical component to turn on.
The red, green and yellow LEDs have relatively "low" forward voltage ranging from 1.6-2.2V and hence stays on longer when the capacitor slowly charges or discharged. However, blue and white LEDs starts conducting from 2.5-4V and hence, when the discharging capacitor's voltage hits the threshold the LED turns off faster than the other colors. I have provided a link to how the forward voltage works in the description below.
If you connect few LEDs in series, the forward voltage adds up and hence it will require more voltage to turn on the LEDs.
You need to add a current limiting resistor between the emitter of the transistor and the LED to avoid an internal short-circuiting inside the led.
The Board
To make it easy for you guys, I have created this tiny little "555 LED Fader Module". After assembling the components, you just need to power this module by providing a voltage between 5v to 15v to fade the LED.
So, this is how my board looks like in 2D and 3D. There are 16 breakout boards in this 100cm x 100cm assembly. You can download the gerber file from the link provided in the description below and order it from PCBWay.
Soldering
Let me quickly show you guys how to assemble the components to this custom made board.
Let's start by soldering the IC Base to the board.
Then let's solder the two resistors to the board. Next, lets solder the capacitor followed by the transistor to the board. Then, lets solder a blue LED to the board.
Once done, let's insert the 555 timer IC to the IC base.
To conclude the setup, I soldered 2 x Female pin headers to the board. You can either solder a pair of female pin-header or male pin-header or solder a pair of wires directly to the board to power this module.
Demo
Cool, so this is how my module finally looks like.
You can install female pin-headers in-place of the LED or Capacitor if you plan to use this as a development/testing board instead of a module.
Thanks
Thanks again for checking my post. I hope it helps you.
If you want to support me subscribe to my YouTube Channel: https://www.youtube.com/user/tarantula3
- Video: https://youtu.be/30wGujPnupw
- Full Blog Post: https://diyfactory007.blogspot.com/2023/04/555LedFader.html
- LED Fader - With or Without Arduino: https://youtu.be/IIUsdICycOw
- Adjustable Single/Dual LED Flasher Using 555 Timer IC: https://youtu.be/B1URFJywtcI
Other Links:
- Gerber: Download
- Github: https://github.com/tarantula3/LED-Fader-Using-555-Timer-IC
- Simulation: https://tinyurl.com/2qv266bg
- What Is Forward Voltage: https://42electronics.com/blogs/learn-more/what-is-forward-voltage
Support My Work:
- BTC: 1Hrr83W2zu2hmDcmYqZMhgPQ71oLj5b7v5
- LTC: LPh69qxUqaHKYuFPJVJsNQjpBHWK7hZ9TZ
- DOGE: DEU2Wz3TK95119HMNZv2kpU7PkWbGNs9K3
- ETH: 0xD64fb51C74E0206cB6702aB922C765c68B97dCD4
- BAT: 0x9D9E77cA360b53cD89cc01dC37A5314C0113FFc3
- LBC: bZ8ANEJFsd2MNFfpoxBhtFNPboh7PmD7M2
- COS: bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23 Memo: 572187879
- BNB: 0xD64fb51C74E0206cB6702aB922C765c68B97dCD4
- MATIC: 0xD64fb51C74E0206cB6702aB922C765c68B97dCD4
Thanks, ca again in my next tutorial.
LED Fader Using 555 Timer IC
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(2)
- Tim Loyal Apr 22,2023
- Ashish Adhikari Apr 18,2023
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Ashish Adhikari
- Cute Medusa 3D Printed Humidifier Humidifiers add moisture to the air. They can help people with dry skin, allergies, and respiratory ...
- 4x4x4 PCB LED CUBE Note from PCBWay: This project includes two PCBs, if both need to be produced, please inform your sa...
- Getting Started With Raspberry Pi Pico Couple of months ago, I bought a "Raspberry Pi Pico" to get some hands-on experience of it and to cr...
- Destiny Internet Ghost - Internet Notifier The Internet has changed the way we live our lives. From communication, education, banking, entertai...
- Liquid level indicator Using ULN2003 A water level indicator detects and indicates the level of water in an overhead tank and relays the ...
- All About IC UNL2003 The UNL2003 IC contains 7 High Voltage, High Current NPN Darlington Transistor Arrays each rated at ...
- NodeMCU Based: 3D Printed Indoor Gauge Thermometer Had some time this weekend and a desire to create something new and interesting, so went ahead and c...
- Rechargeable Gothic Lantern A Gothic Lantern is a captivating piece of lighting that brings the allure of the Victorian Era into...
- 555 Adjustable Delay On Off Timer Circuit The 555 timer IC is an integrated circuit (IC) that is used in a variety of timer, delay, pulse gene...
- 3D Printed Arduino Halloween Décor When the full moon is shining and the wolves are howling, it's time for Halloween's spooky spectacle...
- All About RCWL-0516 Microwave Radar Motion Sensor Proximity sensing is a very common application in electronics.There are several ways to accomplish t...
- Transformers PCB BADGE It's been a while, the Autobots have appeared on the silver screen. Finally they are returning to th...
- LED Fader Using 555 Timer IC LED Fader Using 555 Timer ICWanted to generate a LED fading effect (fade-in and fade-out) for my upc...
- Arduino Based Concrete Clock With Touchless Night Lamp When you mix creativity with electronics, it becomes a masterpiece.Producing something original and ...
- DIY - PCB Christmas Forest Created a small "PCB Christmas Forest" which is going to light up my study table this Christmas.In t...
- PCB Christmas Forest A small Christmas Village For Someone You Love
- TM1637 Digit Display with Arduino IntroIn my hand is a 4-Digit 7-Segment display module.The heart of this module is an inexpensive Ser...
- IR Remote Tester and Decoder IntroWhat do you generally do when your remote controls starts playing up?Do you generally use a mul...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
152 1 1 -
-