EAZYLife STEM LAB · MODULE 10

The 555 Timer: Timing, Oscillators and Control

Go beyond blinking LEDs. Explore how an RC network and an internal latch turn the 555 into a one-shot timer, oscillator, pulse generator, latch, threshold detector and control building block.

Free open lesson Three practical builds Extra-low-voltage only
TIME · TRIGGER · OSCILLATE · CONTROL
01 · WHAT IS INSIDE THE 555?

It is more than an oscillator IC

The classic bipolar NE555 combines a resistor divider, two comparators, an SR latch, an output driver and a discharge transistor. The external circuit tells it when to set or reset its latch. The output changes state, while the discharge transistor controls the timing capacitor.

Functional architecture, simplified

TriggercomparatorThresholdcomparatorSR latchSET / RESETOutputdriverDischargetransistorPin 2 · TRIGPin 6 · THRESPin 3 · OUTPin 7 · DISCH1/3 VCC and 2/3 VCCreference dividerSimplified functional view, not a transistor-level schematic

The two comparators monitor trigger and threshold voltages. Their decisions set or reset the latch. The latch controls both the output driver and the internal discharge transistor.

The key idea: the capacitor voltage is not directly amplified at the output. It is monitored against reference levels. The latch remembers the state between threshold crossings. That memory is what makes one-shot and oscillating behaviour possible.

02 · PINOUT AND REFERENCE LEVELS

Know the eight pins before wiring

NE555 DIP-8 top view

1 · GND2 · TRIG3 · OUT4 · RESET8 · VCC7 · DISCH6 · THRES5 · CONT555TOP VIEW

With the notch upward, pin 1 is top-left. Count down pins 1–4 on the left, then up pins 5–8 on the right.

What the pins do

  • 1 GND: 0 V reference.
  • 2 TRIG: below about 1/3 VCC sets the latch.
  • 3 OUT: logic-like output, with device-specific voltage/current limits.
  • 4 RESET: active-low override; hold high when unused.
  • 5 CONT: changes internal reference levels; often bypassed with 10 nF.
  • 6 THRES: above about 2/3 VCC resets the latch.
  • 7 DISCH: internal transistor pulls this pin toward ground when active.
  • 8 VCC: positive supply.

The two important thresholds

2/3 VCC1/3 VCCTime →Capacitor voltageThreshold crossingTrigger crossing

In common timing circuits, the capacitor moves between approximately one-third and two-thirds of the supply. The control-voltage pin can shift these reference levels.

These are nominal functional levels, not precision references for measurement instruments. Real thresholds, timing accuracy and output behaviour vary with the specific 555 variant, supply, temperature and component tolerances.

03 · ASTABLE MODE

Build a free-running oscillator

In astable mode, the 555 repeatedly charges a capacitor through two resistors and discharges it through one resistor. There is no stable resting output state while powered, so it produces a continuous pulse train.

Astable circuit · LED flasher

NE5558 VCC · 4 RESET7 DISCH6 THRES · 2 TRIG3 OUT · 5 CONT1 GND +5 VRA 10 kΩPin 7 nodeRB 47 kΩTiming nodeC 10 µFLED + 1 kΩGNDPin 5: 10 nF to GND · Pin 1: GND OUT

Conceptual wiring map. Use the numbered connection list below as the definitive net-by-net wiring reference; the drawing is not a breadboard layout.

Components

  • NE555 or compatible bipolar 555 timer
  • RA = 10 kΩ, RB = 47 kΩ
  • C = 10 µF electrolytic, rated at least 10 V
  • 10 nF ceramic capacitor for pin 5
  • LED and 1 kΩ series resistor
  • 100 nF supply bypass capacitor
  • 5 V regulated current-limited supply, breadboard and multimeter

Wiring, node by node

  1. Pin 1 to GND; pin 8 to +5 V.
  2. Pin 4 RESET to +5 V.
  3. Join pins 2 and 6. This is the timing-capacitor node.
  4. RA from +5 V to pin 7.
  5. RB from pin 7 to the joined pins 2/6.
  6. C positive to pins 2/6; C negative to GND.
  7. Pin 5 to GND through 10 nF.
  8. Pin 3 to LED anode through 1 kΩ; LED cathode to GND.
  9. Place 100 nF across pins 8 and 1 close to the IC.

