Electronic – Capacitor In parallel with Battery

batteriescapacitor

I am making a small binary counter circuit which will toggle states of an RGB LED as a small design project to practice both design and PCB layout. My design will incorporate two CR2032 batteries in series to provide power to the circuit.

I have calculated that at times (when all three LEDs are on) the current will be at ~20mA.

I have been reading about putting a capacitor in parallel with the batteries very close to them in the circuit to help with some current pulses in the circuit. It seems that there is some controversy about doing this. I was wondering if anyone can advise if this would be a good idea and if so how to select a proper capacitance value.

Best Answer

If your objective is to provide a supply for fast transient loads the capacitors should be as close as possible to the loads. That's why pretty much every digital device has power supply bypass capacitors right at the power pins.

The link you have there was looking at the leakage through the capacitors, it doesn't quite matter where there are. Leakage through the capacitors is a parasitic load regardless. Those leakage currents are tiny compared to the LEDs you're driving. If your goal is to extend battery life when the circuit is sitting, that problem can be solved with a switch.