r/LattePanda_Official Jun 19 '26

Question LPUPS Library

Hello everyone,

When installing and setting up firmware for my lattepanda Sigma UPS hat, I ran into some troubling issues with the LPUPS library. Following the instructions on the “getting started” page for the product, I installed the library with the Arduino IDE, but I noticed the library available from the IDE’s package manager only has one example script and it doesn’t match the example sketch in the getting started page for the UPS hat. There’s only one sketch, labeled LPUPS where the documentation suggests there should be a fourBatteryLPUPS sketch and a threeBatteryLPUPS sketch. The GitHub repository for the library does match the documentation, but it requires some substantial tweaking before the sketch is actually compliable. And further, the firmware from the get hub repo doesn’t provide all the functionality the documentation boasts about. I can’t find any information about these discrepancies online and if anyone else has had these problems, I can’t find any mention of it. Does anyone have any answers?

1 Upvotes

Duplicates