Environment & Temperature

Sensirion SHT31-DIS digital twin

±0.2 °C / ±2 %RH I2C temperature and humidity sensor with CRC-8.

standing: provisionalI2C (I2C1 on nucleo-f767zi)0x44 (ADDR=LOW) or 0x45 (ADDR=HIGH)
VendorSensirionEnvironment & Temperature
InterfaceI2C0x44 (ADDR=LOW) or 0x45 (ADDR=HIGH)
Record Status2026-11-21rev 287d49a4a (clean tree)

Driver oracle & capability record

Driver oracle PASS: 6/6 stages passed on nucleo-f767zi; generator 0.1.0+policy.12.

Driver referenceSensirion embedded-i2c-sht3x driver (Sensirion's own C driver) (commit 4026a907a) (BSD-3-Clause)
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Datasheet accuracy basistemperature +/-0.2 C typical (0..90 C), humidity +/-2 %RH typical (SHT3x-DIS Table 1, 2)
Negative controlstimulus outside the datasheet tolerance -> oracle FAIL
Published recordaccuracy/driver-oracles-2026-11-21.json (SHA-256 dd20a19b84c9)

Measured driver round-trip results

QuantityMeasuredExpectedErrorDatasheet Tolerance
TEMPERATURE_mC24998 mC25000 mC-2 mC±200 mC
HUMIDITY_m%RH50000 m%RH50000 m%RH0 m%RH±2000 m%RH

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x2400MEAS_HIGH_REP6-byte frameSingle-shot high repeatability temp + RH + CRC-8
0xF32DREAD_STATUS0x8010Status word (heater, alert, checksum status)
0x30A2SOFT_RESETWrite cmdSoft reset command

Attach with ct CLI

Shell - run firmware with SHT31-DIS
# Run compiled firmware with SHT31-DIS attached on nucleo-f767zi
ct run --json --board nucleo-f767zi --device sht31-dis build/app.elf

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

Fault-injection test snippet (suite.yaml)

tests/sht31-dis-fault.suite.yaml
version: 1
board: nucleo-f767zi
firmware: build/app.elf
tests:
  - name: sht31-dis-i2c-nack-and-bad-id
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x44
        count: 2
      - at_ms: 150
        part: sht31-dis
        kind: frozen_reading
    expect:
      console_contains: "DRIVER_FAULT_DETECTED"
      exit_code: 0

Compatible board twins

More in Environment & Temperature