Wednesday, September 27, 2017

DEBUGGING ON TMP112 INTERFACE WITH MSP430FR5969 #20102016

  • Temperature sensor was successfully interfaced with the processor and giving the current temperature data in degree Celsius.
  • Minimum resolution of the current sensor is 0.0625 degree C, and accurate up to 0.5 degree C up to 65 degree C and 1 degree C beyond.

  • The picture shows the temperature at the time of measurement highlighted, upto precision of 3 digits after decimal.
  • ‘a’ section of the waveform is the address of temperature sensor,
    ‘b’ section is the internal temperature register address, which is all zero.
    ‘c’ and ‘d’ are the temperature value in binary(16 bits).

  • Changes made in Code
A) After software reset of IIC some delay is required, this issue took most of the time.
B) Set the IIc master mode with synchronous setting of 400Khz of data rate.
C) Low power implementation in current sensor for the long term battery life.
D) This configuration keeps the sensor in sleep mode and only waking up when temperature is need to be measures and then sent to sleep again. 




No comments:

Post a Comment