Source: https://mokxi.com/parts/max31865
Updated: 2026-11-22

Part

# RTD converter, MAX31865

A PT100 platinum probe as a 15-bit resistance ratio over SPI mode 1, with fault thresholds.

See every part

- 7 pins
- 3 settings
- In 1 project
- In 1 lesson

Drawn live by the editor's own code, at the size you see it.

At a glance

## The RTD converter, MAX31865 in brief

What it is, and every setting the properties panel gives it.

The MAX31865 is a converter that reads a PT100 or PT1000 platinum RTD as a 15-bit resistance ratio over SPI. A platinum RTD is the most accurate common thermometer: its resistance rises steadily with temperature, 100 ohms at 0 C for a PT100. The chip measures the probe against a precise reference resistor on the board. The model has properties for the RTD's temperature, the nominal resistance at 0 C (100 or 1000) and the board's reference resistor (430 or 4300). It speaks SPI in mode 1 or 3, with a configuration register, an RTD ratio register whose low bit is a fault flag, threshold registers and a fault status register. Adafruit's library, shipped as Adafruit_MAX31865.h, drives it. The model leaves out the wire count's effect on the reading, the fault detection cycle's voltage tests, and mains noise. It does not simulate an open probe reporting a high-threshold and REFIN- fault.

Family

Sensors

Pins

7

temperature

25

nominal

100

reference

430

Pins

## 7 pins

Named as the editor names them, so a wire lands where you expect it.

Pin

What it does

VIN

Supply, 3 to 5 V on the board.

GND

Ground.

CLK

SPI in mode 1 or 3.

SDO

SPI in mode 1 or 3.

SDI

SPI in mode 1 or 3.

CS

SPI in mode 1 or 3.

RDY

Low when a new result is waiting.

How to use it

## How to use the MAX31865 with an Arduino Uno

The example project, Kiln and bath probes, uses a K-type thermocouple on a MAX31855 for the kiln and a PT100 probe on a MAX31865 for the glaze bath beside it, where a tenth of a degree matters. The thermocouple reaches far hotter than an RTD, and the RTD is far more exact. The MAX31865 is wired to the Uno as follows: VIN to 5 V, GND to GND, CLK to pin 13, SDO to pin 12, SDI to pin 11 and CS to pin 10.

The sketch includes SPI.h and Adafruit_MAX31865.h, creates a MAX31865 object with CS on pin 10, and calls begin with MAX31865_2WIRE in setup. The loop reads the bath temperature with bath.temperature(100.0, 430.0), passing the PT100's nominal resistance and the 430 ohm reference resistor. It prints the kiln thermocouple, the MAX31855's own board temperature, and the bath RTD each pass, then waits 500 ms.

With default settings, the serial monitor printed: "Kiln and bath probes", "kiln 0 C board 0.0 C bath 62.5 C", "kiln 850 C board 24.0 C bath 62.5 C". The bath value comes from the RTD temperature setting, the kiln value from the thermocouple slider, and the board value from the MAX31855's cold junction reading.

After changing the temperature setting to 535, the serial monitor printed: "kiln 0 C board 0.0 C bath 535.0 C", "kiln 850 C board 24.0 C bath 535.0 C". Only the bath number followed the new RTD temperature; the kiln and board readings stayed the same. You can also drag the thermocouple slider past 1000 C and watch the sketch call the kiln ready.

Part pin

Goes to

VIN

5 V

GND

Arduino Uno R3 pin GND

CLK

Arduino Uno R3 pin 13

SDO

Arduino Uno R3 pin 12

SDI

Arduino Uno R3 pin 11

CS

Arduino Uno R3 pin 10

Click to open it in the editor

This is the simulator itself, running here. Click anything to open it in the editor.

Open this project in the editor Read the full tutorial

sketch.ino · Arduino Uno R3 · the first 45 lines

Common errors

## Common RTD converter, MAX31865 errors and fixes

What goes wrong

The fix

Reading with the bias off.

Turn the bias on, otherwise nothing converts.

Using a PT1000's numbers with a PT100 board.

Set nominal and reference to match the probe and the board: 100 with a 430 ohm reference for a PT100, 1000 with 4300 for a PT1000.

Wiring the SPI pins to the wrong Arduino pins.

On the Uno, connect CLK to 13, SDO to 12, SDI to 11 and CS to 10, and match these in the sketch.

Questions

## Questions and answers

### what is the max31865

It is a converter that reads a PT100 or PT1000 platinum RTD as a 15-bit resistance ratio over SPI, with fault thresholds and a data-ready pin.

### which library do i use for the max31865 on arduino

Adafruit's library, which Mokxi ships as Adafruit_MAX31865.h. Begin it with a wire mode such as MAX31865_2WIRE or MAX31865_3WIRE.

### what resistance is a pt100 at 0 c

100 ohms. A platinum RTD's resistance rises steadily with temperature, and the MAX31865 measures it against a precise reference resistor on the board.

### how long does a max31865 conversion take

With the bias on, a one shot takes 52 ms; automatic mode converts every 16.7 ms.

How it is modeled

## What is true about the RTD converter, MAX31865, here

In its help article’s own words: what the simulation gets right, and where it stops.

### Not modeled

The wire count's effect on the reading, the fault detection cycle's voltage tests (an
open probe reports a high-threshold and REFIN- fault), and mains noise.

From MAX31865 RTD converter, in full.

Projects

## See the RTD converter, MAX31865 in a project

One built-in project uses it. It opens in the editor, already wired.

Lessons

## Where it turns up in a lesson

One lesson places it in its own circuit.

### Learn articles

1 lesson

- Arduino MAX31855: K-Type Thermocouple Code

Boards

## The boards it is shown on

This board has a built-in project with the RTD converter, MAX31865 in it.

- Arduino Uno R3

Libraries

## Arduino libraries for the RTD converter, MAX31865

Built in, so the sketch compiles with nothing to install. Each page has the calls, the wiring and an example to run.

- Adafruit MAX31865

Keep going

## Keep going

- Thermocouple converter, MAX31855
- Thermocouple converter, MAX6675
- Temperature sensor, DS18B20

More parts

## The rest of the bench

Every one of these is drawn and simulated the same way.

Full-size breadboard

A real 0.1 inch grid with the rails and the center channel, 63 columns wide.

Jumper wires

Drag from any pin or hole to any other. Corners snap, and you can drag them.

Power

A supply rail at the voltage you choose.

Ground

The other end of every circuit.

LED

Lights when current flows. Five colors, and the brightness is what your eye would see.

Filament lamp

A tungsten bulb in a holder: an inrush when it is switched on cold, tens of milliseconds to warm up, and dim on half its voltage.

Resistor

Any value you like, with the color bands drawn to match.

ESP32-C3-DevKitM-1

A RISC-V board that runs your firmware at 160 MHz on the real memory map.

Pushbutton

A 12 mm tactile switch. Hold it while the simulation runs.

Raspberry Pi Pico

The RP2040 board on our own Cortex-M0+ core. Pick a program and press Run.

Raspberry Pi Pico W

Raspberry Pi Pico W (RP2040). The same board and the same pinout as a Pico, with the CYW43439 on it. The WiFi is simulated (no radio; real internet through the Cloud panel’s switch), and the on-board LED, which hangs off that chip rather than off GP25, is driven through the same path. Everything else is the Pico.

Raspberry Pi 4 Model B

Raspberry Pi 4 Model B: the 40-pin header, driven by main.py with RPi.GPIO or gpiozero.

See every part

## Wire up the RTD converter, MAX31865

Open the editor and push it into the breadboard. It is free, and it runs on your own machine.

Start building free Open the editor
