@_electroidiot

Hobby Electronics for the Complete Idiot

Idiot’s Guide to the 555 Timer IC

Getting Started with the 555 Timer – Everything You Need to Know

The 555 Timer is one of the most popular integrated circuits of all time. Its versatility has made it a favourite among hobbyists, who keep discovering creative uses for the chip beyond its original purpose. No matter where your interests lie in the vast field of electronics, you will almost certainly need to use one at some point! This article will introduce the 555 timer and explain its functioning and basic circuit configurations with a focus on building an intuitive understanding of how it works. Learning about the 555 Timer also introduces you to some important electronics concepts and will help you develop your understanding about electronics systems.

What is the 555 Timer?

The 555 is a timer and oscillator integrated circuit that was designed in the early 1970s by engineer Hans Camenzind. By using an external timing capacitor and resistor network, the 555 timer can be configured as a very stable pulse generator or oscillator. It was one of the first general purpose, commercially marketed ICs. Over 40 years later, it remains hugely popular and has been used in everything from toys to spacecraft.

There are various versions of the chip, but this post will focus on the original TTL version, which is usually labelled as NE555, NA555, or SE555.

555 Timer IC Pinout

Pinouts of the 555 and 556 timer integrated circuits. Pin 1 is marked by a small dot. If there is no dot, pin 1 is the top-left pin on the "notched" side of the IC pacakge.

The pin names of the 8-pin 555 timer IC, going counterclockwise from pin 1 are:
1. Ground, 2. Trigger, 3. Out, 4. Reset, 5. Control. 6. Threshold., 7. Discharge., 8. VCC.

The pin names of the 14-pin 556 dual-timer IC, going counterclockwise from pin 1 are:
1. Discharge A, 2. Threshold A, 3. Control A, 4. Reset A, 5. Output A, 6. Trigger A, 7. Ground, 8. Trigger B., 9. Output B, 10. Reset B., 11. Control B, 12. Threshold B, 13. Discharge B, 14. VCC
Figure 1 – 555 Timer pinout (top), 556 Dual Timer pinout (bottom)

The 555 timer is available in various packages, the most common being the 8-pin PDIP (through-hole) and SOIC(SMD) versions. There is also a 14-pin dual timer package called the 556, which contains two separate 555 Timers in one chip. The pinouts for both types are shown in Figure 1 above.

Let’s start by taking a quick look at the chip’s pin-out, and briefly describing each pin’s function. Note that the pin numbers in this article correspond to the single 555 Timer 8-pin package as shown in Figure 1.

555 Timer Pin Functions

The 555 timer’s pins and their basic function are as follows:

PIN 1 – GROUND: The main ground reference for the chip.

PIN 2 – TRIGGER: Taking it under 1/3rd of VCC sets output (pin 3) high and discharge (pin 7) open.

PIN 3 – OUTPUT: The output will be high (around VCC-2) or low (slightly above ground) depending on the voltages on pins 3, 5, and 6.

PIN 4 – RESET: Taking it low when the timer is on forces the output and discharge pins to go low.

PIN 5 – CONTROL: Can be used to alter the threshold voltage (see pin 6) for modulation purposes. If unused, it should be tied to ground via a 10nF capacitor.

PIN 6 – THRESHOLD: Usually connected to a timing capacitor. When it is taken to over 2/3rds of VCC, it takes the output and discharge pins low.

PIN 7 – DISCHARGE: Shorts to ground when output goes low. Used for discharging timing capacitor.

PIN 8 – VCC: Supplies power to the chip. Usually around 4.5 – 16V. Check the datasheet for your particular timer chip.

From this brief description, we can establish the basic operating principle of the 555 timer as follows.

“Trigger going low sets output high and discharge open until threshold goes high or reset goes low”.

This may not make much sense yet, but it will become clear once we dip deeper into the inner workings of the 555 timer and look at some example circuits.

How Does the 555 Timer Work?

Essentially, the 555 Timer uses a pair of comparators and a flip-flop to monitor voltage across an external timing capacitor and switch the output high or low accordingly. A transistor switch is used to discharge the capacitor when the output goes low. By arranging the external components in various ways, the 555 Timer can be used as a pulse generator or oscillator. The functioning of the internal circuit is explained in detail below.

