Arm Mbed OS support forum

How to add Capacitors to Raspberry Pi

My goal is to add run capacitors to the Raspberry Pi power-supply.

Currently I have my raspberry Pi plugged straight into a portable 5v battery, this works fine. However, I want to be able to swap from one battery to another battery (via a switch) without the Raspberry Pi turning off. I figured the easiest way to do this is with supercapacitors.

I’ve added two 25F 2.5v supercapacitors in series as shown in the picture. However, when I do this, the raspberry pi powers on for about 10 seconds (both red and green lights come on) but then it shuts down.
What am I doing wrong here? See image here.


Read me first: About the Electronics and hardware category - Electronics and hardware - Arm Mbed OS support forum

From my point of view, this is wrong. Capacitors can no be connected in series connection between battery and the device but it must be in parallel to the device.

However, already exist some solution for this requirement, It takes 30s - raspberry pi capacitor shutdown - Google Search

BR, Jan