Loading [MathJax]/jax/output/HTML-CSS/jax.js

555 Timer

The 555 timer IC is an 8 pin integrated circuit used in a variety of timer, pulse generation, and oscillator applications. The 555 can be used to provide time delays or as an oscillator

The 2 common operating modes of the 555 timer IC are:

  • Monostable mode: In this mode, the 555 functions as a "one-shot" pulse generator. Applications include timers, missing pulse detection, bouncefree switches, touch switches, frequency divider, capacitance measurement, pulse-width modulation (PWM) and so on.
  • Astable (free-running) mode: The 555 can operate as an oscillator. Uses include LED and lamp flashers, pulse generation, logic clocks, tone generation, security alarms, pulse position modulation and so on.

The circuit below shows the 555 timer IC connected in the astable mode

Created with Raphaël 2.3.0
x-value (s) :
y-values (V) :
Created with Raphaël 2.3.0

The output frequency is given by the following equation

fo=1.44(R2+2R1)C1

The HIGH and LOW times of each pulse are given by

th=0.69(R1+R2)C1tl=0.69R1C1

Notes:

  • Click on the colored nodes in the schematic to show/hide that node waveform.
  • Select the different R1 and C1 values, press Simulate and observe the change in frequency and waveforms with the component values.
  • Move the cursor in the chart to obtain the waveform values

Circuit Analysis

555 internal circuit

In order to analyse the 555 timings, we need to understand a little of the working of the 555 timer internally. There is a resistor tree with equal resistance values. They set the upper and lower limits of the capacitor charge/discharge voltage. Thus the voltages are

VH=23VCC=0.66VCCVL=13VCC=0.33VCC

To derive the frequency equation of the 555 timer oscillator, we will make use of the universal time constant formula for the RC circuit.

change=(fs)(1etRC)
    where
  • change is the capacitor voltage change
  • f is the capacitor voltage at infinity
  • s is the initial voltage of the capacitor

For th (the period when output is high), the capacitor is charged from VL to VH through the resistors R1 + R2 from VCC. Thus

  1. Change = 0.33VCC
  2. Start = 0.33VCC
  3. Final = VCC

0.33VCC=(VCC0.33VCC)(1eth(R1+R2)C1)0.5=eth(R1+R2)C1ln(0.5)=ln(eth(R1+R2)C1)0.69=th(R1+R2)C1th=0.69(R1+R2)C1

For tl (the period when output is low), the capacitor is discharged from VH to VL through the resistor R2 to 0V. DISCHARGE pin is switched to 0V by the transistor switch. Thus

  1. Change = -0.33VCC
  2. Start = 0.66VCC
  3. Final = 0V

0.33VCC=(00.66VCC)(1etlR1C1)0.5=etlR1C1tl=0.69R1C1