Back to Step by Step Course by Robojax

Lesson 39: Using MAX6675 K-Type Thermocouple Temperature Sensor | Arduino Step By Step Course

Related or required files and link to this lesson

Part 4: Temperature Sensors

In this lesson we learn how to use K-Type Thermocouple Sensor with MAX6674 chip to measure temperature.

 * Robojax Arduino Step By Step Course
 * Part 4: Temperature Sensors 
  * Lesson 39 MAX6674 Thermocouple sensor
 // original library source:
 * Arduino code to read temperature using MAX6675 chip and k-type thermocouple
 * and display it on serial monitor

  Please watch video instruction here
 This code is available at
with over 100 lectures Free On  YouTube Watch it here
Get the code for the course:  

 * on Saturday November 23, 2018 
 * at 21:25 in Ajax, Ontario, Canada
 * This code is "AS IS" without warranty or liability. Free to be used as long as you keep this note intact.* 
 * This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <>.

#include "max6675.h" // max6675.h file is part of the library that you should download from

int soPin = 4;// SO=Serial Out
int csPin = 5;// CS = chip select CS pin
int sckPin = 6;// SCK = Serial Clock pin

MAX6675 robojax(sckPin, csPin, soPin);// create instance object of MAX6675

void setup() {

     	// Code YouTube Watch it here        
  Serial.begin(9600);// initialize serial monitor with 9600 baud
  Serial.println("Robojax MAX6675"); 


void loop() {
  // basic readout test, just print the current temp
  // MAX6675 Temperature reading on Serial monitor
   	// Code YouTube Watch it here  
   Serial.print("C = "); 
   Serial.print(" F = ");



The least I expect from you is to give the video a thumbs up and subscribe to my channel. I appreciate it. I have spent hundreds of hours making these lectures and writing code. You don't lose anything by subscribing to my channel. Your subscription is a stamp of approval for my videos, helping more people find them and, in turn, helping me. Thank you!

If you found this tutorial helpful, please support me so I can continue creating content like this. support me via PayPal

**** AFFILIATE PROGRAM **** We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.

Right Side