I would like to programmatically toggle off/on (independently) eight 5 V small light bulbs. It seems that I could use eight transistors controlled by eight independent digital control pins.
(See the attached schema below.)
But I'm sure there is a simpler way using a single chip ... with only one or two digital control pins (my digital control out(s) are 5 V max with a 255 steps resolution, so it could be OK to store all the different combinations within only one byte!).
- I'm actually using an Arduino, so some of the digital outputs are PWM (at first, I simply tried to directly use the digital output to light the bulb on/off... But not enough current was available on the Arduino :(
- The lights will be triggered on with a 200 mA current, but for a small amount of time (less than 50 ms)
- I'm OK if I need to use three digital pins!
- I'm aware the magical chip should have at least eight pins (one per bulb)
- I'm super newbie, so not too much programming please :)