
Digital ambient light sensing over I2C
The Adafruit LTR-329 breakout adds visible-light and infrared sensing to a microcontroller or single-board computer. It is useful for automatic display brightness, indoor light logging, day/night detection and light-following robotics. The board uses the Lite-On LTR-329ALS-01 sensor and is Adafruit product 5591.
Two 16-bit channels report visible-plus-infrared and infrared light. Configurable gain and integration time help the sensor work across dim and bright conditions. Use the supplied software libraries to convert the channel readings into useful light measurements for your project.
Features
- LTR-329ALS-01 digital ambient light sensor with I2C communication.
- Separate visible-plus-IR and IR measurement channels with 16-bit output.
- Six programmable gain settings: 1x, 2x, 4x, 8x, 48x and 96x.
- Nominal light measurement range of about 0.01 to 64,000 lux, depending on configuration.
- Onboard voltage regulation and level shifting for 3V to 5V power and logic.
- STEMMA QT / Qwiic connectors for a compatible solderless I2C connection.
- Arduino and CircuitPython/Python library support.
Technical details
- Sensor: Lite-On LTR-329ALS-01.
- Host interface: I2C, up to 400kbit/s.
- Fixed I2C address: 0x29, not changeable.
- Breakout power and logic: 3V to 5V.
- Board dimensions: approximately 25.4 x 17.7 x 4.6mm, per Adafruit.
- Sensor operating temperature range: -30 to +70 degrees C.
- LTR-329 does not provide the interrupt output found on the LTR-303 variant.
Power and connections
Connect VIN to the controller's logic supply, GND to common ground, SCL to I2C clock and SDA to I2C data. The 3Vo pin is the onboard 3.3V regulator output, not the main power input. A compatible STEMMA QT / Qwiic cable can be used instead of soldering the signal pins. Cables are not included.
Install the Adafruit LTR329/LTR303 library for your platform and start with its LTR-329 example. Since the address is fixed at 0x29, use an I2C multiplexer if your project needs multiple LTR-329 boards on one host bus. Leave the optical sensor exposed to the light you want to measure.
Package Includes
- 1 x Adafruit LTR-329 ambient light sensor breakout board, STEMMA QT / Qwiic.
The supplier's package list names the sensor board only. The loose header and scale-reference coin shown in the photographs are not included in this listing. Controller, breadboard, connecting wires, USB cable and STEMMA QT cable are not included. The pin reference and wiring image are functional diagrams, not additional supplied parts.
Useful Links
- Official Adafruit product page
- Official LTR-329 and LTR-303 guide
- Power and I2C pin reference
- CircuitPython and Python wiring and examples
- Arduino wiring and code
- Datasheets, schematic and board files
- Supplier reference and package list, Robu R192751
Image credits: native product photographs by Adafruit Industries, used and re-hosted under the online-store content-use permission in the Adafruit Products API rules. The pin reference and wiring diagram are original REES52 functional illustrations based on the official documentation. No Learn guide photographs or diagrams are reproduced.