<font face="Arial, Verdana">I followed your suggestion and installed the </font>AD8495. i connected it to the aux adc.
And wrote in the configurationfile:
<font color="#555555" face="Arial, Verdana">#define MOTHERBOARD 402</font>
<font color="#555555" face="Arial, Verdana"><div style="font-size: 13.3333px; line-height: normal;">#define EXT0_TEMPSENSOR_TYPE 61
#define EXT0_TEMPSENSOR_PIN THERMOCOUPLE_0_PIN
and in the pins.h
i find:
#if MOTHERBOARD == 402
........
........
#define THERMOCOUPLE_0_PIN 2 // Dua analog pin #59 = A5 -> AD 2
As far as i can see everything is alright, and when i measure the thermocouple it changes values with changing temperature, but the adc doesn't give 3,3V which could explain why the readings don't work.
I then tried to connect the thermocouple to the x-min endstop and changed it accordingly in the configurationfile. The x-min endstop gets 3,3V but in the readings of repetierserver i get a fixed -250V. Is the x-min endstop a pullup? Is there another pin i could use on the RADDS as thermocouple pin?
</font></span></div>