I'm using SOT32 TMP236 analog temperature sensor. I mounted it with long pins far from the PCB to avoid heating from other components on the board. So the sensor is now "floating" in the air.
The output voltage is around 1.0V (35°C), but it is too high for the ambient temperature that is around 25°C.
So I don't understand. Does TMP236 measures junction temperature or ambient temperature near the sensor? Is it possible that the air temperature near TMP236 is 5°C higher than the room temperature far from the sensor, because of self-heating of the IC? If this is the cause, how could I compensate this to have the room temperature? Is it a constant offset voltage (always 5°C at 0°C or 50°C), is it a propotional offset (maybe 1°C at 0°C and 10°C at 50°C)?
I'm supplying the sensor with 5V and the output is now left open, but it does not change if I connect an RC filter and an ADC.