An NE555 in astable mode can flash two LEDs alternately from a single output. When OUT is high, it sources current into the LED connected toward ground. When OUT is low, it sinks current from the second LED connected toward the positive rail. Each LED needs its own series resistor. The RA, RB, and C timing network sets frequency and duty cycle.

Texas Instruments describes the timing capacitor charging through RA + RB and discharging through RB. Its voltage moves approximately between one-third and two-thirds of VCC. TI specifies 5 V to 15 V operation for the bipolar NE555. This build uses regulated low-voltage DC and is never connected directly to mains.

Starting values and calculated result

Example for a visible slow flash
PartValuePurpose
RA10 kΩLimits discharge current and contributes to high time.
RB100 kΩSets low time and part of high time.
C10 µFTiming capacitor.
LED resistors330 Ω each at 5 VLimit current independently for both LEDs.
Supply bypass100 nFStabilises the supply close to pins 8 and 1.

With RA = 10 kΩ, RB = 100 kΩ, and C = 10 µF: tH ≈ 0.693 × (RA + RB) × C = 0.762 s; tL ≈ 0.693 × RB × C = 0.693 s; frequency is about 0.687 Hz. A full cycle therefore lasts approximately 1.46 seconds, producing an easy-to-see alternating pattern.

Wiring the NE555 astable

  1. 1. Prepare the supply

    Use a regulated 5 V source with current limiting. Connect pin 1 to ground and pin 8 to positive. Place a 100 nF ceramic capacitor directly between pins 8 and 1. This bypass prevents output-current pulses from disturbing the internal thresholds.

  2. 2. Hold RESET active

    Connect pin 4 to positive. A floating RESET input can stop the oscillator or cause random operation. If an enable control is needed, pull this pin high normally and drive it low only to stop oscillation.

  3. 3. Join TRIG and THRES

    Connect pins 2 and 6. Fit timing capacitor C between that node and ground. If it is electrolytic, observe polarity: positive toward pins 2/6 and negative toward ground.

  4. 4. Install RA and RB

    Connect RA from VCC to pin 7 DISCH. Connect RB from pin 7 to the 2/6 node. Never use zero ohms for RA because the discharge transistor could short the supply while active. Confirm resistor colour codes before power-up.

  5. 5. Bypass the control pin

    Fit 10 nF from pin 5 CONT to ground. This common value reduces noise sensitivity. It does not replace the 100 nF supply bypass capacitor.

  6. 6. Wire the two LEDs

    Branch A is pin 3 OUT, 330 Ω resistor, red LED, then ground. Branch B is VCC, 330 Ω resistor, green LED, then OUT. The LEDs therefore operate in opposite functional directions around OUT. Do not wire them in series and do not share one resistor.

    Two independent LED branches around the NE555 output
    Output high lights the red LED; output low lights the green LED.

Why the LEDs alternate

When OUT is high, voltage between OUT and ground lights the red LED. The voltage across the VCC-to-OUT branch is then too small for the green LED. When OUT goes low, the red LED turns off and the output sinks current from VCC through the green LED and its resistor. Switching occurs as the timing capacitor reaches about two-thirds VCC and then falls back toward one-third VCC.

NE555 output and timing-capacitor waveforms
The output switches as capacitor voltage crosses approximately one-third and two-thirds VCC.

Equations and speed adjustment

The standard equations are tH ≈ 0.693(RA + RB)C, tL ≈ 0.693 RB C, and f ≈ 1.44 / ((RA + 2RB)C). Increasing C or RB slows the pattern; reducing them speeds it up. The basic astable cannot reach an exact 50% duty cycle because RA appears only in the charging path. A steering diode or another topology is needed for independent charge and discharge adjustment.

Troubleshooting a circuit that does not flash

Common NE555 flasher faults
SymptomLikely causeCheck
Both LEDs offNo 5 V, reversed LEDs, or RESET lowMeasure VCC and pin 4.
One LED stays onOscillator stopped or error around pins 2, 6, and 7Measure timing-capacitor voltage.
Flash is too fastC too small or RB colour code misreadVerify units and resistor value.
Unstable operationMissing bypass or long wiringAdd 100 nF near the IC.
LED is excessively brightSeries resistance too lowRemove power and recalculate current.

Choosing LED resistors

Use R = (V − VF) / I. At 5 V, a 2 V red LED targeted at 8 mA gives 375 Ω, so 390 Ω provides slightly more margin. A bipolar NE555 high output does not always reach VCC, particularly as current rises. Measure actual voltage and brightness, and remain comfortably below the IC and LED ratings.

Frequently asked questions

Why do both LEDs glow faintly?

A wiring error, unstable ground, or branches that are not independent can cause it. Trace each path from OUT and keep one resistor for each LED.

Can the circuit run at 12 V?

The NE555 supports it within datasheet limits, but LED resistors must be recalculated and the timing capacitor needs a sufficient voltage rating.

Why is measured frequency different?

Resistor tolerances, electrolytic-capacitor tolerance, leakage, and internal thresholds create normal error. Measure C or trim RB if the rate needs calibration.

Pre-power checklist

Before applying 5 V, use continuity mode with power removed to confirm that the positive and ground rails are not shorted. Verify the notch orientation, pin 1 position, electrolytic-capacitor polarity, and both LED cathodes. Confirm that each LED has its own resistor and that pin 4 is connected high. After power-up, first measure supply voltage directly across pins 8 and 1. If oscillation is absent, check the timing node at pins 2 and 6 before changing component values.

Technical sources