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!
xfpd
July 18, 2025, 2:27pm
2
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);
}
xfpd
July 21, 2025, 2:46am
4
Paste your code inside a code block...
jim-p
July 21, 2025, 11:05am
5
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.
system
Closed
January 19, 2026, 5:45am
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.