I am using an Adafruit MAX6675 breakout board with a RBBB Arduino clone board and a Omega K-type thermocouple (Bolt on washer style). I am getting a low reading (187F) on boiling water, but an ice/water mix reads 32F.
I have the CLK on pin 13, CS on pin 10, DO on pin 12. I have connected the Vcc & GND requirements to the voltage rails of the RBBB.
I am using the following code:-
Code: Select all
// this example is public domain. enjoy!
// www.ladyada.net/learn/sensors/thermocouple
#include "MAX6675.h"
int thermoDO = 12;
int thermoCS = 10;
int thermoCLK = 13;
MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO);
//int vccPin = 3;
//int gndPin = 2;
void setup() {
Serial.begin(9600);
// use Arduino pins
// pinMode(vccPin, OUTPUT); digitalWrite(vccPin, HIGH);
// pinMode(gndPin, OUTPUT); digitalWrite(gndPin, LOW);
Serial.println("MAX6675 test");
// wait for MAX chip to stabilize
delay(500);
}
void loop() {
// basic readout test, just print the current temp
Serial.print("C = ");
Serial.println(thermocouple.readCelsius());
Serial.print("F = ");
Serial.println(thermocouple.readFarenheit());
delay(1000);
}