This is part 3 of a series of articles on the 555 timer. Part 1Â goes into more detail about the pinsÂ and how the chipÂ functions, so you might want to start there if you haven’t read it already:Â 555 Timer Basics – Monostable Mode.

Astable Mode of the 555 Timer

The astable mode is what most people think of when it comes to theÂ 555 timer. Many times when you see a project with flashing LEDs, it’s aÂ 555 timer at work. But it has a lot of other interesting applications too. For example, it can also generate frequencies toÂ produce sound when the output is connected to a speaker. It can even be usedÂ as a simple analog to digital converter (ADC).

BONUS: I made a quick start guide for this tutorial that you can download and go back to later if you can’t set this up right now. It includes all of the wiring diagrams and instructions you need to get started.

In astable mode, the 555 timer acts as an oscillator that generates a square wave. TheÂ frequency of the wave can be adjusted by changingÂ the values of two resistors and aÂ capacitor connected to the chip. The formulas below will tell you the length of the output’s on and off cycles with different resistors and capacitors:

$t_{on}=0.69\times C1 \times (R1+R2)\\ t_{off}=0.69 \times C1 \times R2 \\ \\ t_{on}: \ Length \ of \ high \ output \ pulse \ in \ seconds \\ t_{off}: \ Length \ of \ low \ output \ pulse \ in \ seconds \\ R1: \ Resistance \ of \ R1 \ in \ Ohms \\ R2: \ Resistance \ of \ R2 \ in \ Ohms \\ C1: \ Capacitance \ of \ C1 \ in \ Farads$

With this equation, you can see that increasing the values of either C1 or R2 willÂ increase both the time the output stays on and the time it stays off. Increasing the value of R1 will only lengthen the time the output staysÂ on.

How Astable Mode Works

• Pin 2 – Trigger: Turns on the output when theÂ voltage supplied to it drops below 1/3 of Vcc
• Pin 6 – Threshold:Â Turns off the output when the voltage supplied to it reaches above 2/3 Vcc.
• Pin 7 – Discharge: When the output voltage is low, it discharges C1Â to ground.

In astable mode, the output cycles on and off continuously. In the schematic above, notice that the threshold pin and the trigger pin are connected to C1. This makes the voltage the sameÂ at the trigger pin, threshold pin, and C1.

At the beginning of an on/offÂ cycle, the voltage is low atÂ C1, the trigger pin, and the threshold pin. Whenever the trigger pin voltage isÂ low, the output is on, and the discharge pin is off. Since the discharge pin is off, current can flow through resistors R1 and R2, chargingÂ capacitor C1.

Once C1 charges to 2/3 Vcc, the output is switched off by the threshold pin. When the output goes off, the discharge pin switches on. This allows the charge accumulated on capacitor C1 to drain to ground.

Once the voltage across C1 drops toÂ 1/3 Vcc, the trigger pin turns off theÂ discharge pin, so C1 can start charging again.

To observe the 555 timer in astable mode, let’s buildÂ a circuit thatÂ uses the 555 timer’s oscillating output to make an LED flash on and off:

• R1: 4.7K Ohm resistor
• R2: 4.7K Ohm resistor
• R3: 1K Ohm resistor
• C1: 100 Î¼F capacitor

The values of R1, R2, and C1 affect the speed of the blinking. Larger values will makeÂ the LED blink slower, while smaller values will make the LED blink faster. Resistor R3 is just there to limit the current to the LED so it doesn’t burn out. If you want to set the blinking to a certain speed, you can use the formula at the beginning of this article to calculate the resistance or capacitance you need.

BlinkingÂ LED Controlled by a Potentiometer

An easy way to observe the effect of resistance on the blinking speedÂ is to useÂ a 10K Ohm potentiometerÂ for R2:

• R1: 4.7K Ohm resistor
• R2: 10K OhmÂ potentiometer
• R3: 1K Ohm resistor
• C1: 100 Î¼F capacitor

Adjusting the potentiometer will change the rate of the LED flashing.

BlinkingÂ LED Controlled by a Photoresistor

Instead of using a potentiometer to control the blinkingÂ rate, try connecting a photoresistor:

• R1: 4.7K Ohm resistor
• R2:Â Photoresistor
• R3: 1K Ohm resistor
• C1: 100 Î¼F capacitor

The resistance of a photoresistor decreases as more light shines on it, so the LED will flash more quickly when exposed to more light.

If you want to learn more about the 555 timer, the bookÂ Timer, Op Amp, and Optoelectronic Circuits and Projects Book Vol. 1 By Forrest MimsÂ is a great resource to have on your bench. The book has lots of information about the 555 timer, OpAmps, and other IC’s too.

You can watch howÂ each of the circuits in this tutorial work in this video:

If you have any questions or are having trouble with this project, please leave a comment below and I’ll try to answer it as soon as possible… And don’t forget to subscribe to keep up to date on our latest articles!