Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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

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.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-amg88xx

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

sudo pip3 install adafruit-circuitpython-amg88xx

To install in a virtual environment in your current project:

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:

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:

import board

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

Now, to initialize the I2C bus:

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

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)

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

Pixels can be then be read by doing:

print(amg.pixels)

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Metadata

Release files for adafruit-circuitpython-amg88xx 1.2.28

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adafruit-circuitpython-amg88xx 1.2.28
File Size Uploaded
adafruit_circuitpython_amg88xx-1.2.28.tar.gz 24.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-amg88xx 1.2.28
File Interpreter ABI Platform
adafruit_circuitpython_amg88xx-1.2.28-py3-none-any.whl Python 3 none any Details

Total release size: 30.6 kB

Release files / adafruit_circuitpython_amg88xx-1.2.28.tar.gz

Download URL adafruit_circuitpython_amg88xx-1.2.28.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
18801bbf159f624e2409a9ac169b3fcd2521a89ec050254ab54e4524ced16d86
BLAKE2b-256 checksum
How to use checksums
134f042b34a5e99dfdb1a95e907b1bda481d3f0ec6947e4782fe07b519c83f0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / adafruit_circuitpython_amg88xx-1.2.28-py3-none-any.whl

Download URL adafruit_circuitpython_amg88xx-1.2.28-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b875ce9c89deb0768da1a93e5a850407a5332e9d5302142a97efbc12c0d2fad
BLAKE2b-256 checksum
How to use checksums
dea02b043cfd53c571dd265946fbf9082c9250ff468074e6d1c92488e8216972
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

1.2.28 This release

2 release files

1.2.27

2 release files

1.2.26

2 release files

1.2.25

2 release files

1.2.24

2 release files

1.2.23

2 release files

1.2.22

2 release files

1.2.20

2 release files

1.2.19

2 release files

1.2.18

2 release files

1.2.17

2 release files

1.2.15

1 release file

1.2.14

1 release file

1.2.13

1 release file

1.2.12

1 release file

1.2.11

1 release file

1.2.10

1 release file

1.2.9

1 release file

1.2.8

1 release file

1.2.7

1 release file

1.2.6

1 release file

1.2.5

1 release file

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.6

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

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