Hi there,
I have 4 Qwiic thermocouple amplifiers (SEN-16294) not working correctly. I did check all of them, always the same results.
I hooked up 1 amplifier to an Arduino Uno Wifi rev 2 with qwiic cable to arduino pins 3v3, gnd, sda and scl. I am using the Sparkfun MCP9600 library and example Example1 Basic readings. I2C seems to work well since the Ambient temperature shown on the Arduino Serial Monitor seems reliable.
I am using K-type thermocouples from RS Online: 621-2221 with K-type connectors.
I did check the thermocouples with an industrial temperature controller and it did show a reliable temperature.
Problem #1:
When connecting with serial monitor, I receive the error “Device ID is not correct”.
I added the following code to find out what the reported Device ID is (twice since that’s what the library suggests):
tempSensor.deviceID();
Serial.println(tempSensor.deviceID(), BIN);
and commented the freezing command:
//while(1);
And got the result 0x00, instead of the expected 0x40.
I got the same with all cwiic temperature amplifiers AND with a Seeed studios Groove amplifier with the same MCP9600 chip.
Problem #2:
With the freezing command commented, I did get temperature readings, like the following:
Thermocou��� 0.00 ��C Ambient: 16.75 ��C Temperature Delta: -0.69 ��C
Thermocouple: 0.00 ��C Ambient: 16.75 ��C Temperature Delta: -0.69 ��C
Thermocouple: 0.06 °C Ambient: 16.81 ��C Temperature Delta: -0.69 ��C
Thermocouple: 0.06 ��C Ambient: 16.81 ��C Temperature Delta: -0.69 ��C
Thermocouple: 0.06 ��C Ambient: 16.81 ��C Temperature Delta: -0.69 ��C
Not sure why the ? characters are in there, with another baud rate they sometimes disappear but the results are the same.
The ambient temperature of 16.8 Celcius is about right in my workshop without heating.
As said, the thermocouple readings are not correct, with the industrial temperature controller I do get the right readings.
Any suggestions on what could cause these errors? Help would be very much appreciated!
Greetings, Gert Jan