Maker Pro
Maker Pro

Christmas Light re-engineering

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Well, Christmas is over again, and so it is time to buy cheap lights and modify them for next year :)

I picked up a number of "candy cane" LED lights for a song, and I want to make them do more than they were designed to do.

The originals have 4 candy canes, each with 10 white LEDs in parallel, each cane paralleled (so 40 white LEDs in parallel), then a 22 ohm series resistor, and a switch connecting the string of LEDs to 4 AA batteries.

Using NiMH cells, I see (under load) a voltage of 5.31 volts across the battery, 2.91 across the LEDs, and therefore 2.4 volts across the resistor. The current drawn is measured at 104mA (calculated as 109mA from voltage drop across the resistor - the difference is probably due to the voltage drop across the meter). This gives an average LED current of 2.6mA.

The batteries live in a separate unit, and once the batteries are removed, there's heaps of room for more electronics :)

What I'm going to do is power them externally, and use a pic to make the lights a little more interesting.

Here are the things I'm thinking about...

1) What voltage should I run the device from? A higher voltage will give me lower current (good if I have long runs of cable) but I then may need some sort of regulation for the PIC's power.

2) Should I rewire the LEDs to be in series in each cane (that will require about 30 volts) or maybe series/parallel to use a lower voltage If so, where is the "sweet spot". Currently almost half the power is wasted in the series resistor. I would prefer to do better than that.

3) What about "smarts"? I want to be able to (at least) control each cane individually, but is there a smart way to control each LED in each cane? It might be really cool to be able to do that, but then you're back to driving each led individually...

4) And can I control them remotely? Can I inject a signal onto the power supply that can be used to send commands to each unit?

5) Can I do this all really cheaply -- or at least with the parts I have on hand?

6) Can I do it in a generic way that can be applied to other lights with minimal customisation of the controller?

7) Can I do it by next Christmas?

I realise that it will be hard for people to address some of my questions, because you don't know (for example) what parts I have on hand... But if anyone has any bright thoughts, I'll be very interested to hear them.
 

Timescope

Aug 30, 2012
43
Joined
Aug 30, 2012
Messages
43
Hi (*steve*),
I am running eight leds in parallel from my 12v (14.4v charged) battery system using MC34063A. I measured the Vf of the leds, and adjusted the feedback resistor to obtain that voltage. With 12v, you would have enough headroom to add a serial control signal to the supply line which you could use to control individual leds via addressable latches after serial to parallel conversion.
Timescope.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
You know these Christmas projects. You think about them around Christmas, know that you need to start them early in the year if you're going to have them comfortably complete by next Christmas, then forget about them until late November...
 
Top