The 555 timer is one of the most popular IC and widely used in various electronic circuits due to its versatility, stability and accuracy. It is a monolithic timing circuit that produces highly stable time delays or oscillations with great accuracy. 

555 Timer IC was invented by Signetic Corporation in 1970. It is used for timing-related applications such as generating various types of pulses, clock signals, creating precise time delays, etc. 

In this comprehensive guide, we will explore the 555 timer, its internal circuit, basic operating principle, and various operating modes.

555 Timer IC Block Diagram

The block diagram of the 555 timer IC is shown in the following figure. It generally come in an 8-pin DIP package. It consists of 2 comparators, a voltage divider circuit made up of three 5KΩ resistors, an SR flip flop, 1 npn transistor, and an output buffer. 

555 Timer Internal Circuit Diagram

555 Timer Working

The voltage divider circuit consists of three 5KΩ resistors connected in series between the supply voltage (Vcc) and ground, creating reference voltages at 1/3 and 2/3 of Vcc. These reference voltages are given into the two comparators.

A comparator is a device that compares two analog input voltages at its positive (non-inverting) and negative (inverting) input terminal. If the voltage at the positive terminal is higher than the voltage at the negative terminal, the output of the comparator will be high (1). Conversely, if the voltage at the positive terminal is lower than the voltage at the negative terminal (V-), the output of the comparator will be low (0).

Comparator

We can control the output of two comparators by the three input pins: Threshold, Trigger, and Control Voltage.

In Upper Comparator or Threshold Comparator, the negative input terminal is connected to a reference voltage 2/3 Vcc and the positive input terminal is connected to the threshold pin (pin 6).  When the voltage at the threshold pin exceeds 2/3 Vcc, the comparator outputs a high signal.

In Lower Comparator or Trigger Comparator, the positive input terminal is connected to a reference voltage 1/3 Vcc and the negative input terminal is connected to the trigger pin (pin 2). When the voltage at the trigger pin is less than 1/3 Vcc, the comparator outputs a high signal.

Upper and Lower Comparator in 555 Timer

The outputs of the comparators are given as inputs to the SR flip-flop. An SR (Set-Reset) flip-flop is a basic type of memory element that stores a single bit of data. The table below represents the Truth Table of SR flip-flop.

SRQQ'
00MemoryMemory
1010
0101
11InvalidInvalid

When S input is high (1), it sets the flip-flop, making the output Q HIGH (1). When R input is HIGH (1), it resets the flip-flop, making the output Q LOW (0). When both S and R inputs are 0, the flip-flop stores the previous value or acts as a memory element. When both S and R inputs are 1 the flip-flop enters in an invalid state. The flip-flop’s output state determines the behavior of the output buffer and the discharge transistor.

SR Flip-flop in 555 Timer

Additionally, the output of the flip-flop is also connected to the base of a discharging transistor. This transistor is used to discharge any externally connected capacitor, ensuring proper circuit functionality. The flip-flops can be reset pin via the external pin called “Reset” that can override two inputs and resets the timer any time.

 555 Timer Pinout Diagram

555 Timer Pinout Diagram

Ground It should be connected to the negative/ground pin of the supply.

Trigger It is the negative input of the lower comparator. As soon as the voltage at this pin drops below 1/3 Vcc, the output of lower comparator switch from ‘LOW’ to ‘HIGH’ which sets the output of S-R flip flop i.e, Q to ‘HIGH’.

Output The output pin can drive any TTL circuit and is capable of sourcing or sinking up to 200mA of current at an output voltage equal to approximately Vcc – 1.5V so small speakers, LEDs or motors can be connected directly to the output.

Reset This pin is used to ‘RESET’ the internal flip-flop controlling the state of the output, pin 3, in spite of any voltage level at S and R pin of S-R flip-flop level. This is an active-low input and is generally connected to a logic ‘HIGH’  to prevent any unwanted ‘RESET’ of the output.

