All lessons in Workshop 2
Part 1: Getting started
Part 2: Potentiometers
Part 3: Push buttons
Part 4: Capacitors
- 5 Capacitors
- 5.1 Task 3: Capacitor circuit
In this final challenge, you'll watch a capacitor charge and discharge, using an LED to show when energy is flowing. It brings together everything from this workshop: capacitors, LEDs, resistors, a potentiometer and buttons.
Assignment
Build the circuit below using a capacitor, a resistor, a potentiometer, two push buttons and an LED.
- The right button connects the battery to the capacitor, to charge it.
- The left button connects the charged capacitor to the LED, resistor and potentiometer, to discharge it.

Check your circuit
Before you plug in the battery holder, check:
- The right button sits between the + rail and the capacitor
- The left button sits between the capacitor and the LED
- The LED, resistor and potentiometer are in series, ending on the − rail
- The LED's longer leg is on the side toward the capacitor
Then plug in the batteries:
- Press and release the right button to charge the capacitor
- Press the left button: the LED flashes or glows, then fades
- Turning the potentiometer changes how bright the LED is and how fast it fades
Why does this work?¶
Think about it
- When you pressed the right button, what happened? Did the LED light?
- When you let go and pressed the left button, what happened next?
- Pressing the left button creates a new circuit. What's in it, and where is its energy coming from?
Troubleshooting¶
LED doesn't light up?
- Check the battery or power source.
- Make sure the LED is connected the right way: polarity matters!
- Double-check your connections on the breadboard, and confirm your resistor and capacitor values.
LED is very dim?
- Make sure the resistor isn't too large, and turn the potentiometer down.
- Check for loose connections.
- Check your resistance and capacitor values again.
- Look for short circuits.
Great work: you've finished Workshop 2!