Optical, Color & ToF

Vishay VEML7700 digital twin

16-bit high-accuracy I2C ambient light sensor (0–120 klx).

standing: provisionalI2C0x10 (fixed)
VendorVishayOptical, Color & ToF
InterfaceI2C0x10 (fixed)
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
0x00ALS_CONF_00x0001 (SD=1)Gain, integration time and shutdown control
0x04 / 0x05ALS / WHITE16-bit LEAmbient light and white channel counts

Attach with ct CLI

Shell - run firmware with VEML7700
# Run compiled firmware with VEML7700 attached on nrf52833-dk
ct run --json --board nrf52833-dk --device veml7700 build/app.elf

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

Fault-injection test snippet (suite.yaml)

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

Compatible board twins

More in Optical, Color & ToF