Moderators: adafruit_support_bill, adafruit
I get fluctuating readings around 2.5v from the Thermocouple wires.
/***************************************************
This is an example for the Adafruit Thermocouple Sensor w/MAX31855K
Designed specifically to work with the Adafruit Thermocouple Sensor
----> https://www.adafruit.com/products/269
These displays use SPI to communicate, 3 pins are required to
interface
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, all text above must be included in any redistribution
****************************************************/
#include "Adafruit_MAX31855.h"
int thermoDO = 39;
int thermoCS = 37;
int thermoCLK = 35;
Adafruit_MAX31855 thermocouple(thermoCLK, thermoCS, thermoDO);
void setup() {
Serial.begin(9600);
Serial.println("MAX31855 test");
// wait for MAX chip to stabilize
delay(500);
}
void loop() {
// basic readout test, just print the current temp
Serial.print("Internal Temp = ");
Serial.println(thermocouple.readInternal());
double c = thermocouple.readCelsius();
if (isnan(c)) {
Serial.println("Something wrong with thermocouple!");
} else {
Serial.print("C = ");
Serial.println(c);
}
//Serial.print("F = ");
//Serial.println(thermocouple.readFarenheit());
delay(1000);
}
I did just take out the Cat5 cabling. Using jumpers directly from 51-53 (and 5v/gnd) to breadboard, I get either 0.00/0.00 OR -127.94 internal and "Something wrong with the thermocouple!" depending on which Max41855 board I try -- two give the -127, one gives 0.00.
Cadius wrote:I haven't tried the direct link yet.For that, make the 5v pin a pinMode(..., OUTPUT) and the GND and Vo pins as pinMode(..., INPUT) right?
Return to Other Arduino products from Adafruit
Users browsing this forum: franklin97355 and 2 guests