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.
If your board has the chip shown below in red, you have ‘K’ type thermocouple support.
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
Warning: Make sure you include the R430 as the Fly-CDYv2 uses a different reference resistor than expected
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"