555 Timer Block Diagram

Simplified block diagram of the 555 Timer. There are three equal value resistors between pin 8 (VCC) and pin 1(ground). They split the supply voltage into 2/3rds VCC and 1/3rds VCC. 

Comparator 1 has its negative input connected to the 2/3rds point. This point is also connected to pin 5 (control). The positive input of comparator 1 is connected to pin 6 (threshold).

Comparator 2 has its positive input connected to the 1/3rds point. Its negative input is connected to pin 2(trigger). 

There is a "flop-flop" circuit at the middle of the IC. Comparator 1's output is connected to the flip-flop's R input, and comparator 2's output is connected to the flip-flop's S input. Pin 4(reset) is connected to the flip-flop's R1 input. The flip-flop's output is called QBar. Qbar is connected to the base of a transistor switch. Qbar is also connected to the inverting input of a buffer amplifier.

The buffer amplifier's output is connected to pin 3(output).

The transistor switch's collector is connected to pin 7(discharge), and its emitter is connected to pin 1(ground).
Figure 2 – 555 timer functional block diagram with notes.

What’s Inside The 555 Timer?

The 555 Timer IC contains around 25 transistors, 3 diodes, and 15 resistors. But for practical purposes we can simplify it down to the block diagram of Figure 2. As you start working with more complex circuits, you will find that analysing everything at the transistor level is often impractical and unnecessary. Working with block diagrams is an essential part of electronics engineering. The 555 Timer diagram above contains some common simplified circuit representations that you will encounter quite often as you continue to dig deeper into electronics. The various circuit sections shown in the block diagram are explained below:

Heart of the 555 – The RS Flip Flop

At the heart of the chip is a circuit known as a “RS Flip Flop”. This is a digital logic circuit that can “store” a high or low logic state as its output. Usually, a flip flop has two outputs, Q and Q̅ (Qbar or Not Q). In the 555, we are only concerned with the latter. Basically:

  1. R input going high or R1 going low sets QBar high.
  2. S input going high sets QBar low.
The 555’s Namesake? The Voltage Reference Resistors

Between pin 8 (VCC) and pin 1 (ground) are three equal resistors that create reference voltages of 1/3rd and 2/3rds of VCC. If you are wondering why the 555 timer is called so, it is sometimes said that it is because the three reference voltage creating resistors are 5K ohms in value, however this is probably just an urban myth with the 555 designation being more or less random.

555 Timer Comparators

A comparator is a circuit with two inputs, inverting (-) and non-inverting (+). When the – input voltage exceeds that of the + input, the output is low and vice-versa. In the 555 Timer, there are two comparators as shown in Figure 2.

  1. Comparator 1
    Its – input is tied to the 2/3rds point, thus its output goes high when its + input (pin 6) exceeds this level. Comparator 1’s output goes to the flip-flop’s R input.
  2. Comparator 2
    It’s + input is tied to the 1/3rd point, thus its output goes high when its – input (pin 2) goes below this level. Comparator 2’s output goes to the flip-flop’s S input.
Output Driver

The output driver is a buffer amplifier. Its job is to supply enough current to whatever you have at the output without loading down the preceding circuitry. The flip flop’s output is tied to the inverting input of the output driver. Thus, the output (pin 3) goes high when Q̅ is low and vice versa. Note that in block diagrams, an inverting input is often indicated by a small circle.

Transistor Switch

Pin 7 is connected to the collector of an NPN transistor. The emitter is connected to ground (pin 1) and the base to the flip flop output. Thus, pin 7 is grounded when Q̅ is high, and open when Q̅ is low.

555 Timer Summary

The end result is that the chip functions as follows:

  1. Taking pin 6(Thres) high or pin 4(Reset) low sets the output and pin 7(Disch) low.
  2. Taking pin 2(Trig) low sets the output high and pin 7(Disch) open.

This behaviour of the chip allows it to be used for purposes such as timing or oscillation using an external timing capacitor.

