Skip to main content

CircuitPython library for INA219 high side DC current sensor.

Project description

Introduction

Documentation Status Discord Build Status

CircuitPython driver for the INA219 current sensor.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-ina219

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-ina219

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-ina219

Usage Example

see example

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

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

adafruit-circuitpython-ina219-3.4.16.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file adafruit-circuitpython-ina219-3.4.16.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-ina219-3.4.16.tar.gz
Algorithm Hash digest
SHA256 347ce2f53c5936946fd97af57022c3d8d84e971624d617c73e57a19640369f5a
MD5 9831d6d64dd3a3170a8ed472ef09f9bf
BLAKE2b-256 a4b75a4c806b4226094373c4293ccbb030e9cc946f2b1669c2c26782bc66b52c

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_ina219-3.4.16-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_ina219-3.4.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a8f098e4edb57d6668d5fc65d15f068b5532b7de1c9764fdb98be5d358149efe
MD5 4e936b66330ad56dfd273236ed9ef476
BLAKE2b-256 14eb5594308504fde4a139b3440838b32bc7c878e28718ffc866af0f0f50b2c0

See more details on using hashes here.

Supported by

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