555 timer IC: pinout and wiring
The 555 is an 8-pin timer that generates pulses with resistors and a capacitor. See the pinout, how to build the astable (blinker) and monostable (one pulse per trigger) circuits, the formulas, and try values in the simulator.
Specifications
- Package
- DIP-8 or SOIC-8
- Supply
- 4.5 V to 16 V (NE555); 2 V to 15 V (CMOS version, TLC555)
- Output current
- up to ≈ 200 mA (source or sink)
- Max frequency
- ≈ 500 kHz (NE555)
- Modes
- Astable, monostable and bistable
- Internal thresholds
- 1/3 and 2/3 of the supply
- Timing accuracy
- ≈ 1 % (typical)
- Internal divider
- 3 resistors of 5 kΩ
Pinout
With the package notch facing up, pins are numbered counter-clockwise from the top left corner: 1 to 4 down the left side and 5 to 8 up the right side.
NE555 (8 pins)
| 1 | GND | Ground |
| 2 | TRIG | Trigger: below 1/3 of the supply, the output goes HIGH |
| 3 | OUT | Output (up to ≈ 200 mA) |
| 4 | RESET | Resets on a low level; tie to VCC if unused |
| 5 | CTRL | Control voltage (2/3 of VCC); 10 nF capacitor to GND |
| 6 | THR | Threshold: above 2/3 of the supply, the output goes LOW |
| 7 | DIS | Discharge of the timing capacitor |
| 8 | VCC | Supply, 4.5 V to 16 V |
555 calculator
Choose the mode and the R and C values to see the frequency, times and pulse length.
How to wire it
Astable (oscillator): connect pin 8 to VCC and RESET (4) to VCC. Put R1 between VCC and DIS (7), R2 between DIS (7) and THR (6), tie THR (6) to TRIG (2) and put capacitor C from that node to GND. The output (3) toggles between HIGH and LOW by itself.
Astable frequency: f = 1.44 / ((R1 + 2·R2) · C). The HIGH time is 0.693 · (R1 + R2) · C and the LOW time is 0.693 · R2 · C. The duty cycle, (R1 + R2) / (R1 + 2·R2), is always above 50 %.
Monostable (one pulse per trigger): connect R between VCC and the THR/DIS node (6 and 7), the capacitor C from that node to GND and a button that pulls TRIG (2) to GND. The pulse length is T = 1.1 · R · C.
Connect 10 nF between CTRL (5) and GND to reduce noise, and a 100 nF capacitor between VCC and GND right next to the IC.
To blink an LED, connect it to the output (3) with a 330 Ω to 1 kΩ resistor. With the output HIGH the LED lights; for larger currents use a transistor.
Example code (Arduino)
The 555 works on its own, but the Arduino can read its output. Sketch that counts the rising edges of an astable 555 wired to pin 2.
#define PIN_555 2
volatile unsigned long pulses = 0;
void count() { pulses++; }
void setup() {
Serial.begin(9600);
pinMode(PIN_555, INPUT);
attachInterrupt(digitalPinToInterrupt(PIN_555), count, RISING);
}
void loop() {
pulses = 0;
delay(1000);
Serial.print("Frequency (Hz): ");
Serial.println(pulses);
}
Common mistakes
- Leaving RESET (pin 4) floating: the 555 resets itself on noise. Tie it to VCC.
- Expecting a 50 % duty cycle from the classic astable: since R2 only discharges, the HIGH time is always longer than the LOW time.
- Wiring the output straight to a heavy load: it delivers up to 200 mA, but with a voltage drop. Use a transistor or MOSFET.
- Using a leaky electrolytic capacitor for long times: the computed time will not match. Prefer low-leakage capacitors or smaller values with larger resistors.
- Forgetting the 100 nF capacitor near the supply: the output gets spikes that disturb the circuit.
Always check the manufacturer's datasheet for your exact model: pin order can vary between modules.
Frequently asked questions
How does the 555 work in astable mode?
The capacitor charges through R1 and R2 up to 2/3 of VCC and discharges through R2 down to 1/3. At each threshold the output changes state, producing a square wave.
What is the 555 frequency formula?
f = 1.44 / ((R1 + 2·R2) · C), with R in ohms, C in farads and f in hertz.
What is monostable mode for?
To generate a fixed-length pulse on each trigger, like a stair light timer or a button debouncer. The length is T = 1.1 · R · C.
Does the 555 work at 3.3 V?
The common NE555 needs at least 4.5 V. For 3.3 V use a CMOS version such as the TLC555 or LMC555.