Observe: the LED flashes; pin 3 switches between low and high. The capacitor voltage rises toward about 2/3 VCC, then falls toward about 1/3 VCC. The capacitor is not charging and discharging through the same path: it charges through RA + RB and discharges through RB.

04 · TIMING EQUATIONS

Calculate before you build

tHIGH ≈ 0.693 × (RA + RB) × C
tLOW ≈ 0.693 × RB × C
f ≈ 1.44 / ((RA + 2RB) × C)

For RA = 10 kΩ, RB = 47 kΩ and C = 10 µF, the ideal estimates are approximately 0.395 s high, 0.326 s low, 0.721 s per cycle and 1.39 Hz. The output waveform duty cycle is about 54.8%.

Astable timing calculator

Frequency1.39 Hz
High / low time0.395 s / 0.326 s
Waveform duty cycle54.8%

Ideal equations. Real timing depends on tolerances and the selected IC.

In the standard two-resistor astable circuit, the output waveform duty cycle is above 50% because the capacitor charges through RA + RB but discharges through RB. A steering diode can provide separate charge/discharge paths, but diode drop and resistor selection must be considered.

05 · MONOSTABLE MODE

One trigger, one timed pulse

Monostable means one stable state. A brief active-low trigger starts a timed output pulse. The capacitor charges through one resistor; when its voltage reaches the threshold level, the output returns low and the internal discharge transistor resets the capacitor.

Monostable one-shot circuit

NE5558 VCC · 4 RESET6 THRES · 7 DISCH2 TRIG · 3 OUT5 CONT · 1 GND +5 VRA 100 kΩTiming nodeC 10 µF+5 VPin 2 triggerbutton to GND10 kΩ pull-upOUTGNDPin 5: 10 nF to GND · Pin 1: GND

The timing node joins pins 6 and 7. Pin 2 is a separate trigger input with a pull-up; briefly pulling it low starts the pulse.

Components and wiring

  • NE555, 100 kΩ timing resistor, 10 µF capacitor.
  • 10 kΩ trigger pull-up, momentary pushbutton.
  • LED and 1 kΩ output resistor, 10 nF pin-5 capacitor, 100 nF supply bypass.
  • Pin 1 GND, pin 8 +5 V, pin 4 +5 V.
  • Join pins 6 and 7 to timing node; RA from +5 V to timing node; C positive to node and negative to GND.
  • Pin 2 to +5 V through 10 kΩ; pushbutton from pin 2 to GND.
  • Pin 5 to GND through 10 nF; pin 3 drives LED through 1 kΩ to GND.

Pulse duration

t ≈ 1.1 × R × C

With R = 100 kΩ and C = 10 µF:

t ≈ 1.1 seconds.

Press and release the button. The output should remain high for about one second, then return low. Hold the trigger low and observe how retriggering/trigger conditions affect the timing; the exact behaviour should be compared with the selected device datasheet.

06 · BISTABLE AND SCHMITT TRIGGER

Use the 555 as a latch or a threshold switch

Bistable latch

A 555 can remember a set/reset state. A short low pulse at pin 2 sets the output high. Raising pin 6 above its threshold resets the output low. In this use, an external timing capacitor is not required.

  • Pin 2: 10 kΩ pull-up to +5 V; momentary SET button to GND.
  • Pin 6: 10 kΩ pull-down to GND; momentary RESET button to +5 V.
  • Pin 7 unused; pin 4 held high; pin 5 bypassed to GND with 10 nF.
  • Pin 3 drives an LED through 1 kΩ.

Do not press SET and RESET together. Avoid switch bounce by adding suitable debounce if the application needs reliable state changes.

Schmitt-trigger action

Join pins 2 and 6 and apply a slowly changing input. The output switches at two different thresholds, approximately 1/3 and 2/3 VCC. This creates hysteresis, helping reject small noise around a single switching point.

  • Pin 2 and pin 6 joined as the input node.
  • Pin 4 held high; pin 5 bypassed by 10 nF.
  • Use a potentiometer as a low-voltage input divider.
  • Measure input voltage at each output transition.

Schmitt trigger input/output concept

