loading

Connecting the thermocouple K MAX6675 to an Arduino Mega.

For this example I used a cheap arduino mega 2560 from SainSmart.

The thermocouple K MAX6675 is a convert that allows temperature reading from 0ºC to 1024ºC. You can learn more about it by read the datasheet here.

Step 1: Material

1 - Arduino

2 - ThermoCouple K MAX6675

3 - USB Cable

Step 2: Wiring the Material

So now we connect the thermocouple to the pin 45 to 53 (in the arduino the pins goes in pairs)

Step 3: Coding Like a Pro...

First of all I need to find a Library who help us to communicate with the sensor. After browsing the web for a couple of hours and testing the libraries, I enjoyed that one, ThermoCoupleK from LadyAda who I believe don't mind if we use it.

After looking at some examples I ended with this code (that is close to the one I found).

Step 4: Conclusion

As you can see it's quite easy to create a K-type temperature reader. Now it's up to you to found an application to this instructable.

That's all folks

<p>Hi,dude. Where can I get the coding for 2 points calibration of thermocouple ? Thank you in advance</p>
<p>hi . how can i wire max6675 to ramps ? and what config should i do in repetier firmware ?</p>
<p>I'm using Marlin, so can't tell about repetier. But search your sketches for 6675 and you will eventually find the according #defines.</p>
<p>I'm a supreme noob. Should I have another file that the code is looking for?</p><p>I'm getting an error :(</p><p>Arduino: 1.6.7 (Mac OS X), Board: &quot;Arduino/Genuino Uno&quot;</p><p>/xxx/xxx/Downloads/ThermoCoupleK/ThermoCoupleK.ino:1:21: fatal error: max6675.h: No such file or directory</p><p> #include &lt;max6675.h&gt;</p><p> ^</p><p>compilation terminated.</p><p>exit status 1</p><p>Error compiling.</p>
<p>Put the max6675.cpp and .h in the same folder as where your .ino is located. Open the .ino once again. You should now see two more tabs in the Arduino IDE for the both max6676 files.</p>
<p>how if use 5 thermocouple in one arduino it si possible or not ? :)</p>
<p>Just use the CS pin to select the individual couple. Only the one that has CS set high will response on the data line.</p>
<p>Which pins can I use in an arduino uno?</p>
<p>Hello CalvinM1,</p><p>you can use any digital pin, you just have to configure them in the code. Here:</p>
<p>does the max6675 IC works with any brand of k-type thermocouple? i am using this one <a href="http://www.olimex.cl/en_US/shop/product/termocupla-tipo-k-ideal-para-impresora-3d-10784?category=287" rel="nofollow"> http://www.olimex.cl/en_US/shop/product/termocupl...</a></p><p>but the measurements on the serial terminal are very wrong. The impedance of my thermocouple is less than 2 ohm. Can you explain me please how to use correctly my thermocouple with the IC ?</p>
<p>Hi,</p><p>I'm not really sure how it will work cause the TC-K range is between 0-800&ordm;C and the MAX6675 is between 0-1023.75&ordm;C. You must need to adjust the limits to match the same values. </p><p>But as I said, I not sure it will work, if someone can help here it will be great.</p>
<p>fixed problem..</p><p>both controllers from ebay are faulty, </p><p>made my own and works great, thank you for your splendid tutorial..</p>
Happy to ear that. <br><br>Thanks for the support and good luck with your development. <br><br>
<p>the model is MAX6675<br>pinout is : gnd, vcc, sck, cs, so</p>
<p>hi my pinout is :</p><p>DO</p><p>CS</p><p>CLK</p><p>I tied :</p><p>SO = DO</p><p>CS = CS</p><p>SCK = CLK</p><p>but no joy, would you know my pinout to yours</p>
<p>Hey there,</p><p>is your thermocouple a MAX6675? Check the annotation on the thermocouple board and let me know your model to try to help you.</p><p>greats</p>
<p>excelente aportacion</p>
<p>thank you</p>
<p>Very cool !</p>

About This Instructable

71,985views

51favorites

License:

More by Look a potato:Arduino and Thermocouple K MAX6675 
Add instructable to: