Introduction
============
.. image:: https://img.shields.io/discord/327254708534116352.svg
:target: https://adafru.it/discord
:alt: Discord
.. image:: https://github.com/CedarGroveStudios/CircuitPython_NAU7802/workflows/Build%20CI/badge.svg
:target: https://github.com/CedarGroveStudios/CircuitPython_NAU7802/actions
:alt: Build Status
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code Style: Black
A CircuitPython driver class for the NAU7802 24-bit ADC.
Dependencies
=============
This driver depends on:
* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_
* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_
* `Register <https://github.com/adafruit/Adafruit_CircuitPython_Register>`_
Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_
or individual libraries can be installed using
`circup <https://github.com/adafruit/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:
.. code-block:: shell
pip3 install circup
With ``circup`` installed and your CircuitPython device connected use the
following command to install:
.. code-block:: shell
circup install cedargrove_nau7802
Or the following command to update an existing version:
.. code-block:: shell
circup update
Installing for Blinka with Pip
==============================
.. code-block:: shell
pip3 install cedargrove-nau7802
Usage Example
=============
.. code-block:: py
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 <https://github.com/CedarGroveStudios/CircuitPython_NAU7802/blob/main/media/pseudo_readthedocs_cedargrove_nau7802.pdf>`_
`Clue Coffee Scale (Adafruit Learning Guide) <https://learn.adafruit.com/clue-coffee-scale>`_
`CedarGrove NAU7802 FeatherWing OSH Park Project (16-SOIC version) <https://oshpark.com/shared_projects/qFvEU3Bn>`_
`CedarGrove NAU7802 FeatherWing OSH Park Project (16-DIP version) <https://oshpark.com/shared_projects/ZfryHYnc>`_
.. image:: https://github.com/CedarGroveStudios/CircuitPython_NAU7802/blob/main/media/glamor_shot.jpeg
.. image:: https://github.com/CedarGroveStudios/CircuitPython_NAU7802/blob/main/media/Clue_scale_trim.png
Needing a calibration weight? The `U.S. Mint coin specifications <https://www.usmint.gov/learn/coin-and-medal-programs/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
<https://github.com/CedarGroveStudios/Cedargrove_CircuitPython_NAU7802/blob/HEAD/CODE_OF_CONDUCT.md>`_
before contributing to help this project be welcoming to everyone.
Raw data
{
"_id": null,
"home_page": "",
"name": "cedargrove-nau7802",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "adafruit,nau7802,adc,sensor,hardware,micropython,circuitpython",
"author": "",
"author_email": "Adafruit Industries <circuitpython@adafruit.com>",
"download_url": "https://files.pythonhosted.org/packages/6b/0e/7c681d4bb84568403fb5129f2adf53e1832d657f184fbfc6da82b23dc402/cedargrove-nau7802-2.1.1.tar.gz",
"platform": null,
"description": "Introduction\n============\n\n\n\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n :target: https://adafru.it/discord\n :alt: Discord\n\n\n.. image:: https://github.com/CedarGroveStudios/CircuitPython_NAU7802/workflows/Build%20CI/badge.svg\n :target: https://github.com/CedarGroveStudios/CircuitPython_NAU7802/actions\n :alt: Build Status\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Code Style: Black\n\nA CircuitPython driver class for the NAU7802 24-bit ADC.\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_\n* `Register <https://github.com/adafruit/Adafruit_CircuitPython_Register>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_\nor individual libraries can be installed using\n`circup <https://github.com/adafruit/circup>`_.\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n circup install cedargrove_nau7802\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n circup update\n\nInstalling for Blinka with Pip\n==============================\n\n.. code-block:: shell\n\n pip3 install cedargrove-nau7802\n\nUsage Example\n=============\n\n.. code-block:: py\n\n import board\n from cedargrove_nau7802 import NAU7802\n\n # Instantiate NAU7802 ADC\n nau7802 = NAU7802(board.I2C(), address=0x2A, active_channels=2)\n\n``nau7802_simpletest.py`` and other examples can be found in the ``examples`` folder.\n\n\nDocumentation\n=============\n`NAU7802 CircuitPython Driver API Class Description <https://github.com/CedarGroveStudios/CircuitPython_NAU7802/blob/main/media/pseudo_readthedocs_cedargrove_nau7802.pdf>`_\n\n\n`Clue Coffee Scale (Adafruit Learning Guide) <https://learn.adafruit.com/clue-coffee-scale>`_\n\n\n`CedarGrove NAU7802 FeatherWing OSH Park Project (16-SOIC version) <https://oshpark.com/shared_projects/qFvEU3Bn>`_\n\n`CedarGrove NAU7802 FeatherWing OSH Park Project (16-DIP version) <https://oshpark.com/shared_projects/ZfryHYnc>`_\n\n.. image:: https://github.com/CedarGroveStudios/CircuitPython_NAU7802/blob/main/media/glamor_shot.jpeg\n\n.. image:: https://github.com/CedarGroveStudios/CircuitPython_NAU7802/blob/main/media/Clue_scale_trim.png\n\nNeeding a calibration weight? The `U.S. Mint coin specifications <https://www.usmint.gov/learn/coin-and-medal-programs/coin-specifications>`_ might have some information that could help -- if you have some spare change.\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/CedarGroveStudios/Cedargrove_CircuitPython_NAU7802/blob/HEAD/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project be welcoming to everyone.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A CircuitPython driver class for the NAU7802 24-bit ADC",
"version": "2.1.1",
"project_urls": {
"Homepage": "https://github.com/adafruit/CircuitPython_NAU7802"
},
"split_keywords": [
"adafruit",
"nau7802",
"adc",
"sensor",
"hardware",
"micropython",
"circuitpython"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2665b3bc622248526048242ee07d61447482f4c8cc1dbf3f01db2ff903391e07",
"md5": "e28ba789fa8594e666e2e98f7a589a55",
"sha256": "2d46bf8864922f99b3faa1147210aa7bfd67c19a5d0490088c5750415338ee55"
},
"downloads": -1,
"filename": "cedargrove_nau7802-2.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e28ba789fa8594e666e2e98f7a589a55",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7647,
"upload_time": "2023-11-28T19:00:16",
"upload_time_iso_8601": "2023-11-28T19:00:16.100813Z",
"url": "https://files.pythonhosted.org/packages/26/65/b3bc622248526048242ee07d61447482f4c8cc1dbf3f01db2ff903391e07/cedargrove_nau7802-2.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6b0e7c681d4bb84568403fb5129f2adf53e1832d657f184fbfc6da82b23dc402",
"md5": "9455d1f3961e7cee4be5c20c9cae76e8",
"sha256": "03ceb69adf89ffb1db3c75630941fd86ceaa1447334661f08468b53722c9f741"
},
"downloads": -1,
"filename": "cedargrove-nau7802-2.1.1.tar.gz",
"has_sig": false,
"md5_digest": "9455d1f3961e7cee4be5c20c9cae76e8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10958952,
"upload_time": "2023-11-28T19:00:22",
"upload_time_iso_8601": "2023-11-28T19:00:22.213713Z",
"url": "https://files.pythonhosted.org/packages/6b/0e/7c681d4bb84568403fb5129f2adf53e1832d657f184fbfc6da82b23dc402/cedargrove-nau7802-2.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-28 19:00:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "adafruit",
"github_project": "CircuitPython_NAU7802",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "Adafruit-Blinka",
"specs": []
},
{
"name": "adafruit-circuitpython-busdevice",
"specs": []
},
{
"name": "adafruit-circuitpython-register",
"specs": []
}
],
"lcname": "cedargrove-nau7802"
}