10 years, 5 months ago.

Thermocoule

is there in C Liebry for K type thermocouple curve that i need to use in my embeded soft to convert thermocouple millicolt to Temperature in Deg C

2 Answers

10 years, 5 months ago.

No real need for a library, a single function will do it. Look at the incoming voltage and based on it's range use the correct one of 3 different equations to convert to temperature.

The equations are here: http://www.omega.com/temperature/z/pdf/z198-201.pdf

The other method is to use a lookup table, again no real need for a library, you just multiply the voltage by a constant, convert it to an integer and use that as the index to an array. A lot faster than a 9th order polynomial but depending on the mbed you are using you may not have enough memory. If you have the space google will find the table for you.

10 years, 5 months ago.

Personally, and from experience, I would recommend MAX6675 or MAX31855,

Because they have a digital SPI interface, and the number is the temperature. the second one, which you can read out the IC's temperature as well as K temperature.

the max31855 is avalable from RS for £4.50, but make sure you get the 'K' Type.

786-1017 698-7118

or farnell 1379740.

Cheers

Ceri