Sorry for the relatively basic questions, I'm ace at programming but brand new at embedded electronics.
I am currently developing a matrix of 4x4 RGB arcade buttons. The LEDs are driven by 3 tlc5940 ICs and can each pull a maximum of (5v) 20ma per color channel for a total of 60ma at full brightness. At 16x60ma, obviously this will exceed the recommended USB draw (I'm trying to avoid external power). I can tweak the brightness to max out at half easily, but I am wondering now, what's the maximum power I can pull over USB via the Teensy itself (Teensy++ 2.0)? I searched the docs and didn't find anything. Is there an upward limit to the amount of power I can pull from the VCC pin? Are there any tricks to maximizing it? I've seen some other projects that use far more than 16 rgb led's with no external power source so it would seem that there are ways of getting enough power to make things work. I just want to make sure I'm maximizing my brightness without exceeding any tolerances and staying within USB spec. I'm wondering if maybe I need to use a different product for my LED buttons or even a different board altogether.
Related question - to those of you who are experienced with electronics, how does one generally go about planning for power requirements? I'm 4 weeks into this project making prototypes out of the various pieces I'm including (encoders, potentiometers, buttons, LEDs, a DOGM163), writing custom libraries, etc, and only now am I thinking of this. I haven't even begun to think about power draw for any other components. I'm guessing this is a typical hurdle people run into when starting out, so how do I avoid these issues in the future?
Thanks!
I am currently developing a matrix of 4x4 RGB arcade buttons. The LEDs are driven by 3 tlc5940 ICs and can each pull a maximum of (5v) 20ma per color channel for a total of 60ma at full brightness. At 16x60ma, obviously this will exceed the recommended USB draw (I'm trying to avoid external power). I can tweak the brightness to max out at half easily, but I am wondering now, what's the maximum power I can pull over USB via the Teensy itself (Teensy++ 2.0)? I searched the docs and didn't find anything. Is there an upward limit to the amount of power I can pull from the VCC pin? Are there any tricks to maximizing it? I've seen some other projects that use far more than 16 rgb led's with no external power source so it would seem that there are ways of getting enough power to make things work. I just want to make sure I'm maximizing my brightness without exceeding any tolerances and staying within USB spec. I'm wondering if maybe I need to use a different product for my LED buttons or even a different board altogether.
Related question - to those of you who are experienced with electronics, how does one generally go about planning for power requirements? I'm 4 weeks into this project making prototypes out of the various pieces I'm including (encoders, potentiometers, buttons, LEDs, a DOGM163), writing custom libraries, etc, and only now am I thinking of this. I haven't even begun to think about power draw for any other components. I'm guessing this is a typical hurdle people run into when starting out, so how do I avoid these issues in the future?
Thanks!
Last edited: