DALI is an international standardized protocol for intelligent digital lighting control, that enables an easy implementation of robust, scalable and flexible lighting networks. DALI stands for Digital Addressable Lighting Interface and it was first introduced in the late ‘90s. Since then, it has undergone a number of revisions. The most recent version of the DALI standard IEC 62386, is also known as DALI-2, which brings many new features to the existing DALI protocol.
The simplest DALI network consists of a controller and one or more peripheral devices, such as LED drivers, dimmers, and ballasts, equipped with DALI interfaces. DALI 2 Click can be used to develop applications for controlling other peripheral nodes of the DALI network or to develop peripheral node applications that would respond to the commands sent by the main control unit. DALI 2 Click offers a simple and reliable interface to DALI and DALI 2 communication bus, making it possible to dive into the world of intelligent lighting.
The controller and the peripheral nodes are all connected to the DALI bus. The DALI bus consists of two wires, and offers very flexible network routing topology: all nodes can be daisy-chained, connected in a star topology or any combination of these. DALI bus also requires a 24V, 250mA DALI compliant power supply unit to be connected to it, since DALI bus logic voltage levels range up to 24V. Also, the DALI standard strictly defines the maximum current through the bus, which should not exceed 250mA. The maximum current through each connected node is also defined and it should not exceed 2mA. DALI is not classified as SELV (Separated Extra Low Voltage) and therefore its wiring may be run next to mains cables or within multicore cables that include mains power. Therefore, a DALI network cable is required to be mains-rated, with 600 V isolation and at least a 1 mm cross-section, with a maximum drop of 2 volts along the cable. That is roughly about 300m in length, depending on the specific resistance of the used cable.
The controller can monitor and control each peripheral device. The DALI protocol permits up to 64 nodes to be individually addressed, but it also allows multiple devices to be addressed simultaneously, via multicast and broadcast messages. DALI gateways can be used to further expand the network. The DALI bus communication data rate is 1200 bps (±10% max), and it consists of encoded data packets, exchanged between the controller and peripheral nodes. The controller sends 16bit Manchester encoded data packets, and the peripheral node responds back with an 8bit Manchester encoded data packet. The FORWARD FRAME is the frame sent by the controller node and it consists of one START bit, eight address bits (peripheral address), eight data bits (command) and two STOP bits. The BACKWARD FRAME is the frame sent from the peripheral node back to the controller. It consists of one START bit, eight data bits and two STOP bits.
Signal levels are defined as 0 ± 6.5V for logic LOW or 0 (DALI bus active state) and 16 ± 6.5V for logic HIGH or 1 (DALI bus idle state). As per DALI standard, DALI 2 Click board™ has a Graetz bridge rectifier on its DALI bus inputs, so a DALI bus can be connected to the DALI onboard screw terminal, disregarding the polarity of the signal. After it has been rectified, the DALI TX and RX signals go through the fast optocouplers and remain galvanically isolated from the rest of the circuit. These signals are routed to the RST and INT pins of the mikroBUS™ respectively, allowing the host MCU to exchange data via the DALI bus. There is an onboard SMD jumper, used to select the logic voltage level so that both 3.3V and 5V MCUs can be interfaced with this Click board™. An onboard LED labeled as RX is used to indicate an incoming transmission from the DALI bus.
Although backward compatible, DALI-2 standard introduces some new features, including 24bit frames, slightly changed logic voltage levels, standardization of different kinds of Control Gears (peripheral nodes), power supply through the BUS, more addressable nodes (up to 128), support for the LED color fixtures, and so on. DALI 2 Click is compliant with the DALI-2 physical layer requirements.
- Interface: GPIO
- Compatibility: mikroBUS™
- Dimensions: 42.9 x 25.4mm
- Input Voltage: 3.3V or 5V
- DALI bus current consumption: Typ. 1.6mA, Max. 2mA
- DALI bus allowed voltage: Min. 0V, Max. 24V