NE555 Timer: How It Works, What the Pins Do and How to Use It

The NE555 timer is one of the best-known integrated circuits in electronics. With only a few resistors and capacitors it can create delays, pulses, LED flashers, oscillators and timers. This lesson starts from the basics: by the end, you will know the eight pins, understand the main internal blocks and be able to design the most common NE555 circuits.

A short history of the NE555 timer

The 555 timer was designed in the early 1970s by Hans R. Camenzind for Signetics and reached the market in 1972. Its success came from a very effective idea: combining comparators, memory, a discharge transistor and an output stage in one inexpensive IC. The 555 is still widely used for learning electronics and for many simple timing circuits.

What is the NE555?

The NE555 is an analog/digital timer IC: it monitors voltages at its inputs and changes its output when specific thresholds are crossed. Its key principle is simple: the IC compares input voltages with approximately 1/3 VCC and 2/3 VCC. These two thresholds make it easy to control the charging and discharging of a capacitor.

The classic NE555 typically operates from approximately 4.5 V to 16 V. CMOS versions of the 555 family have different characteristics, so for a real project you should always check the datasheet for the exact device being used.

How the NE555 works internally

You do not need to study every transistor inside the IC to understand the NE555. It is much more useful to divide it into a few functional building blocks.

1. Internal voltage divider

Inside the classic NE555 are three similar resistors connected in series between VCC and GND. They are traditionally shown as three resistors of about 5 kΩ. The divider creates two reference voltages: approximately 1/3 VCC and 2/3 VCC.

Example: with a 9 V supply, the two thresholds are approximately:
1/3 VCC = 3 V
2/3 VCC = 6 V

2. The two comparators

The NE555 contains two comparators, circuits that compare two voltages. The comparator connected to the Trigger pin checks whether the voltage falls below about 1/3 VCC. The comparator connected to the Threshold pin checks whether the voltage rises above about 2/3 VCC.

3. The SR latch

The comparators control a small memory element called an SR latch. This memory keeps the current state even after the signal that caused the change has disappeared. That is why the NE555 does not continuously change state while the monitored voltage is between 1/3 and 2/3 VCC.

4. The discharge transistor

The internal transistor connected to pin 7 - Discharge works like a switch to ground. When it turns on, it allows an external timing capacitor to discharge. When it turns off, the capacitor can charge through the external resistors.

5. The output stage

The output stage transfers the latch state to pin 3. The output can therefore be high or low and can directly drive small loads such as an LED with a series resistor. Relays, motors and other higher-current loads should be driven through an external transistor or MOSFET.

6. Reset and Control Voltage

The Reset input can immediately force the IC into the reset state. The Control Voltage input allows the normal 1/3 and 2/3 VCC reference levels to be shifted from outside the chip. This makes more advanced modulation and control circuits possible.

NE555 block diagram

NE555 internal block diagram showing voltage divider, comparators, flip-flop, discharge transistor and output stage NE555 block diagram: the divider creates the reference thresholds, the comparators control the latch, and the discharge transistor and output stage control the external circuit.

NE555 pinout: what all 8 pins do

On a DIP-8 package, pin 1 is identified using the dot or notch on the package. Looking at the IC from above, the pins are numbered counterclockwise.

NE555 Pinout image

Pin 1 - GND

This is the circuit ground reference and is connected to the negative side of the supply. All NE555 voltages are measured relative to this point.

Pin 2 - Trigger

The Trigger input activates the timer when its voltage falls below approximately 1/3 VCC. This sets the latch and normally makes the output go high. It is commonly used to start a monostable timer with a push button or short pulse.

Pin 3 - Output

This is the NE555 output. The square wave or pulse generated by the circuit appears here. It can directly drive an LED with a resistor, but inductive or higher-current loads require an external driver stage.

Pin 4 - Reset

The Reset input is active low. Pulling it toward GND forces the output into the reset state. If it is not used, it is good practice to connect it to VCC to prevent unwanted resets.

Pin 5 - Control Voltage

This pin allows the internal reference voltages and switching thresholds to be modified. In ordinary circuits it is often left unused and bypassed to GND with a small capacitor, typically 10 nF, to reduce noise.

