I’ve just received a 5m strip of LEDs (LPD8806, 48 LEDs per metre) and hooked it up to an Arduino Uno R3. I thought it would then be a case of simply uploading the longstrandtest examples to get the thing started.
Unfortunately, it wasn’t that simple!
When I turn it on, part of the strip lights up and starts flashing different colours rapidly and randomly, part of it lights up but doesn’t really change colour, and the rest is off. If I pull the wires out of the Arduino, the whole strip lights up white, so I know the strip isn’t faulty.
I’m guessing it’s due to the code perhaps being intended for the Adafruit strips which are 32/m instead of 48. So I tried to change references to the length I could find in LPD8806.cpp and change them to 48, but that’s not worked either. (and I’ve made sure I’ve set the number of leds in the .pde to 240).
I’m not really sure what else to do now to try get it working properly! I’ve never really worked with Arduino or LED strips before, so I may be missing something really obvious, but I’d be grateful for any help/guidance! =(
Info on setup: Arduino Uno R3 with yellow wire connected to pin 3, and green to pin 2 (swapping these doesn’t help). Arduino powered via laptop USB for the time being. Strip powered by 5V 10A DC. Red and black wires from LED strip are connected to the power accordingly.