Back to Khushaan Virk

Capacitance meters

Oct to Nov 2025

Two capacitance meters on different microcontrollers. A 555 timer oscillates at a frequency set by the capacitor under test, and the firmware counts pulses to work the capacitance back out.

The meter on a breadboard reading 10 nF on its LCD
MCUs
EFM8LB12F64 and STM32
Method
555 astable, f = 1.44 / ((R_A + 2·R_B)·C)
Range
1 nF to 1 µF
Capture
Pulse counting on a hardware timer input
Display
Four LCD modes
Extra
A 555 rebuilt from two LM393s, a NAND latch and a 2N3904