T
treez
Guest
Thanks, i could be wrong, but with DALI i think the random number generator is to do with giving address's to lamps. Do you agree?Unless there is a random lighting mode (multi color 'mood lighting' perhaps) I can't see why a random number generator is needed.
I mean, the micro in each lamp gives itself a random address....and then when it finds out that others do have the same address, it kind of works out how to change its address so as to be different to all the existing adress's...do you agree.
But yes, we are mystified as to why the software guy has used a random number generator in our simple dimmable lamps.
- - - Updated - - -
Thanks, and i take it you mean the fact that inputs which arent tied (or pulled up) to ground or power will "Invite" noise issues in the microcontroller?4. Floating inputs are a BAD idea but before shooting the software author, check they have not enabled internal pull-ups or similar.
- - - Updated - - -
Thanks for clearing that one up. Another point for us is that the micro and control circuitry is fed from a high voltage (LR8) linear regulator from the HV DC Bus…..as such we need to keep power consumption of the control circuitry as low as possible…and with a 16MHz oscillator, the micro is pulling more current than if lower osc frequency. We wonder just how low we could go with the micro osc frequency and still be able to receive the broadcasted DALI signals?……we don’t have to transmit back.Fast clock just means faster software operation but is not more susceptible to noise.
Could we have a micro oscillator set to about 100kHz and still receive the DALI dimming commands which are at 1200bits/sec?