A blinking LED grabs attention far more effectively than a static one. Whether you’re building a model railroad signal light, a prop for a costume, a simple battery indicator, or a heartbeat LED for a project enclosure, the classic solution is the 555 timer IC in astable mode. It generates a continuous square wave output that toggles your LED on and off at a rate you choose by selecting a resistor and capacitor. This guide walks through exactly how it works, how to choose your component values, and how to build the circuit on a breadboard.
What Is a 555 Timer?
The 555 timer (sold as NE555, LM555, TLC555, and many other part numbers) is an 8-pin integrated circuit first produced in 1972. It remains one of the best-selling ICs ever made—billions have been manufactured. Inside the package are two voltage comparators, a flip-flop, a discharge transistor, and a resistor divider. You don’t need to understand any of that to use it. What matters at the application level is that the 555 has two operating modes:
- Monostable (one-shot): Triggered once, the output goes high for a fixed duration, then returns low.
- Astable (continuous oscillation): No trigger needed—the output continuously toggles between high and low at a frequency set by external components.
For an LED blinker, astable mode is what we want. In this configuration, three external components do all the work: two resistors (Ra and Rb) and one capacitor (C). The 555 charges and discharges the capacitor repeatedly through these resistors, and every time the voltage on the capacitor crosses a threshold, the output pin flips state—turning the LED on or off.
The RC Timing Network—How It Controls Blink Rate
In astable mode, the capacitor alternately charges and discharges between one-third and two-thirds of the supply voltage. Here’s what happens during each half-cycle:
- Charge phase (LED on): Current flows from VCC through Ra, then through Rb, and into the capacitor. The capacitor voltage rises. The output pin is high, so the LED is on. This phase ends when the capacitor voltage reaches 2/3×VCC.
- Discharge phase (LED off): The internal discharge transistor turns on, connecting Pin 7 to GND. The capacitor discharges through Rb only (Ra is bypassed by the discharge transistor path). The output pin goes low, turning the LED off. This phase ends when the voltage falls to 1/3×VCC.
The key insight is that Ra and Rb set the timing ratio, while C sets the overall speed. Larger capacitance means longer charge and discharge times—a slower blink rate. Smaller capacitance means shorter times—a faster blink rate. Resistors set the duty cycle (the ratio of on-time to off-time). Because the charge path goes through Ra+Rb but the discharge path goes through Rb only, the on-time is always slightly longer than the off-time unless you add a bypass diode.
Circuit Diagram

