Adafruit LTR-329 Shield
Overview
The Adafruit LTR-329 Light Sensor Shield features a LiteOn LTR-329ALS-01 Digital Light Sensor and two STEMMA QT connectors.
Requirements
This shield can be used with boards which provide an I2C connector, for example STEMMA QT or
Qwiic connectors. The target board must define a zephyr_i2c node label. See Shields for
more details.
Pin Assignments
Shield Pin |
Function |
|---|---|
SDA |
LTR-329 I2C SDA |
SCL |
LTR-329 I2C SCL |
See liteon,ltr329 for documentation on how to adjust the devicetree file, to for
example adjust the integration time.
Programming
Set --shield adafruit_ltr329 when you invoke west build. For example when running the
Generic Light Sensor Polling light measurement sample:
# From the root of the zephyr repository
west build -b adafruit_metro_rp2040 --shield adafruit_ltr329 samples/sensor/light_polling