Skip to main content

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

DFRobotUPS-0.3.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DFRobotUPS-0.3.1-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file DFRobotUPS-0.3.1.tar.gz.

File metadata

  • Download URL: DFRobotUPS-0.3.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for DFRobotUPS-0.3.1.tar.gz
Algorithm Hash digest
SHA256 740aa21c3cd89e46c3487f6f46a81d688143527e0230edd17fff0417940185f3
MD5 c43e35a56c83a2a78391483393be0096
BLAKE2b-256 ec9f86b6cbff32cb077d2138fe8f99959f42b1ba414b337ff0556bd7fada068c

See more details on using hashes here.

File details

Details for the file DFRobotUPS-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: DFRobotUPS-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for DFRobotUPS-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0c4f5f5978fa15f97f6787f4018684d50f774832f478ee27d704d0a8187e11be
MD5 79daedf5ccc50cb0d0bfdf6117e49293
BLAKE2b-256 b3ecacb9bee76e9f263c5c848dc6a059530cfac9eb728d4bb117ffbed1bb185e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page