This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMP117: At negative temperature, sensor returns value with an offset of 512.

Part Number: TMP117

So, if air temperature is 5 degrees C, sensor returns 5. But if the air temperature is -5 degree C, it returns ( 512 + (-5) ) i.e. 507. 

  • Hi,

    Thanks for posting to the sensors forum.

    The temperature data in the result register is in two's complement format (see excerpt from datasheet below). A temperature of -5*C will have a binary value of 1111 1101 1000 0000 or a hex value of 0xFD80. 

    Best regards,

    Jesse