Watch on Instagram

Circuit Bytes · Episode 44 · Timers · 555

The 555 timer

The 555 timer, designed by Hans Camenzind and sold since 1972, blinks an LED by charging a capacitor through resistors to two-thirds of the supply, draining it to one-third, and flipping its output each time. The resistors and capacitor set the speed.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

A chip from 1972

The 555 timer was designed by Hans Camenzind for the company Signetics. IEEE Spectrum dates the design to 1971, and Signetics put it on the market in 1972. It is cheap, simple and forgiving, so it ended up in toys, alarms, blinkers and countless hobby projects. Billions have been made, and some estimates say over a billion are still made every year.

Charge to ⅔, drain to ⅓

Inside, the 555 has two comparators watching the voltage on a timing capacitor. In astable mode, the capacitor charges from the supply through two resistors, R1 and R2, the same kind of RC charging curve as the time constant from episode 31. When the capacitor voltage reaches two-thirds of the supply, one comparator flips the chip, and the chip drains the capacitor through R2 into its discharge pin. When the voltage falls to one-third of the supply, the other comparator flips it back, and charging starts again. On a graph, the capacitor voltage zigzags between the ⅓ and ⅔ lines forever.

The output pin follows those flips: it is high (on) while the capacitor charges and low (off) while it drains. That makes a square wave. Hook an LED (with its resistor) to the output and it lights on every high part and goes dark on every low part, so it blinks over and over.

What sets the speed

The resistors and the capacitor decide how fast the capacitor fills and empties:

f ≈ 1.44 ÷ ((R1 + 2R2) × C)

The frequency goes down as C goes up, in exact proportion. Double the capacitor and it takes twice as long to fill and drain, so you get half the blink rate. Bigger resistors slow it down in the same way. The 1.44 comes from charging between ⅓ and ⅔ of the supply (each half-cycle takes about 0.693 × R × C).

Try it yourself

Pick parts and work out the blink rate with f ≈ 1.44 ÷ ((R1 + 2R2) × C). With R1 = 44 kΩ, R2 = 50 kΩ and C = 10 µF: R1 + 2R2 = 144 kΩ, and 144 kΩ × 10 µF = 1.44 s, so f ≈ 1.44 ÷ 1.44 = 1 blink per second. Now try C = 22 µF and check that you get about 0.45 blinks per second.

Good to know

  • The charge path is R1 + R2, but the drain path is only R2, so the LED stays on a bit longer than it stays off unless R2 is much bigger than R1.
  • The thresholds are ⅔ and ⅓ of the supply whatever the supply voltage is, which is why the timing barely changes as a battery runs down.
  • The formula is approximate: real resistors and capacitors have tolerances, and electrolytic capacitors can be 20% off their label.
  • The 555 also has a one-shot (monostable) mode that gives a single timed pulse when triggered.
  • "Billions have been made" is a safe floor; estimates of yearly production vary.
  • Battery or low-voltage supplies only; leave wall wiring to a licensed electrician.

Answer to the comment question

A 555 blinks an LED twice per second. You swap in a capacitor six times bigger. How many seconds from one blink to the next now? 3 seconds. Twice per second is one blink every 0.5 s. The time per cycle grows in proportion to C, so a capacitor six times bigger gives 6 × 0.5 s = 3 s from one blink to the next.

Test your knowledge

Quick quiz: The 555 timer

4 multiple-choice questions. Pick one answer for each, then check how you did.

1At what capacitor voltage does a 555 in astable mode flip and start draining the capacitor?
2What is the 555's output doing while the capacitor charges?
3You double the timing capacitor. What happens to the blink rate?
4Who designed the 555 timer?

Sources

Video transcript

How is a chip from nineteen seventy-two still blinking lights everywhere?

It's the five-five-five timer, designed by Hans Camenzind. Billions have been made.

Inside, it charges a capacitor through resistors, like the time constant from episode thirty-one.

When the capacitor reaches two-thirds of the supply, the chip flips and drains it. At one-third, it flips back and charges again.

Each flip switches the output on or off, so an LED blinks over and over.

The resistors and capacitor set the speed. Double the capacitor and it fills twice as slowly: half the blink rate.

A five-five-five blinks an LED twice per second. You swap in a capacitor six times bigger. How many seconds from one blink to the next now? Comment your answer below!

That's your byte.

More from Circuit Bytes

All Circuit Bytes lessons