The three timing formulas you’ll use most:
- Frequency: f ≈ 1.44 ÷ ((Ra + 2×Rb) × C)
- On time: thigh = 0.693 × (Ra + Rb) × C
- Off time: tlow = 0.693 × Rb × C
- Duty cycle: D = (Ra + Rb) ÷ (Ra + 2×Rb)
In these formulas, resistance is in ohms and capacitance is in farads. For practical use: if Rb = 47,000 Ω (47kΩ) and C = 47×10−6 F (47µF), then tlow = 0.693 × 47,000 × 0.000047 ≈ 1.53 seconds. That gives about one blink per three seconds—a relaxed, steady pulse.
Choosing Your Capacitor Value
The table below uses Ra = 10kΩ throughout and varies Rb and C to show the full range of visible blink rates. All frequencies are approximate—electrolytic capacitors carry ±20% tolerance, so use these as starting points.
| Rb | C | Approx. Frequency | Blink Character |
|---|---|---|---|
| 10kΩ | 10µF | 4.8 Hz | Fast flicker |
| 47kΩ | 10µF | 1.4 Hz | Brisk blink |
| 100kΩ | 10µF | 0.69 Hz | Steady blink |
| 47kΩ | 47µF | 0.29 Hz | Slow pulse |
| 100kΩ | 47µF | 0.14 Hz | Very slow |
| 47kΩ | 100µF | 0.14 Hz | Very slow |
| 47kΩ | 220µF | 0.063 Hz | Ultra slow (~1 blink per 16 s) |
| 47kΩ | 470µF | 0.029 Hz | ~1 blink per 34 s |
Values from 10µF to 470µF cover the complete visible blink range. Larger electrolytic capacitors (220µF–470µF) are useful for heartbeat effects, slow warning light simulations, or any application where a nearly imperceptible pulse is the goal. Use the formula to fine-tune, or start with a value from the table and swap capacitors until the timing feels right. A good breadboard practice is to use a socket or alligator clip for the capacitor so you can swap values quickly.
For the timing capacitor in this circuit, an aluminum electrolytic capacitor (radial, 50V) is the right choice. Electrolytics are compact, inexpensive, and available in the 10µF–470µF range needed for visible blink rates. Their 50V rating provides ample margin for a 9V or 12V circuit.
Building the Circuit—Step by Step
Power supply: A standard 9V battery is the simplest option and powers the circuit for hours. A 9V DC wall adapter works equally well for bench use. The NE555 operates from 4.5V to 15V, so 5V (USB power bank) and 12V (wall adapter) are also valid choices—just recalculate the LED resistor for your supply voltage.
Breadboard layout:
- Place the 555 IC straddling the center divider of the breadboard. Pin 1 is marked with a notch or dot on the package; it goes to the bottom-left.
- Connect Pin 1 (GND) to the negative power rail.
- Connect Pin 8 (VCC) and Pin 4 (Reset) both to the positive power rail. Pin 4 must be tied to VCC—if it floats, the 555 locks in reset and will not oscillate.
- Connect Pin 2 and Pin 6 together, then connect that junction to one end of the timing capacitor. The other end of the capacitor goes to GND. Observe polarity: the positive leg (longer lead, marked +) goes toward Pin 2/6.
- Connect Ra (10kΩ) between VCC and Pin 7.
- Connect Rb (your chosen value) between Pin 7 and the Pin 2/6 junction.
- Pin 5 (Control Voltage) can be left unconnected, or bypass it to GND with a 10 nF ceramic capacitor for improved noise immunity. In most breadboard circuits this is optional.
- Connect a current-limiting resistor (220Ω–470Ω for 9V supply with a standard 2V LED) from Pin 3 (Output) to the anode of the LED. Connect the cathode of the LED to GND.
LED resistor calculation: R = (Vsupply − VLED) ÷ ILED. For a 9V supply, a 2V LED, and 15 mA target current: R = (9 − 2) ÷ 0.015 = 467Ω. Use the next standard value up: 470Ω. For a brighter LED at 20 mA, use 330Ω.
Tips and Variations
- Near 50% duty cycle: Make Ra as small as possible (1kΩ minimum—never less, to protect the discharge transistor) and Rb much larger. With Ra = 1kΩ and Rb = 100kΩ, the duty cycle is (1+100)/(1+200) ≈ 50.2%.
- Exact 50% duty cycle: Add a 1N4148 diode across Rb with the anode toward Pin 7. During the charge phase, current bypasses Rb through the diode. On-time is then set by Ra alone, giving equal on and off times when Ra = Rb.
- Adjustable blink rate: Replace Rb with a 100kΩ potentiometer wired as a variable resistor. Turning the pot from one end to the other sweeps the frequency continuously.
- Multiple LEDs: Pin 3 can source or sink up to 200 mA. Wire multiple LED+resistor branches in parallel from Pin 3 to GND. Each standard LED draws 10–20 mA, so 8–10 LEDs in parallel is practical without any additional components.
- Different colors: If you mix LED colors (different forward voltages), give each LED its own correctly calculated resistor. Don’t share one resistor among different-color LEDs.
- CMOS version: The TLC555 (CMOS 555) draws far less quiescent current (1 mA vs. 6 mA for bipolar NE555) and can run from 3.3V, making it better for battery-powered projects.
Related Guides
- Power Supply Filter Capacitor: Smoothing Ripple from a Bridge Rectifier — how a large electrolytic capacitor removes voltage ripple after a bridge rectifier
- Decoupling Capacitors: Eliminating Power Supply Noise on IC Circuits — protect every IC’s power pins with a local bypass capacitor
- Bridge Rectifier + LED: AC and DCC Wiring Guide — convert 12V AC landscape or DCC track power to DC for LED circuits