555 Timer Operating Modes

The 555 Timer has three main modes of operation: 1. Bi-Stable Mode, 2. Monostable Mode, and 3. Astable Mode. The functioning and circuit connections for each mode are explained below.

555 Timer in Bi-Stable Mode

Schematic of 555 Timer connected in bi-stable mode. 

Pin 8(VCC) is connected to the power supply.

Pin 5(control) is connected to ground via 10nF capacitor C1. 

Pin 4(reset) is connected to VCC via 10K resistor R1. Normally open momentary switch SW1 is connected between pin 4 and ground.

Pin 7(discharge) is left open.

Pin 6(threshold) is connected to ground.

Pin 2(trigger) is connected to VCC via 10K resistor R2. Normally open momentary switch SW1 is connected between pin 2 and ground.

Pin 1(ground) is connected to circuit ground.

Output load resistance RL is connected between pin 3(out) and ground.
Figure 3 – Annotated schematic of 555 Timer in bi-stable mode.

Bi-stable mode is arguably the least interesting way to use a 555 timer, as all it does Is expose the Internal flip-flop. I decided to talk about it first as it helps in understanding the basic behaviour of the chip and will make it easier to visualise what is happening inside the IC once we start adding external timing capacitors.

The job of this circuit is to toggle its output between HIGH or LOW (or ON or OFF), and hold it there until told to change state. You can think of it as a 1 bit memory module. Here’s how it works:

  • R1 and R2 are pull-up resistors that keep pins 4 (Reset) and 2(Trig) high by default when the circuit is first powered on. Thus, the output at pin 3 is low.
  • Pressing SW1 will ground pin 4(taking it low) but since output is already low, this would have no effect.
  • Pressing SW2 will ground pin 2, causing the output to go high. Now pressing SW2 again will have no effect, until SW1 is pressed to take the output low again.
  • Instead of the normally open switches, pins 4 and 2 can be controlled by some other digital circuit, such as a transistor switch controlled by the output of a microcontroller.

555 Timer in Monostable Mode

Annotated schematic of the 555 Timer IC connected in monostable mode.

Powe is supplied to the IC at pin 8(VCC).

10nF capacitor C1 is connected between pin 5(control) and ground.

Resistor R3 is connected between pin 4(reset) and VCC. Normally open momentary switch SW 2 is connected between pin 4 and ground.

Resistor R1 is connected between VCC and pin 7(discharge). Pin 6(threshold) is connected directly to pin 7. Capacitor C2 is connected between the junction of pins 7 and 6 and ground.

Resistor R2 is connected between VCC and pin 2(trigger). Normally open momentary switch SW1 is connected between pin 2 and ground.

The output load RL is connected between pin 3(out) and ground.

When SW1 takes trigger low, the output (pin 3) goes high and discharge (pin 7) changes from low to open.

Now C2 charges through R1 until the voltage at threshold (pin 6) rises to over 2-thirds of VCC.

That takes output and discharge low again.

The output will be a pulse, the duration of which depends on the value of R1 and C2.

The pulse duration will remain the same no matter how long SW1 is pressed, as long as this is less than the pulse duration.

There will be a gradually rising voltage across C2. It starts rising once SW 1 is pressed. Once the pulse is over, the voltage across C2 drops straight down. Note that pin 6(threshold) is sensing this voltage to determine how long the output pulse lasts.
Figure 5 – Annotated schematic of the 555 Timer in monostable mode.

The 555 Timer’s monostable or one-shot mode of operation allows the generation of an output pulse of a precise duration. The duration of the output pulse is determined by a timing resistor and capacitor and is independent of the input or trigger pulse (As long as the trigger pulse is shorter than the output pulse).

As seen in Figure 5, pins 7 and 6 (Discharge and Threshold respectively) are tied together. This point in the circuit is also the junction of the RC network formed by R1 and C2. Pin 2 (Trigger) and pin 4 (Reset) are held high by 10K pull-up resistors R2 and R3 respectively. The circuit functions as follows:

