Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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)

https://github.com/CedarGroveStudios/CircuitPython_NAU7802/blob/main/media/glamor_shot.jpeg https://github.com/CedarGroveStudios/CircuitPython_NAU7802/blob/main/media/Clue_scale_trim.png

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)

Source distribution for cedargrove-nau7802 2.1.4
File Size Uploaded
cedargrove_nau7802-2.1.4.tar.gz 11.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cedargrove-nau7802 2.1.4
File Interpreter ABI Platform
cedargrove_nau7802-2.1.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.1.4 This release

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page