NE555 circuits

NE555 oscillator with two alternating LEDs

A 9 V NE555 astable alternates two red LEDs with separate branch resistors. Explore its approximately 0.69 Hz timing network using an interactive theoretical model.

Open in PCB Simulator →

The circuit opens as an editable copy. Saving another author’s project creates your own copy.

Circuit overview

This project demonstrates a 9 V NE555 astable oscillator with two red LEDs that alternate. It makes both states of the same output visible: D1 receives current when the output is high, while D2 receives current when it is low. The saved circuit includes separate current limiting resistors, the timing network and the decoupling capacitors. Open the saved project in the simulator and select Test project to display the functional model results. Both LEDs are red so their contrasting output states can be compared using the same nominal forward voltage.

How the circuit works

R1 = 10 kΩ connects the positive supply to discharge pin 7. R2 = 100 kΩ connects this pin to the common trigger and threshold node, pins 2 and 6. C1 = 10 µF charges through R1 and R2 and discharges through R2. Assuming ideal thresholds at one third and two thirds of the supply, the high interval is ln(2) × (R1 + R2) × C1, approximately 0.762 s. The low interval is ln(2) × R2 × C1, approximately 0.693 s. This gives a period near 1.456 s, a frequency near 0.687 Hz and a high duty cycle of 52.4%. D1 connects from output pin 3 to ground through R3 = 1 kΩ. D2 connects from the positive supply to the same output through R4 = 1 kΩ, so it lights during the low interval. With an ideal red LED drop of 2 V, the active branch current is approximately 7 mA. The simulator provides an RC calculation and an educational animation rather than a manufacturer SPICE model. Output voltage drops, component tolerances and the complete internal dynamics of a physical NE555 are not included. Each LED has its own resistor; neither LED should be connected directly across the supply or output.

Components and values

ReferenceComponentSaved value
V1vdc9
U1timer555NE555
R1resistor10k
R2resistor100k
C1capacitor10u
C2capacitor10n
C3capacitor100n
D1ledRED
R3resistor1k
D2ledRED
R4resistor1k
GNDgnd0

Circuit schematic

Schematic: NE555 oscillator with two alternating LEDs

Power supply requirements

Use a 9 V battery or a regulated, current limited DC supply. Each LED branch includes a separate 1 kΩ resistor, and normally only one branch conducts at a time. The stated LED current is an ideal estimate and excludes the timer supply current. Choose resistors rated at least 0.25 W for R3 and R4; the ideal active dissipation is about 0.049 W per conducting branch. Keep the 100 nF supply decoupling capacitor close to the timer in a physical prototype.

Safety and limitations

Low voltage educational project only; never connect it to mains electricity. Observe LED, battery and electrolytic capacitor polarity, and disconnect power before changing a physical circuit. Check the pinout for the actual device being used and retain both current limiting resistors. The simulation uses an ideal RC functional model and provides no manufacturing, thermal or experimental validation. A correct animation is not a guarantee of hardware performance: output voltage losses and timing capacitor tolerances change real results.

Wiring instructions

  1. Connect pin 8 to +9 V and pin 1 to ground.
  2. Hold RESET, pin 4, at +9 V.
  3. Join pins 2 and 6 and connect C1 between this node and ground, with the electrolytic positive terminal facing pins 2 and 6.
  4. Connect R1 from +9 V to pin 7 and R2 from pin 7 to the pins 2/6 node.
  5. Connect C2 = 10 nF from control pin 5 to ground; do not short this pin directly.
  6. Connect C3 = 100 nF across supply pins 8 and 1.
  7. Connect the D1 anode to output pin 3, its cathode to R3 and the other end of R3 to ground.
  8. Connect R4 to +9 V, the D2 anode to R4 and its cathode to output pin 3.

Related circuit projects

Practice linked to this project

PCB assembly and first power-up →
← All circuit projects