1. Initially, pin 2 is at the same voltage as VCC. Since this is greater than 1/3rds VCC, the chip’s internal circuitry sets pins 3 (Output) and pin 7 (Discharge) at ground protentional. As a result of pin 7 being grounded, timing capacitor C2 cannot have a charge across it.

2. Forcing pin 2 low by a negative going pulse (closing SW 1 in the Figure 5 example) makes the internal flip-flop change state. This results in the output at pin 3 going high and pin 7 going open.

3. Since pin 7 is no longer shorting C2, the capacitor is now charging up towards VCC via R1. The rate at which the voltage across C2 climbs is determined by:

R1 ∗ C2

The result is the time in seconds for the capacitor to charge to 0.606 VCC.

4. When C2 charges to over 2/3rds VCC, the comparator at pin 6 (Threshold) detects this and resets the internal flip-flop. This takes the output low again and grounds pin 7, discharging the capacitor. The output pulse has now ended, and the output stays low until the timer is triggered again.

555 Timer Monostable Mode Equation

The pulse time can be calculated by the following equation:

t = 1.1 R1 C2

Where R1 is the resistor connected to VCC, and C2 is the timing capacitor at pins 6 and 7.

555 Timer Monostable Mode Timing Chart

Graph showing the relationship between delay time on the horizontal axis and the value of C2 on the vertical axis for various values of R1. 

The graph shows that delay time increases as capacitance and/or resistance increases and vice versa.
Figure 6 – 555 Timer time delay graph from Texas Instruments Datasheet.

For your connivance a table showing various pulse durations for various combinations of R1 and C2 is shown below. You can also refer to the graph for monostable operation from the 555 Timer datasheet by Texas Instruments.

10K22K47K100K220K470K1M
1000uF1124521102405201100
470uF5.2112452110240520
220uF2.45.2112452110240
100uF1.12.45.2112452110
47uF0.521.12.45.2112452
22uF0.240.521.12.45.21124
10uF0.110.240.521.12.45.211
4.7uF0.0520.110.240.521.12.45.2
2.2uF0.0240.0520.110.240.521.12.4
1.0uF0.0110.0240.0520.110.240.521.1
0.47uF0.0110.0240.0520.110.240.52
0.22uF0.0110.0240.0520.110.24
0.1uF0.0110.0240.0520.11
0.047uF0.0110.0240.052
0.022uF0.0110.024
0.01uF0.011
Chart showing expected time delays for various combinations of R1 and C2. Data source “Make: Electronics” by Charles Platt.

555 Timer Monostable Mode Tips

Here are some key points to keep in mind when designing 555 timer monostable mode circuits:

  • Values of R1 below 1K should not be used.
  • Avoid values below 10K as they will cause excess current flow and power consumption.
  • Capacitor values over around 100uF will tend to produce inaccurate results due to capacitor leakage current.

555 Timer in Astable Mode

Annotated schematic of the 555 Timer IC connected in astable mode.

Power is connected to pin 8 (VCC).

10nF capacitor C1 is connected between pin 5 (control) and ground.

Pin 4 (reset) is connected to VCC.

Resistor R1 is connected between VCC and pin 7 (discharge).

Resistor R2 is connected between pin 7 and pin 2 (trigger). Pins 2 and 6 (threshold) are connected together.,

C2 is connected between the junction of pins 2 and 6 and ground. 

Pin 1 (ground) is connected to circuit ground.

The output load resistance RL is connected between pin 3 (out) and ground.

When the voltage across C2 is less than 1-third of VCC, trigger (pin 2) sets the output (pin 3) and discharge (pin 7) high. This corresponds to the internal flip-flop's QBar output being low. In this state, C2 starts charging up towards VCC though R1 and R2.

When C2 charges to above 2-thirds of VCC, threshold (pin 6) takes the output and discharge pins low. This causes C2 to rapidly discharges into pin 7.

The cycle repeats once C2 has discharged to below 1-thirds VCC.

There will be a constant square-wave output at pin 3 and a saw-tooth like oscillation at pins 2 and 6 as C2 charges and discharges.
Figure 7 – Annotated schematic of the 555 Timer in astable mode.

