Datasheet
CircuitPython Code
It's easy to use the MAX31855 sensor with CircuitPython and the Adafruit CircuitPython MAX31855 module. This
module allows you to easily write Python code that reads the temperature from the thermocouple.
First wire up a MAX31855 to your board exactly as shown on the previous pages for Arduino. Here's an example of
wiring a Feather M0 to the sensor:
Board 3V to sensor Vdd
Board GND to sensor GND
Board SCK to sensor CLK
Board MISO to sensor DO
Board D5 to sensor CS (or any other free digital I/O pin)
Next you'll need to install the Adafruit CircuitPython MAX31855 library on your CircuitPython board. Remember this
module is for Adafruit CircuitPython firmware and not MicroPython.org firmware!
First make sure you are running the latest version of Adafruit CircuitPython for your board.
Next you'll need to install the necessary libraries to use the hardware--carefully follow the steps to find and install these
libraries from Adafruit's CircuitPython library bundle. For example the Circuit Playground Express guide has a great
page on how to install the library bundle for both express and non-express boards.
Remember for non-express boards like the Trinket M0, Gemma M0, and Feather/Metro M0 basic you'll need to
manually install the necessary libraries from the bundle:
adafruit_max31855.mpy
adafruit_bus_device
© Adafruit Industries https://learn.adafruit.com/thermocouple Page 10 of 18