Back to homeTechnology · Secondary Year 3 · Change subject
Start for free
Secondary 3 · Technology
Technological components · Analogue electronics

Timers and the 555 Integrated Circuit

In Ximena's apartment building, the hallway light turns on when you press a button and, a few seconds later, turns itself off. Nobody turns it off and nobody counts the time. Who "measures" those seconds? Behind it is a very simple circuit: a capacitor that fills up little by little through a resistor. The 555 integrated circuit takes advantage of that phenomenon to control the rest of the device.

What Is a Timer?

A timer is a circuit that controls how long something lasts: it delays an output from turning on, keeps it on for a while, or turns it on and off repeatedly. It almost always uses a capacitor that charges or discharges through a resistor, and a circuit that monitors its voltage.

Everyday examples: the bathroom fan that keeps running for a few minutes, the hallway light that turns itself off, the microwave oven that stops when the time is up, the turn signal of a car that blinks.

There are two types of delay:

  • On-delay: when the command is received, the output waits and then turns on. Example: the motor of a conveyor belt that starts a few seconds after the button is pressed, to give a warning.

  • Off-delay: when the command is removed, the output stays on for a while and then turns off. Example: the bathroom fan or the stairwell light.

Timing diagrams of two delays: with on-delay the output rises late and falls together with the input; with off-delay the output rises together with the input and falls late On-delay input output delay Off-delay input output delay
Practice★☆☆Not started
Explain what a timer is within an electronic circuit and name two everyday appliances that contain one, stating what time duration each one controls.

Explain what a timer is within an electronic circuit and name two everyday appliances that contain one, stating what time duration each one controls.

Solve
Practice★☆☆Not started
Distinguish between an ON-delay timer and an OFF-delay timer, giving an example of the use of each type.

Distinguish between an ON-delay timer and an OFF-delay timer, giving an example of the use of each type.

Solve
Practice★★☆Not started
A dishwasher waits a few minutes before starting after closing the door (ON-delay), while the bathroom fan continues running for a while after turning off the light…

A dishwasher waits a few minutes before starting after closing the door (ON-delay), while the bathroom fan continues running for a while after turning off the light (OFF-delay). Draw or describe the two timelines (what the output does at each instant) and explain the difference between both delays.

You can do it on paper and send a photo with your answer.

Solve

Charging a Capacitor and the Time Constant

When you connect an empty capacitor to a battery through a resistor, it does not fill up all at once. At first the voltage difference between the battery and the capacitor is large, so a lot of current flows and the capacitor charges quickly. As it fills up, that difference decreases, the current drops, and charging slows down. That is why the curve is not a straight line: it rises quickly and then flattens out. In the end, the capacitor's voltage reaches the battery's voltage and the current is almost zero.

With a larger resistor, less current flows and the process takes longer.

Discharging is the opposite process: at first the voltage is at its maximum and drops quickly; then it drops more and more slowly.

Graph of voltage versus time for a capacitor: the charging curve rises quickly and flattens toward the final voltage; the discharging curve falls quickly and flattens toward zero V time V₀ τ 63 % 37 % charging discharging
Practice★☆☆Not started
A capacitor charges through a resistor. Explain why the charging is not instantaneous and what happens to the charging time if the resistance value is increased.

A capacitor charges through a resistor. Explain why the charging is not instantaneous and what happens to the charging time if the resistance value is increased.

Solve
Practice★☆☆Not started
The graph shows two processes involving a capacitor: in one it charges through a resistor and in the other it discharges. State which curve corresponds to each process…

The graph shows two processes involving a capacitor: in one it charges through a resistor and in the other it discharges. State which curve corresponds to each process and reason why the voltage does not vary in a straight line.

voltage time 9 V 0 curve 1 curve 2
Solve
Practice★★☆Not started
Describe how the current and voltage evolve during the charging of a capacitor through a resistor: why charging is fast at first and then slows down, and what value the…

