Wiring the TMP006
TheTMP006 communicates over I2C, so you only need 4 wires to connect it to the Arduino. The SDA and SCL pins can be shared with other I2C devices.Connections for R3 and Later Arduinos:
- VCC -> 3.3v or 5v
- GND -> GND
- SDA -> SDA
- SCL -> SCL
Connections for 'Classic" Arduinos:
- VCC -> 3.3v or 5v
- GND -> GND
- SDA -> Analog 4 (20 on Mega)
- SCL -> Analog 5 (21 on Mega)
Addressing
To use multiple TMP006 breakouts on one i2c bus, you need to give each one a different i2c address. The chip uses a clever addressing scheme to allow up to 8 addresses using just 2 address pins.The default address of the TMP006 is 0x40. By connecting the address pins as in the following table, you can generate any address between 0x40 and 0x47