|
|||||||
![]() |
Forum Index > General > Ask an Evil Mad Scientist! | ||
Multiplexing |
|||
| | | Printable Version |
|
xDGx | ||||||||
|
I'd like to light up a bunch of LEDs (64, 100, 200,300, or why not, 1000 LEDs...). I suppose i should multiplex them.. but I want to do this without using a Peggy or even a microcontroller. I just want the LEDs to stay on, no fancy animations, blinking or pulsing. Is there an IC to do this ? |
![]() Scientist ![]() ![]() Status: offline
Registered: 08/18/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
If you just want them to stay on, there's no need to multiplex them-- just hard-wire them all in a great big grid-- 100 columns connected to anodes, 100 rows, where each led in each row has cathode to (its own) resistor to ground. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
karlgg | ||||||||
|
Could there be some sort of energy efficiency lighting one small set at a time? Would it outweigh the added circuitry? Or maybe it could be helpful in lowering power supply requirements? I think I am, therefore I am... I think |
![]() Mad Scientist ![]() Status: offline
Registered: 01/25/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
>Could there be some sort of energy efficiency lighting one small set at a time? Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
xDGx | ||||||||
If you just want them to stay on, there's no need to multiplex them-- just hard-wire them all in a great big grid-- 100 columns connected to anodes, 100 rows, where each led in each row has cathode to (its own) resistor to ground.
|
![]() Scientist ![]() Status: offline
Registered: 08/18/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
>I wonder if that setup would make the LEDs be dim and not light up at their full capacity Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
karlgg | ||||||||
|
If you're worried about getting "full bright" out of LEDs, multiplexing wouldn't work anyway. For every LED (or row, column, section) being lit, the rest will be off. The more segments to cycle through, the longer each would be off and the dimmer the overall brightness would be. I think I am, therefore I am... I think |
![]() Mad Scientist ![]() Status: offline
Registered: 01/25/09 |
||||||||
|
|||||||||
|
xDGx | ||||||||
100 columns connected to anodes, 100 rows, where each led in each row has cathode to (its own) resistor to ground.
|
![]() Scientist ![]() Status: offline
Registered: 08/18/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Sure, that would work. But (1) it's not multiplexing-- just driving the LEDs separately and (2) you probably want to use something like 4-5V, not 12 V. Otherwise, you need *big* resistors and they'll get *hot*. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
xDGx | ||||||||
|
On this schematic the resistors go to the cathodes (common cathode?) |
![]() Scientist ![]() Status: offline
Registered: 08/18/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
The resistor doesn't care if it's before or after the LED. You can pick either way for convenience. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
xDGx | ||||||||
|
The resistor can be connected to the cathode *or* anode ? |
![]() Scientist ![]() Status: offline
Registered: 08/18/09 |
||||||||
|
|||||||||
|
karlgg | ||||||||
|
Yes, you're just limiting the total amount of juice going through the LED either way. As long as there's nowhere else to go, all the current might want to race through the LED, but since it has to get through the resistor afterwards it causes a traffic jam that slows down everybody. I think I am, therefore I am... I think |
![]() Mad Scientist ![]() Status: offline
Registered: 01/25/09 |
||||||||
|
|||||||||
|
xDGx | ||||||||
|
Great! I think I got it now and made 15 3.2v blue LEDs light up with a 6v battery. |
![]() Scientist ![]() Status: offline
Registered: 08/18/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
If you have the LEDs wired up as in your prior diagram (only using 6 V instead of 12), then you can use a PNP transistor to control them. But, doing so is not necessarily trivial since the Arduino outputs do not go as high as 6 V. You'll also have to watch the current rating on the transistor, its saturation voltage, and so forth. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 07:02 PM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits