Pages: [1] 2 3   Go Down
Author Topic: What hardware can drive one long row of 100 LEDs  (Read 2160 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What specific hardware do I need to be able to turn on one or more specific LEDs in a single row of 100 LEDs using an arduino? All the tutorial are for a matrix but that's not what I'm doing.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 310
Posts: 26632
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
All the tutorial are for a matrix but that's not what I'm doing.
What if you think of your 100 LEDs as a 10x10 matrix, unravelled into a thread?
Does that help?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

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

Or you can use shift registers, 8 LEDs per shift register = 13 shift registers.

If you want dimming control over them then:-
http://www.elcojacobs.com/shiftpwm/
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't need dimming control. I need to be able to turn any number of them on in any combination.
Logged

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

So just the shift registers without that software then.
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So just the shift registers without that software then.
I've done several arduino projects in the past but have not clue what you're talking about. Is there a tutorial/example?
Logged

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

http://arduino.cc/en/Tutorial/ShiftOut
Jut don't fit the capacitor on the latch pin.
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/en/Tutorial/ShiftOut
Jut don't fit the capacitor on the latch pin.

Quote
In other words, you can use it to control 8 outputs at a time while only taking up a few pins on your microcontroller
That's not good. I need to be able to turn on at least10 led's at a time.
Logged

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

You don't understand you can control all 100 LEDs at the same time, you just cascade shift registers.
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I see. Now I've noticed another potential problem. Each chip only controls 8 leds. Don't they make a chip that controls 100. I don't want to buy 12 chips if there is already a better solution.
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Consider the alternatives ... either you can buy the 12 separate shift registers and control 96 LEDs, or you can invest in an addressable LED string, where there's an IC for each individual LED ... that's 100 LEDs plus 100 ICs ... You do the math.

Personally, buying the 12 shift registers is the best solution here.  Otherwise, go back to square one and re-think your project and hardware.
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Tell me more about this "addressable LED string". What's supposed to be the bad thing about it? cost? Is it more of a pain to assemble?
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found some of them online. I need a custom LED strip made where the LEDs are a specific spacing and all are addressable. Where would I get that?
Logged

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

Quote
I need a custom LED strip made where the LEDs are a specific spacing
You are not going to find that unless you have several hundreds thousand dollars to spare, I assume you haven't.
You can get a chip that will control 100 LEDs but it will cost you about three times more than buying 12 shift registers and is considerably more difficult to control with an arduino. This is the MAX6954, google for the data sheet.

An other alternative is the shift bright
http://macetech.com/store/index.php?main_page=product_info&products_id=1
While cheap once you multiply by 100 it gets expensive.

If you want cheap and simple then use shift registers.

 How long is this LED strip anyway? High speed digital signals have difficulty traveling several meters.
« Last Edit: April 22, 2012, 04:34:57 am by Grumpy_Mike » Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 340
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK. It looks like this http://arduino.cc/en/Tutorial/ShiftOut is the best option then. The length is 4ft max. Why do I not want to use the capacitor? Is that the only thing I'll be doing differently in that tutorial?

I've got the parts ordered.
« Last Edit: April 22, 2012, 10:40:05 am by David82 » Logged

Pages: [1] 2 3   Go Up
Jump to: