DFRobotUPS module
Project description
DFROBOTUPS MODULE
It supports the DFRobotUPS HAT for the Raspberry Pi Zero (the more sophisticated version for other Pis has not be checked nor tested) and can retrieve information about the HAT itself, as well as dynamic data for the current SoC (State of Charge) and cell voltage.
In addition, it can be run in a mode to poll the SoC and trigger a shutdown command when it falls below a specified level.
This module contains can be used as a standalone utility or imported for use in other scripts.
The module was developed and used under Python 3.9 on Raspberry PiOS 11.9.
The information to write the module was taken from the DFRobotUPS wiki at: https://wiki.dfrobot.com/UPS%20HAT%20for%20Raspberry%20Pi%20%20Zero%20%20SKU%3A%20DFR0528
Author
Robert Franklin rcf@mince.net, UK
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for DFRobotUPS-0.4.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b360737f7c328c2dea744a5456346e262217e0f081567294653aaa3bb984806 |
|
MD5 | 65a24dec4e8bbc1faac8965839fd136b |
|
BLAKE2b-256 | 82f929cb570bb8610f01c37d76ebcbd51afa4036d4928c786ca80f1a87ee8900 |