Introduction
A CircuitPython driver class for the NAU7802 24-bit ADC.
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 or individual libraries can be installed using circup.
Installing to a Connected CircuitPython Device with Circup
Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:
pip3 install circup
With circup installed and your CircuitPython device connected use the following command to install:
circup install cedargrove_nau7802
Or the following command to update an existing version:
circup update
Installing for Blinka with Pip
pip3 install cedargrove-nau7802
Usage Example
import board
from cedargrove_nau7802 import NAU7802
# Instantiate NAU7802 ADC
nau7802 = NAU7802(board.I2C(), address=0x2A, active_channels=2)
nau7802_simpletest.py and other examples can be found in the examples folder.
Documentation
NAU7802 CircuitPython Driver API Class Description
Clue Coffee Scale (Adafruit Learning Guide)
CedarGrove NAU7802 FeatherWing OSH Park Project (16-SOIC version)
CedarGrove NAU7802 FeatherWing OSH Park Project (16-DIP version)
Needing a calibration weight? The U.S. Mint coin specifications might have some information that could help – if you have some spare change.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project be welcoming to everyone.
Metadata
Release files for cedargrove-nau7802 2.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cedargrove_nau7802-2.1.4.tar.gz | 11.0 MB | Without provenance | Details for cedargrove_nau7802-2.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cedargrove_nau7802-2.1.4-py3-none-any.whl | Python 3 | none | any | Details for cedargrove_nau7802-2.1.4-py3-none-any.whl |
Total release size: 11.0 MB
Release files / cedargrove_nau7802-2.1.4.tar.gz
| Download URL | cedargrove_nau7802-2.1.4.tar.gz |
|---|---|
| Size | 11.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4653514364fb9f24b0ed167f289c4d512e5d4fee219cfb3d56395671617d47e
|
|
BLAKE2b-256 checksum How to use checksums |
7f38c839a4663053524c67b360e6675391d6adc1491d89986c38a1f73f36d7c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / cedargrove_nau7802-2.1.4-py3-none-any.whl
| Download URL | cedargrove_nau7802-2.1.4-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b7eeaa90f43cfe9b7321dd22e2f29d55afec23b3ed28175358593de42a2639a
|
|
BLAKE2b-256 checksum How to use checksums |
5134c8fb3ca7826a025d5d678e9331e88f19cf8127f66297072e4d53b6cd6465
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for cedargrove-nau7802 2.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.