J
Jason von Nieda
- Jan 1, 1970
- 0
Hi all, I am new to this newsgroup but have been doing some back
reading and this looks like a great resource. I hope to learn a lot,
and maybe contribute some!
My question is to do with driving a matrix of common anode RGB LEDs. I
am building a RGB LED matrix (just 3x3 right now) which I am driving
with a ATmega8 AVR. I'm currently using plain old Radio Shack
transistors to drive the rows and columns but it seems like I am
wasting a lot of juice driving the transistors. Right now I am driving
the transistors directly from the AVR, which can source/sink 25mA per
pin. This causes the AVR to get really hot and I'd like to make my
drivers use way less current.
So, can you give me some ideas on what the "right" driver for my LEDs
would be? I'm looking at Darlington pairs as an option, but the idea of
a MOSFET that basically has no gate draw sounds very appealing. Problem
is I don't know what to look for in a MOSFET. I don't need the big 3
pin with metal tab beasts as I'm only drawing a hundred or so mA
through the transistor. Are there MOSFETs available in a small signal
transistor style package?
For reference, 1/3 of one "pixel" of my display currently looks like
this:
+5v---(E)Row PNP(C)---(A)LED(C)---(C)Column NPN(E)---GND
I realize I can put resistors at my gates to decrease the current used
by the transistors, but I need almost the full 25mA to switch the
amount of current I am using for the LEDs.
Any ideas? I'd love to know how the pros would do this and if there are
any small package MOSFETs I could use.
Thanks,
Jason
reading and this looks like a great resource. I hope to learn a lot,
and maybe contribute some!
My question is to do with driving a matrix of common anode RGB LEDs. I
am building a RGB LED matrix (just 3x3 right now) which I am driving
with a ATmega8 AVR. I'm currently using plain old Radio Shack
transistors to drive the rows and columns but it seems like I am
wasting a lot of juice driving the transistors. Right now I am driving
the transistors directly from the AVR, which can source/sink 25mA per
pin. This causes the AVR to get really hot and I'd like to make my
drivers use way less current.
So, can you give me some ideas on what the "right" driver for my LEDs
would be? I'm looking at Darlington pairs as an option, but the idea of
a MOSFET that basically has no gate draw sounds very appealing. Problem
is I don't know what to look for in a MOSFET. I don't need the big 3
pin with metal tab beasts as I'm only drawing a hundred or so mA
through the transistor. Are there MOSFETs available in a small signal
transistor style package?
For reference, 1/3 of one "pixel" of my display currently looks like
this:
+5v---(E)Row PNP(C)---(A)LED(C)---(C)Column NPN(E)---GND
I realize I can put resistors at my gates to decrease the current used
by the transistors, but I need almost the full 25mA to switch the
amount of current I am using for the LEDs.
Any ideas? I'd love to know how the pros would do this and if there are
any small package MOSFETs I could use.
Thanks,
Jason