Go Down

Topic: What hardware can drive one long row of 100 LEDs (Read 2320 times) previous topic - next topic

David82

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.

AWOL

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?
"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.

Grumpy_Mike

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/

David82

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

Grumpy_Mike

So just the shift registers without that software then.

David82


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?


David82


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.

Grumpy_Mike

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

David82

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.

KirAsh4

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.

David82

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?

David82

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?

Grumpy_Mike

#13
Apr 22, 2012, 09:56 am Last Edit: Apr 22, 2012, 11:34 am by Grumpy_Mike Reason: 1
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.

David82

#14
Apr 22, 2012, 05:10 pm Last Edit: Apr 22, 2012, 05:40 pm by David82 Reason: 1
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.

Go Up