FreeCircuitSim
April 2026Guided SimulationBeginner

Build an LED Flasher Circuit — Step by Step

An LED flasher is the "Hello World" of electronics. Using a 555 timer, two resistors, and a capacitor, you will build a circuit that flashes an LED at a chosen frequency. Every step is explained — no experience needed.

What you will learn: How the 555 timer works, how to calculate frequency, how to calculate LED current-limiting resistors, and how to simulate and verify a circuit before building it on a real breadboard.

Circuit Diagram

graph LR VCC["9V Battery"] --> PIN8["Pin 8 (Vcc)"] VCC --> R1["R1 (10kΩ)"] R1 --> PIN7["Pin 7 (Discharge)"] PIN7 --> R2["R2 (47kΩ)"] R2 --> PINS26["Pins 2+6"] PINS26 --> C1["C (10µF)"] C1 --> GND["GND"] PIN8 --> PIN4["Pin 4 (Reset) — tie to Vcc"] PINS26 --> PIN1["555 Timer IC"] PIN1 --> PIN3["Pin 3 (Output)"] PIN3 --> RLED["RLED (470Ω)"] RLED --> LED["LED"] LED --> GND style VCC fill:#1a3a4a,stroke:#00e5ff,color:#00e5ff style LED fill:#2a2a1a,stroke:#ffaa00,color:#ffaa00 style GND fill:#161b1f,stroke:#5a7080,color:#5a7080

Step-by-Step Build Guide

STEP 1
Calculate Your Target Frequency

Decide how fast you want the LED to flash. For a visible 1Hz flash (once per second), use: R1 = 10kΩ, R2 = 47kΩ, C = 10µF.

Check: f = 1.44 / ((R1 + 2×R2) × C) = 1.44 / ((10,000 + 94,000) × 0.00001) = 1.44 / 1.04 ≈ 1.38 Hz

💡 The 555 timer is like a toilet cistern: Water (charge) fills until it reaches the threshold, then dumps — and the cycle repeats automatically. R1+R2 controls how fast it fills, R2 alone controls how fast it drains, and C is the size of the tank. Bigger tank = slower flush = lower frequency.
Why these values? The 555 timer's astable formula ties frequency directly to R1, R2, and C. Double R2 to halve the frequency. Halve C to double it. Experiment in the simulator to find exact values for any frequency you want.
▶ Open in Simulator to Check
STEP 2
Calculate the LED Current Resistor

Pin 3 (output) swings between 0V and approximately Vcc − 1.5V = 7.5V. A red LED has V_F ≈ 2V. We want 15mA through the LED.

R_LED = (7.5 − 2) / 0.015 = 5.5 / 0.015 = 367Ω → use 390Ω standard value

⚠️ Do not skip this resistor. Without it, Pin 3 tries to push full short-circuit current through the LED (~200mA), destroying it in under a second.
STEP 3
Wire the Power Pins First

Always connect power before signal pins. Connect Pin 8 to Vcc (9V) and Pin 1 to GND. Also tie Pin 4 (Reset) to Vcc — if left floating, the 555 may randomly reset.

Add a 10nF capacitor from Pin 5 to GND. This bypasses the internal voltage reference against supply noise. It seems optional in simulation but is essential on real hardware.

Why Pin 4 to Vcc? Pin 4 is active-LOW reset. Floating it exposes it to noise which can reset the timer mid-oscillation. Tying it HIGH keeps the timer running. Only connect it to a control signal if you deliberately want the ability to stop the timer.
STEP 4
Connect the Timing Network

Connect R1 from Vcc to Pin 7. Connect R2 from Pin 7 to the junction of Pins 2 and 6 (tie these pins together). Connect capacitor C from this junction to GND.

The capacitor charges through R1+R2 and discharges through R2 only. This asymmetry means t_HIGH = 0.693 × (R1+R2) × C and t_LOW = 0.693 × R2 × C.

STEP 5
Add the LED Output

Connect the 390Ω resistor from Pin 3 to the anode (longer leg) of the LED. Connect the cathode (shorter leg, or stripe side) to GND.

The LED lights when Pin 3 goes HIGH. It turns off when Pin 3 goes LOW. The flash rate is the oscillator frequency you calculated in Step 1.

▶ Run the Complete Circuit ▶ LED Flasher Variant
STEP 6
Experiment and Modify

With the circuit running in the simulator, try these modifications:

  • Double R2 (94kΩ → 188kΩ) — frequency halves to ≈ 0.7 Hz (slower flash)
  • Change C to 100µF — frequency drops to ≈ 0.14 Hz (very slow, about every 7 seconds)
  • Change C to 100nF — frequency rises to ≈ 138 Hz (too fast to see, becomes a tone)
  • Replace LED with a small speaker symbol — you've built an audio oscillator
Real-world use: This exact circuit (with a speaker instead of LED) is used in smoke detector alarms, game console sound effects, and cheap electronic toys. The 555 timer in astable mode is in billions of devices.

Frequently Asked Questions

What components do I need for a 555 LED flasher?
You need: one 555 timer IC (NE555 or similar), R1 (10kΩ), R2 (47kΩ), a 10µF electrolytic capacitor, a 10nF ceramic capacitor for Pin 5, a 390Ω LED resistor, an LED, and a 9V battery or DC supply.
What frequency does the LED flash at?
With R1=10kΩ, R2=47kΩ, and C=10µF, frequency = 1.44/((10k+94k)×0.00001) ≈ 1.38 Hz — just over once per second. Halve C to double the frequency.
Why does the LED stay on and not flash?
Check that Pins 2 and 6 are tied together and connected to the capacitor junction. If the capacitor is missing or open-circuited, the threshold is never crossed and the output stays in one state.
📍 Next guided simulation
Continue Learning →
Next up: Build a Voltage Divider
Next: Voltage Divider →
← Back to All Guides