Ok i make the math:
- the power supply will be 24V
- the Vf for the Led im to buy are between 3.0V and 3.4V, i use 3.4V
- 0.7V for transistor
- 20mA for each Led
With this i have a resistor of 145ohm but i only can use 6 leds in each string
I see arduino Uno can handle with 40mA in I/O Pin, if i have the 20ma into the base of 2n2222A i can use two strings for each Output of my Arduino Uno.
For 96 Leds i will need 16 String and 8 Output in my arduino, i can use the others output for my Red Leds.
What do you think?
if i can increase the power supply i will be able to put more Leds in each string and also decrease the ports i will need in arduino board, i am right?