M5Stack Chain DLight LTR-308ALS-01 Ambient Light Sensor
Shipping from China within 5–10 working days
- During check out, you can choose direct shipping from China, or let us import the order to our EU/US office first and ship it to you locally.
- Import customs clearance and VAT are fully handled by us.
Need a larger quantity?
Need bulk pricing?
Get a formal quotation with lead time and volume pricing.
For universities, companies, distributors, and project orders.
M5Stack Chain DLight LTR-308ALS-01 Ambient Light Sensor
Description
M5Stack Chain DLight is a digital light sensor for the modular Chain series. The LTR-308ALS-01 reads ambient illumination and outputs illuminance in lux. Configurable gain, resolution, measurement period and high/low thresholds support light-responsive applications.
The ambient light sensor includes an STM32G031G8U6 and communicates through the UART Chain protocol at 115200bps, 8N1. Two HY2.0-4P ports connect additional Chain devices. A compatible host such as M5Stack Chain Captain processes readings and events. This is not an ordinary Grove I²C sensor connected directly to a generic sensor port.
The measurement period must be strictly longer than the conversion time associated with the selected resolution. Invalid settings are rejected and the previous configuration remains active. Sensor configuration and thresholds revert to defaults after power cycling, so reapply custom settings at startup.
Features
- Digital illuminance readings: Chain DLight outputs lux values with a published output range of 0–2,516,580 lx.
- Five gain settings: The ambient light sensor supports 1×, 3×, 6×, 9× and 18× gain.
- Resolution and timing: Choose 16–20 bits with associated conversion times from 25–400ms.
- Threshold events: Chain DLight can report crossings of configured high and low light thresholds.
- RGB indication: A programmable WS2812C-2020 provides default red overlay for high-threshold events and blue overlay for low-threshold events.
- Modular connection: The illuminance sensor has two HY2.0-4P ports and includes one Chain Bridge.
- Compact hardware: 24 × 24 × 16 mm size, 5.4g product weight and 5V DC input.
Specifications
| Product | M5Stack Chain DLight |
|---|---|
| SKU | M5-U236 / U236 |
| MCU | STM32G031G8U6 |
| Input Power | DC 5V |
| Light Sensor | LTR-308ALS-01 |
| Illuminance Output Range | 0–2,516,580 lx |
| Sensor Resolution / Conversion Time | 16bit / 25ms; 17bit / 50ms; 18bit / 100ms; 19bit / 200ms; 20bit / 400ms |
| Measurement Period | 50, 100, 500, 1000 or 2000ms; must be strictly greater than conversion time |
| Sensor Gain | 1×, 3×, 6×, 9×, 18× |
| Communication | UART 115200bps@8N1; Chain protocol |
| Interface | 2 × HY2.0-4P |
| RGB LED | 1 × WS2812C-2020 |
| Operating Current | 21.71mA at 5V; white LED at 100% brightness |
| Standby Current | 8.44mA at 5V |
| Product Size | 24.0 × 24.0 × 16.0 mm |
| Product Weight | 5.4g |
| Package Size | 138.0 × 93.0 × 19.0 mm |
| Gross Weight | 8.8g |
| Default Gain | 3× |
| Default Resolution | 18bit / 100ms conversion time |
| Default Measurement Period | 500ms |
| Default Thresholds | Low: 100 lx; high: 2047 lx |
| Default Event Reporting | Enabled |
| Default RGB Brightness | 40% |
| Configuration Persistence | Returns to defaults after power cycling |
Applications
- Ambient-light monitoring: Position the ambient light sensor at a representative point and log illumination changes over time.
- Automatic-lighting prototypes: Use Chain DLight threshold events as host inputs; actual switching or dimming requires additional suitable hardware.
- Screen-brightness adjustment: Feed lux readings into a custom display-control application and define sensible limits for brightness changes.
- Smart-home experiments: Integrate the digital light sensor into a compatible Chain system to evaluate daylight states or lighting scenes.
- Teaching and measurement experiments: Explore gain, resolution, conversion time and valid measurement-period combinations with the illuminance sensor.
- Light-state triggering: Report configured high and low light conditions for indications, logging or custom automation logic.
Product List
- 1 × Chain DLight
- 1 × Chain Bridge
Other Content
Connection and Direction
Fit the Chain Bridge with its triangle pointing outward from the main controller. Check supply and pin assignments before powering on. Chain DLight uses a UART cascade protocol; identical connector shapes do not make it a normal Grove I²C module. The sensor chip's internal I²C bus is not the external host interface.
Valid Measurement Periods
For the ambient light sensor, measurement period must be strictly greater than conversion time. Equality is not valid. At 18bit and 100ms conversion time, a 100ms measurement period is rejected; choose 500, 1000 or 2000ms. When rejected, the previous configuration remains active.
| 16bit / 25ms | 50, 100, 500, 1000, 2000ms |
|---|---|
| 17bit / 50ms | 100, 500, 1000, 2000ms |
| 18bit / 100ms | 500, 1000, 2000ms |
| 19bit / 200ms | 500, 1000, 2000ms |
| 20bit / 400ms | 500, 1000, 2000ms |
Startup and Events
Chain DLight defaults to 3× gain, 18bit resolution and a 500ms measurement period. Event reporting is enabled, with low threshold 100 lx and high threshold 2047 lx. Default RGB brightness is 40%. Reapply custom settings after every power cycle and confirm that the configuration was accepted.
The illuminance sensor reports light conditions; the main controller must implement the response. Red and blue overlays are indications, not certified safety functions. Electrical loads need suitable separate actuators; this module does not switch mains voltage.
Resolution, Gain and Placement
Select digital light sensor gain and resolution for the illumination conditions. Higher resolution takes longer to convert and cannot be combined arbitrarily with short measurement periods. The published lux output range is not a guarantee of accuracy across the full range or a certified luxmeter calibration.
Place Chain DLight where it sees the relevant light. Account for shadows from housings, hands or nearby parts and for local displays or LEDs during comparative tests. Record mounting position and settings between experiments. No protection rating is specified for unprotected outdoor use.
Power and Current Conditions
Budget the full Chain setup's 5V load. The 21.71mA operating value is specified with a white LED at 100% brightness; standby is 8.44mA. This condition differs from the 40% default setting and is not a battery-runtime figure. The ambient light sensor also requires a suitable Chain main controller.
Feature Overview

Chain Connection

Connector View

Rear Housing and Interfaces

Package and Contents

Resources
- Chain DLight Documentation
- Schematic
- Mechanical Dimension Drawing
- LTR-308ALS-01 Datasheet
- Arduino Getting Started
- M5Chain Driver Library
- Internal Firmware and Protocol
- Structure and Enclosure Files
FAQ
Why is my measurement period rejected?
It must be strictly longer than conversion time. At 18bit / 100ms, the ambient light sensor rejects a 100ms measurement period; 500ms is valid.
Are custom thresholds retained after power-off?
No. Chain DLight resets sensor configuration and thresholds. Apply the required settings again at startup.
Can it plug directly into a normal I²C sensor port?
Not as a direct replacement. The digital light sensor uses UART Chain communication with matching pin assignments and host support.
Is the main controller included?
No. The package contains one Chain DLight and one Chain Bridge, not Chain Captain or extra actuators.
Can it switch a lamp directly?
No. The illuminance sensor provides readings and events. A main controller and suitable separate switching or dimming hardware implement the response.