Describe how the current and voltage evolve during the charging of a capacitor through a resistor: why charging is fast at first and then slows down, and what value the capacitor voltage reaches at the end of the process.

Solve

Using $\tau$ to Read Graphs and Calculate

The constant $\tau$ is a property of the circuit, not of the battery. Three ideas for reading a graph:

  1. Slower curve = larger $\tau$. With the same $C$, the curve that takes longer to rise has the larger $R$. It is not a matter of "the slope being stronger": a large $R$ limits the current.

  2. At $t = \tau$ the voltage is $63\,\%$ of the final value, never $50\,\%$. With a $9\ \text{V}$ battery that is about $5.7\ \text{V}$, not $4.5\ \text{V}$.

  3. $\tau$ can be read from the graph: it is the time at which the curve reaches $63\,\%$ of its final value, and from there you solve for $R = \tau/C$.

Look at two charges of the same capacitor with different resistors. Curve 1 reaches $63\,\%$ before curve 2:

Two charging curves of the same capacitor: curve 1 rises quickly and reaches 63 % in a short time τ₁; curve 2 rises more slowly and reaches 63 % in a longer time τ₂ V time V₀ 63 % τ₁ τ₂ curve 1 curve 2
Practice★☆☆Not started
The time constant of an RC circuit is $\tau = R \times C$. Without doing any calculations, reason what happens to $\tau$ and to the timer rhythm if the capacitance of…

The time constant of an RC circuit is $\tau = R \times C$. Without doing any calculations, reason what happens to $\tau$ and to the timer rhythm if the capacitance of the capacitor is doubled, and what happens if the resistance is doubled.

Solve
Practice★★☆Not started
An RC circuit has a resistor $R = 10\ \text{k}\Omega$ and a capacitor $C = 100\ \mu\text{F}$. Calculate the time constant $\tau = R \times C$ in seconds and reason what…

An RC circuit has a resistor $R = 10\ \text{k}\Omega$ and a capacitor $C = 100\ \mu\text{F}$. Calculate the time constant $\tau = R \times C$ in seconds and reason what type of delay this timer could be used for.

Solve
Practice★★★Not started
The attached graph shows the charging of the same capacitor with capacitance $C = 220\ \mu\text{F}$ through two different resistors ($R_1$ and $R_2$), powered at…

The attached graph shows the charging of the same capacitor with capacitance $C = 220\ \mu\text{F}$ through two different resistors ($R_1$ and $R_2$), powered at $9\ \text{V}$. A classmate claims that curve 1 corresponds to the larger resistor "because it rises with a steeper slope since it has a stronger resistor", and also that after $\tau_1$ seconds the capacitor has already reached half of its final voltage (4.5 V).

  1. a) Reasonably refute both statements based on the physical definition of the time constant ($\tau = R \times C$) and the interpretation of the graph.
  2. b) If it is verified from the graph that $\tau_1 = 2.2\ \text{s}$ and that $\tau_2$ is exactly double, calculate the ohmic value of $R_1$ and $R_2$.
  3. c) If this circuit is used to trigger a transistor that switches when the voltage across the capacitor reaches exactly $4.5\ \text{V}$, estimate from the graph which of the two resistors will delay switching on more, and determine graphically at what approximate fraction of $\tau$ switching occurs.
voltage time 9 V 4.5 V τ₁ τ₂ curve 1 curve 2
Solve

Discharging: The Capacitor as a Time Reserve

A charged capacitor stores energy and can deliver it for a while. As it discharges, it maintains a voltage that keeps dropping. If that voltage powers something (a transistor, an LED, a microcontroller), that device will keep working until the voltage falls below a certain value. This is how an off-delay is achieved, like the one on the bathroom fan.

For calculations, this expression is used (just apply it, without deriving it):

$$V(t) = V_0 \cdot e^{-t/\tau}$$

And a useful consequence: the voltage falls to half at $t \approx 0.69\,\tau$.

Practice★★☆Not started
A bathroom extractor fan keeps running for a few minutes after turning off the light (OFF-delay). Explain what role a charged capacitor can play in this behavior and…

