Recent activity
Subscribe to this feed
A comment on the problem "BlinkMs loose unit addresses at random!" in ThingM:
I can't quite parse what you said in your last comment. Could you rephrase it? – todbot, on October 02, 2008 05:09
A comment on the problem "BlinkMs loose unit addresses at random!" in ThingM:
-> i am trying to identify if the problem had a link with the i2c bus by programming a starting sequence with sequencer and defining an address to concerned led and just putting 5v without connecting them to an i2C bus
Arnaud – Arnaud, on October 01, 2008 22:59
Arnaud replied on October 01, 2008 22:28 to the problem "BlinkMs loose unit addresses at random!" in ThingM:
I have reprogrammed the default sequence with communiator and sequencer.
But the concerned led with the problem lost these sequences too. As far as i remember, concerned leds maintained the programmed sequence and the channel number when it stays plugged on 5v. When I unplug and replug power, let say 5 times, almost every concerned led lost their information.
My pull up resistors are on a shield up to the arduino board between 5v of arduino and respectively SDA and SCL. grounds are common between arduino voltage regulator and the dedicated one for leds (78T05N -> 5V 3A for 10 leds and 20 in the futur, with all the capacitors to maintain a perfect 5V even when the leds are blinking -> verified with oscilo).
Best thing i can do is send you the leds concerned asap to let you have a hand on it.
For information, I bought the leds at lextronic (France) 10 days ago.
todbot replied on October 01, 2008 21:54 to the problem "BlinkMs loose unit addresses at random!" in ThingM:
Hi Arnaud,
Thank you, this is helpful. I've tried similar arrangements of BlinkMs but haven't seen problems yet. I'll try again, replicating your exact setup.
You say you have pull-up resistors, could you describe exactly how you have them wired up? Or attached a schematic or diagram image showing the connections?
Address 0 is the "broadcast" address in I2C, so every BlinkM should respond to commands sent to it.
Do the BlinkMs that have lost their address still play the default startup light script (white->red->green->blue->off->repeat)?
Arnaud replied on October 01, 2008 13:08 to the problem "BlinkMs loose unit addresses at random!" in ThingM:
I have the same problem : I use an arduino board, and a strip of ten blinkm. pull up resistor are on the 5v of the arduino and the blinkm are powered with a separated regulator (common GND).
the 4 same blinkm lost their adress when i repower few time everything.
So to detect what is going wrong i wrote a setup wich makes blink each blinkm on each canal of the i2c bus :
////
int i ;
for(int i = 1 ; i <= num_led;i++)
{
BlinkM_setRGB(0x00,0x0,0x0,0x0);
delay(5);
BlinkM_setRGB(i,0xFF,0xFF,0xFF);
delay(300);
Serial.print("canal : "); Serial.println(i);
}
////
After a reprogrammation and some reboots + sequence, i found that it is the same leds wich lost their adress and have most of the time taken an adresse of an other led between the losts leds . Whatever, they respond to canal 0
Maybe it is the corruption of a bit in the address. Is there some CRC made on the adresse in the attiny45 of the blinkm ?
Arnaud-
Arnaud started following the problem "BlinkMs loose unit addresses at random!" in ThingM.
Loading Profile...
