Calculators

555 timer calculator (astable)

A 555 in astable mode runs at f = 1.44 ÷ ((R1 + 2·R2) × C). The output is high for 0.693 × (R1 + R2) × C and low for 0.693 × R2 × C, so the duty cycle is always above 50%.

f = 1.44 ÷ ((R1 + 2·R2) × C)High: t = 0.693 × (R1 + R2) × CLow: t = 0.693 × R2 × C
Frequency1.46 Hz
Period684 ms
Output high for358 ms
Output low for326 ms
Duty cycle52.4%
The circuit, running liveOpen in the playground →

The first high time after power-on is longer than the rest, because the capacitor starts empty and charges from 0 V rather than from a third of the supply. Above about 20 Hz the LED blinks too fast to see.

Worked example

R1 = 1 kΩ, R2 = 10 kΩ and C = 47 µF: the output is high for 0.693 × 11,000 × 0.000047 = 358 ms and low for 0.693 × 10,000 × 0.000047 = 326 ms, a period of 684 ms, so the LED blinks at 1.46 Hz with a 52% duty cycle. In the simulator the capacitor swings between 3 V and 6 V (one and two thirds of 9 V), as it should.

Questions

How do I get a 50% duty cycle?

Make R2 much bigger than R1 (the duty cycle approaches 50%), or put a diode across R2 (anode at pin 7) so the capacitor charges through R1 alone; then equal R1 and R2 give 50%.

Why not make R1 zero?

R1 connects the supply to the discharge pin. With no R1, the discharge transistor shorts the supply when it turns on. Keep R1 at 1 kΩ or more.

What capacitor goes on pin 5?

A 10 nF capacitor from the control pin to ground keeps noise off the internal threshold. It does not change the frequency.

How accurate is the frequency?

Within about 5 to 10% in practice: capacitors are often ±20%, and electrolytics leak. For accurate timing use a film capacitor, or tune R2 with a potentiometer.

What supply does a 555 need?

The NE555 runs from 4.5 V to 16 V. The CMOS versions (TLC555, LMC555) run from about 2 V and draw far less current.

More calculators

Want a whole circuit rather than one value? Describe it and the AI designs and simulates it.