A bathroom extractor fan keeps running for a few minutes after turning off the light (OFF-delay). Explain what role a charged capacitor can play in this behavior and what would change if its capacitance were doubled.

Solve
Practice★★★Not started
To prevent a microcontroller from shutting down abruptly due to micro-outages in the mains, a decoupling capacitor of $C = 2,200\ \mu\text{F}$ is placed in parallel with…

To prevent a microcontroller from shutting down abruptly due to micro-outages in the mains, a decoupling capacitor of $C = 2,200\ \mu\text{F}$ is placed in parallel with its $5\ \text{V}$ power supply, along with an indicator LED in series with a resistor $R = 1\ \text{k}\Omega$. The microcontroller enters an emergency stop if the voltage drops below $2.5\ \text{V}$.

  1. a) A student calculates $\tau = R \times C = 2.2\ \text{s}$ and states: "Since $\tau = 2.2\ \text{s}$, the LED will turn off completely and the voltage will drop to zero exactly $2.2\ \text{s}$ after the power cut". Refute their claim by demonstrating what theoretical voltage remains in the capacitor after $1\tau$ has elapsed and how many seconds are required to consider the discharge $99\ %$ complete ($5\tau$).
  2. b) Knowing that the voltage during discharge follows $V(t) = V_0 \times e^{-t/\tau}$ and that it drops to $50\ %$ ($2.5\ \text{V}$) when $t \approx 0.69 \times \tau$, determine for exactly how long the capacitor will keep the microcontroller safe before it enters emergency stop.
  3. c) Predict what will happen to the discharge rate when the capacitor voltage falls below the threshold voltage of the LED ($V_d \approx 1.8\ \text{V}$), taking into account that the diode stops conducting below that value.
Solve

The 555 Integrated Circuit

The 555 is an eight-pin integrated circuit, inexpensive and widely used, designed for timing. It monitors the voltage of an external capacitor and, depending on that voltage, sets its output to high or low.

555 integrated circuit with eight pins: 1 GND, 2 trigger, 3 output, 4 reset on the left; 5 control, 6 threshold, 7 discharge, 8 V+ on the right 555 timer 1 2 3 4 8 7 6 5 GND trigger output reset V+ discharge threshold control

You do not need to know its internal circuit. It is enough to know that:

  • it compares the capacitor's voltage with two references: $\tfrac{1}{3}V_{cc}$ and $\tfrac{2}{3}V_{cc}$;

  • when the voltage crosses one of them, it changes its output (pin 3) and, depending on the setup, charges or discharges the capacitor;

  • the time is always set by the external $R$ and $C$, not by the chip.

It has two basic setups: monostable (a single pulse) and astable (repeating pulses).

Practice★☆☆Not started
The 555 is a timer in the form of an integrated circuit. Explain what an integrated circuit is and what each of the two basic 555 configurations does: astable and…

The 555 is a timer in the form of an integrated circuit. Explain what an integrated circuit is and what each of the two basic 555 configurations does: astable and monostable.

Solve
Practice★★★Not started
In the technology workshop, a 6-second timer is designed to actuate an irrigation solenoid valve powered by a battery whose voltage fluctuates between $12\ \text{V}$…

In the technology workshop, a 6-second timer is designed to actuate an irrigation solenoid valve powered by a battery whose voltage fluctuates between $12\ \text{V}$ (fully charged) and $9\ \text{V}$ (discharged). Two students debate whether to build it using a bistable circuit with discrete bipolar transistors or using a 555 integrated circuit in monostable mode.

  1. a) Justify why the setup with discrete transistors suffers large drifts in the programmed time if the outside temperature in the garden changes or if a transistor is replaced with another one of the same model (consider the gain $\beta$ and the leakage current of the base-emitter junction).
  2. b) Analyse the internal voltage divider of the 555 (three identical $5\ \text{k}\Omega$ resistors) and demonstrate mathematically why the voltage at its switching thresholds ($\%V_{cc}$) makes the timing duration completely independent of whether the battery drops from $12\ \text{V}$ to $9\ \text{V}$.
  3. c) If the operator needs to double the irrigation time without buying a new capacitor of higher capacitance, deduce what modification must be made to the external timing network and reason whether it would alter the stability of the system.
