How to connect a PT100 or Type 'K' Thermocouple to a Fly-E3-Pro

Overview

Some Fly-E3-Pro boards have support for PT100 and type ‘K’ thermocouples.
If your board has the chip shown below in red, you have PT100 support.

Fly-E3-Pro PT100 Chip
Fly-E3-Pro PT100 Chip

If your board has the chip shown below in red, you have ‘K’ type thermocouple support.

Fly-E3-Pro K Chip
Fly-E3-Pro 'K' Thermocouple Chip

Board.txt modifications

The following lines should be added to the board.txt file.

SPI3.pins = { PD_14, PD_12, PD_13 }
heat.spiTempSensorChannel = 3
heat.spiTempSensorCSPins = { PD_15, PC_7 }

Config.g changes

PT100

To use the PT100 on your hotend, use the following code in config.g If you are in a country where the mains frequency is 50Hz, change the F60 to F50 (if you don’t know, look here)

M308 S1 P"PD15" Y"rtd-max31865" F60 R430

Type ‘K’ Thermocouple

To use the Type ‘K’ Thermocouple on your hotend, use the following code in config.g

M308 S1 P"C7" Y"thermocouple-max31855"
Tags: