Show Posts
Pages: [1]
1  Using Arduino / LEDs and Multiplexing / Re: Flying LED matrix on: December 14, 2012, 03:36:04 pm
roontoon,

How many LEDs do you plan on having on your copter?? and what are you using to power and control them?

The best way is to just write the array as you'd like the LEDs to appear. even if they seem out of order when you call them from a 'for' command will find that they will all come up as the some color.

something like this...

Code:
   for (int i=0 ; i < 20; i++) {
    strip.setPixelColor(ARRAY1[i], 127,127,127);

im not sure if that 100% correct but it should get you started.

also look here for a good explanation of arrays http://arduino.cc/en/Reference/Array and here http://arduino.cc/en/Reference/For on For commands.

Hope this helps

DuaneAUS
2  Using Arduino / LEDs and Multiplexing / Re: Wiring an LED strip to arduino - NEED HELP PLEASE! on: December 14, 2012, 03:13:19 pm
Aphra,

Going on what you have written big fella it would seem as if you have not wired the LED strips into the relay back that you have bought. you have wired them directly onto the LED driver. Is this correct??

If so then when you turn the power on the LEDs should light up straight away, not controlled by the arduino.

If you wish to control them with the arduino you have to wire the LED strips through the relay bank you bought and control the relays with the arduino.

I guess the real question is.... What exactly are you trying to achieve? Are the LEDs going to just turn on when a sensor is triggered?? Are they going to get brighter as someone gets closer??

Send some more info our way and im sure someone here will be able to point you in the right direction.

Cheers DuaneAUS
3  Using Arduino / LEDs and Multiplexing / Re: Advanced LED Belt Kit Sketch on: December 13, 2012, 02:59:36 pm
Might someone be able to point me to a sketch for the Advanced LED Belt Kit that would
run on an UNO using pins 2,3 on a 160 LED strip?

I've tried a number of mods to the existing code but it runs very strangely.

Many thanks,

Carl

Carl,

I have tried to run this program on an UNO. Sorry to say it just doesn't have the capability to run 160 LEDs and the program. I have had 60 odd running but the transitions in the code make it very jumpy. It will run the "led belt kit" sketch but it does start to struggle after about 200 LEDs from memory.

I got around it by using an arduino mega. They are great. But even that struggles with some of the transitions with 402 lpd8806 LEDs hanging off of it.

I hope this helps you out big fella

Duane
Pages: [1]