Solve

Monostable Setup: A Single Pulse

The pulse duration is:

$$t = 1.1 \cdot R \cdot C$$

Full cycle: rest (output low) → trigger → pulse (output high, the capacitor charges) → on reaching $\tfrac{2}{3}V_{cc}$ the 555 discharges the capacitor and the output returns to rest.

Practice★☆☆Not started
In monostable configuration, the 555 outputs a single pulse of fixed duration when it receives a trigger signal. Explain the complete cycle of a staircase light set up…

In monostable configuration, the 555 outputs a single pulse of fixed duration when it receives a trigger signal. Explain the complete cycle of a staircase light set up in this way: what happens when the button is pressed and what happens when the time expires.

Solve
Practice★★☆Not started
A buzzer with a 555 monostable sounds for 5 seconds even if the push button is released instantly. Describe the complete cycle (trigger, pulse and return to rest) and…

A buzzer with a 555 monostable sounds for 5 seconds even if the push button is released instantly. Describe the complete cycle (trigger, pulse and return to rest) and explain why the circuit "ignores" the push button during those 5 seconds.

Solve
Practice★★★Not started
The owners' association of a 5-storey building is considering replacing the staircase lighting (10 lamps of $20\ \text{W}$ each), currently controlled by conventional…

The owners' association of a 5-storey building is considering replacing the staircase lighting (10 lamps of $20\ \text{W}$ each), currently controlled by conventional manual two-way switches, with a timed system.

  1. a) The lamps are left on by mistake for an average of 5 hours a day. If they are replaced with a monostable circuit with pushbuttons that turns off the light after 2 minutes, and the staircase is used 40 times a day, calculate the daily energy consumption of both systems (in $\text{Wh}$) and the percentage of savings achieved.
  2. b) A neighbor suggests installing an astable circuit instead of a monostable one "so that the lights turn on automatically without having to press anything". Refute their proposal technically by justifying what unwanted behavior an astable would cause in this case.
  3. c) Predict what functional problem a person with reduced mobility would experience when climbing the stairs if the monostable circuit is not of the "retriggerable" type compared to one that is, and explain what this difference consists of.
Solve

On-Delay with a Capacitor and Transistor

To make a motor start after the switch is closed, an RC circuit is placed on the base of an NPN transistor that activates a relay.

  1. When the switch is closed, the capacitor is empty and behaves almost like a short circuit: the voltage at the base is almost $0\ \text{V}$, the transistor does not conduct, and the relay is not activated.

  2. Through $R$, the capacitor charges little by little and the base voltage rises following the charging curve.

  3. When that voltage reaches about $0.7\ \text{V}$, the transistor starts to conduct, the relay is activated, and the motor starts.

The delay depends on $R$ and $C$ (and on the supply voltage): with a larger $R$ or $C$ the motor takes longer to start. A delay like this prevents abrupt starts and protects the gears.

Practice★★★Not started
The direct current motor of an industrial model ramp breaks down frequently because the jerk from the starting torque damages the reduction gears. To solve this, you…

The direct current motor of an industrial model ramp breaks down frequently because the jerk from the starting torque damages the reduction gears. To solve this, you need to design an on-delay timer circuit using an $RC$ circuit and an NPN transistor that energizes a control relay.

  1. a) Explain the sequence of operation from the moment the user switches on the main switch: why does the transistor base not receive sufficient current immediately, and how does the voltage evolve until switching occurs?
  2. b) If you use a capacitor $C = 100\ \mu\text{F}$ and obtain a delay of $3.5\ \text{s}$ with a fixed resistor of $47\ \text{k}\Omega$, calculate the value the resistor should have if the safety department requires increasing the delay to $7\ \text{s}$.
  3. c) Design a modification to the previous circuit that allows the operator to continuously calibrate the delay time between $2\ \text{s}$ and $10\ \text{s}$, indicating what specific commercial component you would add and what risk the transistor would face if said component were set to $0\ \Omega$ without a series protection resistor.
