adafruit-circuitpython-amg88xx


Nameadafruit-circuitpython-amg88xx JSON
Version 1.2.26 PyPI version JSON
download
home_pageNone
SummaryCircuitPython library for AMG88xx thermal camera.
upload_time2025-10-20 16:34:20
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT
keywords adafruit thermal camera featherwing temperature breakout hardware micropython circuitpython
VCS
bugtrack_url
requirements Adafruit-Blinka adafruit-circuitpython-register adafruit-circuitpython-busdevice
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

.. image:: https://readthedocs.org/projects/adafruit-circuitpython-amg88xx/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/amg88xx/en/latest/
    :alt: Documentation Status

.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord

.. image:: https://github.com/adafruit/Adafruit_CircuitPython_AMG88xx/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_AMG88xx/actions/
    :alt: Build Status

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Code Style: Ruff


Adafruit CircuitPython module for the AMG88xx GRID-Eye IR 8x8 thermal camera.

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://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.

Installing from PyPI
====================

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-amg88xx/>`_. To install for current user:

.. code-block:: shell

    pip3 install adafruit-circuitpython-amg88xx

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

.. code-block:: shell

    sudo pip3 install adafruit-circuitpython-amg88xx

To install in a virtual environment in your current project:

.. code-block:: shell

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

Usage Example
=============

Of course, you must import the library to use it:

.. code-block:: python

    import busio
    import adafruit_amg88xx

The way to create an I2C object depends on the board you are using. For boards with labeled SCL and SDA pins, you can:

.. code-block:: python

    import board

You can also use pins defined by the onboard microcontroller through the microcontroller.pin module.

Now, to initialize the I2C bus:

.. code-block:: python

    i2c_bus = busio.I2C(board.SCL, board.SDA)

Once you have created the I2C interface object, you can use it to instantiate the AMG88xx object

.. code-block:: python

    amg = adafruit_amg88xx.AMG88XX(i2c_bus)

You can also optionally use the alternate i2c address (make sure to solder the jumper on the back of the board if you want to do this)

.. code-block:: python

    amg = adafruit_amg88xx.AMG88XX(i2c_bus, addr=0x68)

Pixels can be then be read by doing:

.. code-block:: python

    print(amg.pixels)


Documentation
=============

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/amg88xx/en/latest/>`_.

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "adafruit-circuitpython-amg88xx",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "adafruit, thermal, camera, featherwing, temperature, breakout, hardware, micropython, circuitpython",
    "author": null,
    "author_email": "Adafruit Industries <circuitpython@adafruit.com>",
    "download_url": "https://files.pythonhosted.org/packages/67/64/917f092d9af9b327944978e633917f1a6234bac6a2f4e217beb589beb68a/adafruit_circuitpython_amg88xx-1.2.26.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-amg88xx/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/amg88xx/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_AMG88xx/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_AMG88xx/actions/\n    :alt: Build Status\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Code Style: Ruff\n\n\nAdafruit CircuitPython module for the AMG88xx GRID-Eye IR 8x8 thermal camera.\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://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.\n\nInstalling from PyPI\n====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI <https://pypi.org/project/adafruit-circuitpython-amg88xx/>`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-amg88xx\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-amg88xx\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name && cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install adafruit-circuitpython-amg88xx\n\nUsage Example\n=============\n\nOf course, you must import the library to use it:\n\n.. code-block:: python\n\n    import busio\n    import adafruit_amg88xx\n\nThe way to create an I2C object depends on the board you are using. For boards with labeled SCL and SDA pins, you can:\n\n.. code-block:: python\n\n    import board\n\nYou can also use pins defined by the onboard microcontroller through the microcontroller.pin module.\n\nNow, to initialize the I2C bus:\n\n.. code-block:: python\n\n    i2c_bus = busio.I2C(board.SCL, board.SDA)\n\nOnce you have created the I2C interface object, you can use it to instantiate the AMG88xx object\n\n.. code-block:: python\n\n    amg = adafruit_amg88xx.AMG88XX(i2c_bus)\n\nYou can also optionally use the alternate i2c address (make sure to solder the jumper on the back of the board if you want to do this)\n\n.. code-block:: python\n\n    amg = adafruit_amg88xx.AMG88XX(i2c_bus, addr=0x68)\n\nPixels can be then be read by doing:\n\n.. code-block:: python\n\n    print(amg.pixels)\n\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/amg88xx/en/latest/>`_.\n\nFor information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH/blob/main/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CircuitPython library for AMG88xx thermal camera.",
    "version": "1.2.26",
    "project_urls": {
        "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_AMG88xx"
    },
    "split_keywords": [
        "adafruit",
        " thermal",
        " camera",
        " featherwing",
        " temperature",
        " breakout",
        " hardware",
        " micropython",
        " circuitpython"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "db04107add30b97f16dd7da5a76537703fe3499ddd298064acd9f427aa6224cd",
                "md5": "f788a5df7e1918d7e2dea3288b85c67c",
                "sha256": "5c65d7c275813b570f85ed82360e26e0b7bbdf64b44ae891a3ce3c5d80216b44"
            },
            "downloads": -1,
            "filename": "adafruit_circuitpython_amg88xx-1.2.26-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f788a5df7e1918d7e2dea3288b85c67c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5697,
            "upload_time": "2025-10-20T16:34:19",
            "upload_time_iso_8601": "2025-10-20T16:34:19.464023Z",
            "url": "https://files.pythonhosted.org/packages/db/04/107add30b97f16dd7da5a76537703fe3499ddd298064acd9f427aa6224cd/adafruit_circuitpython_amg88xx-1.2.26-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6764917f092d9af9b327944978e633917f1a6234bac6a2f4e217beb589beb68a",
                "md5": "11c271cbe6d2ac81fcfab17923972f21",
                "sha256": "28cbfbdb54abbe99fd935abd28c494b55d95decf7965953598f0d586882c68a4"
            },
            "downloads": -1,
            "filename": "adafruit_circuitpython_amg88xx-1.2.26.tar.gz",
            "has_sig": false,
            "md5_digest": "11c271cbe6d2ac81fcfab17923972f21",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 24978,
            "upload_time": "2025-10-20T16:34:20",
            "upload_time_iso_8601": "2025-10-20T16:34:20.329865Z",
            "url": "https://files.pythonhosted.org/packages/67/64/917f092d9af9b327944978e633917f1a6234bac6a2f4e217beb589beb68a/adafruit_circuitpython_amg88xx-1.2.26.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-20 16:34:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adafruit",
    "github_project": "Adafruit_CircuitPython_AMG88xx",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "Adafruit-Blinka",
            "specs": []
        },
        {
            "name": "adafruit-circuitpython-register",
            "specs": []
        },
        {
            "name": "adafruit-circuitpython-busdevice",
            "specs": []
        }
    ],
    "lcname": "adafruit-circuitpython-amg88xx"
}
        
Elapsed time: 2.69995s