Electronics for Building Things · Lesson 9 · Components in Depth
The tiny energy buffer — and the one-capacitor habit that fixes flaky projects.
Capacitors are the component beginners under-use and pros sprinkle everywhere. They don't "do" something dramatic on their own — they steady things. Understanding them turns "my project randomly resets" from a mystery into a known fix.
A capacitor stores a small amount of electric charge and releases it quickly. Back to the water analogy: it's a little surge tank on the pipe. When pressure dips for an instant, the tank pushes water back to smooth it; when pressure spikes, it absorbs some. Capacitance is measured in farads, but you'll only ever see tiny fractions: microfarads (µF), nanofarads (nF), picofarads (pF).
| Type | Looks like | Polarity | Reading the value |
|---|---|---|---|
| Ceramic | Small disc / blob | None — fits either way | 3-digit code: 104 = 10 + 4 zeros = 100,000 pF = 0.1 µF |
| Electrolytic | Little cylinder ("soda can") | Polarized! stripe = −, longer leg = + | Printed directly, e.g. 10µF 25V |
Chips draw current in sudden bursts as they switch. Those bursts cause tiny dips in the supply
voltage that can make a microcontroller misbehave or reset. A decoupling
capacitor (also called a bypass cap) sits right next to a chip's power pin — between
+ and GND — acting as a local surge tank that supplies those bursts instantly.
See also: Glossary · Component field guide · Rules of thumb