Wrong temperature indication with thermocouple

Hi everybody ;

I'm using a thermocouple type K to get temperature measurements, Given that the voltage is very low in thermocouple output, i'm using an AD595 to amplify it, and to display data i'm using an arduino UNO.

AD595 outputs an analogic signal (10mV/°C and 0°C=>10 mV) which received by the arduino analog pin, this last display it on serial monitor, the temperature value is obtained with the famous formula : temperature = (analog_reading*(5/1024))*100;

The problem is that i get incorrect values, the schema and the obtained data are in attached files

Schematic-AD595.jpg

Post your code please.

In fact, i got the code from this blog : Hobbybotics AD595 Thermocouple Breakout V1.0 | Hobbybotics
there are 2 codes parts, i just used the first which displays data on the serial monitor (not on LCD)