How to talk to a MAX6675 with a MM2....


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3443
Posted: 07:53am 24 Jul 2021      

As an experiment to see what the thermocouple is doing, print the whole 16 bits in binary then warm it and see which bits change.

Do
Pause 1000
BYTE = SPI(0)
Print BIN$(BYTE, 16), BIN$((BYTE >> 3),16)
loop

The data sheet says bit 15 is always 0 so:

D = BYTE >> 3

As shown in a pervious post should do the trick.

Also try swapping D+ and D- to see if the thermocouple polarity is wrong.
Edited 2021-07-24 18:26 by phil99