| Henry's Bench
LOGIN (HTTP://HENRYSBENCH.CAPNFATZ.COM/WP-LOGIN.PHP)
HENRY'S BENCH
(HTTP://HENRYSBENCH.CAPNFATZ.COM)
a place for the electronic hobbyist
The challenge with using thermocouples is with the need for what is known as cold junction compensation and the
need to detect a very small voltage change for every degree in change of temperature.
Fortunately there are chips like the MAX6675 that make connecting a thermocouple to your Arduino an affordable breeze. The device
measures the output of a K Thermocouple and provides the result to the Arduino via a SPI interface.
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 1/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
AliExpress (http://www.anrdoezrs.net/links/8535047/type/dlg/https://www.aliexpress.com/wholesale?
catId=0&initiative_id=SB_20180210150804&SearchText=MAX6675)
A word of warning – There are some that sell this module that think it’s measurement range is from -200 to 1300 degrees F. They’re
wrong. The MAX6675 chip measurement range is limited to what is detailed below:
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 2/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
TEMPERATURE RANGE NOTE: It is true that MAXIM 6675 will read from zero to 1024 degrees C. However, there is another limiting
factor. The K thermocouple will come with insulated wires and cable sheathing. These too have temperature limits associated with
them. It is not unusual to have a sheathing on your thermocouple that fall below the range of the maxim chip. Be careful here.
(https://i1.wp.com/henrysbench.capnfatz.com/wp-content/uploads/2015/05/MAX6675-K-Thermocouple-Module-Pin-Outs.jpg)These pins
function as follows:
SO: The module’s serial output. Your Arduino will read this output.
CS: Chip Select. Setting low, selects the Module and tells it to supply an output that is synchronize with a clock
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 3/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
VCC: 5V supply
GND: Ground.
IMPORTANT NOTE– Most K thermocouples come with a red lead and a yellow lead. The red lead is normally your negative connection
and the yellow lead is your positive. That is industry standard.
That said, some of the suppliers for the module will in fact jack this up and provide you a thermocouple with red indicating positive.
The way to know is if you increase the temperature at the thermocouple tip and the indication goes lower.
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 4/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
(https://i1.wp.com/henrysbench.capnfatz.com/wp-content/uploads/2015/05/MAX6675-K-Thermocouple-Module-Schematic.png)
If you are unfamiliar with installing Arduino libraries, you can read this page (http://www.arduino.cc/en/guide/libraries).
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 5/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
(https://i1.wp.com/henrysbench.capnfatz.com/wp-
content/uploads/2015/05/Arduino-Connections.png)
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 6/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
#include "max6675.h"
int ktcSO = 8;
int ktcCS = 9;
int ktcCLK = 10;
void setup() {
Serial.begin(9600);
// give the MAX a little time to settle
delay(500);
}
void loop() {
// basic readout test
Serial.print("Deg C = ");
Serial.print(ktc.readCelsius());
Serial.print("\t Deg F = ");
Serial.println(ktc.readFahrenheit());
delay(500);
}
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 7/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
Related Documents
The MAX6675 Data Sheet
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 8/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
[Video] Paste Dispenser Easy Arduino COYO Hydraulic Rotary MAX31855 Arduino K
Temperature Logger Actuator - www.coyo- Thermocouple Sensor:
sh.com Manual and Tutorial
NTC Thermistors - ACS712 Current Sensor Arduino MAX471 Power MingHe B3603 User
Customized Engineering User Manual Meter Tutorial Manual: Interface and
Help Connections
Share this:
18 COMMENTS module-arduino-manual-and-tutorial%2F&media=https%3A%2F%2Fi1.wp.com%2Fhenrysbench.capnfatz.com%2Fwp-
content%2Fuploads%2F2015%2F05%2FArduino-
Connections.png%3Ffit%3D552%252C960&description=MAX6675%20Temp%20Module%20Arduino%20Manual%20and%20Tutorial)
Gabriela Araujo Machado November 20, 2017
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 9/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
Gostaria de saber o que signi ca o kct, nesta parte: “MAX6675 ktc (ktcCLK, ktcCS, ktcSO);”.
Att, Gabriela.
Hello dear
Thank you that’s ok
And I don’t see any errors
But there is a big problem that
It shows just “0.0 deg” and it doesn’t have any other result when I’m make the thermocouple heat !!! Just “0.0 “all time or “32 f “.
Thanks a lot
How can I make temp control relay with thermocouple? I am trying to write the programming, but I am a beginner, so it became very
di cult.
hola soy nuevo y estoy aprendiendo con arduino ya conecte el modulo max6675 y mido la temperatura por monitor serial, ahora quiero
experimentar con el control de una o mas salidas dependiendo del valor de temperatura pero me confundí ya que cuando usamos una
entrada análoga podemos crear una variable a la cual se pueden tomar los valores y con gurar la comparación pero usando el
max6675 envía señales digitales y me bloquie no se como tomar cierto valor por ejemplo que mi pin 13 con gurado como OUTPUT
este en alto entre 90 y 150° C, y > a 150°C sea LOW muchas gracias.
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 10/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
How do I code for 11 Thermocouples on a Mega Arduino each Simple reading temperature?
how can i cnnecte a thermocouple max6675 k through spi interface with a microcontroler pic16f876
Okay. I want to use your MAX6675 library to display the temperature on three 7-segment LED displays. How could I do that?
Await you.
On uno
#include “max6675.h”
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 11/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
int ktcSO = 8;
int ktcCS = 9;
int ktcCS2 = 11;
int ktcCLK = 10;
void setup() {
Serial.begin(9600);
// give the MAX a little time to settle
delay(500);
}
void loop() {
// basic readout test
Serial.print(“Kanal 1 = “);
Serial.print(ktc.readCelsius());
Serial.print(“\t Kanal 2 = “);
Serial.print(ktc2.readCelsius());
Serial.print(“\t Deg F = “);
Serial.println(ktc.readFahrenheit());
delay(5000);
}
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 12/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
Hallo running!
how kann i connect to Fhem?
blease help me!
lg
Wolfgang
I have a problem, i am working with three MAX6675, and Arduino Mega, at the start everthing works good, but sometimes the
temperature goes up to 900 C, a i need to restart the Arduino and so then it works good again.
Hi, when i hold the thermocouple, the temperature increases and when i let it loose, it will take too long to return
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 13/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
I’m having trouble making this work on a Arduino 101. All works ne on the Uno. Using tools and switch boards to the 101 I get the
following message:
exit status 1
Error compiling for board Arduino/Genuino 101.
I have put the Max6675 library master into the same directory as the other Curie libraries – but still no luck.
Thoughts?
Hi uriel,
All you have to do is use a different pin for the cable select (CS) on the second MAX6675. In this example that is pin 9. The data (8) and
clock (10) pins remain the same (plug these into the second MAX6675 module just like the rst). You would then make another
MAX6675 object in the code and read from that.
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 14/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
So connect the other thermocouple up to the arduino the same as the rst one, except use pin 11 for the CS pin for second
thermocouple. See below for the code – it worked for me.
Regards,
Brendan
PS. Thanks Henry for your excellent post on using this chip!
#include “max6675.h”
int ktcSO = 8;
int ktcCS = 9;
int ktcCS2 = 11;
int ktcCLK = 10;
void setup() {
Serial.begin(9600);
// give the MAX a little time to settle
delay(500);
}
void loop() {
// basic readout test
Serial.print(“First = “);
Serial.println(ktc.readCelsius());
Serial.print(“Second = “);
Serial.println(ktc2.readCelsius());
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 15/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
delay(500);
}
LEAVE A REPLY
Your email address will not be published. Required elds are marked *
Comment
Post Comment
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 16/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 17/18
27/2/2018 MAX 6675 Quick Start and Tutorial for the Arduino. | Henry's Bench
http://henrysbench.capnfatz.com/henrys-bench/arduino-temperature-measurements/max6675-temp-module-arduino-manual-and-tutorial/ 18/18