Pin 6 - Threshold

The Threshold input monitors the timing capacitor voltage. When it rises above approximately 2/3 VCC, the upper comparator resets the latch and normally drives the output low.

Pin 7 - Discharge

The Discharge pin is connected to the internal discharge transistor. When that transistor conducts, the pin is pulled toward ground and the external capacitor can discharge through the resistor network. It is essential in standard astable and monostable circuits.

Pin 8 - VCC

This is the positive supply pin. A decoupling capacitor of approximately 100 nF between VCC and GND should be placed close to the IC, especially when the output switches quickly or shares a supply with other circuitry.

The NE555 logic in three rules

To use the IC correctly, remember these three conditions:

  • Trigger < 1/3 VCC: the latch is SET, the output normally goes high and the discharge transistor turns off.
  • Threshold > 2/3 VCC: the latch is RESET, the output normally goes low and the discharge transistor turns on.
  • Between 1/3 and 2/3 VCC: the latch keeps its previous state.

This behavior creates hysteresis: the circuit uses two switching thresholds instead of one. That is what makes the 555 especially useful with capacitors that repeatedly charge and discharge.

The three main NE555 operating modes

NE555 monostable: generating one timed pulse

In monostable mode the circuit has one stable state. A trigger causes the output to go high for a time determined by one resistor and one capacitor, after which the output automatically returns low.

The approximate pulse duration is:

\( t = 1.1 \cdot R \cdot C \)

where R is in ohms, C is in farads and t is in seconds.

NE555 astable: generating a continuous oscillator

In astable mode there is no stable state. The capacitor repeatedly charges and discharges between approximately 1/3 and 2/3 VCC and pin 3 continuously produces a square wave. This is the classic configuration for LED flashers and clock generators.

In the standard circuit:
pins 2 and 6 are connected together;
RA connects VCC to pin 7;
RB connects pin 7 to the pin 2-6 node;
C connects the pin 2-6 node to GND;
pin 4 connects to VCC;
pin 5 can be bypassed to GND with 10 nF.

The approximate equations are:

tHIGH ≈ 0.693 ⋅ (RA + RB) ⋅ C
tLOW ≈ 0.693 ⋅ RB ⋅ C
\(f \approx \frac{1.44}{(R_A + 2R_B)\cdot C}\)

NE555 bistable: using it as an ON/OFF memory

The NE555 can also operate in bistable mode. The output then remains in its selected state until another command changes it. A timing capacitor is not necessarily required.

NE555 applications

Once the three main operating modes are understood, the NE555 can be used in many circuits:

  • LED flashers and warning lights.
  • Timers and turn-on or turn-off delays.
  • Pulse generators for testing digital circuits.
  • Tone generators for buzzers and small speakers through a suitable driver.
  • Clock generators for counters and logic circuits.
  • Missing-pulse detectors and pulse stretchers.
  • PWM and modulation using the Control Voltage pin or additional diode networks.
  • Debouncing and signal conditioning for switches and sensors.

Important rules when using the NE555

  • Always connect pin 8 to VCC and pin 1 to GND correctly.
  • If Reset is unused, connect pin 4 to VCC.
  • Place approximately 100 nF between VCC and GND close to the IC.
  • If pin 5 is unused, a 10 nF capacitor to GND helps reduce noise.
  • Do not leave important inputs floating.
  • Always use a series resistor with an LED.
  • Use a transistor or MOSFET driver for relays and motors, plus the correct flyback diode for inductive loads.
  • Check the polarity of electrolytic capacitors.
  • Remember that resistors and capacitors have tolerances, so actual timing can differ from calculated values.
  • For current, voltage and frequency limits, always check the datasheet for the exact 555 variant being used.

NE555 frequently asked questions

What is the NE555 used for?

It is mainly used to generate timing delays, pulses and oscillations. Its most important modes are monostable, astable and bistable.

What is the difference between monostable and astable?

A monostable generates one timed pulse after a trigger. An astable keeps generating pulses for as long as the circuit remains powered.

Why are 1/3 and 2/3 VCC so important?

They are the two thresholds created by the internal divider and used by the comparators. When the timing capacitor crosses these levels, the latch changes state and controls the output and discharge transistor.