Control Voltage This pin controls the timing of the 555 by overriding the 2/3Vcc level of the voltage divider network. By applying a voltage to this pin the width of the output signal can be varied independently of the RC timing network. When not used it is connected to ground via a 10nF capacitor to eliminate any noise.

Threshold It is the positive input to the upper comparator when the voltage at this pin exceeds 2/3 Vcc, output at pin 3 turns ‘LOW’.

Discharge When the base of discharge transistor turns ‘HIGH’ this transistor is used to discharge external RC network connected at pin 7 also during discharging output at pin 3 stays ‘LOW’.

Vcc This is the power supply pin and for general purpose TTL 555 timers are between 4.5V and 15V.

555 timer Operating Modes

There are three operating modes of the 555 timers: 

  1. Astable Mode: In this mode output at pin 3 continuously fluctuates between state ‘HIGH’ and ‘LOW’. This mode is used in applications where we need 555 timer as clock source.
  2. Monostable Mode: In this mode output turns ‘HIGH’ for particular period of time only when negative trigger pulse is applied at pin 2, which should be less than 1/3 Vcc.
  3. Bi-stable Mode: In this mode of operation output turns ‘HIGH’/’LOW’ based on where negative trigger pulse is applied at pin 2.

555 Timer Astable Mode

555 Timer in Astable operation Mode

Astable mode as the name suggests, the output of this mode is oscillating between ‘HIGH’ and ‘LOW’ and the frequency of oscillation depends upon an external RC network connected to its pins.

There are two resistors ‘R1’ and ‘R2’ and one capacitor ‘C’. ‘R1’ is connected between pin 8 and pin 7.  ‘R2’ is connected between pin 7 and pin 6. Pin 2 and 6 are shorted. Capacitor ‘C’ is connected between pin 6 and the Ground.

Initially when Power is turned ‘ON’, the potential across the capacitor is zero and hence potential at junction ‘b’ is greater than the potential at pin 2 due to which the Output of the lower comparator turns ‘HIGH’ which ‘SETS’ the output of the Flip-flop,  i.e., Q is ‘HIGH’ and Q’ is ‘LOW’ which is then fed into output buffer which inverts it and the final output is ‘HIGH’.

Now when the voltage across the capacitor exceeds 1/3 Vcc,  it doesn’t have any effect on the lower comparator output. Although the output of the lower comparator turns ‘LOW’, it does not affect the output of S-R flip flop because at this point both inputs S and R is zero hence flip-flip remains at the previous state which was ‘HIGH’.

But as soon as voltage across the capacitor exceeds 2/3 of Vcc the voltage across the positive terminal exceeds voltage across the negative terminal of the upper comparator, which in turn ‘RESETS’ the flip-flop i.e Q turns ‘LOW’ which implies Q’ turns ‘HIGH’ which is fed into Output buffer which inverts it and hence output turns ‘LOW’.

Now what we get from the above operation is when the capacitor charges Output is ‘HIGH’.

Now Q’ which is ‘HIGH’ is also fed to base of npn transitor which in turns provides less resistance (equivalent to zero) for current rather than going through resistance ‘R2’ and Capacitor ‘C’. Hence all the current which previously was flowing through R2 and C now flows through transistor, also the potential across Capacitor ‘C’ starts decreasing because it is also discharging through Discharge transistor.

Now as the capacitor is discharging a point came in this operation when voltage across capacitor turns less than 1/3 Vcc which implies voltage at negative input is less than voltage at positive input, which turns the output of lower comparator ‘HIGH’ and thereby setting the output of flip flop i.e Q is ‘HIGH’ and Q’ is ‘LOW’ , now Q’ is also being fed to base of discharge transistor which turns ‘Off’ thereby discharging stops.

Now what we get from the above operation is when the capacitor discharges output turns ‘LOW’.

Also Q’ is fed to the output buffer and hence voltage at pin 3 turns ‘HIGH’.

