Decoupling and Bulk Capacitors: the short answer
Digital chips draw current in short, sharp pulses every time their transistors switch. An ESP32 can jump from about 20 mA to over 300 mA in microseconds when its Wi-Fi radio transmits.
- Level
- Intermediate
- Time
- About 6 min
- Topic
- Passive components
Place decoupling and bulk capacitors so microcontrollers, sensors and radios run without random resets and noisy readings.
Before this: Capacitor Types and Markings, RC Filters and Time Constants
Digital chips draw current in short, sharp pulses every time their transistors switch. An ESP32 can jump from about 20 mA to over 300 mA in microseconds when its Wi-Fi radio transmits. The wires and traces from the regulator have inductance, so they cannot deliver that current instantly, and the supply at the chip dips. A dip of a few hundred millivolts can reset the chip, corrupt a reading or upset the radio.
Decoupling capacitors fix this by storing charge right next to the chip. The standard pattern is one 100 nF ceramic capacitor at every power pin, placed as close as possible, with short connections to the pin and to ground. Small ceramics react fastest because their own inductance is low. Then add bulk capacitance where the power enters the board, typically 10 µF to 100 µF, which supplies the longer bursts the small capacitors cannot. Modules such as ESP32 dev boards already include some, but long breadboard wires and jumpers undo much of the benefit.
Ceramic capacitors lose capacitance when a DC voltage is applied, an effect called DC bias. A 10 µF X5R ceramic rated 6.3 V may give only 3 to 5 µF at 5 V. Choose higher-voltage or larger-case parts when the value matters, and prefer X5R or X7R dielectrics over Y5V, which can lose most of its capacitance with temperature and voltage.
Why a chip needs a local reserve
A digital chip draws current in sharp bursts each time its outputs switch. The supply wiring has inductance, so it cannot deliver those bursts instantly, and the voltage at the chip dips. A capacitor right next to the supply pins supplies the burst from a short, low-inductance path.
The usual part is a 100 nF ceramic capacitor, one per supply pin, placed as close to the pin as possible with short traces to the pin and to ground.
Bulk and local work together
A larger capacitor of 10 to 100 µF, called bulk, covers slower changes in load, such as a motor or a radio starting. The small ceramic handles the fast edges. Both are needed because each capacitor has a range of frequencies where it is effective; above that, its own inductance dominates.
On a breadboard, the long jumper leads add inductance, so place the capacitor directly across the chip's power pins rather than at the end of the rails.
Signs that it is missing
Random resets, a sensor that reads noisily only when a motor runs, and a radio that drops packets when it transmits are classic signs. Look at the supply on an oscilloscope with a short ground lead, and you will often see spikes or dips right at the faults.
- Putting the capacitor far from the pins, so the trace inductance cancels the benefit.
- Using only one large electrolytic and no small ceramic.
- Measuring the supply with a long ground lead and seeing false noise.
- Xc = 1 ÷ (2πfC)
- why small ceramics short out fast noise
Reactance falls as frequency rises
Work it with your own numbers: Capacitive reactance
Practise this lesson with Maker
The explanation above is free for everyone. The practice for Intermediate lessons in every domain are part of the Maker plan at ₹499 a month, and Pro includes them too.
With Maker you also get: a worked example, a hands-on task, a 3-question check.
