Thermocouple with the X5mini

I am trying to get a thermocouple working on my printer that runs using an X5 mini controller and have been running into a few issues. I can’t get my X5 to recognize that I have anything connected to it. I am using the MAX 31855 breakout board with a type K thermistor that was suggested on the website and I have it wired up like this.

Max31855 X5 mini
Vin —> 3V3
Gnd —> Gnd
DO —> SDA
CS —> 0.26
CLK —> SCL

I am not one hundred percent sure that this is correct so any suggestions are welcome.

Now my config file looks like this:

#Hotend temperature control configuration
temperature_control.hotend.enable true # Whether to activate this ( “hotend” ) module at all. All configuration is ignored if false.

temperature_control.hotend.sensor max31855
temperature_control.hotend.chip_select_pin 0.26
temperature_control.hotend.spi_channel 1 # SPI channel 0 or 1

temperature_control.hotend.heater_pin 2.5 # Pin that controls the heater
temperature_control.hotend.max_temp 300 #
temperature_control.hotend.set_m_code 104 #
temperature_control.hotend.set_and_wait_m_code 109 #
temperature_control.hotend.designator T #

Is there something wrong that anyone sees wrong with it?

Thanks for any help!!

Imported from wikidot

ok SPI channel needs to be 0

temperature_control.hotend.spi_channel 0

and you have it connected to the I2C not the SPI port so…

DO —> 0.17
CS —> 0.26
CLK —> 0.15

that will work

Thanks! I got that to work using that setup. I had to disconnect my LCD screen though. Do you know of any way to set it up so that it will work with a screen hooked to the SPI too?