Interfacing MAX31855(Thermocouple IC) with Arduino MICRO via SPI

Hi,

I am using:

  1. Adafruit's MAX31855 breakout board:
  1. Arduino Micro:
    https://www.arduino.cc/en/Main/ArduinoBoardMicro

  2. K-Type Thermocouple

I have made the following hardware connections:

MAX31855 breakout board -> Arduino MICRO

  1. Vin -> 5V
  2. GND -> GND
  3. DO -> MISO
  4. CS -> RX_LED/SS
  5. CLK-> SCK

I am using Adafruit's MAX31855 library for the software. Please see attached code.

Problem:
On the serial print, I see internal temperature of -0.16 degrees C and a "Something wrong with thermocouple." Taking out the power on the 31855 IC, still results in the same, which means there is something wrong with the SPI device on the MICRO.

Tests:
I have tested the thermocouple with a Digital multimeter for thermocouples, it works fine.
I have tested the MAX31855 breakout board with an Arduino UNO, it works fine.

What am I missing here?

Thanks in advance!

-Ryan

Adafruit_MAX31855.cpp (3.61 KB)

Adafruit_MAX31855.h (1.13 KB)

serialthermocouple.ino (2.47 KB)

max31855_micro.png

MAX31855 breakout board -> Arduino MICRO

  1. Vin -> 5V
  2. GND -> GND
  3. DO -> MISO
  4. CS -> RX_LED/SS
  5. CLK-> SCK

Which pins, exactly, are those on the Micro?