Is a random function needed for software-controlled lamps on a DALI bus?

Status
Not open for further replies.
T

treez

Guest
Is a random fumction needed for software controlled lamps on a DALI bus?

Hello,
Our offline DALI controlled led lamps are not working properly. They turn off for no reason at random.
We have also written our own very overly simple software (without the DALI software), and it works fine, and the leds can be dimmed happily up and down, and don’t just turn off for no reason.
So do you know why our DALI software doesn’t work properly?
We asked the software engineer why the lamps keep randomly turning off , and he claimed it was because our hardware is noisy….but if our hardware is noisy, then why does our own simple software not malfunction.?
We looked at his code, and we noticed he has a “random” function in it. –It generates random numbers.
We cannot understand why DALI software in a lamp needs a random function. Do you know why it is needed?
We also cannot understand why he has set the clock speed to 16MHz….surely a simple DALI controlled lamp doesn’t need 16MHz….the DALI baud rate is just 1200.
There is a temperature shutdown function…and also there is a function which brightens the lamps over the years due to the leds diminishing in light output. (ie it increases led current as time goes on). Thats about it.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…