Post Top Ad

Tuesday, November 14, 2023

on video Blinking multipule LED with 555 IC


 Blinking multipule LED with 555 IC

Astable mode can make an LED flash on and off at a predetermined frequency. In this video, I will set up the 555 timer IC in stable mode and make an LED flash with an adjustable rate. The 555 timer in stable mode can be used for other things as well, such as producing a tone of a certain frequency when the LED is replaced with a speaker.

In this tutorial, I'll first blink "an LED" using the positive pulse generated by a "DIY 555 Pulse Generator Module", followed by "two LEDs" alternating and flashing at a regular interval.


The circuit is very simple.


By connecting Pin 2 and 6 of the 555 timer IC, we put the IC in stable mode. In stable mode, the 555 timer IC acts as an oscillator (re-triggering itself) generating square waves [PWM Signals] from the output pin no. 3.


By changing the values of R1, R2, and C1 we can change the frequency of the output pulses generated at pin number 3.


Alright, let me explain this with the help of an animation.

* When Pin 2 of the IC detects voltage LESS than 1/3rd of the supply voltage, it turns ON the output.


*And, when Pin 6 detects voltage MORE than 2/3rds of the supply voltage, it turns OFF the output.


* When the output is OFF, the Discharge Pin (Pin7) gets internally grounded.


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.


* Capacitor C1 will be in a discharged state immediately when we fire 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.


* At the same time Pin 7 will internally disconnect from the GND and the Capacitor C1 will start changing via resistors R1 and R2.


* Once the voltage across capacitor C1 crosses 2/3rds of the supply voltage, Pin 6 turns OFF the output.

* At the same time Pin 7 will internally reconnect to the GND causing the capacitor C1 to discharge via resistor R1.


* Once the voltage across the capacitor C1 falls below 1/3rd of the supply voltage, Pin 2 turns ON the output, and the above cycle keeps repeating itself.


You can hook up a multimeter to the circuit to measure the charging and discharging of the capacitor.




Since resistance R1 is involved in both charging and discharging of the Capacitor, increasing or decreasing its value will increase or decrease the duration of the OFF cycle and will decrease or increase the flashing rate of the LED, as the capacitor will take more time to charge and discharge.


By replacing the capacitor with a higher or lower value, you can also get a longer or shorter flashing rate.


By replacing the resistor R1 with a potentiometer the blinking rate of the LED can be dynamically adjusted.

Now, for the Dual LED flashing effect we need to connect a second LED with opposite polarity to the Pin 3 of the IC. That's it, as easy as that.


Now, lets calculate the output frequency and the duty cycle of the output waveform.


In my setup I have resistance R1 = 1kΩ, R2 = 10kΩ and capacitor C = 10uF


There are many online calculators to calculate this online. I will provide a link to one of the stable calculators in the description below: https://ohmslawcalculator.com/555-astable-calculator


Lets first calculate the value of t1 or the 'capacitor charge “ON” time which is 0.693(R1 + R2 ) * C1. Putting the values together we get 76.23 milliseconds.


Now, for capacitor discharge “OFF” time or t2 we need to multiply 0.693 to R2 and C1, which then gives us a value of 69.3 milliseconds.


Next, the total periodic time T is equal to t1 + t2 which comes out to be 145.53 milliseconds.


The output frequency, Æ’ is therefore comes out to be to 6.871Hz.

Which gives a duty cycle value of 52.38%


If you want to have more control over the charging and discharging use a higher value for R2 (100K) and lower value for R1 (1K). That way you will have 99% control over the charging and discharging resistance in the circuit.


The maximum output current of this IC is 200mA therefore to drive a higher current load of up to 1A we have to use a transistor like the BD135.

To make it easy for you guys, I have created this tiny little "555 Pulse Generator Module". After assembling the components, you just need to power this module by providing a voltage between 5v to 15v to get an oscillating output at the “Pulse” pin.




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.

Before moving forward, 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 potentiometer to the board. After that lets solder the 1kΩ (R1) resistor to the board followed by the 10µF capacitor (C1) to the board. Once done, let's insert the 555 timer IC to the IC base.


To conclude I havee soldered 3 x Male pin headers to the board.

This circuit can be used to control the speed of DC motors and stepper motors

It can be used to control windscreen wiper motors to generate a to-and-fro motion

It can be used as square wave signal generator

It can be used as an adjustable pulse generator for MCUs

In Strobe lights and SoS signaling circuits

Telecommunications for encoding purposes

In turning indicator circuits for all types of vehicles and bicycles

To generate adjustable pulse (timing pulses) to control other circuits. As, in combination with the 4017 & 4026 ICs


 Blinking multipule LED with 555 IC

