It's been ages since I had to design something electrical so please don't laugh if this is stupid idea but I would like to power ESP32 with super capacitors, just for 30 sec or so so it can finish the sketch even if the power is cut off suddenly. Except I have no idea if this would work as intended.
I made a schematic here:
The problem is I'm not sure how long it could power the ESP32 in this config if I put 4x 0.47 F caps in parallel (would that even work?).
Am I missing something, i.e. over charging protection - is that needed? If by some miracle this works, how can I discharge the capacitors once the ESP32 finishes and shuts itself off?