A CircuitPython driver class for the NAU7802 24-bit ADC
Project description
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.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file cedargrove-nau7802-2.1.1.tar.gz
.
File metadata
- Download URL: cedargrove-nau7802-2.1.1.tar.gz
- Upload date:
- Size: 11.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03ceb69adf89ffb1db3c75630941fd86ceaa1447334661f08468b53722c9f741 |
|
MD5 | 9455d1f3961e7cee4be5c20c9cae76e8 |
|
BLAKE2b-256 | 6b0e7c681d4bb84568403fb5129f2adf53e1832d657f184fbfc6da82b23dc402 |
File details
Details for the file cedargrove_nau7802-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: cedargrove_nau7802-2.1.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d46bf8864922f99b3faa1147210aa7bfd67c19a5d0490088c5750415338ee55 |
|
MD5 | e28ba789fa8594e666e2e98f7a589a55 |
|
BLAKE2b-256 | 2665b3bc622248526048242ee07d61447482f4c8cc1dbf3f01db2ff903391e07 |