This charging and discharging of the capacitor go on and on until power is turned ‘OFF’ or any component failure occurs.

Practical Implementation

Components

  1. 555 Timer IC: The main component used to generate the square wave.
  2. R1 (1kΩ) and R2 (100kΩ): Resistors that set the timing interval for the charging and discharging of the capacitor.
  3. C1 (0.01µF): A small capacitor connected to pin 5, is used to stabilize the control voltage.
  4. C2 (10µF): The timing capacitor that charges and discharges to create the square wave.
  5. R3 (100Ω): Current-limiting resistor for the LED.
  6. Green LED: The output device that lights up when the output of the 555 timer is HIGH.

555 Timer in Astable operation Mode Practical ImplementationWorking

  • Power Supply: The circuit is powered by a 5V supply connected to pin 8 (VCC) of the 555 timer IC.
  • Charging Phase: When the circuit is powered on, capacitor C2 begins to charge through resistors R1 and R2. As C2 charges, the voltage across it increases. The output (pin 3) of the 555 timer is initially high, causing the LED to light up.
  • Threshold and Discharge: Once the voltage across C2 reaches 2/3 of the supply voltage, the 555 timer’s internal comparator triggers the flip-flop, causing the output (pin 3) to go low. The discharge pin (pin 7) is connected to the ground internally, allowing capacitor C2 to discharge through R2.
  • Discharge Phase: During the discharge phase, the voltage across C2 decreases. When it falls below 1/3 of the supply voltage, the 555 timer’s internal comparator resets the flip-flop, causing the output to go HIGH again. The discharge pin is disconnected, and the charging process starts again.
  • Repetition: This process repeats continuously, creating a square wave output at pin 3. The LED turns ON when the output is high and turns off when the output is low, it is blinking at a rate determined by R1, R2, and C2 values.

Mathematical Derivation

Here we will not go very deep inside the mathematics of charging and discharging curves we just need the output of this astable operation i.e,

Time for which pulse is ‘HIGH’ when current flows through R1, R2, and C (Here ‘C’ represents capacitance of capacitor C2) at charging time i.e.,

T (high) = 0.693(R1+R2)*C

Time for which pulse is ‘LOW’ when current flows through R2 and C at time of discharging i.e.,

T (low) = 0.693(R2)*C

Hence, T(total) = T(high) + T(low)

T = 0.693(R1+2R2)C

F = 1/T = 1.44/((R1+2R2)C)

Duty Cycle  = T(high)/T(total)

= 0.693(R1+R2)C/0.693(R1+2R2)C

= (R1+R2)/(R1+2R2)

from the above equation, it seems that the duty cycle is more than 50%.

Let’s say R1 is very less than R2

i.e.,  if R1 = 1K, then R2 = 100K

Duty Cycle = 101/201 = 0.502 which is approximately equal to 0.5. That’s what we want.

Now this astable multivibrator can be used as a clock source for other circuits which are clock dependent for their operation.

Now for a higher frequency, we need to keep capacitance ‘C’ low for lower frequency, we need to keep ‘C’ high as simple as that.

555 Timer Monostable Mode

