The formulas
In the standard astable circuit the capacitor charges through R1 and R2 and discharges through R2 alone. It swings between one third and two thirds of the supply, which is why the supply voltage doesn't appear in the formulas:
- High time:
tH = ln 2 × (R1 + R2) × C ≈ 0.693 (R1 + R2) C - Low time:
tL = ln 2 × R2 × C ≈ 0.693 R2 C - Frequency:
f = 1 / (tH + tL) ≈ 1.44 / ((R1 + 2R2) C) - Duty cycle:
(R1 + R2) / (R1 + 2R2)
In a monostable, a trigger pulse starts one output pulse lasting t = ln 3 × R × C ≈ 1.1 RC.
Getting a duty cycle below 50 %
Because the high time always includes R1, the basic astable can't go below 50 %. Put a diode across R2, anode to the discharge pin side, and the capacitor charges through R1 and the diode instead. The high time becomes roughly 0.693 × R1 × C, plus a little error from the diode's voltage drop, and the low time stays 0.693 × R2 × C.
Choosing parts
- Keep R1 at 1 kΩ or more, so the discharge transistor isn't shorted straight across the supply through a tiny resistor.
- Keep the total resistance below a few megohms. The threshold pin draws a small current that upsets the timing with very large resistors.
- Timing is only as accurate as the capacitor. Electrolytics are often ±20 %, so use film or C0G ceramic capacitors when the time matters.
- CMOS versions such as the TLC555 and ICM7555 use the same formulas, draw far less current and allow larger resistors.
See it working in the 555 timer simulator, where you can watch the capacitor voltage and the output change as you move the sliders.