7 years, 5 months ago.

MAX31850 Thermocouple temperature reading

I'm trying to use the MAX31850 thermocouple amp (https://www.adafruit.com/products/1727) to get data from a thermocouple using this library: https://developer.mbed.org/users/fblanc/code/OneWire_II/ But I have no idea have no idea where to start with it.

Any tips on how to do so, am I using the wrong library or any other suggestion would be appreciated.

1 Answer

7 years, 5 months ago.

Hi Craig,

So yes you could start with a library someone else has already developed, that would definitely speed up the process. Starting with a test program would even further speed that up, to get an idea of how everything works have a look at and import into the online compiler:

https://developer.mbed.org/users/fblanc/code/MAX31850_HelloWorld/

This would be your best bet, providing you connect everything correctly as describes in the adafruit page and declare/change it correctly in your main program :)

Best of Luck, let me know if theres anything else i can do.

Best Regards,

Andrea, team mbed

Couple of questions.

Do you know if the Level Shifters are needed? Also in the example code the line:

SHT75 sht(p19, p20);

What is this referring to from what I've found p20 is the data which I'm guessing would be DATA on the thermocouple, but what would p19 be? Its refering to a clock. Of some sort.

Thanks for the help so far.

posted by Craig Hamilton 26 Oct 2016

According to adafruit, it says level shifting is required, this maybe because they are expecting an arduino 5V, its hard to tell through the bad wording. Looking at the data sheet It seems to be a 3v3 device, so its a strange one.

In regards to p20, im not sure, it may be best to contact the user directly :)

Regards,

Andrea, team mbed

posted by Andrea Corrado 26 Oct 2016