Solve

Astable Setup: A Pulse Train

If you connect an LED with its resistor to the output, it turns on and off repeatedly. Applications: bicycle blinkers, turn signals, warning lights, buzzers, and clock signals.

Square wave of an astable showing the high time, the low time, and the period T of one complete cycle period T high low time

In the astable, two resistors ($R_A$ and $R_B$) and one capacitor ($C$) are involved. The formulas (just use them, without deriving them):

$$t_{\text{high}} = 0.7\,(R_A + R_B)\,C \qquad t_{\text{low}} = 0.7\,R_B\,C \qquad T = 0.7\,(R_A + 2R_B)\,C$$

The capacitor charges through $R_A + R_B$ and discharges only through $R_B$; that is why the high time is longer than the low time.

Practice★☆☆Not started
In astable configuration, the 555 has no stable state: its output continuously changes on its own. Explain what is observed in an LED connected to that output and give…

In astable configuration, the 555 has no stable state: its output continuously changes on its own. Explain what is observed in an LED connected to that output and give two applications of this behavior.

Solve
Practice★★☆Not started
The diagram shows a flasher circuit using the 555 in astable configuration: the output turns the LED on and off at a rate set by two resistors and a capacitor. One of…

The diagram shows a flasher circuit using the 555 in astable configuration: the output turns the LED on and off at a rate set by two resistors and a capacitor. One of the components is marked with ?. Identify which one it is and explain what would happen to the flashing rate if its value were twice as large.

9 V R1 R2 C = ? 555 7 6 and 2 8 1 3 R3 LED
Solve
Practice★★☆Not started
A car indicator is an astable circuit. Explain why the flashing rate depends on the timing components, and reason why, when one of the bulbs blows, the indicator usually…

A car indicator is an astable circuit. Explain why the flashing rate depends on the timing components, and reason why, when one of the bulbs blows, the indicator usually flashes faster (what has changed in the circuit).

Solve

High and Low Times; How to Design an Astable

Since $t_{\text{high}} = 0.7(R_A+R_B)C$ and $t_{\text{low}} = 0.7R_BC$, it is always true that the high time is longer than the low time: the difference is $0.7R_AC$.

  • If $R_A$ is very small compared with $R_B$, both times are almost equal (an almost symmetric wave, duty cycle close to $50\,\%$).

  • If $R_A$ is much larger than $R_B$, the LED stays on much longer than it stays off.

To design a frequency, start from $T = 1/f$, choose $C$ and $R_A$, and solve for $R_B$:

$$R_B = \dfrac{1}{2}\left(\dfrac{T}{0.7\,C} - R_A\right)$$
Practice★★☆Not started
In an astable circuit, the LED is on for a certain time and off for another. Explain the relationship between these two time durations and the timing resistors, and how…

In an astable circuit, the LED is on for a certain time and off for another. Explain the relationship between these two time durations and the timing resistors, and how you would achieve a flashing effect where the ON-time is much longer than the OFF-time.

Solve
Practice★★★Not started
You need to design the control module for the warning light signal of a school pedestrian crossing. Two lights are required to flash alternately and uninterruptedly at a…

You need to design the control module for the warning light signal of a school pedestrian crossing. Two lights are required to flash alternately and uninterruptedly at a frequency of exactly $1\ \text{Hz}$ (one complete cycle per second).

  1. a) Justify whether you should configure the 555 integrated circuit in monostable or astable mode.
  2. b) If you have an electrolytic capacitor with $C = 10\ \mu\text{F}$ and you set $R_A = 1\ \text{k}\Omega$ by design, calculate the theoretical value of $R_B$ knowing that the oscillation period is given by $T \approx 0.7 \times (R_A + 2R_B) \times C$.
  3. c) After assembling it on the breadboard, you find that the circuit oscillates at twice the expected speed ($2\ \text{Hz}$). Predict what practical adjustment you should make to the passive components (without changing the supply voltage) to correct the offset and achieve exact calibration.
