Fixing A Cheap UPS Hat For Your Raspberry Pi With A Tiny Daemon
Arthur T Knackerbracket has found the following story:
An uninterruptible power supply (UPS) isn't something solely to have hooked up to your desktop PC. Your Raspberry Pi SBC might also benefit from it. Yet the available options aren't too great, or are too expensive. This leads folk including [Joachim Baumann] to modify cheerfully cheap Chinese UPS HAT boards such as the Geekworm UPS HAT to fix its myriad of issues and missing features.
[...] With [Simon]'s project, a PIC MCU was used to provide a supervisor for the UPS HAT. It also bypasses the HAT's control over whether the Raspberry Pi gets power or not. The results did however not fit [Joachim]'s needs, so the ATtiny Daemon project was born. This uses some of the fixes [Simon] implemented and adds a daemon that runs on the Raspberry Pi to establish two-way communications between the UPS and OS.
The settings for the UPS are stored also on the HAT, in the MCU's EEPROM, with the daemon able to update and read it out as needed.
Read more of this story at SoylentNews.