Hi everyone,
I'm going to build a small fading color lamp for my kids and as a good newbie I'ld like to see if the idea I got could work or not.
I know there are several ways to do it, but this is what I came up with and I'ld like to know if it will work.
I'll be using 5050 rgb smd LED that have 6 pin (one package 3 colors all independent), each color use a 20mA. I would like to drive them with a Attiny85. My thinking is that I will put the leds in serial by color and let the Attiny drive 3 NPN transistors to fade the colors. In my mind I should use only 3 pins from the Attiny (one of each color/transistor).
There will be not many leds, under 10 and the Transistors I have they are rated up to 200mA, so I should be good on that side. (using 7 leds I should be at maximum 140mA per color, and I don't plan to use them full brightness)
Am I on a working path or is it going to be a failure ?
Thanks for your input
Hal.