Hi there! I’m new to this forum, but like many of us, doing project by project with Arduino, we need some help here earlier or later… So here I’m, and I hope you could help me with this.
First of all, I’m looking for a library, to use this protocol, the more complete is the library the better (I mean that the library/ies not only transmit and receive over DALI serial, but all the standard commands table must be included, or at least the most used and important ones).
I first found a library called “pq_dali.h”, but like it just was able to transmit and receive from DALI bus.
Then, yesterday I found another one, that looked very complete called “dali.h”, and It called my attention, I would like to use it, but right now I have no idea if I must translate some code lines to Arduino IDE, so the compiler could understand it.
Here are some interesting links I found about this:
here is file filled of libraries, and is used to control the Cosino board (Arduino MEGA based):
https://github.com/cosino/dali2560/blob … /README.md
https://github.com/cosino/dali2560/find/master
The second link contains the “dali.h” library.
I’ve learned through the days, how DALI works, but I’m seriously stopped, because I have not idea of how to use that “dali.h” library for my Arduino with the role of Master who send and receive from Slaves.
Some tips about what would I like to do first:
-
Using RECALL MAX/MIN using the broadcast mode (so I can test which driver have problems)
-
Search and Setting the DALI address of each driver (up to 64 devices, so address must be from 0-63, in binary)
-
Test each of the drivers with specific address assigned in Step 2
-
Assign groups and scenes for each drivers (up to 16 groups)
That’s basically all, so I need help of how to send and receive data with that library, and need ideas of how to use those basics commands to install all the DALI system between Master (my Arduino) and all Slaves drivers (another DALI devices).
I already designed the DALI interface circuit, so that’s not a problem.
Here is another interesting link of how DALI works: http://www.rayzig.com/manual/rayzig.htm … ained.html
By the way… if you find another similar and good library, you should post it here and tell me how to use it.
I hope you could help me, and thanks a lot for reading this.