K-thermocouple temperature sensor with arduino

Hi Guys, Last week I made a small Arduino project to measure temperature by using k type thermocouple sensor with Max6675 module. By using this module we can measure temperature 0 to 1024 degree Celsius. In this article you can find the Arduino code and wiring diagram of this project. You can also watch the video tutorial in this page.

Step by step video guide of Arduino Project

MAX6675 and Arduino connection diagram

Arduino code to measure temperature with MAX6675


// Sample Arduino MAX6675 Arduino Sketch

#include "max6675.h"

int ktcSO = 8;
int ktcCS = 9;
int ktcCLK = 10;

MAX6675 ktc(ktcCLK, ktcCS, ktcSO);

void setup() {
  // give the MAX a little time to settle

void loop() {
  // basic readout test
   Serial.print("Deg C = "); 
   Serial.print("\t Deg F = ");
  1. Kevin 5 years ago

    I am looking at doing a project with this thermocouple and 4 other thermometer probes. Can the MAX6675 be used for all 5 thermometers being that you have a MAX6675 for each thermometer? How do you hookup the MAX6675 to a 3.5mm jack for external replaceable thermometers? Is this project doable with this configuration? I will be using an Arduino Nano with a BT HC-06 as a transmitter and a DFR0009 as a display.

    Thanks for your help!

  2. Ankur 5 years ago

    And how we can control a relay with particular temperature relay on and off in this project

  3. Scott 5 years ago

    Thanks for the video! I’m working to do the same temperature project, but with an Arduino pro mini, a waterproof DS18B20 temperature sensor, and a LCD screen (IIC I2C TWI 1602). Can you help me modify the code for the sensor and LCD screen display?

  4. Muqri 5 years ago

    where can I download the fritzing for the connection diagram?

  5. Musa 4 years ago

    can i have MAX6675 code file please

Leave a reply

Your email address will not be published. Required fields are marked *



Log in with your credentials


Forgot your details?


Create Account