Astable mode turns the 555 Timer into a square wave oscillator that continuously generates an accurate pulse for as long as the circuit is powered on. Here’s how it works:

1. Referring to figure 7, when power is first applied C2 is discharged. Thus pin 2 is low. The chip detects this and sets the output high, and pin 7 open.

2. Since pin 7 is no longer grounded, C2 is able to start charging up through R1 and R2. When the voltage reaches 2/3rds of VCC, the chip detects this through pin 6 and sets output and pin 7 low again.

3. This causes C2 to start discharging into pin 7 through R2. When C2 discharges to under 1/3rds VCC, the chip detects this through pin 2 and the cycle repeats with the output going high and pin 7 going open again.

555 Timer Astable Mode Equations

The time in seconds for which the output is high is determined by:

t1 = 0.693 × (R1+R2) × C2

The low time is determined by:

t2 = 0.693 × R2 × C2

The total time of the cycle will be:

T = 0.693 × C2 × (R1 + 2 × R2)

Thus the frequency will be:

f = 1.44 ÷ ((R1+ 2 × R2) × C2) = 1/T

555 Timer Astable Mode Timing Chart

Graph showing the relationship between frequency on the horizontal axis and capacitance on the vertical axis for various values of R1+2R2. The graph shows that frequency increases as R1+2R2 and/or capacitance decrease and vice-versa.
Figure 8 – 555 Timer time frequency graph from Texas Instruments Datasheet.

For your connivance a table showing the expected output frequency for various combinations of R1+R2 and C2 is presented below. You can also refer to the graph for monostable operation from the 555 Timer datasheet by Texas Instruments.

R1 = 10K
R2 = 10
K
R1 = 10K
R2 = 22K
R1 = 10K
R2 = 47K
R1 = 10K
R2 = 100K
R1 = 10K
R2 = 220K
R1 = 10K
R2 = 470K
R1 = 10K
R2 = 1M
47uF1Hz0.57Hz0.3Hz0.15Hz0.068Hz0.032Hz0.015Hz
22uF2.2Hz1.2hz0.63Hz0.31Hz0.15Hz0.069Hz0.033Hz
10uF4.8Hz2.7Hz1.4Hz0.69Hz0.32Hz0.15Hz0.072Hz
4.7uF10Hz5.7Hz3.0Hz1.5Hz0.68Hz0.32Hz0.15Hz
2.2uF22Hz12Hz6.3Hz3.1Hz1.5Hz0.69Hz0.33Hz
1.0uF48Hz27Hz14Hz6.9Hz3.2Hz1.5Hz0.72Hz
0.47uF100Hz57Hz30Hz15Hz6.8Hz3.2Hz1.5Hz
0.22uF220Hz120Hz63Hz31Hz15Hz6.9Hz3.3Hz
0.1uF480Hz270Hz140Hz69Hz32Hz15Hz7.2Hz
0.047uF1kHz570Hz300Hz150Hz68Hz32Hz15Hz
0.022uF2.2kHz1.2kHz630Hz310Hz150Hz69Hz33Hz
0.01uF4.8kHz2.7kHz1.4kHz690Hz320Hz150Hz72Hz
4700pF10kHz5.7kHz3kHz1.5kHz680Hz320Hz150Hz
2200pF22kHz12kHz6.3kHz3.1kHz1.5kHz690Hz330Hz
1000pF48kHz27kHz14kHz6.9kHz3.2kHz1.5kHz720Hz
470pF100kHz57kHz30kHz15kHz6.8kHz3.2kHz1.5kHz
220pF220kHz120kHz63kHz31kHz15kHz6.9kHz3.3kHz
100pF480kHz270kHz140kHz69kHz32kHz15kHz7.2kHz
Chart of expected 555 Timer frequency output in astable mode for various combinations of C2 and R2 with R1 held constant at 10K. Data source: “Make: Electronics” by Charles Platt

Independent Adjustment of On Time and Off Time in Astable Mode

For independent adjustment of on and off time in astable mode, a diode is connected across R2. The anode is at the side going to the discharge pin, while the cathode is at the side going to the trigger pin.
Figure 9 – Adding a diode to make 555 Timer on time and off time independently adjustable.

