555 Timer Circuits — Blink an LED, Build an Oscillator
Build practical 555 timer circuits in astable and monostable modes. Includes formulas, component selection, and a free online calculator.
The 555 timer IC has been in production since 1972. Over fifty years later, it's still one of the most manufactured chips on the planet. It blinks LEDs, generates tones, debounces switches, creates PWM signals, and serves as the building block for hundreds of hobby circuits. If you're learning electronics, you'll meet the 555 early and often.
Two modes you need to know
The 555 has several operating modes, but two cover 90% of use cases:
Astable mode — continuous oscillation
The chip oscillates between high and low indefinitely. No external trigger needed. This is your go-to for blinking LEDs, generating square waves, and creating audible tones.
Circuit:
V+ ──────┬──────────────────┬──── Pin 8 (VCC)
│ │
[ R1 ] Pin 4 (Reset)
│
├──── Pin 7 (Discharge)
│
[ R2 ]
│
├──── Pin 6 (Threshold)
├──── Pin 2 (Trigger)
│
[ C1 ]
│
GND ──────┴──── Pin 1 (GND)
Pin 3 (Output) → LED + resistor or load
Pin 5 → 10nF cap to GND (noise bypass)
Formulas:
- Frequency: f = 1.44 / ((R1 + 2×R2) × C)
- High time: t_high = 0.693 × (R1 + R2) × C
- Low time: t_low = 0.693 × R2 × C
- Duty cycle: D = (R1 + R2) / (R1 + 2×R2)
The 555 timer calculator computes all of these instantly. Enter R1, R2, and C to get frequency, period, and duty cycle.
Monostable mode — one-shot pulse
A single trigger produces one output pulse of a precise duration. Used for debouncing, timing delays, and pulse stretching.
Pulse duration: t = 1.1 × R × C
Want a 1-second pulse? Use R = 910 kΩ and C = 1 µF: t = 1.1 × 910,000 × 0.000001 = 1.001 seconds.
Practical astable circuits
Blink an LED at 1 Hz
Target: 1 Hz frequency (1 blink per second), roughly 50% duty cycle.
Using the formula: f = 1.44 / ((R1 + 2×R2) × C)
Pick C = 10 µF, R2 = 68 kΩ, R1 = 1 kΩ:
f = 1.44 / ((1,000 + 136,000) × 0.00001) = 1.44 / 1.37 = 1.05 Hz
Duty cycle = (1k + 68k) / (1k + 136k) = 50.4%. Close enough to 50%.
Connect pin 3 to an LED through a 330 Ω resistor. Use the LED resistor calculator if your supply voltage or LED color differs.
Generate an audible tone (1 kHz)
Same circuit, different values. Pick C = 100 nF, R2 = 6.8 kΩ, R1 = 1 kΩ:
f = 1.44 / ((1,000 + 13,600) × 0.0000001) = 1.44 / 0.00146 = 986 Hz
Connect pin 3 to a small speaker or piezo buzzer. Vary R2 with a potentiometer for a variable-frequency oscillator.
PWM signal for motor speed control
Use a diode across R2 to get adjustable duty cycle independent of frequency. The diode bypasses R2 during the charge phase, so:
- t_high = 0.693 × R1 × C
- t_low = 0.693 × R2 × C
Replace R1 and R2 with a single potentiometer (wiper to pin 7, one end to pin 6/2, other end to VCC) for smooth duty cycle control.
Choosing components
Capacitor values and frequency ranges
| C Value | Code | R2 = 10 kΩ | R2 = 100 kΩ |
|---|---|---|---|
| 100 pF | 101 | 694 kHz | 71 kHz |
| 1 nF | 102 | 69.4 kHz | 7.1 kHz |
| 10 nF | 103 | 6.9 kHz | 714 Hz |
| 100 nF | 104 | 694 Hz | 71 Hz |
| 1 µF | 105 | 69 Hz | 7.1 Hz |
| 10 µF | — | 6.9 Hz | 0.71 Hz |
Can't read the code on your capacitor? The capacitor decoder converts 3-digit codes to actual values.
R1 value selection
Keep R1 small relative to R2 (typically 1 kΩ) for near-50% duty cycle. Making R1 larger increases duty cycle — the output stays high longer.
Power supply
The 555 works from 4.5V to 16V. At 5V, it can source about 200 mA from pin 3 — enough to drive LEDs directly (with a current-limiting resistor) or small loads. For motors, relays, or higher-current loads, use a transistor or MOSFET on the output.
Tips and gotchas
Bypass capacitor on pin 5. Always connect a 10 nF (code 103) capacitor from pin 5 to ground. This filters internal noise and keeps the threshold voltage stable. Skipping it causes jittery output.
Timing accuracy. The 555 is not precision — expect ±5% frequency accuracy with typical components. Temperature changes and component tolerance both affect output. For precision timing, use a crystal oscillator or microcontroller timer.
Current draw. A standard NE555 draws 3–6 mA quiescent. The CMOS version (TLC555 or ICM7555) draws under 0.5 mA — better for battery projects.
Decoupling the supply. Add a 100 nF cap between VCC and GND, close to the chip. The 555 draws current spikes when the output switches, which can cause noise on the power rail.
Why not just use a microcontroller?
Fair question. An Arduino can blink an LED with three lines of code. But the 555:
- Needs no programming
- Costs $0.05 in quantity
- Works from first power-on
- Has zero boot time
- Never needs a firmware update
- Runs indefinitely without crashing
For dedicated timing functions in simple circuits, the 555 is still hard to beat. For anything involving logic, communication, or multiple functions, use a microcontroller.