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

Overview

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

Fly-CDYv2 PT100 Chip
Fly-CDYv2 PT100 Chip

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

Fly-CDYv2 K Chip
Fly-CDYv2 'K' Thermocouple Chip

Board.txt modifications

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

heat.spiTempSensorChannel = 0
heat.spiTempSensorCSPins = {PE_7, PE_8}

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"PE_7" 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"PE_8" Y"thermocouple-max31855"
Tags: