555 Timer Circuit Guide
The 555 timer is one of the most popular ICs ever built. This guide covers all three modes — astable oscillator, monostable one-shot, and bistable flip-flop — with calculations and live simulations.
⚡ Open 555 Astable Simulation →What Is a 555 Timer?
The 555 (NE555) is an 8-pin integrated circuit that works as an oscillator, timer, or flip-flop. First released in 1972, it remains one of the most widely used chips in electronics due to its simplicity, low cost (under $0.50), and versatility. It runs from 5V to 15V and can drive loads up to 200mA directly from its output pin.
Inside the 555 are two comparators, an SR flip-flop, a discharge transistor, and a resistor divider that creates internal reference voltages at exactly 1/3 and 2/3 of the supply voltage. These thresholds control when the output switches states.
Three Operating Modes
- Astable: Continuously oscillates — never stable. Generates a square wave indefinitely. Used for LED flashers, tone generators, PWM signals.
- Monostable: One stable state (output low). When triggered, outputs one pulse of fixed length, then returns to low. Used for time delays, debouncing, single-shot pulses.
- Bistable: Two stable states. Acts as an SR flip-flop. SET and RESET pins control the state. No timing components needed.
Astable Mode — Calculations
Connect R1 between Vcc and pin 7, R2 between pins 7 and 2/6, and capacitor C between pin 2/6 and ground. The output square wave frequency and duty cycle are:
Example — 1 Hz LED flasher: R1 = 1kΩ, R2 = 68kΩ, C = 10µF → f = 1.44 / ((1000 + 136000) × 0.00001) ≈ 1.05 Hz. Duty cycle ≈ 51%.
Monostable Mode — Calculations
Connect R between Vcc and pin 7, capacitor C between pin 6/2 and ground. Trigger by briefly pulling pin 2 low. The output pulse duration is:
Example — 5 second delay: R = 4.7MΩ, C = 1µF → t = 1.1 × 4,700,000 × 0.000001 = 5.17 seconds.
▶ Simulate Monostable 555Pin Reference
| Pin | Name | Function |
|---|---|---|
| 1 | GND | Ground reference |
| 2 | Trigger | Sets output HIGH when pulled below 1/3 Vcc |
| 3 | Output | Main output — swings between 0V and Vcc−1.5V, up to 200mA |
| 4 | Reset | Active LOW — forces output LOW instantly. Tie to Vcc if not used. |
| 5 | Control | Access to internal voltage divider. Bypass to GND via 10nF capacitor. |
| 6 | Threshold | Resets output LOW when above 2/3 Vcc |
| 7 | Discharge | Open-collector transistor — discharges timing capacitor |
| 8 | Vcc | Supply voltage: 5V to 15V |
Circuit Diagrams
These diagrams show the wiring for each 555 mode. The Mermaid diagrams load automatically — if you see text instead of a diagram, your browser may have JavaScript disabled.
Astable Oscillator — Wiring
Timing Waveform — Astable Output
Build This Step by Step
Follow these steps to go from a blank canvas to a working 555 astable oscillator. Each step explains what you're doing and why.
Place the 555 Timer IC
In the simulator, right-click the canvas and find the 555 timer under Active Components. Place it in the centre of the canvas. The IC appears as a rectangle with 8 numbered pins. Pin 8 is Vcc, Pin 1 is GND — always connect these first.
Why: The 555 needs a stable power supply before anything else will work. Connect Pin 8 to your voltage source (+9V) and Pin 1 to ground.
▶ See 555 InternalsAdd the Timing Components
Connect R1 between Pin 8 (Vcc) and Pin 7 (Discharge). Connect R2 between Pin 7 and the junction of Pins 2 and 6. Connect capacitor C between this junction and ground.
Why: The capacitor charges through R1+R2 and discharges through R2 only. The charge/discharge cycle drives the oscillation. The ratio of R1:R2 sets the duty cycle.
Tie Pins 2 and 6 Together
In astable mode, Pins 2 (Trigger) and 6 (Threshold) must be connected together and to the capacitor junction. This is what makes the circuit self-triggering.
Why: The comparators inside the 555 monitor this voltage. When it rises above ⅔ Vcc, the output goes LOW and the capacitor starts discharging. When it drops below ⅓ Vcc, the output goes HIGH and charging resumes.
Add the Noise Bypass Capacitor
Connect a 10nF capacitor between Pin 5 (Control Voltage) and ground. This is essential — do not skip it.
Why: Pin 5 connects to the internal voltage divider at ⅔ Vcc. Without this capacitor, high-frequency noise on the supply rail couples into the comparator reference voltage, causing erratic output. It costs almost nothing and prevents real problems.
Connect the Output
Pin 3 is the output. Connect an LED with a 470Ω current-limiting resistor from Pin 3 to ground. Connect Pin 4 (Reset) to Vcc — floating this pin causes unpredictable behaviour.
Why the resistor: Pin 3 can source/sink 200mA — far more than an LED can handle. The 470Ω resistor limits current to about (9-2)/470 = 15mA, well within the LED's rating.
▶ Run the Complete CircuitCommon Beginner Mistakes
Forgetting Pin 4 (Reset)
Pin 4 must be connected to Vcc when not in use. If left floating, the 555 may reset randomly from noise, causing intermittent or no output.
Skipping the Pin 5 Bypass
The 10nF capacitor from Pin 5 to ground prevents noise coupling. Forgetting it causes erratic firing on real hardware even when simulation looks fine.
R1 Too Small
Making R1 very small (under 1kΩ) to approach 50% duty cycle can damage the IC. At the moment the output goes LOW, Pin 7 and Pin 3 are both low simultaneously, creating a near-short through R1.
Confusing Monostable Trigger
In monostable mode, Pin 2 triggers on a LOW pulse (active low), not a high. Many beginners apply a rising edge and wonder why nothing happens.
Polarised Capacitor Direction
If using an electrolytic capacitor for C (common for longer time periods), the positive leg must go to the higher-voltage side of the circuit, not to ground.
No LED Current Limiting Resistor
Connecting an LED directly to Pin 3 without a series resistor will burn out the LED instantly. Always calculate R = (Vcc - V_LED) / I_LED first.
Real-World Applications
- LED flashers — astable mode drives an LED directly from pin 3
- Tone generators / buzzers — set frequency in audio range (200Hz–4kHz) to drive a small speaker
- PWM motor speed control — vary R2 or use a potentiometer to change duty cycle and average motor voltage
- Switch debouncing — monostable mode produces one clean output pulse per button press, ignoring mechanical bounce
- Missing pulse detector — monostable resets on every incoming pulse; if a pulse is missing, output goes high for the timeout period
- Voltage controlled oscillator (VCO) — apply a variable voltage to pin 5 to modulate the frequency