Build a DIY Capacitance and ESR Meter for Testing Electrolytic Capacitors
Electrolytic capacitors fail quietly — a capacitor can measure close to its rated capacitance on a basic multimeter's capacitance range while its equivalent series resistance (ESR) has crept up far enough to cause ripple, instability, or outright failure in the circuit it's sitting in. This is the single most common fault in aging power supplies, CRT monitors, and anything with a switching regulator, and a general-purpose multimeter's capacitance function simply doesn't measure ESR at all. This project builds a dedicated capacitance and ESR meter around a purpose-built open-source firmware (the widely-used ATmega-based transistor/component tester design, flashed to measure both capacitance and in-circuit-safe ESR) rather than designing the measurement circuit from scratch — the value here is in building and calibrating a reliable bench tool, not reinventing a well-solved measurement problem.
Why ESR Matters More Than Capacitance Alone
A capacitor's ESR is the resistive loss inside the component that shows up as heat and ripple under AC load — a brand-new 1000µF electrolytic might have an ESR of well under 1Ω, while the same capacitor after years of thermal cycling can rise to several ohms while still reading close to its rated capacitance on a simple LC meter. High ESR specifically causes symptoms that are maddening to diagnose by capacitance alone: switching supply instability, audio hum, intermittent boot failures, and CRT/monitor picture issues are all classic high-ESR symptoms in circuits that test "fine" on capacitance alone. A combined meter that reads both values side by side turns capacitor triage from guesswork into a five-second test.
Core Components
PartRole ATmega328 or ATmega644/1284 microcontrollerRuns the open-source tester firmware, handles ADC sampling and display output 16x2 character LCD or small graphic OLEDDisplays capacitance, ESR, and (as a bonus of this firmware family) basic component identification for diodes, transistors, and resistors Precision reference resistors (0.1% or better)Calibration reference — measurement accuracy is only as good as these references Test probe sockets or a ZIF socketComponent connection point; a ZIF socket avoids wear on spring contacts from repeated insertion 9V battery or regulated bench supplyPower source — keeping this meter battery-powered and isolated avoids ground loop issues when testing capacitors still mounted in a powered-down circuitAssembly Approach
Building from a well-documented open-source design (searching for "AVR transistor tester" or "component tester" firmware turns up several actively maintained variants with full schematics and bill of materials) means the circuit design and firmware are already solved and tested by a large user base — your job is sourcing matching parts, soldering a clean board, and calibrating it correctly. A perfboard build works fine for a bench instrument that isn't moving around; if you want a tidier result, a few of these designs have corresponding PCB layouts available that you can have fabricated or, for a simpler version, hand-route and mill on a desktop CNC router using isolation routing for a one-off single-sided board.
Calibration
Calibration against known-precision reference resistors and capacitors is what separates a meter you can trust from one that just displays plausible-looking numbers. Most of these firmware builds include a self-calibration routine run with the test terminals open and shorted at power-up, which compensates for the specific ADC offsets and reference voltage of your particular build — skipping this step is the most common reason a freshly-built meter reads consistently wrong by a fixed offset. After self-calibration, verify against a few known-value reference capacitors and resistors across the measurement range you care about (electrolytics in the 10µF to 2200µF range cover most repair work) and note any remaining systematic error rather than assuming the self-cal alone guarantees accuracy.
Enclosure
A simple laser-cut or 3D-printed enclosure with a cutout for the LCD/OLED window and the test socket keeps the board protected on the bench without adding much build time. Leave the 9V battery compartment accessible from outside the case — this is a tool that gets used in short bursts over months or years, and a battery that requires disassembling the whole case to replace is a design mistake you'll regret the first time it goes flat mid-repair.
Safety Notes
Always discharge a capacitor fully before testing it, especially anything pulled from a power supply or CRT circuit where capacitors can hold a dangerous charge long after the device is unplugged — a capacitor discharge tool (a resistor across insulated probes, or a purpose-built discharge pen) should be standard practice before any capacitor ever touches your test leads. Never test a capacitor while it's still connected in a live, powered circuit; this meter is designed for isolated component testing, not in-circuit measurement under power.
Once built and calibrated, this meter earns its place on the bench quickly — capacitor-related failures are common enough in repair work that having a fast, reliable way to separate "this capacitor is fine" from "this is your actual problem" saves far more time than the build itself cost.