In this guide
The 555 timer has been in production since 1972, and it still shows up in student projects, toys, and industrial gadgets. There's a reason: it's an 8-pin chip that, with a resistor or two and a capacitor, becomes a precision oscillator, a one-shot timer, a PWM dimmer, or a flip-flop — no microcontroller, no code, no programmer. When your project needs a simple repeating pulse or a time delay and an entire Arduino feels like overkill, the 555 is the right tool.
This guide explains the three operating modes with their formulas, the pin functions, worked design examples, classic project circuits, and the mistakes that make 555 circuits misbehave.
What's inside (just enough)
The 555 contains two comparators watching a resistor divider that sets thresholds at 1/3 and 2/3 of the supply voltage, an SR flip-flop, a discharge transistor, and an output driver that can source or sink 200mA — enough to drive small relays, buzzers, and LEDs directly. You don't need the transistor-level details; you need the pin functions:
| Pin | Name | Function |
|---|---|---|
| 1 | GND | Ground |
| 2 | TRIGGER | Starts the timing when pulled below 1/3 Vcc |
| 3 | OUTPUT | The output — swings nearly rail to rail |
| 4 | RESET | Active-low reset; tie to Vcc when unused |
| 5 | CONTROL | Access to the 2/3 Vcc node — bypass with 10nF to ground |
| 6 | THRESHOLD | Ends the timing when exceeding 2/3 Vcc |
| 7 | DISCHARGE | Open-collector transistor that discharges the timing capacitor |
| 8 | Vcc | Supply, 4.5V–16V (bipolar NE555) |
Note: Pin 5 (CONTROL) looks optional, and electrically the circuit works with it floating — but a floating pin 5 invites noise into the comparator thresholds. A 10nF capacitor from pin 5 to ground costs almost nothing and noticeably improves stability. Don't skip it.
Mode 1: Astable — the oscillator
In astable mode the 555 free-runs, charging and discharging a capacitor between the 1/3 and 2/3 thresholds forever. Two resistors (R1, R2) and one capacitor (C) set everything:
Frequency: f = 1.44 / ((R1 + 2×R2) × C)
Duty cycle: D = (R1 + R2) / (R1 + 2×R2) (always > 50%)
Time HIGH: tH = 0.693 × (R1 + R2) × C
Time LOW: tL = 0.693 × R2 × C
Worked example — a ~1Hz LED blinker: choose C = 10µF, target f = 1Hz. Then (R1 + 2R2) = 1.44 / (1 × 10×10⁻⁶) = 144kΩ. Pick R1 = 4.7kΩ, R2 = 68kΩ → R1 + 2R2 = 140.7kΩ → f ≈ 1.02Hz. Duty ≈ (4.7+68)/140.7 ≈ 52% — nearly symmetric blink.
Worked example — an ~440Hz tone (musical A) for a buzzer: C = 10nF, R1 = 1kΩ, R2 = 15kΩ → R1+2R2 = 31kΩ → f = 1.44/(31,000 × 10×10⁻⁹) ≈ 4.6kHz. Adjust R2 (use a potentiometer) to tune the pitch by ear.
Note the duty cycle is always above 50% in the basic circuit (the discharge path only goes through R2). For duty below 50%, add a diode across R2 so charging bypasses it — a standard textbook modification.
Mode 2: Monostable — the one-shot timer
In monostable mode, a trigger pulse on pin 2 produces exactly one output pulse of a precise duration, then the circuit waits for the next trigger. One resistor, one capacitor:
Pulse width: T = 1.1 × R × C
Worked example — a 10-second delay: T = 10s, choose C = 100µF → R = 10/(1.1 × 100×10⁻⁶) ≈ 90.9kΩ → use 91kΩ standard (or 100kΩ potentiometer for adjustability). Trigger with a pushbutton (debounced — a bouncy button retriggers the timer).
Classic uses: debounced pushbutton pulse stretcher, power-on reset delay, motion-sensor light that stays on for a fixed time after triggering, missing-pulse detector (retrigger faster than T to keep the output high; if pulses stop, the output drops).
Mode 3: Bistable — the flip-flop
Tie pins 2 and 6 appropriately (or use two 555s' worth of pins creatively) and the 555 becomes an SR latch: trigger sets it, threshold resets it. Honestly, a 555 is overkill as a bare flip-flop — but the mode matters because it explains why the other two modes work, and it appears in touch-switch and toggle circuits.
| Mode | Resistors | Capacitors | Output behavior | Use for |
|---|---|---|---|---|
| Astable | R1, R2 | 1 | Free-running square wave | Blinkers, tone generators, clocks |
| Monostable | R | 1 | One pulse per trigger | Timers, pulse stretchers, delays |
| Bistable | 0 | 0 | Latches on/off | Toggle switches, set/reset |
Classic 555 project circuits
LED chaser / blinker. Astable at a few Hz driving LEDs directly from pin 3 (200mA capability). Add a second 555 or a 4017 decade counter for chase sequences.
PWM LED dimmer / motor speed control. Astable with the diode-across-R2 modification and a potentiometer for R2 gives duty cycles from ~5% to ~95% at constant frequency — a complete dimmer with no MCU. Feed the output to a MOSFET gate for motor control (with a flyback diode — see the PWM guide).
Tone generator / simple synth. Astable in the audio range with potentiometers for R1/R2 — pitch and warble controls. Add a second astable at low frequency modulating the first for siren effects.
Touch/proximity switch. The trigger pin is high-impedance — a touch plate coupled through your body capacitance can pull it below 1/3 Vcc. (Finicky but a fun demo of capacitive sensing principles.)
Servo tester. Astable tuned to 50Hz with pulse width adjustable 1–2ms via potentiometer — manually sweep a servo without any code.
NE555 vs TLC555 (bipolar vs CMOS)
| NE555 (bipolar) | TLC555 / LMC555 (CMOS) | |
|---|---|---|
| Supply range | 4.5–16V | 2–15V (varies by part) |
| Supply current | ~10mA (plus big switching spikes) | ~100µA |
| Max frequency | ~100kHz clean | ~2MHz |
| Output swing | ~1.5V below Vcc | Nearly rail-to-rail |
| Timing accuracy | Good | Better (lower threshold currents) |
| Price | Cheapest | Slightly more |
The bipolar NE555's supply-current spikes (hundreds of mA for nanoseconds at each output transition) are legendary noise injectors — they can false-trigger the 555 itself and pollute nearby circuits. The fix is a 100nF ceramic directly across pins 1 and 8 plus a bulk electrolytic (10–47µF) nearby. The CMOS versions are far better behaved and the right choice for battery projects; the NE555 remains fine for mains-powered blinkers and buzzers.
Common mistakes
- Pin 5 floating. Bypass it with 10nF to ground. Every time.
- Pin 4 (RESET) floating. It's active-low — a floating reset pin invites spurious resets. Tie to Vcc when unused.
- No supply decoupling. Especially with the NE555: 100nF at the chip + bulk cap nearby, or enjoy mysterious double-triggering.
- Electrolytic timing capacitors for precision. Electrolytics leak and drift (±20% tolerance); for timing accuracy use film capacitors, and keep expected precision modest — the 555 is a ~1–2% timer, not a crystal.
- Forgetting the discharge pin's limits. Pin 7's transistor handles ~200mA; don't try to discharge huge capacitors through tiny resistors.
- Trigger pin left floating in monostable mode. Noise triggers it randomly. Pull it up with 10kΩ and trigger with a button to ground.
- Expecting 50% duty from the basic astable. It's always >50% without the diode modification — design around it.
Quick design checklist
- Mode selected: astable (oscillator), monostable (timer), or bistable (latch)
- R and C computed from the mode formula; standard values chosen; frequency/pulse re-verified
- Pin 5 bypassed with 10nF; pin 4 tied to Vcc if unused
- 100nF decoupling directly across pins 1–8 (+ bulk cap for NE555)
- Film (not electrolytic) timing capacitor where accuracy matters
- Output current within 200mA, or buffered with a transistor/MOSFET
Where to go from here
- PWM Explained: Frequency vs Duty Cycle — the 555's astable output is PWM; this guide covers driving real loads with it.
- Op-Amp Basics with the LM358 — the 555's analog cousin for signal conditioning.
- How to Use a Multimeter for Circuit Debugging — verify your timing with real measurements.
- More electronics fundamentals in the Electronics / E&TC branch hub.