A Class-3 PoE PD front-end takes PoE power from an RPi 3B+ 4-pin header, a commercial Cosel DC-DC converter isolates and converts from 48V to 5V at 2A, a charger circuit keeps two series 25F super-caps topped up, a balancer circuit makes sure the super-caps stay in their voltage range, a boost converter circuit supplys the RPi with 4.9V, a microcontroller supervises operations and also provides a watch-dog function. All on a HAT sized RPi PCB, there's even room for a 20mm fan, super-capacitors are off-board but there's a full 40pin through-header to accept another HAT on top (eg a RAK2249 lora concentrator & GPS board).
The supercaps provide about 30s of backup time at 800mA load, that is enough to cover 10 seconds of power outage plus another 15 seconds during which the Pi is cleanly shut down (with the help of a service script) if necessary prior to power removal.
The impetus for this project was the construction of a LoRa gateway that must be highly reliable - trusted not to trash it's SD card and can be remotely located and managed.
I currently have a prototype up and running but have several bug fixes to implement on a revision-B PCB and am still working on the firmware for the microcontroller. Watch this space and let me know if you're interested.
- Hard- & Software
Poe UPS Pi
9. November 2019 , Letztes Update: 2. Dezember 2019
- Gerber file pack (288.08 KB )PoEUPSPi RevB Gerbers (with JLCPCB.com naming convention)
- PoeUPSPi.sh (1.6 KB )example service shell script for PoEUPSPi shutdown & watchdog
- PoEUPSPi HEX file (6.1 KB )Object code for PIC16F688, source available on request
- PoEUPSPi.pdf (64.89 KB )Documentation
- PoEUPSPi.xls (22.5 KB )Bill of Materials