Hi everyone.
I'm using a chip MAX6675-based module to read measures from a K-Type Thermocouple. First I was trying to directly add this serial amplifier to a bigger project, where other peripherals such as a TFT screen are present. After Google it, I saw that, often, this kind of chips could have some troubles when they are placed into a noisy-grounded environment. So I decided to take it appart to check if this module works properly when isolated.
So I made the circuit you can see in these pics:
As you can see, there is only the module vs my Arduino Mega 2560. And I loaded the following code into my Arduino:
// this example is public domain. enjoy!
// https://learn.adafruit.com/thermocouple/
#include "max6675.h"
int thermoDO = 12;
int thermoCS = 10;
int thermoCLK = 13;
MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO);
void setup() {
Serial.begin(9600);
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.readFahrenheit());
// For the MAX6675 to update, you must delay AT LEAST 250ms between reads!
delay(1000);
}
However, the lectures keep being crazy. There is an example of them:
MAX6675 test
C = nan
F = nan
C = 2039.25
F = 3702.65
C = 2037.50
F = 3699.50
C = nan
F = nan
C = nan
F = nan
C = nan
F = nan
What am I missing? I have two k-type thermocouples: one that came along with my multimeter, and another one which I bought from the internet. If I plug them in my multimeter, both of them work properly (the one I bought from the internet has bigger error, but still ok).
I'm thinking about purchasing a new MAX module (maybe it would be better some pack with thermocouple). But everything I see has this type of thermocouple:
Which is not valid to me because I need a sensor that I could fix on a surface.
By the way, one more question: Will I have problem if I fix it on a metallic surface? Should I use some kind of electrical isolation for this purpose? This is a secondary question, my biggest problem now is the previous one.
Thank you so much in advance.
Have a nice day. Greetings from Spain.
Thank you in advance.