I wish to use the PCA9635 LED driver connected to and ARM based microporocessor via I2C and its PWM controlled lines to control a 8x8 matrix. This will be powered by USB, so 5V.
PCA9635 data sheet: http://www.nxp.com/documents/data_sheet/PCA9635.pdf
Now the PCA9635 has 16 pins lines available, which can operate as 25mA sink or 10mA source, thus naturally I decided to control them in common anode.
The LEDs I plan to use are rated at 3, 20mA.
Thanks to this wonderful guide: Arduino Workshop
I know I need to use a PNP transistor on the anode lines, and it has to be rated for max Ic = 160mA, however to be in the safe, we should use upwards of 200.
I know that I need to also add resistance along these same lines to control the voltage to the LEDs.
However, I am still unclear on how to choose the correct transistor, as my Ib is limited to 10mA, and 5V supply. I also need assistance on how to calculate the two resistance (2K7 and 4K7) show in this diagram: http://www.thebox.myzen.co.uk/Workshop/LED_Matrix_files/shapeimage_9.png.
This is shot in the dark, but is this transistor usable in my case: Intelligent Power and Sensing Technologies | onsemi ?
If yes, why and if not, then why not?
I am not looking for a solution to my particular scenario only, I'd like to know how to choose the correct transistor, knowing:
- Max Ib
- Max V
- Total load current from LEDs in a row/column
- LED voltage
Thanks
