How to Build an LED Flasher Circuit with a 555 Timer
Every electronics hobbyist builds an LED flasher at some point. It's the circuit that teaches you about timing, oscillators, and how a humble IC can do real work with nothing but a handful of passive components around it.
This isn't just a beginner exercise. The same 555 astable circuit that makes an LED blink is the foundation for tone generators, PWM motor controllers, clock circuits, and signal generators. Understanding it properly gives you a building block you'll reuse for years.
What you need
- 555 timer IC (NE555 or LM555 — both work identically)
- R1: 1kΩ resistor
- R2: 68kΩ resistor (for ~1Hz blink)
- C1: 10µF electrolytic capacitor
- C2: 10nF ceramic capacitor (for pin 5 decoupling)
- LED: any standard 5mm LED
- R_LED: 470Ω resistor (for LED current limiting)
- Power supply: 5V–12V DC (9V battery works perfectly)
- Breadboard and jumper wires
The circuit
The 555 timer has 8 pins. Here's how they connect:
- Pin 1 (GND) → negative supply rail
- Pin 2 (Trigger) → connects to pin 6
- Pin 3 (Output) → through 470Ω resistor → LED anode → LED cathode → GND
- Pin 4 (Reset) → positive supply rail (this keeps it always active)
- Pin 5 (Control) → 10nF capacitor → GND
- Pin 6 (Threshold) → top of C1 (junction of R2 and C1)
- Pin 7 (Discharge) → junction of R1 and R2
- Pin 8 (VCC) → positive supply rail
R1 connects between VCC and pin 7. R2 connects between pin 7 and pin 6/2. C1 connects between pin 6/2 and GND.
Building it on a breadboard
Place the 555 IC straddling the centre gap of the breadboard. The notch or dot on the IC marks pin 1 — it sits at top-left when the notch faces you.
Connect the power rails first: 9V positive to the red rail, negative to the blue rail. Then connect pin 8 to positive and pin 1 to negative.
Add R1 (1kΩ) from pin 8 to pin 7. Add R2 (68kΩ) from pin 7 to the same row as pin 6. Bridge pin 2 to pin 6 with a short wire.
Connect C1 (10µF, positive leg toward pin 6) from pin 6 to the negative rail. Connect C2 (10nF) from pin 5 to the negative rail.
Bridge pin 4 to pin 8 (both go to VCC).
Finally, connect pin 3 through a 470Ω resistor to the anode (longer leg) of the LED, and the cathode (shorter leg) to GND.
Power it up. The LED should blink at roughly 1Hz.
Adjusting the blink rate
The blink rate is set by R1, R2, and C1. Increasing R2 slows the blink. Decreasing C1 speeds it up.
For a slow heartbeat effect (~0.5Hz): change C1 to 22µF and keep everything else the same.
For a fast alarm-style flash (~5Hz): change C1 to 2.2µF.
For an audible tone (~1kHz, connect a small speaker instead of an LED): change C1 to 10nF and R2 to 68kΩ — the circuit works identically but at audio frequency.
A 100kΩ potentiometer in place of R2 gives you real-time speed control. Turn it one way to slow down, the other to speed up — a satisfying way to understand the relationship between resistance and timing.
Troubleshooting
LED not blinking at all: check that pin 4 is connected to VCC, not GND. Pin 4 is the reset pin and holding it low permanently disables the output.
LED stays on constantly: C1 might be installed backwards (electrolytic capacitors are polarised). The positive leg (longer, marked with a stripe on the negative side) must connect toward pin 6, not toward GND.
Very fast, erratic blinking: pin 5 isn't decoupled. Make sure the 10nF capacitor is there between pin 5 and GND.
LED very dim: the LED resistor might be too high, or the LED is wired backwards. Check orientation — the longer leg of the LED is the anode and connects toward the resistor (toward the output), not toward GND.
Where to go from here
The LED flasher is a launchpad. Once it's working, try these extensions:
Two alternating LEDs: add a second LED connected from GND through its own 470Ω resistor to pin 3, but wired in opposite polarity. When pin 3 is HIGH, the first LED lights. When LOW, the second does.
Audible output: swap the LED for a small 8Ω speaker. The circuit becomes a tone generator. Change C1 to shift pitch.
PWM fan speed control: replace the LED with an NPN transistor driving a 12V fan. The 555's output drives the base of the transistor, which switches the fan on and off rapidly — varying R2 varies the speed.
Ready to put this into practice?
Adjust blink rate with 555 Timer Calculator