DALI Power LED Driver

Board for driving (up to) 3 power LEDs according to the European Digital Adressable Lighting Interface (DALI) Standard, with a low power design. The board contains:
Board for driving (up to) 3 power LEDs according to the European Digital Adressable Lighting Interface (DALI) Standard, with a low power design. The board contains:
- A 12V-3.3V regulator (to power the microcontroller)
- A 1.5A Constant Current Buck Regulator for Driving High Power LEDs (LM3406 - Texas Instruments)
- A 32-bit ARM Cortex-M0+ microcontroller (LPC812M101JD20 - NXP), to control the LED driver
- A DALI interface, serving as a mediator (translating) between the 12V DALI signal from the external world and the signal to the microcontroller (based on this Freescale file: http://www.freescale.com/files/microcontrollers/doc/ref_manual/DRM004.pdf )
- 2 Luxeon Rebel power LEDs (can drive up to three). The microcontroller can be programmed to receive DALI signals from the DALI interface and interpret them, sending a correct control signal to the LED driver (e.g. interprets a DALI signal and sends a PWM signal to dim the lights).
Still needed:
Connections between the microcontroller and the LED driver
The microcontroller needs to be programmed
A DALI master UNIT
Discussion (5 comments)
TheBug 9 years ago
A big problem with building a DALI device is that there (AFAIK) is no free specification of the protocol anywhere. The design examples from various microcontroller manufacturers which I have seen so far are flaky at best.
So that ends you up with either relying on incomplete information from app notes/code samples or having to shell out more than € 1000 for the official IEC/EN specs.
TheBug 9 years ago
Bobbylebob 9 years ago
Yves Bastin 9 years ago
Hi,
My main job is to realise application for room management. The goal is to create some GUI or to use push buttons to control all the elements in the room like the sound, the video, the blinds, the heating, the lifts of projector and also the light. I use worldwide known systems like AMX or Extron but I have also written some applications for Windows or other. The problem where I am often facing is the interfacing mainly for the light where we have a lot of protocols (DMX, DALI, 0-10v, 1-10v, ...). Sometime I can find the right product but sometime nothing exist. Therefor, I have developed an interface card actualy based on a Wiznet Ethernet module (wiz200web). I am writing the firmware and I find information in an application note from Microchip (ww1.microchip.com/downloads/en/AppNotes/01465A.pdf).
ethernet8x0-10vdesc.png (154kb)
ethernet8x0-10v.png (56kb)
Ar Ha 8 years ago
Where are you with your interface? Did you managed to interface with the dali bus?
Thanks
ClemensValens 9 years ago
ClemensValens 9 years ago
Yves Bastin 9 years ago
ClemensValens 9 years ago
ClemensValens 10 years ago
Hi,
I am not into DALI so I don't know anything about the popularity and the usefulness of the protocol. Having said that, I recently came across application notes from NXP that show how to implement DALI as master and as slave and, here comes the interesting part, I have the hardware needed. (Except the DALI bus driver, but that is a minor problem.)
Currently I am working on an LPC1347 board meant to be a synthesizer and on a small LPC812 board that fits in almost everything.
The LPC1347 board is housed in an enclosure meant for mounting on a wall. It can be fitted with up to 8 rotary encoders, a small LCD, 2 bi-color LEDs and a pushbutton. The software for this all is working and I could integrate it in a DALI master. The cool thing of this processor is that it can be (re)programmed without special hardware, all you need is a PC with a USB port running Windows (which I do not consider special hardware ;-).
The hexagonal LPC812 board (the Cool Controller Concept or CoCo-ri-Co project, soon to go live) can be fitted with a ring of 16 bi-color LEDs, a buzzer, a rotary encoder, another bi-color LED, a pushbutton and extension connectors. It should not be too much work to port the DALI slave to this board. I also designed a slimmed-down version of this board for which I will soon post a video.
What do you think? Would this make an interesting DALI platform? Supposing of course that DALI is interesting.
Regards,
Clemens
Bobbylebob 10 years ago
dscn6390.jpg (235kb)
mcu-schematics.gif (75kb)
powerdali-schematics.gif (32kb)
Alexandre.Willik 10 years ago
Bobbylebob 10 years ago
Alexandre.Willik 10 years ago
Alexandre.Willik 10 years ago
Bobbylebob 10 years ago
Hi guy,
This project reminds me many things. I spent my last year internship working for 6 months on DALI bus at Atmel's application laboratory. I wrote slave library for AT90PWMx series which embedd a manchester UART. After that, I developped a small tool used to interface an USB bus and act as a DALI master and i wrote the application software in Java.
I was thinking DALI was becoming obsolete with new wireless technologies, dont'you?
Which DALI master did you use to develop you project? As this is uncommon for many of us, you absolutely have to suggest where to buy one to allow readers to use it.
My projects was designed to be published as an application note but Atmel let it drop after my mission. Maybe we could work together to offer both master and slave to elektor's readers?
Ar Ha 8 years ago
Is there any update about this project? For my 6 months project, I got to build an dali interface to communicate to the DALI bus: Hardware and software. Could we update the master hardware. How to communicate with an ethernet connection?
Thanks
Bobbylebob 10 years ago
Alexandre.Willik 10 years ago
Bonkers 10 years ago
Alexandre.Willik 10 years ago