My transistors arrived! 100 2n2222 transistors are smaller than I expected. The next experiment will be manually PWMing 15 LEDs off 1 pin and 1 transistor, every 14th frame (14 columns on the in research keyboard). I just got an email that my acrylic case has shipped from massdrop. Only waiting on some more experiments and final behind switch LEDs to have all the parts.. After the 15 LED test, I will do a 1/14 frame RGB color single LED test. To make sure I have enough brightness to get actual RGB colors while flickering between 14 columns (at 15 rows, 3x5 rows for rgb, 14 columns is just a smaller number to flicker with). I will be writing my final software to flicker at the minimum number of columns needed for the current display style. This means that a single key lit will light brighter than a whole row of keys lit, and possibly also modify flickering per row now that I think about it, but the overall brightness of the board will be more similar. IE: 1 bright light vs 15 dim lights is closer in brightness than 1 dim light vs 15 dim lights.
If my tests go well, then I will be able to do full RGB backlighting of a 62 key keyboard with only a teensy ++ 2.0 as the controller, and no additional PWN drivers or anything. If they don't... then I'll get a 24 pin PWM LED driver and do more tests
. Also, if the transistor experiment works on 15 LEDs in parallel, then I will be wiring 15 transistors to the voltage out of my teensy. That WOULD be crowded, so I'll intend to do some sort of forked wiring system, where it starts with 2 connections and ends with 15 leaves, like on a binary tree or something.
That reminds me. If I am successful in my endeavors, I will take inspiration from cribbit and try to write a good LED wiring guide. It's a sorely lacking section in the making stuff sticky thread
. Hopefully, as a complete newbie to electrical engineering, I can provide a good beginner perspective to explain it to other novices.
-Griftrix