2/3 VCC1/3 VCCInput voltage →Output HIGH after rising thresholdOutput LOW after falling threshold

The two switching levels create a hysteresis band. The drawing illustrates state changes as the input rises and falls; it is not a time-domain waveform.

07 · OTHER CAPABILITIES

Where else can we use the 555?

Pulse-width modulation

A repeating trigger can start monostable pulses while a signal at pin 5 changes the threshold reference. The pulse width changes with the control voltage. This is one route to PWM; the transfer is nonlinear and the design must respect input ranges and timing limits.

Voltage-controlled oscillator

Changing the control voltage shifts the internal comparator levels, changing the timing capacitor's swing and therefore the oscillation frequency. The result is a simple VCO principle used in tone and modulation experiments.

Missing-pulse detector

A regular input pulse retriggers a one-shot. If pulses stop for longer than the selected interval, the output changes state. This can indicate a stalled rotation sensor or lost pulse train, but it is not a certified safety monitor.

Delay, debounce and tone

Use monostable timing for a delayed output or pulse stretcher, suitable input conditioning for switch debounce, and an astable oscillator for audible tones. A speaker needs suitable coupling/drive; do not assume every load can connect directly to the IC.

For motor control, relays, solenoids or other inductive loads, use a properly rated transistor/MOSFET or driver stage, flyback protection where required, a separate suitable supply and common reference as appropriate. Do not connect a motor or relay coil directly to a 555 output as a beginner exercise.

08 · REAL DEVICE AND DESIGN LIMITS

Not every 555 is identical

Bipolar NE555

  • Common NE555 devices generally operate from about 4.5 V upward; check the exact manufacturer and suffix.
  • Higher supply current than many CMOS variants.
  • Output high and low levels depend on supply and load; not rail-to-rail.
  • Pin 7 uses an internal discharge transistor.
  • Use the manufacturer's datasheet for output current, timing range and temperature limits.

CMOS 555 variants

  • Examples include TLC555 and other manufacturer-specific CMOS timers.
  • Often lower supply current and different minimum supply limits.
  • Output drive, leakage, frequency capability and pin-compatible behaviour can differ.
  • Do not assume a bipolar NE555 circuit's limits or load capability transfer unchanged.

Consult the Texas Instruments xx555 precision timer datasheet for operating modes, timing equations, pin behaviour and application circuits. Check the actual part marking and manufacturer's documentation.

Timing accuracy: the simple equations are first estimates. Electrolytic capacitor tolerance, leakage, resistor tolerance, temperature, supply variation and IC threshold tolerances affect real timing. Measure the circuit and compare the result with the prediction.

09 · TROUBLESHOOTING AND INVESTIGATION

Make the circuit explain itself

LED does not flash

Check pin 1 and pin 8 supply, RESET pin 4 high, LED polarity, resistor, pin numbering, and that pins 2 and 6 are joined in astable mode.

Frequency is far from expected

Measure RA and RB, verify capacitor value and polarity, check leakage and breadboard contacts, then compare measured high and low times separately.

Monostable never ends

Check that pin 2 trigger has returned high, timing node reaches pin 6, timing capacitor is connected to ground and pin 7 is at the timing node.

Output is weak or IC gets hot

Disconnect power. Check for output shorts, excessive load, wrong supply polarity and a load current beyond the device's recommended operating conditions.

Investigation tasks

  1. Double RA while keeping RB and C unchanged. Predict and measure the change in high time, low time and frequency.
  2. Double C. Predict and measure the change in period.
  3. Change RB while keeping RA and C fixed. Observe which part of the waveform changes.
  4. Compare the predicted one-shot time with the measured pulse duration.
  5. Build a latch and explain why its output remains in the last commanded state.
KNOWLEDGE CHECK

Check your understanding

1. What is the approximate trigger threshold?

2. In a standard astable circuit, the capacitor discharges through:

3. Which mode produces one timed output pulse after a trigger?

KEEP LEARNING · GO FURTHER

Free to learn. More support when you need it.

Explore these open lessons at your own pace. For personalised explanations, project-specific troubleshooting, guided practical training or masterclasses, EazyLife offers paid support tailored to your learning goals.

Free or sponsored lesson referrals may be available through active programmes; they are not guaranteed.

Enquire about guidance