Astable mode can make an LED flash on and off at a predetermined frequency. In this video, I will set up the 555 timer IC in stable mode and make an LED flash with an adjustable rate. The 555 timer in stable mode can be used for other things as well, such as producing a tone of a certain frequency when the LED is replaced with a speaker.

In this tutorial, I'll first blink "an LED" using the positive pulse generated by a "DIY 555 Pulse Generator Module", followed by "two LEDs" alternating and flashing at a regular interval.


The circuit is very simple.


By connecting Pin 2 and 6 of the 555 timer IC, we put the IC in stable mode. In stable mode, the 555 timer IC acts as an oscillator (re-triggering itself) generating square waves [PWM Signals] from the output pin no. 3.


By changing the values of R1, R2, and C1 we can change the frequency of the output pulses generated at pin number 3.


Alright, let me explain this with the help of an animation.

* When Pin 2 of the IC detects voltage LESS than 1/3rd of the supply voltage, it turns ON the output.


*And, when Pin 6 detects voltage MORE than 2/3rds of the supply voltage, it turns OFF the output.


* When the output is OFF, the Discharge Pin (Pin7) gets internally grounded.


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.


* Capacitor C1 will be in a discharged state immediately when we fire 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.


* At the same time Pin 7 will internally disconnect from the GND and the Capacitor C1 will start changing via resistors R1 and R2.


* Once the voltage across capacitor C1 crosses 2/3rds of the supply voltage, Pin 6 turns OFF the output.

* At the same time Pin 7 will internally reconnect to the GND causing the capacitor C1 to discharge via resistor R1.


* Once the voltage across the capacitor C1 falls below 1/3rd of the supply voltage, Pin 2 turns ON the output, and the above cycle keeps repeating itself.


You can hook up a multimeter to the circuit to measure the charging and discharging of the capacitor.




Since resistance R1 is involved in both charging and discharging of the Capacitor, increasing or decreasing its value will increase or decrease the duration of the OFF cycle and will decrease or increase the flashing rate of the LED, as the capacitor will take more time to charge and discharge.


By replacing the capacitor with a higher or lower value, you can also get a longer or shorter flashing rate.


By replacing the resistor R1 with a potentiometer the blinking rate of the LED can be dynamically adjusted.

Now, for the Dual LED flashing effect we need to connect a second LED with opposite polarity to the Pin 3 of the IC. That's it, as easy as that.


Now, lets calculate the output frequency and the duty cycle of the output waveform.


In my setup I have resistance R1 = 1kΩ, R2 = 10kΩ and capacitor C = 10uF


There are many online calculators to calculate this online. I will provide a link to one of the stable calculators in the description below: https://ohmslawcalculator.com/555-astable-calculator


Lets first calculate the value of t1 or the 'capacitor charge “ON” time which is 0.693(R1 + R2 ) * C1. Putting the values together we get 76.23 milliseconds.


Now, for capacitor discharge “OFF” time or t2 we need to multiply 0.693 to R2 and C1, which then gives us a value of 69.3 milliseconds.


Next, the total periodic time T is equal to t1 + t2 which comes out to be 145.53 milliseconds.


The output frequency, Æ’ is therefore comes out to be to 6.871Hz.

Which gives a duty cycle value of 52.38%


If you want to have more control over the charging and discharging use a higher value for R2 (100K) and lower value for R1 (1K). That way you will have 99% control over the charging and discharging resistance in the circuit.


The maximum output current of this IC is 200mA therefore to drive a higher current load of up to 1A we have to use a transistor like the BD135.

To make it easy for you guys, I have created this tiny little "555 Pulse Generator Module". After assembling the components, you just need to power this module by providing a voltage between 5v to 15v to get an oscillating output at the “Pulse” pin.




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.

Before moving forward, 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 potentiometer to the board. After that lets solder the 1kΩ (R1) resistor to the board followed by the 10µF capacitor (C1) to the board. Once done, let's insert the 555 timer IC to the IC base.


To conclude I havee soldered 3 x Male pin headers to the board.

This circuit can be used to control the speed of DC motors and stepper motors

It can be used to control windscreen wiper motors to generate a to-and-fro motion

It can be used as square wave signal generator

It can be used as an adjustable pulse generator for MCUs

In Strobe lights and SoS signaling circuits

Telecommunications for encoding purposes

In turning indicator circuits for all types of vehicles and bicycles

To generate adjustable pulse (timing pulses) to control other circuits. As, in combination with the 4017 & 4026 ICs

No comments:

Post a Comment

Post Top Ad

Pages