Home / Circuit lab / 555 timer

555 timer astable simulator

The 555 timer has been making LEDs flash since the 1970s. Choose R1, R2 and C, see the waveforms, and watch the LED blink at the rate you set.

Intermediate

5557 DIS6 THR2 TRIG3 OUT8411 kΩ

Controls

Readings

What's going on

In astable mode, the capacitor charges through R1 and R2 until it reaches two-thirds of the supply. The 555 then switches its output low and starts discharging the capacitor through R2 alone. When the capacitor falls to one-third of the supply, the output goes high again and the cycle repeats.

That gives a high time of 0.693 × (R1 + R2) × C and a low time of 0.693 × R2 × C, where 0.693 is ln 2. The frequency is 1.44 ÷ ((R1 + 2 R2) × C), and it doesn't depend on the supply voltage, because the thresholds scale with it.

The high time always includes R1, so the duty cycle is always above 50% in this basic circuit. Making R2 much bigger than R1 gets close to 50%. To go below 50%, a diode across R2 lets the capacitor charge through R1 alone.

How this simulation works

The waveforms come from the exact charge and discharge equations with ideal thresholds at one-third and two-thirds of the supply, matching the formulas in Texas Instruments' NE555 datasheet. A real 555 differs slightly because of its internal resistors, discharge transistor and comparator delays, and capacitor tolerance (often ±20% for electrolytics) usually matters far more. The output is drawn switching between 0 V and the full supply. A bipolar NE555's output actually goes high to roughly 1.5 V below the supply, while CMOS versions such as the TLC555 get much closer. With the 1 kΩ resistor shown, a red LED on a 9 V NE555 draws roughly 5 mA.

Keep exploring