Before you kill your RPi...

A project log for [mUPS] Minimal UPS for Raspberry Pi

A short hold-up UPS with automatic safe shutdown and reboot

Paul CrouchPaul Crouch 06/02/2020 at 15:330 Comments

I have twice now killed a GPIO input pin by forgetting that 5V is greater than 3V3. This is annoying, but at least it's not the whole Pi. I updated the schematic to include the simple potential divider that I keep forgetting (circled in red). The values aren't too critical, here I've selected them to keep the output (input into the Pi) below 3V even if the input gets to 5.1V.