Behind the lights

Candy Canes

Candy Canes
Finished Candy Canes

Part 01

From boxed candy canes to a new display

Sitting in the Christmas warehouse, I had 100 pre-lit red candy canes in boxes that I had purchased a few years earlier. I decided to do something with them, but I did not want to line them up individually and struggle to keep them straight.

I ended up using 84 candy canes. The bases were made from six 8-foot 2x6 boards. A door hinge joined each pair, creating three 16-foot assemblies that fold in the center.

After measuring the candy canes and working out the spacing, each 8-foot section could hold 14 candy canes. Six sections gave me a total of 84.

The candy cane light string.
The candy cane light string.

Part 02

Giving every light its own channel

I wanted to add my own twist to this yard element. Giving each candy cane its own channel was too easy, so I decided to control every light separately.

Each candy cane measured approximately 36 inches. With the LEDs spaced 2 inches apart, each cane would contain 18 lights. Across 84 candy canes, that meant 1,512 individually controlled lights and channels.

I first tried bright 8mm straw-hat LEDs. After making a test string, I found that the beam was too narrow and the light washed out the red plastic. Red 8mm LEDs produced the appearance I was looking for.

Comparing the red and white LEDs.
Comparing the red and white LEDs.
Comparing the LED lighting with the original incandescent lights.
Comparing the LED lighting with the original incandescent lights.

Part 03

Building the soldering jig

With the LED color and quantity decided, the next challenge was assembling the strings. There were 1,512 LEDs with two leads each: more than 3,000 solder joints for the LED strings alone.

I made a jig to hold 18 LEDs at 2-inch intervals. It was a wooden strip approximately the length of a candy cane, fitted with spring-loaded clothespins.

Double-sided tape held the clothespins to the wood. This kept the LEDs positioned while I worked on the wiring.

The wooden jig with spring-loaded clothespins.
The wooden jig with spring-loaded clothespins.
LEDs positioned in the jig.
LEDs positioned in the jig.
A close-up of an LED held in the jig.
A close-up of an LED held in the jig.

Part 04

Wiring the LED strings

I had used 30 AWG wire-wrap wire on other projects. Its small diameter was useful here because each candy cane needed room for 19 wires.

Each of the 18 LED negative leads received its own 30 AWG wire. One length of 22 AWG wire connected the positive side of the LEDs.

The controller locations determined the wire lengths. I needed four different lead lengths so the strings could reach their enclosures from the candy canes' positions.

Connecting the common positive wiring.
Connecting the common positive wiring.
Connecting the individual negative wires.
Connecting the individual negative wires.
A completed LED string on the jig.
A completed LED string on the jig.
A closer look at the completed wiring.
A closer look at the completed wiring.

Part 05

Finishing and protecting the strings

Once the strings were soldered, I needed to protect the wire pigtails extending from the bottoms of the candy canes.

The wire bundles measured approximately 3mm in diameter. I ordered green 5mm heat-shrink tubing in bulk and cut it to suit the different lead lengths.

After completing the wiring and protective tubing, the strings were ready for installation.

A completed LED string.
A completed LED string.
The completed collection of LED strings.
The completed collection of LED strings.
The wire pigtail extending from a candy cane.
The wire pigtail extending from a candy cane.
Heat-shrink tubing cut to the required lengths.
Heat-shrink tubing cut to the required lengths.
The wiring protected with green heat-shrink tubing.
The wiring protected with green heat-shrink tubing.

Part 06

Preparing the wooden bases

Each of the six 8-foot 2x6 boards received three coats of dark green paint on all four sides and both ends.

After the paint dried, I marked evenly spaced positions for the candy canes. The spacing continued across each hinged joint so the canes lined up when the two sections were unfolded.

The mounting holes were drilled 2 inches deep and slightly larger than the candy cane diameter. A separate 1/4-inch passage from the bottom of each mounting hole to the side of the board allowed the wiring to exit.

I used a small bead of duct seal around the base of each candy cane to help keep water out. I chose this instead of silicone so a cane could be removed more easily if an LED string needed repair.

Rounded 1/4-inch staples secured the wiring along the boards without needing to clamp it tightly.

The wooden bases painted dark green.
The wooden bases painted dark green.
Mounting holes drilled for the candy canes.
Mounting holes drilled for the candy canes.

Part 07

The WS2803 controllers

For the large channel count, I chose the WS2803 IC. Its 18 outputs matched the 18 LEDs in each candy cane, so each cane used one chip.

Each custom PCB carried two WS2803 chips and controlled two candy canes. The circuit required relatively few additional components, allowing the boards to fit inside TA-200 enclosures.

The enclosure layout used groups of three or four PCBs to serve the candy canes along each 8-foot section.

The enclosures were positioned between the third and fourth candy canes and between the ninth and tenth. One served six candy canes and the other served eight.

The individual 30 AWG LED negative wires were soldered to the corresponding WS2803 outputs.

The custom controller PCB using WS2803 chips.
The custom controller PCB using WS2803 chips.
Connecting each led from each candy cane to the controller.  There are many of these meet points with stacked boards.
Connecting each led from each candy cane to the controller. There are many of these meet points with stacked boards.
A completed meet point.
A completed meet point.

Part 08

Power and data

The controller circuits operate from 5 volts. At the planned 20mA per LED, one pair of 8-foot sections contains 18 LEDs x 14 candy canes x 2 sections, giving a calculated LED load of 10.08 amps, or 50.4 watts at 5 volts.

I chose a 5-volt, 100-watt power supply for each hinged pair. My design target was to keep the calculated load below 80 percent of the supply rating.

I used 12 AWG wiring for the positive and ground supply connections to the controllers to help reduce voltage drop.

The data signal is daisy-chained from one controller to the next, connecting each WS2803 output to the next chip's input.

The planned data source for the 1,512 channels was a J1sys ECG-P2.

J1sys ECG-AD8 and 30A 5v DC power supply.
J1sys ECG-AD8 and 30A 5v DC power supply.

Part 09

Completed Project