Since the capacitor charges through R1 and R2, but discharges only through R2, the on and off time cannot be equal or adjusted independently. A workaround is to connect a diode across R2 as shown in figure 9. This will allow R1 to only determine the on time while R2 only determines the off time.

Using the 555 Timer Output

There are two ways to use the output of a 555 Timer IC.

1. The load is connected between pin 3 (output) and ground. In this case, the output voltage will be approximately VCC-2, and will be applied across the load whenever the Timer's output is high.

2. Or the load can be connected between pin 8 (VCC) and pin 3 (output). In this case, current will only flow through the load when the Timer's output is low. The voltage across the load when the output is low will be approximately = VCC.
Figure 10 – Two ways of using the 555 Timer output.

In the examples above, the “load” was shown connected between pin 3 and ground as resistor RL. In practical applications RL will be replaced by whatever circuit or component you wish to power when the timer is high. The output voltage will be around VCC-2, and the maximum current that the 555 timer is capable of sinking through the output is around 200mA. (Refer to the datasheet for the exact version of the chip that you are using.)

Chaining 555 Timers

Four ways of connecting 555 Timer's together are shown.

1. Timer 1's output supplies power to Timer 2's VCC pin. Timer 2 runs only while Timer 1 is high.

2. Trimer 1's output is connected to Timer 2's trigger pin. Timer 2's output pulse is triggered by Timer 1's output going low.

3. Timer 1's output is connected to Timer 2's control pin. Timer 1 modulates 2's frequency.

4. Timer 1's output is connected to Timer 2's reset pin. Timer 1 forces Timer 2 to reset.
Figure 11 – Four ways to chain 555 Timers.

Figure 11 illustrates four ways in which one 555 Timer can be used to control another. In theory, as many timers may be chained together as needed using these methods, which are summed up below:

  1. Connecting timer 1’s output (pin 3) to timer 2’s VCC (pic 8) will cause timer 2 to run only while timer 1’s output is high.
  2. Connecting timer 1’s output to timer 2’s trigger (pin 2) will trigger timer 2 when timer 1’s output goes high.
  3. Connecting timer 1’s output to timer 2’s control (pin 5) will cause timer 2’s threshold voltage to change according to timer 1’s output. This results in frequency modulation of timer 2’s output when it is operating in astable mode.
  4. Timer 1’s output connected to timer 2’s reset (pin 4) will force timer 2 to reset whenever timer 1 goes low. This can be used to “sync” timer 2 to timer 1.

555 Timer Applications

Armed with an intuitive understanding of the 555 timer’s functioning, you can now no doubt imagine your own creative applications for this iconic chip. Electronics hobbyist have found numerous unusual ways to use the 555, such as this 555 Timer based radio receiver. To complete this article however, I have presented three “typical” uses of the chip for representative purpose.

555 Timer Time-Delay Relay Driver Circuit

Annotated schematic of the 555 Timer used as a delay timer for a relay that powers another circuit.

The circuit is essentially the 555 Timer monostable circuit described earlier. R1 is replaced by a 1 Meg Ohm variable resistor and C2 is 10uF. The output (pin 3) connects to one side of a relay's coil through diode D1. D1's anode is connected to pin 3 and its cathode is connected to the relay.

The other side of the relay coil is connected to ground. Another diode, D2, is connected across the relay's coil with its anode pointed towards ground. 

Power is delivered to the secondary circuit through the relay's common and normally closed contact. 

Taking pin 2 (trigger) low takes the output high and keeps the relay actuated until C2 charges above 2-thirds of VCC. While the relay is actuated, its common and normally closed contacts are disconnected.
Figure 12 – 555 Timer time delay circuit example. Annotated Schematic.

In many cases, it is desirable for a circuit to be powered on after a short delay. In the above circuit, SW1 is to be closed as the circuit is powered on (maybe the SW1 contacts could be part of the device’s main power switch, or a negative pulse to the trigger pin from a microcontroller could be used as well). This causes the output to go high, actuating the relay. If the normally closed (N.C.) and common (COM) contacts of the relay are in series with the power supply to the secondary circuit, the timer will hold the secondary circuit off until C2 charges to over 2/3rds VCC. D1 and D2 protect the IC from voltage spikes caused by the relay’s inductance. Since this is essentially a monostable circuit, the same equation can be used to get an approximation of the delay time:

