Help with Sparkfun 31855K and MEGA

Hello!

I've been trying to configure 4 31855K boards, with no luck. Here is my current configuration. (I'm using a 3.3V voltage divider)


Nothing seemed to work with the serial monitor only showing 0.00.

I've tried to use just one sensor, but again, with no luck.

I was wondering, if I had connected any of these components incorrectly. (I've switched up the + and - for the thermocouples, but with no luck)

Any help would be greatly appreciated. Thanks!

Show the code you are using.

1 Like

Of course! Here it is for the single sensor.

#include "Adafruit_MAX31855.h"

#define SCK 52
#define SO 50
#define CS 33

Adafruit_MAX31855 thermocouple(CS, SO, SCK);

void setup() {
Serial.begin(9600);
delay(500);
Serial.println("MAX31855 Diagnostic Test");
}

void loop() {
double temp = thermocouple.readCelsius();
uint8_t fault = thermocouple.readError();

Serial.print("Temperature: ");
Serial.print(temp);
Serial.print(" °C, Fault code: ");
Serial.println(fault, BIN); //

delay(1000);
}

Paste your code inside a code block...

Yes you have.
Power the board with 3.3V from the Mega.
Use level shifter for SCK, SO and CS.

Also, soldering Chromel and Alumel wires, found in K-type thermocouples, is generally not a good idea due to the potential for altered temperature readings and the difficulty of achieving a good solder joint. It may look good but may be unsatisfactory considering the very small voltages involved.