Thank you for responding.
#include <SparkFun_MCP9600.h>
MCP9600 tempSensor;
void setup(){
Serial.begin(115200);
Wire.begin();
Wire.setClock(100000);
tempSensor.begin(); // Uses the default address (0x60) for SparkFun Thermocouple Amplifier
//tempSensor.begin(0x66); // Default address (0x66) for SparkX Thermocouple Amplifier
//check if the sensor is connected
if(tempSensor.isConnected()){
Serial.println("Device will acknowledge!");
}
else {
Serial.println("Device did not acknowledge! Freezing.");
while(1); //hang forever
}
//check if the Device ID is correct
if(tempSensor.checkDeviceID()){
Serial.println("Device ID is correct!");
}
else {
Serial.println("Device ID is not correct! Freezing.");
while(1);
}
}
void loop(){ //print the thermocouple, ambient and delta temperatures every 200ms if available
if(tempSensor.available()){
Serial.print("Thermocouple: ");
Serial.print(tempSensor.getThermocoupleTemp());
Serial.print(" °C Ambient: ");
Serial.print(tempSensor.getAmbientTemp());
Serial.print(" °C Temperature Delta: ");
Serial.print(tempSensor.getTempDelta());
Serial.print(" °C");
Serial.println();
delay(20); //don't hammer too hard on the I2C bus
}
}
Thermocouple K Type High Temperature Resistance Probe
https://robu.in/product/surface-thermocouple-k-type-high-temperature-resistance-probe/?gad_source=1&gclid=CjwKCAiA34S7BhAtEiwACZzv4UX-lI-FS14lBctVz98k1B99ogHMbAVl4k5ESQD-974cibRro1yL1BoC1GgQAvD_BwE
MCP9600 Amplifier
https://robu.in/product/smartelex-thermocouple-amplifier-mcp9600/
Arduino Uno R3
https://robu.in/product/arduino-uno-r3-ch340g-atmega328p-cable-arduino-uno-transparent-acrylic-case-arduino-uno-r3/
I connected as per the manual (present in the shopping website). I didn't use breadboard.
The power source for my Arduino Board is my Laptop.
