MAX 31855 and Thermocouple Errors

Istadniy,

I'm struggling to get this to work out - can you help me out here?

Using the equation in the MAX data sheet : VOUT= (52.186 uV/degC) x (TR- TAMB) (here for a T type)

I'm using TR as the (incorrect) 'external' temperature returned by the MAX (say 20 deg C) and TAMB as the reference (internal chip) temperature of 24 dec C. This gives me a VOUT = 0.20872mV.

Using this value in the NIST polynomial equation T=d0+d1VOUT+d2VOUT^2+ etc. +d7*VOUT^7 using the following coefficients:

d0 0.0000000000000
d1 25.9280000000000
d2 -0.7602961000000
d3 0.0463779100000
d4 -0.0021653940000
d5 0.0000604814400
d6 -0.0000007293422
d7 0.0000000000000

I get a 'real temperature of -5.445 C which is plainly wrong.

I suspect Im doing something wrong in calculating the VOUT - any ideas that point me on the right direction?

Thanks