Catalog PyPI
PACKAGE EXPLORERView in registry

adafruit-circuitpython-max31856

PyPI

CircuitPython library for the MAX31856 Universal Thermocouple Amplifier.

adafruitamplifierhardwarecircuitpythonmax31856micropythonthermocoupleuniversal
Versions collected1
Direct dependencies3From release 0.12.7
Last observed20 Oct, 18:53 UTC

README

Version 0.12.7 documentation
Introduction
============

.. image:: https://readthedocs.org/projects/adafruit-circuitpython-max31856/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/max31856/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_MAX31856/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_MAX31856/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

A CircuitPython driver for the MAX31856 Universal Thermocouple Amplifier

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_
* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_

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-max31856/>`_. To install for current user:

.. code-block:: shell

    pip3 install adafruit-circuitpython-max31856

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

.. code-block:: shell

    sudo pip3 install adafruit-circuitpython-max31856

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-max31856

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

.. code:: python3

      import board
      import digitalio
      import adafruit_max31856

      # Create sensor object, communicating over the board's default SPI bus
      spi = board.SPI()

      # allocate a CS pin and set the direction
      cs = digitalio.DigitalInOut(board.D5)
      cs.direction = digitalio.Direction.OUTPUT

      # create a thermocouple object with the above
      thermocouple = adafruit_max31856.MAX31856(spi, cs)

      # measure the temperature! (takes approx 160ms)
      print(thermocouple.temperature)

      # alternative (non-blocking) way to get temperature
      thermocouple.initiate_one_shot_measurement()
      # <perform other tasks>
      # now wait for measurement to complete
      while thermocouple.oneshot_pending:
        pass
      print(thermocouple.unpack_temperature())

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

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/max31856/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/siddacious/Adafruit_CircuitPython_MAX31856/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

Downloads & popularity

10downloads
1-day window · source-reported counts19 Oct 2026
6331.50
2026-07-22: 4 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-22–2026-07-222026-07-23: 6 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-23–2026-07-232026-07-24: 13 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-24–2026-07-242026-07-25: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-25–2026-07-252026-07-26: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-26–2026-07-262026-07-27: 5 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-27–2026-07-272026-07-28: 4 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-28–2026-07-282026-07-29: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-29–2026-07-292026-07-30: 16 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-30–2026-07-302026-07-31: 58 · observed 2026-10-20T22:20:07.8207333Z · period 2026-07-31–2026-07-312026-08-01: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-01–2026-08-012026-08-02: 4 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-02–2026-08-022026-08-03: 5 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-03–2026-08-032026-08-05: 13 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-05–2026-08-052026-08-06: 8 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-06–2026-08-062026-08-07: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-07–2026-08-072026-08-08: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-08–2026-08-082026-08-09: 11 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-09–2026-08-092026-08-10: 7 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-10–2026-08-102026-08-12: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-12–2026-08-122026-08-13: 7 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-13–2026-08-132026-08-14: 10 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-14–2026-08-142026-08-16: 1 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-16–2026-08-162026-08-17: 4 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-17–2026-08-172026-08-18: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-18–2026-08-182026-08-19: 5 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-19–2026-08-192026-08-20: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-20–2026-08-202026-08-21: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-21–2026-08-212026-08-22: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-22–2026-08-222026-08-23: 7 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-23–2026-08-232026-08-24: 43 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-24–2026-08-242026-08-25: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-25–2026-08-252026-08-26: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-26–2026-08-262026-08-27: 5 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-27–2026-08-272026-08-28: 4 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-28–2026-08-282026-08-29: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-29–2026-08-292026-08-31: 4 · observed 2026-10-20T22:20:07.8207333Z · period 2026-08-31–2026-08-312026-09-01: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-01–2026-09-012026-09-02: 63 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-02–2026-09-022026-09-03: 36 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-03–2026-09-032026-09-06: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-06–2026-09-062026-09-07: 8 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-07–2026-09-072026-09-08: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-08–2026-09-082026-09-09: 5 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-09–2026-09-092026-09-10: 4 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-10–2026-09-102026-09-11: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-11–2026-09-112026-09-12: 1 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-12–2026-09-122026-09-13: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-13–2026-09-132026-09-16: 8 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-16–2026-09-162026-09-18: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-18–2026-09-182026-09-19: 26 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-19–2026-09-192026-09-20: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-20–2026-09-202026-09-21: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-21–2026-09-212026-09-22: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-22–2026-09-222026-09-23: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-23–2026-09-232026-09-24: 8 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-24–2026-09-242026-09-25: 2 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-25–2026-09-252026-09-26: 7 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-26–2026-09-262026-09-27: 16 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-27–2026-09-272026-09-28: 28 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-28–2026-09-282026-09-29: 30 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-29–2026-09-292026-09-30: 22 · observed 2026-10-20T22:20:07.8207333Z · period 2026-09-30–2026-09-302026-10-01: 1 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-01–2026-10-012026-10-02: 5 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-02–2026-10-022026-10-03: 5 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-03–2026-10-032026-10-04: 55 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-04–2026-10-042026-10-05: 15 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-05–2026-10-052026-10-06: 58 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-06–2026-10-062026-10-07: 9 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-07–2026-10-072026-10-08: 53 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-08–2026-10-082026-10-09: 52 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-09–2026-10-092026-10-10: 9 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-10–2026-10-102026-10-11: 1 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-11–2026-10-112026-10-12: 10 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-12–2026-10-122026-10-13: 25 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-13–2026-10-132026-10-14: 12 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-14–2026-10-142026-10-15: 5 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-15–2026-10-152026-10-16: 3 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-16–2026-10-162026-10-17: 4 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-17–2026-10-172026-10-18: 30 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-18–2026-10-182026-10-19: 10 · observed 2026-10-20T22:20:07.8207333Z · period 2026-10-19–2026-10-19
22 Jul19 Oct

pypistats · 81 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-19 – 2026-10-19102026-10-20T22:20:07.8207333Z
2026-10-18 – 2026-10-18302026-10-20T22:20:07.8207333Z
2026-10-17 – 2026-10-1742026-10-20T22:20:07.8207333Z
2026-10-16 – 2026-10-1632026-10-20T22:20:07.8207333Z
2026-10-15 – 2026-10-1552026-10-20T22:20:07.8207333Z
2026-10-14 – 2026-10-14122026-10-20T22:20:07.8207333Z
2026-10-13 – 2026-10-13252026-10-20T22:20:07.8207333Z
2026-10-12 – 2026-10-12102026-10-20T22:20:07.8207333Z
2026-10-11 – 2026-10-1112026-10-20T22:20:07.8207333Z
2026-10-10 – 2026-10-1092026-10-20T22:20:07.8207333Z
2026-10-09 – 2026-10-09522026-10-20T22:20:07.8207333Z
2026-10-08 – 2026-10-08532026-10-20T22:20:07.8207333Z
2026-10-07 – 2026-10-0792026-10-20T22:20:07.8207333Z
2026-10-06 – 2026-10-06582026-10-20T22:20:07.8207333Z
2026-10-05 – 2026-10-05152026-10-20T22:20:07.8207333Z
2026-10-04 – 2026-10-04552026-10-20T22:20:07.8207333Z
2026-10-03 – 2026-10-0352026-10-20T22:20:07.8207333Z
2026-10-02 – 2026-10-0252026-10-20T22:20:07.8207333Z
2026-10-01 – 2026-10-0112026-10-20T22:20:07.8207333Z
2026-09-30 – 2026-09-30222026-10-20T22:20:07.8207333Z
2026-09-29 – 2026-09-29302026-10-20T22:20:07.8207333Z
2026-09-28 – 2026-09-28282026-10-20T22:20:07.8207333Z
2026-09-27 – 2026-09-27162026-10-20T22:20:07.8207333Z
2026-09-26 – 2026-09-2672026-10-20T22:20:07.8207333Z
2026-09-25 – 2026-09-2522026-10-20T22:20:07.8207333Z
2026-09-24 – 2026-09-2482026-10-20T22:20:07.8207333Z
2026-09-23 – 2026-09-2322026-10-20T22:20:07.8207333Z
2026-09-22 – 2026-09-2222026-10-20T22:20:07.8207333Z
2026-09-21 – 2026-09-2132026-10-20T22:20:07.8207333Z
2026-09-20 – 2026-09-2032026-10-20T22:20:07.8207333Z
2026-09-19 – 2026-09-19262026-10-20T22:20:07.8207333Z
2026-09-18 – 2026-09-1832026-10-20T22:20:07.8207333Z
2026-09-16 – 2026-09-1682026-10-20T22:20:07.8207333Z
2026-09-13 – 2026-09-1322026-10-20T22:20:07.8207333Z
2026-09-12 – 2026-09-1212026-10-20T22:20:07.8207333Z
2026-09-11 – 2026-09-1132026-10-20T22:20:07.8207333Z
2026-09-10 – 2026-09-1042026-10-20T22:20:07.8207333Z
2026-09-09 – 2026-09-0952026-10-20T22:20:07.8207333Z
2026-09-08 – 2026-09-0822026-10-20T22:20:07.8207333Z
2026-09-07 – 2026-09-0782026-10-20T22:20:07.8207333Z
2026-09-06 – 2026-09-0632026-10-20T22:20:07.8207333Z
2026-09-03 – 2026-09-03362026-10-20T22:20:07.8207333Z
2026-09-02 – 2026-09-02632026-10-20T22:20:07.8207333Z
2026-09-01 – 2026-09-0122026-10-20T22:20:07.8207333Z
2026-08-31 – 2026-08-3142026-10-20T22:20:07.8207333Z
2026-08-29 – 2026-08-2932026-10-20T22:20:07.8207333Z
2026-08-28 – 2026-08-2842026-10-20T22:20:07.8207333Z
2026-08-27 – 2026-08-2752026-10-20T22:20:07.8207333Z
2026-08-26 – 2026-08-2622026-10-20T22:20:07.8207333Z
2026-08-25 – 2026-08-2522026-10-20T22:20:07.8207333Z
2026-08-24 – 2026-08-24432026-10-20T22:20:07.8207333Z
2026-08-23 – 2026-08-2372026-10-20T22:20:07.8207333Z
2026-08-22 – 2026-08-2222026-10-20T22:20:07.8207333Z
2026-08-21 – 2026-08-2132026-10-20T22:20:07.8207333Z
2026-08-20 – 2026-08-2032026-10-20T22:20:07.8207333Z
2026-08-19 – 2026-08-1952026-10-20T22:20:07.8207333Z
2026-08-18 – 2026-08-1832026-10-20T22:20:07.8207333Z
2026-08-17 – 2026-08-1742026-10-20T22:20:07.8207333Z
2026-08-16 – 2026-08-1612026-10-20T22:20:07.8207333Z
2026-08-14 – 2026-08-14102026-10-20T22:20:07.8207333Z
2026-08-13 – 2026-08-1372026-10-20T22:20:07.8207333Z
2026-08-12 – 2026-08-1222026-10-20T22:20:07.8207333Z
2026-08-10 – 2026-08-1072026-10-20T22:20:07.8207333Z
2026-08-09 – 2026-08-09112026-10-20T22:20:07.8207333Z
2026-08-08 – 2026-08-0822026-10-20T22:20:07.8207333Z
2026-08-07 – 2026-08-0732026-10-20T22:20:07.8207333Z
2026-08-06 – 2026-08-0682026-10-20T22:20:07.8207333Z
2026-08-05 – 2026-08-05132026-10-20T22:20:07.8207333Z
2026-08-03 – 2026-08-0352026-10-20T22:20:07.8207333Z
2026-08-02 – 2026-08-0242026-10-20T22:20:07.8207333Z
2026-08-01 – 2026-08-0122026-10-20T22:20:07.8207333Z
2026-07-31 – 2026-07-31582026-10-20T22:20:07.8207333Z
2026-07-30 – 2026-07-30162026-10-20T22:20:07.8207333Z
2026-07-29 – 2026-07-2922026-10-20T22:20:07.8207333Z
2026-07-28 – 2026-07-2842026-10-20T22:20:07.8207333Z
2026-07-27 – 2026-07-2752026-10-20T22:20:07.8207333Z
2026-07-26 – 2026-07-2622026-10-20T22:20:07.8207333Z
2026-07-25 – 2026-07-2532026-10-20T22:20:07.8207333Z
2026-07-24 – 2026-07-24132026-10-20T22:20:07.8207333Z
2026-07-23 – 2026-07-2362026-10-20T22:20:07.8207333Z
2026-07-22 – 2026-07-2242026-10-20T22:20:07.8207333Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.12.723 Apr 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
adafruit/adafruit_circuitpython_max31856

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:53 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:25a4276bdaec78964fd0bdcdc0a65afd4f5020be18ab8d6c869b0ccebb92a676