t = 1.1 R1 C2

You can expect around 2 seconds of delay with R1 = 100K and C2 = 10uF. This rises to 15 seconds if R1 is set to 1 Meg.

Basic Tone Generator or Metronome with 555 Timer

Example circuit of a 555 Timer used as a basic tone generator or metronome. The circuit is similar to the basic astable mode circuit described earlier. R1 is replaced by a variable resistor. R2 is 1K. C2 should be 10nF for audio frequencies and 1uF for metronome clicks.

An 8 Ohm speaker can be connected to the output, with 4.7uF capacitor C3 in series to ground.
Figure 13 – 555 Timer basic tone generator example circuit. Annotated Schematic.

Generating audible tones is one of the most common applications of the 555 timer. In the above example, the 555 timer is operated in astable mode, hence the output frequency will be approximately:

f = 1.44 ÷ ((R1 + 2 × R2) × C1)

Using a potentiometer connected as a variable resistor for R1 allows you to adjust the frequency on the fly. With R1 = 1Meg, R2 = 1K use C2 = 10nF for an audio frequency output between around 15Hz to 7kHz. With C2 = 1uF, the circuit can act as a metronome or click generator by operating between around 1-10Hz.

555 Timer Dual LED Flasher Circuit

Example circuit of a 555 Timer used as a dual LED flasher. The circuit is similar to the basic astable circuit described earlier. R1 =1K, R2 = 100K, and C2 = 10uF.

1K resistor R3 connects VCC (9V) to LED1's anode. LED 1's cathode is connected to pin 3 (out).

1K resistor R4 connects the output (pin 3) to LED 2's anode. LED2's cathode is connected to ground.

LED 1 lights up when the output is low. LED 2 lights up when the output is high.
Figure 14 – 555 Time dual LED flasher circuit example. Annotated Schematic

Another very common use of the 555 timer is to flash LEDs. The above circuit turns each LED on and off one after the other. Note that LED1’s cathode is connected to the output, thus it turns on when the output is low. On the other hand, LED2’s anode is  connected to the output (via R4), thus it turns on when the output is high. Since this is simple astable mode operation of the 555 timer, the same equations can be used to calculate the on and off times of each LED and the frequency of flashes.

t1 = 0.693 × (R1+R2) × C2 ~= 0.699s
t2 = 0.693 × R2 × C2 ~= 0.693s
T = 0.693 × C2 × (R1 + 2 × R2) = t1+t2 ~= 1.392s
f = 1.44 ÷ ((R1+ 2 × R2) × C2) = 1/T ~= 0.7Hz

Where t1 is LED 2’s on-time and t2 is LED 1’s on time.

555 Timer Stepped Tone Generator / Atari Punk Console Circuit

Example circuit of two 555 Timers used to create a "stepped tone generator". 

Timer 1 is wired in astable mode as described earlier. R1 between VCC and discharge (pin 7) is a 500K variable resistor. R2 between discharge and pins 6 and 2 (threshold and discharge) is 1K. The timing capacitor (C1 in this case) is 10nF.

Timer 1's output is connected to Timer 2's trigger pin (pin 2).

Timer 2 is connected in monostable mode as described earlier. Its timing circuit consists of 500K variable resistor R3 and 100nF timing capacitor C2. An 8 Ohm speaker is connected between VCC and pin 3(output) via 5K variable resistor R4 and 10uF capacitor C3.

Timer 1 outputs a continuous pulse between around 287 to 71kHz.

Timer 2 outputs a pulse between 1ms to 55ms whenever triggered by Timer 1. Adjusting Timer 2's pulse width will make the output appear to change in steps as Timer 2's pulse is forced to align with the "grid" generated by Timer 1.
Figure 15 – 555 Timer stepped tone generator/Atari Punk Console circuit example. Annotated Schematic.

