I have previously used PWM for colour mixing single RGB LEDs (purely for hobby purposes if anyone from Philips IP Department is watching).
I'm trying to scale this approach to achieve individual control of 80 RGB LEDs (common anode) but I'm having problems.
I was proposing to use the following hardware method: Tie all the Red cathodes to a MOSFET or NPN transistor, ditto Green & Blue. Scan these at 300Hz (to get a 100Hz overall refresh) and drive the 80 anodes from transistors using latched data from 74HC595s.
The problem comes in (my understanding of?) the method of PWM dimming. In the single working prototype, I used a microcontroller with each RGB tied to individual port pins. A timer interrupt occurred at approx
25,500Hz (to give 255 levels @ 100Hz) and within this an 8 bit variable "gate" was decremented. If this result was less than the value of either R, G or B, the respective LED was switched on, if it was greater, it was switched off.This has worked fine but trying to scan 3 columns requires an interrupt at 76,500 Hz which is proving problematic. I have access to AVRs or PICs.
Any advice appreciated.