Read IR Temperature Sensor Logic Analyzer Trace

The I2C traffic for the Read IR Temperature Sensor Example was captured on a logic analyzer. This trace can be downloaded and viewed with free software from www.saleae.com. This is the best way to analyze the data, as it allows you to zoom in/out and measure timing.

NOTE: This logic analyzer trace may not exactly match the current code in the example. Use at your own risk.

tmp006Init
This configures the IR Temperature Sensor.

Reset the Sensor
On I2C, this is: W0x80, 0x02, 0x80, 0x00

Set Conversion Rate and Turn On Sensor
On I2C, this is W0x80, 0x02, 0x74, 0x00

Read Control Register
For example, the control register is now 0x67.

On I2C, this is: W0x80, 0xFF, [Repeated Start], 0x81, 0x00, 0x67

Read Manufacturer Register
For example, in this part the ID Register is 0x5449.

On I2C, this is W0x80, 0xFE, [Repeated Start], R 0x81, 0x54, 0x49

tmp006GetTemperature
This process is repeated every few seconds.

Read Object Voltage Register
For example, object voltage register value is 0xFF6C.

On I2C, this is W0x80, 0x00, [Repeated Start], R 0x81, 0xFF, 0x6C

Read Ambient Temperature Register
For example, ambient temperature register value is 0x0B74.

On I2C, this is W0x80, 0x01, [Repeated Start], R 0x81, 0x0B, 0x74