555 Timer in Monostable operation Mode

    This mode of operation is only used when output turns ‘HIGH’ only when input is triggered with negative pulse.

    Here as you can see in the above image, there is a push button connected to pin 2 for providing a negative trigger and it is connected to ground at another end. Resistance R2 is connected between pin 2 and Vcc(pin 8). Pin 7 is shorted with pin 6 and R1 is connected between their junction and pin 8.

    Now when the circuit is turned ‘ON’ voltage at junction ‘P’ is 0V because initially when capacitor is discharged, it behaves as shorted path as current flows through the path shown by ‘BLUE’ lines.

    As soon as the potential across capacitor exceeds ‘2/3 Vcc’ level i.e., potential at pin 6, positive terminal of upper comparator exceeds voltage at negative terminal (2/3 Vcc), output of upper comparator turns ‘HIGH’ which leads to ‘RESET’ of flip-flop.

    When flip flop is ‘RESET’ Q is at level ‘LOW’ and Q’ is at level ‘HIGH’ due to which npn transistor provides a short path for current that was previously flowing through the capacitor. Also when npn transistor is turned ‘ON’ the capacitor discharges through the path as shown by the ‘BLACK’ arrows until the potential across capacitor turns equal to the potential across transistor.

    Hence when power is turned ‘ON’ all above operation happens and the normal flow of current is shown by red arrows, current flows through resistor R1, and through the discharge transistor via junction ‘P’.

    At an instant when the trigger pulse is applied at pin 2, potential at the positive pin of the lower comparator exceeds the potential at the negative pin and hence the output of the lower comparator turns ‘HIGH’ which ‘SETS’ the output of  S-R flip-flop.

    Now when Q is ‘HIGH’ and Q’ is ‘LOW’ base of npn transistor turns ‘LOW’ hence it is turned ‘OFF’. Now current will not flow through npn transistor and it will pass through the capacitor. Above operations happen instantaneously.

    Hence when a negative pulse is applied at pin 2 by pressing the push button, capacitor charges and the path of current is shown by ‘BLUE’ arrows. It will continuously charge until potential at positive terminal exceeds potential at negative terminal (2/3 Vcc) of upper comparator.

    This process ‘RESETS’ flip flop and hence npn transistor is turned ‘ON’ and current will flow through it as shown by ‘RED’ arrows also capacitor discharges through npn transistor as shown by ‘BLACK’ arrows until when potential across the capacitor turns equal to potential across transistor. And current will follow path shown by ‘RED’ arrows till next input pulse is applied.

    Hence in Monostable operation of 555 timer stable output is ‘LOW’. When trigger pulse is applied the output turns ‘HIGH’ till voltage across the capacitor reaches to 2/3 Vcc from ‘0 V’.

    Hence this circuit is called Monostable Mode of operation of 555 timer.

    Output will remain high till capacitor charges, hence when capacitor is charged, the time period output pulse is:

    T = 1.1*R1*C

    This is the time for which the output pulse is high.

    If R1= 10k and C is 100 µf then T = 1.1 * 10000 * 0.0001 = 1.1 seconds

    Practical Implementation

    Components

    1. 555 Timer IC: The core of the circuit, which generates the pulse.
    2. R1 (10kΩ): Resistor that works with C2 to set the time duration of the output pulse.
    3. R2 (1kΩ): Resistor connected between the supply voltage and the trigger switch.
    4. C1 (0.01µF): A capacitor connected to pin 5, used for control voltage stabilization.
    5. C2 (100µF): Timing capacitor that, along with R2R2R2, determines the pulse width.
    6. R3 (100Ω): Current-limiting resistor for the LED.
    7. Green LED: Indicates the output pulse visually.
    8. Push Button Switch: Provides the trigger input to the circuit.

    Working

    • Initial State: When the circuit is powered on, the output at pin 3 of the 555 timer is initially LOW, and the LED is OFF.
    • Triggering the Circuit: When the push button switch is pressed, it momentarily connects pin 2 (TR, trigger pin) to ground. This causes the voltage at the trigger pin to drop below one-third of the supply voltage, which triggers the 555 timer.
    • Generating the Pulse: Once triggered, the 555 timer sets the output at pin 3 to HIGH, turning the Green LED ON. The capacitor C2 starts charging through resistor R2. The voltage across C2 increases exponentially.
    • Pulse Duration: The output remains high for a duration determined by the values of R1 and C2. This duration is calculated using the formula: T=1.1×R1×C2. During this time, the LED stays ON, indicating the output pulse.
    • End of Pulse: When the voltage across C2 reaches two-thirds of the supply voltage, the 555 timer resets, and the output at pin 3 goes low, turning off the LED. The circuit returns to its initial state, ready to generate another pulse when the trigger button connected at pin 2 is pressed again.

    Key Points

    • Monostable Mode: The circuit generates a single output pulse each time the trigger is activated.
    • Pulse Width Control: The pulse length is controlled by the timing components R1 and C2.
    • LED Indicator: The LED provides a visual indication of when the output pulse is active.

    This monostable circuit can be used in applications such as timers, delay circuits, and any situation where a precise pulse is required in response to a trigger input.

    555 Timer Bistable Mode

    555 Timer in Bistable operation Mode

    This circuit is the simplest one of all 3 modes of operation. In this circuit R2 is connected between pin 8 and pin 2 and push button 1 is connected between pin 2 and ground. When button 1 is pressed it will trigger a negative pulse at pin 2.

    Resistance R1 is connected between pin 8 and pin 4 (‘RESET’ pin) and push button 2 is connected between pin 4 and ground. When button 2 is pressed, it will provide a negative pulse at pin 4.

    When the circuit is turned ‘ON’, ‘RESET’ pin is ‘HIGH’ and potential at pin 2(negative input of lower comparator) is greater than potential at its +ve terminal hence its output is ‘LOW’.

    Hence nothing happens instantaneously in circuit when power is turned ‘ON’ and output at pin 3 is ‘LOW’.

    As soon as trigger pulse is applied at pin 2 when button is pressed negative input of lower comparator is shorted with ground and hence output of lower comparator turns ‘HIGH’ which ‘SETS’ the flip-flop i.e., Q is ‘HIGH’ and Q’ is ‘LOW’ and ultimately when Q’ passed through output buffer, output at pin 3 turns ‘HIGH’.

    It will remain ‘HIGH’ until S-R flip-flop ‘RESETS’ and it will reset only when pin 4 is pulled to potential ‘LOW’ that’s why we have  push button 2.

    As soon as button 2 is pressed S-R flip flop ‘RESETS’ and Q turns ‘LOW’, Q’ turns ‘HIGH’ and ultimately output at pin 3 turns ‘LOW’.

    If we don’t push button 2, output will remain ‘HIGH’. Hence this circuit is bistable mode on 555 timer IC because both output ‘HIGH’ and ‘LOW’ are stable outputs.

      Practical Implementation

      Components

      1. 555 Timer IC: This is the main component of the circuit.
      2. Resistors (R1, R2): Two 1kΩ resistors are used.
      3. Capacitor (C1): A 0.01µF capacitor is connected between pin 5 and GND.
      4. Resistor (R3): A 100Ω resistor connected in series with an LED.
      5. LED: A green LED.
      6. 5V Power Supply: The circuit is powered by a 5V supply.

      555 timer Bistable Operation Mode Practical Implementation

      Working

      • Initial State: When power is applied to the circuit, the 555 timer operates based on the initial conditions of its trigger and reset inputs.
      • Triggering: Pin 2 is used to detect the voltage level. When a low signal is detected at Pin 2, the output at Pin 3 changes state. In bistable mode, once the state is changed, it stays in that state until another trigger signal is detected.
      • LED Operation: The green LED connected to Pin 3 will turn ON or OFF depending on the output state of the 555 timer. 
      • Manual Reset: If Pin 4 (Reset) is pulled LOW, it will reset the 555 timer, turning the output (Pin 3) LOW regardless of the previous state.

      FAQ’S

      Why is 555 IC called a universal timer?

      The 555 timer IC is commonly referred to as the “universal timer” because of its widespread use and versatility in a wide range of electronic applications. 

      Why is IC 555 called a timer circuit?

      The IC 555 is called a because its primary application is to generate accurate time delays or intervals.

      What are 555 timers used for?

      The 555 timer IC can be used in electronic circuits for various timing and oscillator applications. It is used in various timers, pulse generators, lamp flashers, logic clocks, and oscillators.