Hi all,
I’m building a little mood light project and so far I’ve got 2 common anode RGB LED’s and a switch which changes the light “moods”. Each LED has it’s own program so in total I’m using 6 pin outputs and a ground plus 1 pin for the switch.
I want to extend this so that I have 4 mood lights (1 for each corner of the room) all connected to the arduino as the central controller. Each mood light will consist of 4 RGB LED’s - 2 will take the arduino pin outs and I’m thinking 2 wired in serial to boost the lumens a bit.
I’ve got a car battery power supply with a car socket / USB adapter (which I’m not using yet) and I’ve ordered an LM2596 voltage regulator which I plan to put before the car socket to regulate the 12v.
I’m pretty sure that I could just get 6 transistors and amplify the existing signals to the mood light modules but this would require 7 core cable to each mood light.
I’m wondering if I can limit the wiring (and the number of transistors) by putting a shift register in each mood light and then sending the data in parallel to each one? I’m thinking here of running the latch, clock and data pins from the arduino into a transistor and then connecting the shift register pins to that output. This way I would only need 5 core cable (12V, Gnd, Latch, Clock, Data) - is this possible?
If it is, how could I add those 2 extra serial RGB’s without overloading the shift register pins?
Is there a simpler way of achieving the same effect?
Many thanks,
Ben