This application note describes the implementation of the Digital Addressable Lighting Interface (DALI) into the STM8S 8-bit microcontroller family. The STM8S DALI slave library simplifies integration of the DALI slave interface into customer applications.
This document details the implementation of the Digital Addressable Lighting Interface (DALI) into the STM8S 8-bit microcontroller family. The provided DALI slave library simplifies the integration of the DALI slave interface into customer applications, particularly for electronic ballast control and other light control scenarios.
The library has been tested according to the DALI specification and includes a simple application example designed for use with the STM8S-DISCOVERY evaluation board and the STEVAL-ILMOO1V1 DALI transceiver board. The example demonstrates controlling an on-board LED diode's light intensity using PWM, managed by an external DALI master device.
| Microcontroller Family | STM8S 8-bit |
|---|---|
| Communication Speed | 1200 Bd |
| Bus Length (1.5 mm² cable) | 300 m |
| Max Bus Current | 250 mA |
| Max Receive Current | 2 mA |
The library simplifies the integration of the DALI slave interface into customer applications.
It simplifies the integration of the DALI slave interface into customer applications, such as electronic ballast control.
Light intensity is controlled by the PWM method using a built-in timer.