Solve

Chaining Two 555s and Troubleshooting

Two 555s can be chained: the output of one controls the other. Pin 4 (reset) of the astable is active-low: if it is low, the astable stops; if it is high, it runs.

The LED Doesn't Blink? Diagnosis with a Multimeter

If an astable ends up with the LED always on, you need to check the $RC$ network (pins 2, 6, and 7). Common hypotheses:

  • the capacitor is shorted or open, or connected backward if it is electrolytic;

  • a connection between pins 6 and 2 is missing, or pin 7 (discharge) is disconnected.

Multimeter protocol in voltmeter mode (always with the circuit powered):

  1. Measure $V_{cc}$ at pin 8 against GND: it should be the supply voltage. If not, the problem is the power supply.

  2. Check that pin 4 (reset) is high.

  3. Measure the capacitor voltage (pins 2 and 6): in normal operation it oscillates between $\tfrac{1}{3}V_{cc}$ and $\tfrac{2}{3}V_{cc}$, so the reading changes slowly. If it is almost zero or almost $V_{cc}$ and does not change, the RC network is not charging or discharging.

  4. Check the continuity of pins 7 and 6, and replace the capacitor with a good one.

Practice★★★Not started
A security system for a parking barrier cascades two 555 integrated circuits: the first in a monostable configuration ($T_1 = 8\ \text{s}$) and the second in an astable…

A security system for a parking barrier cascades two 555 integrated circuits: the first in a monostable configuration ($T_1 = 8\ \text{s}$) and the second in an astable configuration ($f = 2\ \text{Hz}$, with a 50% duty cycle). The output (pin 3) of the monostable is connected directly to the reset pin (pin 4, active-low reset) of the astable, whose output powers an alarm buzzer.

  1. a) Plot or precisely describe the timing diagram of the system between $t = 0\ \text{s}$ and $t = 12\ \text{s}$, assuming that at $t = 1\ \text{s}$ a short trigger pulse is received at the monostable. Include the trigger signal, the monostable output, and the signal received by the buzzer.
  2. b) Deduce how many audible beeps the alarm will emit in total after said trigger pulse.
  3. c) Reasonably predict what would happen if a faulty sensor keeps the monostable trigger pin connected to 0 V indefinitely: will the alarm turn off after the 8 seconds set by its $RC$ network have elapsed? Justify your prediction by analysing the internal operation of the 555's TRIGGER input.
Solve
Practice★★★Not started
You have assembled an astable circuit with a 555 timer on a breadboard to make an LED oscillate at 1 Hz, but when you connect the power supply, the LED stays permanently…

You have assembled an astable circuit with a 555 timer on a breadboard to make an LED oscillate at 1 Hz, but when you connect the power supply, the LED stays permanently lit without ever blinking.

  1. a) Knowing that the 555 switches by comparing the capacitor voltage between $\frac{1}{3}V_{cc}$ and $\frac{2}{3}V_{cc}$, formulate two different fault hypotheses in the $RC$ network (at pins 2, 6, or 7) that would prevent the capacitor from charging or discharging periodically.
  2. b) Design a step-by-step diagnostic protocol using only a multimeter in voltmeter mode to confirm which of the two hypotheses is causing the failure, indicating what voltage reading you expect in each case.
  3. c) When measuring with an oscilloscope, you discover that the output (pin 3) switches correctly between 0 V and 9 V, but it does so at $2\ \text{kHz}$. Explain why you perceived the LED as "always on" and deduce what mistake you made when choosing the timing capacitor.
Solve

Summary

Go back to the beginning: the hallway light in Ximena's building turns itself off because a monostable 555 uses a capacitor that takes a fixed time to charge through a resistor.

See all the exercises in this section