SKU:U236
























Chain DLight is a digital ambient light sensing node in the M5Stack Chain series. It features an onboard LTR-308ALS-01 ambient light sensor and can read ambient illuminance values. It supports configuring sensor gain, resolution, measurement period, and illuminance thresholds, as well as illuminance threshold event triggering for automated control. The device integrates a programmable RGB LED for status indication and is suitable for applications such as ambient light monitoring, automatic lighting control, screen brightness adjustment, and smart homes.
Chain DLight integrates an STM32G031G8U6 core MCU and uses a UART serial cascade communication protocol. Through two HY2.0-4P expansion interfaces, it can connect more Chain series devices to build richer light sensing and automation applications.
| Specification | Parameter |
|---|---|
| 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 | 50ms, 100ms, 500ms, 1000ms, 2000ms |
| Sensor Gain | 1x, 3x, 6x, 9x, 18x |
| Communication | UART 115200bps@8N1 |
| Interface | 2x HY2.0-4P |
| RGB LED | 1x WS2812C-2020 |
| Operating Power Consumption | DC 5V@21.71mA (white LED at 100% brightness) |
| Standby Power Consumption | DC 5V@8.44mA |
| Product Size | 24.0 x 24.0 x 16.0mm |
| Product Weight | 5.4g |
| Package Size | 138.0 x 93.0 x 19.0mm |
| Gross Weight | 8.8g |
Use a Chain Bridge connector to connect the Chain main controller (such as Chain DualKey / Chain Captain) to Chain series devices. Pay attention to the connection direction: the triangular arrow points outward from the main controller, as shown below:


| STM32G031 | PA12 | PA11 | PA1 |
|---|---|---|---|
| LTR-308ALS-01 | I2C_SDA | I2C_SCL | INT |
| STM32G031 | PA8 |
|---|---|
| WS2812C | RGB |
| STM32G031 | PB6 | PB7 | PA2 | PA3 |
|---|---|---|---|---|
| UART1 | TXD1 | RXD1 | ||
| UART2 | TXD2 | RXD2 |