that would be overkill, but on the right track.
...you could probably use that one little board to drive the leds for the whole board.
i wish we knew the specs on the leds that are used in your board... voltage, current draw....
- sometimes different single color leds are driven at different voltages/current.
- i don't think you said.... but what's the brand/model of keyboard you're modifying?
i'll do some digging and see what i can come up with for you.
some info for starters....
https://geekhack.org/index.php?topic=55338.0
from link above:
Even if you do use PWM, you still need a high current output which a typical microcontroller cannot provide. So again you'd need a buffer or to use some dedicated chip.
and you can read some of komar's explanation of how he was thinking of implementing it in the GH60
http://blog.komar.be/gh60-evolution/
Ok, I'm going to throw all the info that I think would have a chance of being useful
Brand: Gamdias
Model: Hermes 7 Colors
MCU: Evision VS11K08L, didn't found the manufacturer's datasheet, all I know it's a QFP-48 format MCU (till yesterday my dumbass thought QFP-48 was an IC design and had a datasheet from a Silicon Labs one, I recently realized QFP-48 it's a form factor so I still don't know anything about the MCU lol), I guess I can try contacting the seller to ask for the datasheet.
After hours with the multimeter I identified most pins on the MCU
This makes me question the LED circuit as a matrix because there are not much pins left on the MCU to asign LED columns, also, if I can (not greatly) make them work by just wiring a resistor that goes to a transistor conected to ground.
my guess is that it's not a matrix but a paralel circuit for each row? but after taking a look at the links you provided and checking the pictures of the front side of the PCB I don't see any resistors in that side, though there is a resistor-transistor cluster near the MCU
This and seing videos of this keyboard which show that keys can be individually illuminated makes me think "A-Ha! there's the matrix" but there are only 7 pins available in the MCU and 21 columns in the matrix (at least in the keys matrix). Also, the article mentions that a paralel circuit works by putting a resistor for each LED which doesn't look to be the case here. So the matrix circuit seems more possibly to be the case.
I'm dumb, I just realized, while writing this reply that the resistor cluster I mentioned before contains exactly 21 resistor-transistor-resistor groups, which I guess it totally confirms the LED matrix hypothesis. But where do they wire the columns to? There are 7 pins left in the MCU and there is no other IC present in the board. And if it's a matrix, why is it lighting up just by connecting the end of the LED rows?
I didn't take much pictures of the front side of the PCB and I wished I mapped it, but here are some pictures of the front side:
Hope I provided some relevant info, thanks!