Pages: [1]   Go Down
Author Topic: 100 LEDS light chaser sequence  (Read 1345 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to create a light chaser sequence similar to the Cylons eyeball movement. But I want to do it using about 100 LEDs. knowing that there is only about 12 or 13 outputs that arduino can supply for me, is there any possible way for me to make an individual LED light up in sequence, up to 100 LEDs???
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You need an led driver. It is a similar thing to controlling an LED cube that has 125 (5x5x5 cube) or more leds using an arduino. Start your searching there.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 597
Posts: 33301
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
similar to the Cylons eyeball movement
A link would be good, not everyone has your experience.

There are lots of ways to drive 100 LEDs
Like:-
13 shift registers chained together.
or one MAX6954
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26338
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Two MAX7219s, can control 64 LEDs each.
$1.25 at taydaelectronics.com
Keep your data in a 16 byte array, send out to the MAX7219s when something needs changing.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Eugene, Oregon
Offline Offline
Sr. Member
****
Karma: 9
Posts: 388
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This question is about as general as "I need a car, which car should I buy". We dont know what kind of car would work best for you.

There are lots of ways to control LEDs. You could multiplex, charlieplex, serialize with shift registers or LED drivers, or with individual chips on each LED. There are probably other ways that I havnt even considered... Im looking into cascaded transistors, yay!

I think there are over 20 control pins on an arduino. 2-13 are digital, 14-20 are analog, and 0 and 1 may or may not be usable, im not sure (I think they also control the rx and tx leds, so they may be unsuitable for regular use. Anyway, you have 20 or more on most arduinos, if you get a mega, it has a lot more pins.
Logged


Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26338
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You don't need 20 tho - just SCK and MOSI to clock the data in, and SS on D10 to latch it into the output.
Can be a string of 8, 16, 18, 20 pin output shift registers, or 2 daisychained MAX7219s, which act like eight 8-bit shift registers for loading up the data. Each register individually addressable, unlike a string of chips.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: