adafruit_si1145

CircuitPython helper library for the SI1145 Digital UV Index IR Visible Light Sensor

  • Author(s): Carter Nelson

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_si1145.SI1145(i2c: I2C, address: int = 96)

Driver for the SI1145 UV, IR, Visible Light Sensor.

property als: Tuple[int, int]

A two tuple of the Ambient Light System (ALS) visible and infrared raw sensor values.

property als_enabled: bool

The Ambient Light System enabled state.

clear_error() None

Clear any existing error code.

property device_info: Tuple[int, int, int]

A three tuple of part, revision, and sequencer ID

reset() None

Perform a software reset of the firmware.

property uv_index: float

The UV Index value

property uv_index_enabled: bool

The UV Index system enabled state