Go Down

Topic: 3x9 LED Matrix direct driven? (Read 1 time) previous topic - next topic


I wanne build a 3x3x3 LED cube, but I first want to check my programm (not yet written). Can I drive 27 LED's directly with the Arduino Uno in this way? Picture Below.



Yes, that is exactly how I would wire them.   Driving them directly off 5v logic signals without current dropping resistors might be a problem if you were going to have any one LED on for more than a few milliseconds at a time.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Mar 18, 2011, 08:01 am Last Edit: Mar 18, 2011, 08:05 am by Robohac Reason: 1
should there be 3 Resistors for safety? and which resistance should they have? (I am using standard 5mm red)

5V-1,9V = 3,1V
R = 3,1V /20mA = 3,1/0,02 V/A = 155 Ohm

Is that right?


I directly drove a red LED 4-digit 7-segment display directly without problems.  Each digit was lit for 2 mS.  The display was running for two days straight without problems.  I suspect if you put in the dropping resistors you would end up with a dim display.

If you want to put in the resistors the calculation is correct but you would need 9 of them,  one per 'column', because each column only has one LED on at a time but each 'row' might have more than one 'column' lit.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Mar 18, 2011, 03:59 pm Last Edit: Mar 18, 2011, 04:08 pm by Simpson_Jr Reason: 1
Wouldn't one possibly get problems when Leds are driven for longer as a few mS ?
While testing/programming, they could... be lit much longer.
9 leds on, sinked by one pin seems  a lot to me.

A circuit I've used came from Ledstyles.de, it's in German, non C++ and it uses a smaller brother, the attiny2313. It uses 3 transistors to sink the current, but the rest... is basically the same. :D


Link to the complete article :

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131