Environment & Temperature

Texas Instruments TMP117 digital twin

±0.1 °C medical-grade 16-bit I2C digital temperature sensor.

standing: provisionalI2C0x48–0x4B (default 0x48)
VendorTexas InstrumentsEnvironment & Temperature
InterfaceI2C0x48–0x4B (default 0x48)
Record Status2026-11-19rev c3f5f9950 (clean tree)

Driver oracle & capability record

Part of the 27-part, 44-case twin-factory oracle suite (44/44 passed, generator 0.1.0+policy.12).

Driver referenceTwin-factory vendor-driver oracle (0.1.0+policy.12)
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordaccuracy/twin-factory-oracles-2026-11-19b.json (SHA-256 caa6e32e53c5)

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x00TEMP_RESULT7.8125 m°C/LSB16-bit signed temperature output
0x01CONFIGURATION0x0220Conversion cycle, averaging and alert mode
0x0FDEVICE_ID0x0117TI TMP117 device identifier

Attach with ct CLI

Shell - run firmware with TMP117
# Run compiled firmware with TMP117 attached on arduino-uno
ct run --json --board arduino-uno --device tmp117 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/tmp117.xml tests/tmp117-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/tmp117-fault.suite.yaml
version: 1
board: arduino-uno
firmware: build/app.elf
tests:
  - name: tmp117-i2c-nack-and-bad-id
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x48
        count: 2
      - at_ms: 150
        part: tmp117
        kind: register_override
        register: 0x0F
        value: 0xFF
    expect:
      console_contains: "DRIVER_FAULT_DETECTED"
      exit_code: 0

Compatible board twins

More in Environment & Temperature