5 Layer PEX Arch

Arches are quite common. The reason I’m bothering to write about mine is because of how I got it to work in xLights, which was a bit tougher than expected. The build pictures are, therefore, mostly for context, though I guess you could use my 3D printed clips, too, if you want.

Physically Building the Arches

For the hedge area in my display, I wanted some fair-sized, multi-layer arches.

6 large-ish arches across the hedge, xLights layout screen

There are a lot of popular techniques for making arches. Some put bullet nodes in plain sight in an arch pattern, others use pipe or tube in various ways. I prefer the diffused look of 3/4″ white PEX tube with LED strip inserted.

Mini arches made of white PEX with 2m LED strips inside

I tried a variety of pipe options from the home improvement store. 1″ PEX was easier to slide the LED strip through, but it wasn’t as bright and was a bit less cooperative when bending. PEX-A has a slight orangish caste to it in the daytime, didn’t look quite as nice in the dark either, so I went with 3/4″ white Sharkbite PEX-B.

The arches were basically sized with 5m LED strips in mind; I used 60/20 RGB strip, which has 300 LEDs in 100 sections that can be controlled. Slipping these 5m strips into the PEX tube is not that easy. The method is simple… slip a fish tape through the PEX, cut the female end of the LED strip down a bit, leaving a stub to attach the fish tape, pull the strip through. Then, cap the ends (in my case, I used a bit of hot glue with some wadded up coro to help it bridge the end.

Fish Tape and Strip

In reality, this is straightforward on a 2m mini-arch, but not delightfully easy on a 5+ meter piece of PEX. We used 3 people, one to pull the fish tape, one to guide the LED strip into the far end, and one in the middle to help hold the PEX straight.

Mounting the arches for 2021 was a matter of optimism… and loads of zip ties. It was already December, early-approaching-mid-December, and I was in a hurry. I had garden/fence stakes hammered into the ground, planned to ziptie spare bits of pipe to those, and then zip tie the arch tubes to that, with some other bits of pipe ziptied along the way to maintain clean spacing. It was time consuming, and a bit sloppy.

Arches were a bit sloppy / slouchy

Lit up, they were OK, I guess. (One thing I did when they were lit up was sharpie an index mark on the tube at the middle of the LED strip so I can get better alignment next year.)

A bit better in the dark, but still want a cleaner install…
Storage was going to be a bit of a mess, also.

I decided for 2022, I want a much cleaner, easier, setup with less of the work done in the field. The overall plan was to build a frame of aluminum channel, radiating outward from the center, and clip the tubes to that. I designed 3D print clips to replace all the zipties.

Ignore the green – it’s an early prototype of whatever filament was already in the machine; “production” was clear PETG
To be screwed on the frame with 4-40 of course

There are two 3D print files for this:

Making the frame and attaching the clips went to plan. I used some PVC board I had lying around, and decided the frame would be best if it had quick-pull pins in it so it can be collapsed down for storage.

Frame folded down
Frame folded out, with the tubes clipped in… it is a bit much for the lab…
Lit up with a fire effect… Did look yellow in real life…

Controller Connections and xLights Modeling

Controller connection to the arch last year (2021) got a bit messy. This had to do with some limitations of xLights, the controllers, and the decision I made to nip off the female end of the strips and seal the end of the tube. Also, I was in quite a hurry as at this point it was mid-December.

Controller scheme

In my head, the arches were going to be connected to smart long range receivers, located close by the near ends of the arches. However, there were a couple of xLights limitations here:

  • The xLights arch model for layered arches has a wiring pattern that “zigzags” back and forth across the arch. This makes a lot of sense, except in my case where I cut the connectors off and the easiest place to start again is back at the controller side.
  • The xLights arch model only supports one controller connection, so configuring the strings was going to have to be done in the controller
Zigzag wiring pattern for layered arch in xLights

I was not able to figure out how to get the smart receivers configured to handle 5 ports splitting up the string of 500 nodes xLights assigned. It’s probably possible, but I couldn’t figure out how to do more than 4, and opted to assign the 500 nodes to a port on the main controller, then go spread the string out over the next 4 empty ports. Wires were run to the far end of the arch to make it behave like xLights. These were long enough runs to require data amplifiers, without which many of the tubes would “lock on white” after they pulled the ground voltage up too far to read the data signal, as Keith explains so clearly in this video.

The correct answer would have been to use a custom model. I know this, because I have one now, which can be found here. How you get the custom model is a topic of interest. You can export an arch model from xLights, add a few submodels, and it is suitable for use as a custom model; it’ll render like the arch for all the effects, and you can split up the controller connections however you like. The only hurdle is that it does still “zigzag” and that’s not what we want.

There are options to fix this:

  • Manually mess with the custom model to reverse the substring numbering for half the strands
  • Change the xLights source code to enable a non-zigzag wiring pattern.

Shockingly, I opted for the latter option. That code is here.

I plan to ask the xLights developers if they’d like to include it; I understand if they do not (as it is a very limited application, needs added to the manual, tests, etc.), but it was still fun to learn enough about xLights code to make it work. I’ll be fine either way, as I used that modified code to export my arch as a custom model, and it will import into any xLights just fine.

Anyway, I’m looking forward to the 2022 season, and an arch that is much easier to set up and wire, and where xLights will auto-upload the controller configuration. Gonna be a fun season, with that and so many other upgrades.

PixelTrim System in xLights

Summary

If you want a trim line to be embellished with something a bit fancier than a single light string or plain icicles, the HolidayCoro PixelTrim system is an interesting option. Start with an ~8′ plastic strip that holds either 12mm pixels or C9 brilliant bulbs, attach (using zip ties or Pivot Connector Buttons) motifs to the strip, and pop in some pixels. Zip tie to a pipe and clip to the house for easy installation and removal, or mount any other way you’d like.

Thanks to the thoughtful design and high quality of the product, this is mechanically a very simple build. But, if you want to really get the most out of it in xLights, you’ll really want a lot of submodels – one for the light string, one for each motif, maybe even one for each submodel in each motif. That last bit is probably the valuable part of this blog post… I did that with a python script and if you’re brave, you can try to use it to generate the submodels for your own personal PixelTrim configuration.

My Project

I have a driveway arch made out of conduit that was lit with AC props in 2020 and 2021.

Driveway arch in a static display in 2020, and then in 2021 when I switched to xLights, mostly pixels, with a few AC props on LoR.

Last year (2021) I started adding pixels. I expected to put all the old A/C stuff on LoR controllers and add pixels also. It was quite ambitious, and I didn’t get very far adding the AC stuff, and a lot of it blocked the view of the pixels.

My 2021 A/C props… a shell of their former glory…

So, what really happened is I didn’t have an inspiring A/C element, and the arch left a big hole in the middle of the display when the music was on:

There’s only one obvious thing to do here… add more pixels!

I decided to try out the PixelTrim system for this arch for 2022.

Mechanical Build

There will be 3 sections of PixelTrim, a vertical run on each side, and one horizontal across the top. (There will be props on the corners and hanging, but this will be revealed later… when I decide what they’ll be :-D) For this post, I’ll focus on one of the vertical runs.

Winter / Christmas PixelTrim Motifs

PixelTrim comes with a variety of motifs for winter/Christmas; I chose the two snowflakes. PixelTrim comes in white or black; I chose white. PixelTrim comes with holes for C9 Brilliant Bulbs or 12mm nodes; I chose both (and I reserve the right to zip tie a strip down the middle, too!).

I’m not sure they expected anyone to use both together with the motifs sticking out of the side… but that’s no reason not to do it!

Assembly is quite straightforward. I opted for the zip ties to make the connections rigid:

Zip tie the strips together and to the motifs.

Well, it was mostly straightforward. I did have to cheat and punch some holes so the bullets could pass through the motif stems.

The price of doing something unexpected, I guess.

Then I wired it up (the rest of the way). On the off chance you don’t have a preferred method for pushing pixels, I will say that I wore gloves, and pushed them into a 13mm socket to provide uniform support for the plastic sheet. After all the pixels were pushed in, I flipped the prop over and looked to make sure that each was snapped in properly; a few weren’t quite right but it was easy enough to wiggle them until they clicked all the way in.

All wired

Sequencing

It looks like the hard part is done, right? Now all we have to do is plug it in and it will light up, right? And it will. Just plug in the 24 C9 lights and that’s a nice string. Plug in the 491 other bullet pixels and… it will light up, and it would look pretty with a single strand effect on it too, but it won’t be amazing. With a prop with this much detail, we really ought to be able to get a mini-show on the strip itself.

What we really need is an xLights custom model. First, we start by making custom models for the mini flake motifs. You should probably make your own, as the wiring order matters, and I did wire them in from the sides. And I added submodels, and added the model and submodels to groups, as these are important steps for imports. Here are links to my custom models for reference:

Now, we could manually create a custom model for this, with a little cut and paste. And we could then make and group all the submodels. It could very well take an hour or two to do this, so, naturally, being a computer programmer by trade, I spent three or four hours writing a python script to do it for me.

It is a bit clunky, but you are free to reuse my python script. Just change the hardcoded strip length, direction, motif model files, number of pixels to the first and number between occurrences for each prop type, and run… it’ll make your composite model, all the submodels, and all the groups for you.

End Result

I ended up with the xLights custom model found here. To prove that it worked, I took the new “Mr. Santa” sequence from Pixel Pro Displays, and mapped as much of the sequence to the prop submodels as possible:

xLights Preview Video

I’m also very satisfied with the real-life version:

It runs! In the dark, with the gamma set properly, it might even look good.

Can’t wait to put it in the show next year, along with a lot more PixelTrim runs!