Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top