Electronics Basics

Capacitors: the parts that store, smooth, and release energy

Capacitors are one of the most common parts in electronics. They can smooth noisy power, hold a small charge, filter signals, stabilize circuits, and help bridge the gap between messy real-world power and the clean logic that microcontrollers expect.

Store Capacitors hold a small charge and release it quickly
Smooth They help with noisy rails, dips, and fast current changes
Check polarity Electrolytics can fail if installed backward
Respect ratings Match voltage rating, capacitance, and placement to the circuit
Capacitors are useful buffers, but polarity and voltage rating still matter.

The simple idea

A capacitor stores electrical energy for a short time. It is not a battery, but it can act like a tiny local energy reserve inside a circuit.

Simple mental model: a capacitor is like a tiny rechargeable buffer. It can charge and discharge very quickly, but it does not store much energy compared with a battery. In a circuit, it helps when the input voltage briefly dips, when a device needs a quick burst of current, or when power needs to be smoothed out.

What it stores

A capacitor stores energy in an electric field between two conductive plates separated by an insulating material.

What it does in practice

In real circuits, capacitors are often used for power smoothing, filtering, timing, coupling signals, and keeping chips stable during fast current changes.

Where you see capacitors

Capacitors are everywhere once you start opening electronics, building Arduino projects, repairing vintage gear, or designing PCBs.

01
Across power rails
Used between positive voltage and ground to smooth power and reduce small voltage dips.
02
Near microcontrollers and ICs
Small ceramic capacitors help stabilize chips when they switch quickly and draw short bursts of current.
03
After rectifiers
Larger electrolytic capacitors help smooth pulsing DC after AC is converted through a bridge rectifier.
04
Audio and signal circuits
Capacitors can block DC while allowing changing signals to pass, depending on the circuit design.
05
Motor and relay projects
Capacitors can help reduce noise, absorb short disturbances, or support circuits with sudden current demand.

Capacitance: what the value means

Capacitance is measured in farads, but most hobby electronics uses much smaller values: microfarads, nanofarads, and picofarads.

µF

Microfarads are common for electrolytic capacitors, power smoothing, and bulk storage.

nF

Nanofarads are common in filtering, timing, and general small-signal circuits.

pF

Picofarads are common in high-frequency, oscillator, radio, and precision signal applications.

Common beginner pattern: large capacitor for bulk smoothing, small ceramic capacitor near the chip for fast local stability.

Polarity matters

Some capacitors can be connected either way. Others have a required positive and negative side. This is one of the easiest ways to damage a circuit.

Electrolytic capacitors

Usually polarized. The negative side is often marked with a stripe. The longer lead is often positive on new through-hole parts, but always check the markings.

Ceramic capacitors

Usually not polarized. These are common for small values and are often placed near chips between VCC and ground.

Safety rule: do not reverse a polarized capacitor. It can heat up, leak, pop, or fail violently. This is especially important with electrolytic capacitors.

Related guide: Read Power Rails, Ground, and Polarity before placing polarized capacitors in a circuit.

Voltage rating

A capacitor has both a capacitance value and a voltage rating. The voltage rating tells you the maximum voltage the capacitor is designed to handle.

Practical rule: choose a capacitor with a voltage rating higher than the voltage it will see in the circuit. Do not use a 10 V capacitor on a 12 V rail.

For example, on a 5 V Arduino or ESP32 circuit, a capacitor rated for 10 V, 16 V, 25 V, or higher is usually fine. On a 12 V rail, use a rating safely above 12 V, such as 16 V, 25 V, or higher depending on the circuit.

Capacitors on power rails

One of the most useful beginner applications is placing a capacitor between positive voltage and ground.

+5V rail  ----||----  GND
              capacitor

This is often called a decoupling or bypass capacitor when it is used near a chip. The goal is to give the chip a small local reserve of energy and reduce power noise.

Small capacitor near IC

A common value is 0.1 µF ceramic placed close to the power pin of a microcontroller, logic chip, sensor, or other IC.

Larger capacitor on the rail

Larger values like 10 µF, 47 µF, 100 µF, or more may be used for bulk smoothing, depending on the load and power supply behavior.

Capacitors after a rectifier

When AC is converted to DC with a bridge rectifier, the output is not automatically clean, perfectly flat DC. A capacitor can help smooth the pulsing waveform.

AC input → bridge rectifier → smoothing capacitor → DC load

This shows up in power supply work, vintage electronics repair, small transformer circuits, LED projects, and custom PCB designs.

Project connection: This is the same kind of idea used when designing simple rectifier-and-capacitor circuits in KiCad, then turning them into physical boards through services like JLCPCB.

Why capacitors can still be dangerous

Capacitors can hold charge after power is disconnected. Small low-voltage capacitors in Arduino-style circuits are usually not a major hazard, but larger capacitors in power supplies, amplifiers, CRTs, microwaves, motor drives, and high-voltage equipment can be dangerous.

Do not assume a capacitor is discharged just because the device is unplugged. Large capacitors can retain energy and shock you or damage tools.

Related guide: Read The Puff of White Smoke before experimenting with unknown capacitors, power supplies, or salvaged electronics.

Reading capacitor markings

Capacitor labels vary by type. Some are obvious. Others use compact number codes.

Electrolytic labels

Usually printed directly, such as 100µF 25V. The stripe usually marks the negative side.

Ceramic number codes

A marking like 104 usually means 100,000 pF, which equals 100 nF or 0.1 µF.

104 = 10 + four zeros pF
104 = 100000 pF
100000 pF = 100 nF = 0.1 µF

Common beginner mistakes

01
Using too low of a voltage rating
The capacitor may fail if the circuit voltage exceeds the capacitor rating.
02
Reversing electrolytic polarity
The capacitor can heat, leak, pop, or destroy itself.
03
Confusing capacitance units
0.1 µF, 100 nF, and 100,000 pF are the same value.
04
Putting the capacitor too far from the chip
Decoupling capacitors work best when physically close to the IC power pins.
05
Assuming capacitors fix bad wiring
Capacitors help, but they do not replace correct grounding, proper power supply sizing, or clean wiring.

Useful values to keep around

For beginner electronics, it helps to have a small assortment instead of buying one value at a time.

0.1 µF ceramic

Very common for decoupling near chips and modules.

1 µF to 10 µF

Useful for small filtering, sensor modules, and general-purpose smoothing.

47 µF to 1000 µF

Useful for bulk power smoothing, LED strips, motors, and larger transient loads.

How to test a capacitor

A multimeter can help, but the exact method depends on whether your meter has a capacitance mode.

With capacitance mode

Remove the capacitor from the circuit if possible, discharge it safely, then measure it with the capacitance setting.

Without capacitance mode

You can still check for obvious shorts or open behavior, but the result is less complete. A bad capacitor may not always be obvious with a basic resistance test.

Related guide: Read Multimeter Basics before testing components in unknown circuits.

How this connects to real projects

Capacitors are not just textbook parts. They show up in physical builds where power is messy: Arduino projects, ESP32 sensors, vintage electronics, model train wiring, small PCBs, relays, LED houses, computer power supplies, audio circuits, and repair work.

Build mindset: when a circuit resets randomly, flickers, buzzes, reads unstable sensor values, or behaves differently when a motor turns on, start thinking about power, grounding, wiring, and capacitors together.

Final idea

A capacitor is a small energy buffer. It does not magically fix every circuit, but it is one of the most important parts for making real electronics stable. Learn polarity, voltage rating, capacitance value, and placement, then capacitors become much less mysterious.

Back to top LEDs and resistors Power rails Back to guides