555 timer
The 555 timer is a chip that makes timed pulses. Wired as an astable, it switches its output on and off by itself, at a rate set by two resistors and a capacitor, so 1 kΩ, 10 kΩ and 10 µF flash it about 6.86 times a second.
f = 1.44 ÷ ((R1 + 2R2) × C)
where R1 and R2 are its timing resistors and C its capacitor; the output is high for 0.693 × (R1 + R2) × C and low for 0.693 × R2 × C.
Wired as a monostable, it gives a single pulse of 1.1 × R × C each time it is triggered.
How do you calculate a 555 timer’s frequency?
To calculate a 555 timer’s frequency, use f = 1.44 ÷ ((R1 + 2R2) × C), with R in ohms and C in farads. The output is high for 0.693 × (R1 + R2) × C and low for 0.693 × R2 × C.
The 0.693 is ln 2, because each half of the cycle runs between a third and two-thirds of the supply, an RC charge that takes ln 2 time constants. Enter values to see the timing.
555 astable calculator
High: 0.693 × (10 kΩ + 68 kΩ) × 10 µF ≈ 541 ms; low: 0.693 × 68 kΩ × 10 µF ≈ 471 ms. That is f = 1 ÷ 1.01 s ≈ 0.988 Hz, high 53% of the time.
What is a 555 timer?
The 555 is an eight-pin timer chip, made since 1972 and still one of the most widely used: two comparators, a flip-flop and a discharge transistor that turn a capacitor’s charging into timed pulses.
One comparator watches for the capacitor passing two-thirds of the supply, the other for it falling below a third. The original bipolar NE555 runs from about 4.5 to 16 V; CMOS versions, such as the lab’s, run from a few volts and draw far less current.
What are the 555 timer’s pins?
Pin 1 is ground, 2 trigger, 3 output, 4 reset, 5 control voltage, 6 threshold, 7 discharge and 8 the supply.
Reset is tied to the supply unless you need it, and control voltage often gets a 10 nF capacitor to ground to keep noise off the threshold. Figure 2 steps through each pin.
Pin 3, OUT: the output, high or low, which drives the load.
How does a 555 astable work?
A 555 astable works by charging its capacitor through R1 and R2 while the output is high, until it reaches two-thirds of the supply, then discharging it through R2 while the output is low.
An astable has no stable state, so it oscillates for as long as it is powered. Because it charges through both resistors but empties through one, its duty cycle is always over 50%, as Figure 3 shows. The lab’s LED flasher is one.
R2 = 68 kΩ: it charges through 10 kΩ + 68 kΩ for 541 ms and empties through 68 kΩ alone for 471 ms, so the output is high (R1 + R2) ÷ (R1 + 2R2) = 53% of the time.
How does a 555 monostable work?
A 555 monostable works by setting its output high when the trigger pin goes briefly low, then dropping it again after 1.1 × R × C, when the capacitor reaches two-thirds of the supply.
A monostable has one stable state, low, and returns to it after each pulse, which suits delays, timeouts and stretching a short button press into a longer signal. Figure 4 times one.
R = 100 kΩ: one trigger gives a pulse of 1.1 × 100 kΩ × 10 µF ≈ 1.1 s; however long the trigger lasts, the pulse is the same.
How do you design a 555 timer circuit?
To design a 555 timer circuit, pick C, then solve the timing formula for the resistors, keeping them between about 1 kΩ and 1 MΩ.
Example 1: an astable’s frequency
A 555 astable has R1 = 10 kΩ, R2 = 47 kΩ and C = 10 µF. What is its frequency and duty cycle?
- Given
- a 555 astable with R1 = 10 kΩ, R2 = 47 kΩ and C = 10 µF
- Find
- its frequency and duty cycle
- Solution
- High: 0.693 × 57 kΩ × 10 µF ≈ 395 ms; low: 0.693 × 47 kΩ × 10 µF ≈ 326 msf = 1.44 ÷ ((R1 + 2R2) × C) ≈ 1.39 HzDuty = high ÷ (high + low) ≈ 55%
- Answer
- About 1.39 Hz, 55% duty
Example 2: a monostable’s resistor
A 555 monostable uses a 100 µF capacitor. What resistor gives a 5 s pulse?
- Given
- a 555 monostable with C = 100 µF, to give a 5 s pulse
- Find
- the timing resistor, R
- Solution
- t = 1.1 × R × C, so R = t ÷ (1.1 × C)R = 5 s ÷ (1.1 × 100 µF) ≈ 45.5 kΩ
- Answer
- R ≈ 45.5 kΩ
Summary
Key equations
- thigh = 0.693 × (R1 + R2) × C astable, on
- tlow = 0.693 × R2 × C astable, off
- f = 1.44 ÷ ((R1 + 2R2) × C) its frequency
- t = 1.1 × R × C a monostable’s pulse
Key terms
- Astable
- Switches on and off by itself.
- Monostable
- One timed pulse per trigger.
- Duty cycle
- The share of each cycle spent high.
- Threshold
- The ⅔ point that ends a high.
Practice problems
-
Which pin is a 555’s output?
Pin 1 is ground, pin 3 the output and pin 8 the supply.
-
In astable mode, what switches the output low?
The threshold pin sees the capacitor pass ⅔, so the output goes low and the discharge pin empties it to ⅓.
-
R1 = 10 kΩ, R2 = 68 kΩ and C = 10 µF. About how long is the output high?
0.693 × 78 kΩ × 10 µF ≈ 0.54 s; the low half is 0.693 × 68 kΩ × 10 µF ≈ 0.47 s.
-
How long a pulse does a monostable with 100 kΩ and 10 µF give?
t = 1.1 × 100 kΩ × 10 µF = 1.1 s.
-
Why is a basic 555 astable high for more than half of each cycle?
Charging takes 0.693 × (R1 + R2) × C, longer than the 0.693 × R2 × C it takes to empty.
FAQ
What is a 555 timer used for?
Blinking LEDs, making tones and clock pulses, delays and timeouts, PWM for motors and lights, and cleaning up switch presses.
What is the difference between astable and monostable?
An astable switches on and off continuously by itself; a monostable gives one timed pulse each time it is triggered.
How do you get a 50% duty cycle from a 555?
Make R2 much larger than R1, or add a diode across R2 so the capacitor charges through R1 alone; then equal resistors give about 50%.
What voltage does a 555 need?
The bipolar NE555 runs from about 4.5 to 16 V. CMOS versions such as the TLC555 and LMC555 run from about 2 V or less, at far lower current.
What does pin 5 of a 555 do?
It sets the upper threshold, normally two-thirds of the supply. With nothing else on it, a 10 nF capacitor to ground keeps noise off it.
Why is my 555 output not changing?
Check that reset, pin 4, is tied to the supply, that the capacitor reaches pins 2 and 6, and that the values aren’t blinking too fast to see; 1 kΩ and 1 µF run at hundreds of hertz.
Can a 555 drive an LED directly?
Yes, through a series resistor. A bipolar NE555’s output handles up to about 200 mA; CMOS versions handle less, but plenty for an LED.