This is an extremely popular circuit by the legendary Forrest M. Mimms III. A favourite of DIY synthesizer and electronic music hobbyists, the circuit is popularly called “Atari Punk Console” for the retro video-game console like sounds it generates. Forrest Mimms presented the circuit using a 556 dual timer, but I have shown it here using two separate 555s to make its operation clearer. Essentially, the first timer is operated in astable mode, while the second timer is operated in monostable mode. This mean that timer 1 is generating a constant free-running oscillation while timer two only generates a pulse when triggered. Since timer 2 is triggered by timer 1, adjusting timer 2’s pulse width using R3 makes the output pitch appear to change in “steps” instead of a smooth graduation. This is because the output pulses are forced to “align” to the “grid” generated by the first timer.

555 Timer “Siren” Generator

Example circuit of two 555 Timers used to generate a frequency shifting "siren" type tone.

Both timers are operated in astable mode as described earlier.

Timer 1's timing circuit consists of R1 1K, R2 33K, and C1 100uF.

1000uF Capacitor C3 is connected between Timer 1's output (pin 3) and ground. This turns Timer 1's output into a gradually rising voltage. The output is connected to Timer 2's control pin (pin 5) via 1K resistor R6. Timer 2's control pin also has a 100K resistor R5 going to VCC.

Timer 2's timing circuit consists of R4 10K, R3 10K, and C2 100nF.

An 8 Ohm speaker is connected between ground and timer 2's output via 10uF capacitor C4.
Figure 16 – 555 Timer “siren” sound generator circuit. Annotated Schematic

The circuit above uses two 555 timers (or one 556 dual timer) to create a “police siren” like sound that smoothly changes pitch on its own. Both timers are operated in astable mode, with the first timer’s output feeding the second timer’s input via current limiting resistor R6. Note the very large 1000uF capacitor, C3, connected to timer 1’s output. Since this capacitor takes a while to charge, timer 1’s abrupt rising edges are smoothed out into a gradually rising voltage. This smoothened out voltage change applied to timer 2’s control pin causes a “smooth” change in timer 2’s output frequency. Note that timer 1’s timing capacitor C1 is a much larger value than timer 2’s timing capacitor C2. Timer 1 thus acts as a low-frequency-oscillator that frequency modulates the timer 2.

The usual astable mode equations can be used to calculate the output frequencies:

fTimer1 = 1.44 ÷ ((R1+ 2 × R2) × C2) = 1/T ~= 0.2Hz
fTimer 2 = 2 f = 1.44 ÷ ((R1+ 2 × R2) × C2) = 1/T ~= 480Hz

OK, but What ACTUALLY is Inside The 555 Timer?

Encased inside the black plastic casing is a thin wafer of silicon, areas of which have been “doped” with impurities to form transistors, diodes, and resistors. The working of semi-conductors and IC fabrication go way beyond the scope of this article, but if you do wish to understand the 555 Timer on a transistor-level I recommended checking out the “Three Fives” Discrete 555 Timer kit from Evil Mad Scientist Laboratories. Check out the kit’s accompanying instructions for a transistor-level description of the 555’s internal circuit.

More 555 Timer Circuits and Information

The 555 timer will certainly appear on this blog again, especially in the context of sound synthesis circuits. If you interested in 555 timer and other old school IC and transistor based analog audio circuits, be sure follow @_electroidiot on Instagram and subscribe to the _electroidiot mailing list below to stay updated! Also check-out the suggested reading material at the end of this post for some essential resources and reading on the 555 timers. 

Get Notified of New Posts, subscribe to the _electroidiot Mailing List.

One of the best explanations about the 555 timer’s functioning that I’ve found is by Charles Platt in his book “Make: Electronics”. I highly recommend you pick up a copy of this book, especially if you enjoy a hands-on project-based approach to learning Electronics.

Make: Electronics: Learning by Discovery: A hands-on primer for the new electronics enthusiast

Check out following resources to learn more about the 555 Timer:

 

Comments

Leave a Reply

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

Electronics goodness… Straight to your inbox!

Subscribe to the _electroidiot mailing list to be notified of new blog posts.