SafePI – RaspberryPI 1B+, 2 and 3 battery backed safe shutdown / UPS


  • It notify the RPI on power fail on a configurable GpIO 
  • recharge the batteries.
  • voltage regulator, accept from 5V to 25V.
  • Low battery drain  when off 
  • optionally stackable 
  • It uses 4x commonly available  AA Ni-MH batteries
  • Very long battery duration
  • Open Source design (GPL Licensed)

Out of stock

Product Description

SafePI is an expansion board for RaspberryPI 1 model B, 2B or 3 providing power supply protection and safe shutdown by using 4 common available AA rechargeable Ni-MH batteris


  • It notify the Raspberry when primary power is absent on a configurable GpIO (pin 36 or 38) and then give enough time to shutdown from the batteries.
    When the RPi is on and the primary power is connected, it recharge the batteries.
  • It provide safe voltage regulator giving the ability to power the RPi from 7V to 25V.
  • Battery drain when switched off if minimal (less than 10mA/h)
  • optionally stackable with other expansion boards (need the right pin header mounted!)
  • It uses 4x commonly available (and low cost) AA Ni-MH batteries
  • Very long battery duration: they are used only when the primary power fail
  • Open Source design (GPL licensed)

You can get the PCB only, the kit complete with all components to be soldered or the already assembled ready to use version. Optionally, you can get also the 3d printed case and/or the battery holder

PCB only and KIT versions come with a PVC transparent foil solderpaste mask to ease the squeeze of solderpaste if you can use it to solder SMD components.

All components are original and collected from farnell or digikey, i don’t use clones. Boards are manufactured in europe.

Quantity discount available.

design files and docs available at



  1. This looks great for a magic mirror project – just what I need to run a DC-powered monitor and a Pi from the same supply. Just a few questions:

    1) Is the SW1 header for powering the Pi? I’d love some more info on what that header does, and whether that’s suitable for switching the device on/off, or whether I’d be better off just running a switch on the power input to the SafePi (I assume the latter)

    2) I see the power input on the board is marked 12V but the description says 5V-25V could you clarify that? Monitor inputs are usually 14-19V.

    3) What’s the max amperage provided to the Pi from the SafePi? I’m not planning on loading much onto the USB, but it’s handy to know.

    4) What’s the general lead time on an assembled order?

    Beautiful hat – looking forward to setting you some soldering work once you get some time aside to answer questions. :)


    • 1) yes, it basically just interrupt the main power coming from external source, suitable to connect a power switch. If you put a switch on the power input is exactly the same thing.

      2) The power regulator on board accept an input from 5 to 25V, so, anything between this range will work. I usually prefer to use 12V just cause it’s where the power regulator are more efficients.

      3) up to 3.5A

      4) sadly actually i’m not operative cause i’m moving my laboratory from Europe to South Africa, so, i will not ship anything until July. When operative the shipping time from the order is 1 to 5 days.

Add a review