Skip to content

Capacitors

How a capacitor stores and releases energy, how it compares to a battery, which capacitors are polarized, and what charging and discharging look like.

Step 7 of 8 in Part 4: Capacitors

← Workshop 2 lessons
All lessons in Workshop 2

Part 1: Getting started

  1. 1 Welcome and what you'll need
  2. 2 Review: Workshop 1 basics

Part 2: Potentiometers

  1. 3 Potentiometers
  2. 3.1 Task 1: Potentiometer circuit

Part 3: Push buttons

  1. 4 Push buttons
  2. 4.1 Task 2: Button circuit

Part 4: Capacitors

  1. 5 Capacitors
  2. 5.1 Task 3: Capacitor circuit

An assortment of capacitors in different shapes, sizes and colors

What is a capacitor?

A capacitor is a part that stores electrical energy, a bit like a battery. Inside, it has two metal plates with an insulator between them: a material that stops electricity from passing straight through.

Like a battery, but different

Unlike a battery, a capacitor can charge and discharge very quickly. It stores much less energy than a battery, but it can deliver that energy much faster.

Battery pack Capacitor bank
A phone power bank A large capacitor bank at an electrical substation
Stores lots of energy and gives it out slowly and steadily. Stores less energy, but delivers it quickly. Huge ones like this help keep the power grid steady.

Because they react so fast, capacitors are used to give a circuit short-term backup power and to smooth out its voltage. Your circuits will use a much smaller capacitor, but the idea is the same.

Polarization

Some capacitors are polarized and some are not, depending on how they're made.

  • Ceramic capacitors are not polarized. Like a resistor, they work in either direction.
  • Aluminum electrolytic capacitors are polarized. Like an LED, they must be placed in the right direction.

Circuit symbols: a ceramic capacitor is two straight parallel lines with no direction; an aluminum electrolytic capacitor has one straight and one curved line, marked + and −

You'll use a ceramic capacitor in this workshop, so you don't need to worry about its direction.

A small orange ceramic disc capacitor with two legs

Charging and discharging

Charging: when a capacitor is connected to a power source, it fills up with energy until its voltage matches the power source. It charges quickly at first, then more and more slowly as it gets close to full.

Graph of a capacitor's voltage over time while charging: it rises quickly at first, then levels off

Discharging: when the power source is removed, the capacitor releases its stored energy, letting current flow through the rest of the circuit. Its voltage drops quickly at first, then more slowly.

Graph of a capacitor's voltage over time while discharging: it falls quickly at first, then tails off toward zero

Two ways to picture it

A pull-back toy car. Pulling the car back stores energy, like a capacitor charging. Letting go releases that energy and the car drives off, like a capacitor discharging. The farther you pull it back, the farther it goes.

A bucket in a river. Holding a bucket in the water slowly fills it, like a capacitor charging. When it's full, the capacitor is fully charged. Pouring the bucket out is like the capacitor discharging.