LabWired The easy way to build hardware
I²C device

TI TMP102 Temperature

The TI TMP102 Temperature is an I²C device in the LabWired part catalog. Its catalog type is tmp102. It connects to the MCU over I²C at the default address 0x48. The catalog gives a supply range of 1.4–3.6 V. It has 4 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

From the catalog: Declarative I²C kit — core/configs/devices/tmp102.yaml. TEMP self-drifts +0.5 °C per read and wraps 35 → 20 °C, a deterministic demo stimulus with no SimInput channel; CONFIG/T_LOW/T_HIGH store what a driver writes. NOT modelled: the ALERT pin, one-shot conversion timing, extended (13-bit) mode arithmetic.

Key facts

CategoryI²C devices
Catalog typetmp102
InterfaceI²C
Default I²C address0x48 (72 decimal)
Supply range1.4–3.6 V
Pins4
DatasheetTexas Instruments TMP102 datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

TI TMP102 Temperature pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
SDA Open-drain I²C data (SDA)
SCL Open-drain I²C clock (SCL)

How to simulate the TI TMP102 Temperature in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the TI TMP102 Temperature (catalog type tmp102).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 1.4–3.6 V.
  4. Connect SDA and SCL to the I²C data and clock pins of the board.
  5. Run the firmware. It finds the part on the I²C bus at 0x48 and reads and writes it as on hardware.

Other parts at I²C address 0x48

These catalog parts use the same default address. Two parts at one address cannot share one bus segment. A bus switch such as the TCA9548A puts them on separate segments.

Related I²C devices

All I²C devices · All parts

Further reading

Modelled from Texas Instruments TMP102 datasheet.