Electrical 19: Another Round with the Courtesy Lights

As mentioned in a previous post I am (finally) re-doing the front door cards. Since this exposes the guts of the door it’s the obvious time to check out the wiring.

There is quite a bit of wiring in the front doors – power windows, power window switch (and connection to the master power window switch in the drivers door), and the infamous courtesy light. Plus the new power and ground wires I added to drive the electric windows reliably.

The wiring harness looked good. It always looks good. If it doesn’t look good I replace it! But there was something strange in the wiring to the power window switch… The wires weren’t exactly what was called out in the Factory Service Manual. Time to remove the tape protecting the harness and see what was going on.

Under the tape was a folded piece of wire not connected to anything else. Just sitting there. Strange! No idea what that was all about. With that wire out of the way the rest of it made more sense.

Anticipating working on the wiring harness inside the door I finally broke down and bought the right tool for the job – Tessa Tape. This tape is made specifically for wrapping wiring harnesses. It is made of cloth to be abrasion resistant. It has a special adhesive that sticks to the tape but not much else – unlike regular electrical tape which leaves sticky adhesive residue all over everything. Tessa Tape is a complement to electrical tape – electrical tape insulates and Tessa Tape is for wrapping wire bundles.

Using the Tessa Tape I re-wrapped the wire bundles I had opened up. I also wrapped the wiring harness where it entered the door to provide additional abrasion resistance and protection for the wires.

While it was on the workbench I took a close look at the socket for the courtesy light. Hmm, it looks like the spring loaded prongs that make electrical contact with the bulb are close to the shell. Wait a minute – what if one of the contacts has worn just enough that it can sometimes make contact with the shell of the socket?

There was the time that touching the socket to the door frame would cause the light to come on. I blamed the LED bulb I was using for the problem – replacing the LED with a regular bulb caused the problem to go away (at that time…). What if the problem wasn’t the LED but instead one of the contacts?

This is simple enough to fix – insulate the shell from any possible way of touching the contacts. A strip of plastic inside the socket would do the trick. I had some mylar drafting film that was perfect for this. Cut a strip just wide enough to barely touch the base of the bulb when the bulb is installed and slip it inside the socket.

I’ve been suspicious for quite a while that there were actually multiple issues with the courtesy lights and that I was seeing different issues at different times. The combination of problems with the door switch and the light socket would seem to cover just about everything I’ve seen. Hopefully the problem is finally fixed!

Posted in Restoration | Leave a comment

Electrical 18: Return of the Gremlins

In a previous post on Chasing Gremlins I documented problems with the courtesy lights coming on when they weren’t supposed to. I fixed this problem. Several times. In September it came back. The courtesy lights are coming on and staying on.

Thoroughly frustrated I parked the car, disconnected the battery, threw the car cover over it, and moved on to other projects.

Last week I decided it was time to tackle this problem again. Pull the car cover off and reconnect the battery. Yup, the courtesy lights are on.

The first step was to spend a couple of hours spelunking through the wiring diagrams in the Factory Service Manual. With a somewhat better understanding of how things are connected dive into the car.

Starting with a brute force approach I pulled the fuse for the dome light. Which also powered the tail lights, rear turn signals, and brake lights. The tail lights went out and the courtesy lights remained on. Not what I expected.

Pulling the main fuses that power all of the interior circuits turned off the courtesy lights – but nothing else did. After several hours of electrical troubleshooting – also known as electrical frustration – I called it quits for the day before something bad happened.

Going back the next day I started with again studying the wiring diagrams. OK, let’s take a close look at this: the dome light, front door courtesy lights, and map light all come on when you open the doors, so they are all on the same circuit. So why can’t I find the dome light on the wiring diagram?

Background info: The dome light isn’t installed. The dome light housing, without a dome light lens, was in the trunk when I bought the car. And you can’t find the lens anywhere. I never installed the dome light – it is sitting in a box of parts somewhere. So I haven’t actually seen the dome light work.

Just a minute – there is the dome light, buried in tiny print in the corner of the wiring diagram. It isn’t part of the same circuit as the courtesy lights and map light. Huh. Well, that changes things. No wonder pulling the fuse had no effect! Bit in the butt by my assumptions yet again.

Pull the trim panel in the passenger footwell and study the wiring there. Everything looks OK…

Push in the door switch – and the lights go out. Odd… Close the door. And the lights get dimmer but stay on. Interesting! Play with the door. If you push on the door hard the lights go out. Open the door a fraction of an inch and the lights come back on. This is looking like the switch is right on the edge of on/off when the door is closed.

Get a thin piece of wood and tape it to the door where the switch touches as a shim. And now the courtesy light go on and off like they are supposed to.

This could explain all of the symptoms I’ve been seeing and fix the problem. But I’ve been here before. I’ll make a permanent shim since this is clearly a contributing factor. Hopefully this is the final fix – but I’m going to keep my eye on it.

The next project is replacing the door card on the front door. This will give me access to the inside of the door so I will double check all of the wiring while the door card is off.

Posted in Restoration | Leave a comment

Tree Up. Again.

With the increased power requirements I decided to add an additional 5V power injection cable. Moving on to the controller, the output on the controller can handle 600 pixels. No problem with the original 400 pixel tree, but the upgraded tree is 850 pixels (including 50 pixels for the star). Hmm, the controller has two outputs, so it should be able to handle 1600 pixels. A bit of quick testing showed that both outputs work so I should be good to go.

Between the new power supply, the new power injection cable, and the new controller cable the electronics box was getting a lot of changes. Fine, pull it completely apart, strip it down to bare baseplate, and start from scratch. I might as well go ahead and run everything through terminal blocks to make maintenance and any future upgrades easier.

Drag the tree from the front yard back into the shop, strip it down to component parts, and rebuild everything.

Hmm, I now need a mount for the star. The star mounts onto a piece of pipe – I know how to handle this! Measure the inside diameter of the pipe and make a bushing by turning down a piece of steel rod to fit. Drill and tap the rod. Cut the threaded part off of a bolt. Take the original topper apart and sandwich the topper disc between the two bushings. Slip the original bushing into the upright, slip the star on top, and the star is done.

Carefully rebuild the tree – electronics box, new base, new and old pixel strings, and new star. Plug everything in. Watch half of the tree light up…

Exactly as expected – the controller has to be programmed for the new pixels. Change the settings so that it now has an 800 pixel segment for the tree and a 50 pixel segment for the star. Select some effects and test it.

Success – the entire tree plus star lights up and the various effects programs work! But the tree is dimmer than it should be. Looks like I missed something with the power injection cables. Trouble shoot the power injection cables and everything looks good. OK, what else could it be???

Dig deeper into the controller. Interesting – there are three different settings in three different locations that impact brightness. Including some non-obvious ones that protect the system from using too much power without a good power injection system. Change these settings to fully use the available power. And Viola! there is brightness!

The next-to-last step was to program effects and timing for both the tree and the star. The last step was to drag the tree back into the front yard, hook everything up, and wait for nightfall.

At sunset the timer turned on all the outside lights. The new and improved Mega Tree sprang to life (sprang to light?) – and looked great!

The final result was worth the work. The light show is like something you would see on TV. And it is the only Mega Tree in the neighborhood. Actually, I’ve only been able to find one other Mega Tree in the entire town.

Unlike the Grinch, my heart didn’t grow three sizes. But maybe there is something to this Christmas spirit!

Posted in Misc | Leave a comment

Tree Up. Tree Down.

With everything done drag the Mega Tree into the front yard and plug it in. And commence with the light show. From the street everything looked great!

Mega Tee lights up!

She Who Must Be Obeyed had immediate feedback; “Looks good. Needs a back – it should be a whole tree, not a half tree. And needs a star on top.”

To be honest, fair feedback. I originally made it as a half tree to save money. And to make sure everything worked. A half tree looks great from the road, but from inside the house all we see is the back of the tree. Yup, doesn’t look good…

As for the star, I couldn’t find one small enough. The ones I could find would push the tree over the power and controller limits.

With my new marching orders it was back to the drawing board for upgrade planning.

Filling in the back of the tree was easy: just order another eight strings of lights making a total of 16. It looked like I should have enough of the pixel strip backing to finish the tree. Thinking about it, I should order nine strings to have a spare. Just in case something goes rwong…

Doubling the number of light strings doubles the power requirements. To 260 watts. Which was bigger than the 200 watt power supply could handle. I should have spent the extra $5 for a bigger power supply. Add a 300 watt power supply to the order.

With the electronics on order shift over to another search for a star. The big problem with most stars is that they use 150-200 lights, which is three or four strings. This would push me over my power budget and the number of pixels a single controller could handle. I didn’t want to set up a completely separate power supply and controller just for a star!

This time around I found a star from Holiday Coro that only used 50 pixels – a single string of lights. OK, this should barely fit into the power and controller budget. Price was reasonable at $15 – plus $17 shipping. Normally I refuse to spend more on shipping than the part, but I went ahead and did it anyway.

I absolutely hated the original base I built. With everything coming back for upgrades a new base was added to the list. From another recent project I had a 4’x4′ square of 3/4″ plywood. Draw a 4′ circle on it, measure spacing, and drill 48 holes. Yes, you read right. This includes 16 spaced holes plus a hole on each side for a total of 48. To secure the pixel strips to the base I ran nylon zip ties through the two outside holes which centers the pixel string over the initial hole and keeps it straight without twisting. Next build a box to hold up the center pole. Pieces of 2″x4″ screwed to the bottom get the plywood up off the ground. Finally, hit it with a coat of paint for looks and weather resistance.

Posted in Misc | Leave a comment

MegaTree Controller Packaging

With the MegaTree fully functional the last stage of the build is to move the controller and power supply from the breadboard to its final location (hopefully not its final resting place) in a waterproof outdoor box.

For this I chose a steel NEMA 16″x16″x6″ enclosure. Waterproof, lockable, and built like a tank. Total overkill, but found one on Amazon for $50. If I decide to go larger in the future this box has enough room for two power supplies and two or three controllers plus cable management.

One of the nice things about NEMA boxes is that they have a removable steel plate that you can take out to mount things on – this makes the job much easier!

One of the additions to the final packaging is to connect all external wiring through terminal strips. This makes the system more robust and reliable by isolating the more delicate controller and power supply connectors from the heavier cables. All external cables are connected through waterproof glands providing extra protection.

MegaTree controller packaged in NEMA box

The MegaTree is sitting in the workshop ready to go when we put up Christmas decorations, typically just after Thanksgiving.

Posted in Misc | Leave a comment

Injection of Power

Individual LEDs don’t need much power. Hundreds of LEDs need quite a bit of power. The MegaTree now has 8 strips with 50 LEDs each for a total of 400. Each of these LEDs will consume about 1/3 of a watt of power at full brightness. So 400 of them will use around 130 watts. The 200 watt power supply can easily handle this. The WS2811 strings use 5 volt power resulting in 27 amps going down the wire. The LED strings are made with thin wire which causes massive voltage loss. Somewhere around 200 or so LEDs the voltage drops too low and the LEDs don’t work. The LED controller also becomes overloaded and won’t drive this many pixels.

WS2811 LEDs use three wires: +5V, ground, and data. They are designed so that data is regenerated at each individual LED and works up to the addressable limit of each controller, typically 1,000-2.000 LEDs per controller.

Long strings work by connecting additional +5V and ground wires to the string every 50 to 100 LEDs – power injection.

Standard WS2811 strings have pigtails for power injection on each string making it simple.

LED pixel string with pigtail for power injection

I ordered the same pixel string with waterproof connectors expecting them to also include power injection pigtails. Get ready to hook up the new strings and nope, just a three pin female waterproof connector on one end and a three pin waterproof male connector on the other end.

Ok, no problem. The pixel strings are spaced too far apart at the bottom of the tree so I need extension cables. I will just make extension cables with power injection. This will give me power injection every 100 pixels which is fine.

Order a set of 3 pin waterproof connectors. Too small. Check the connector details more closely. OK, there are small and large connectors available. Order a set of large 3 pin waterproof connectors. Hmmm, the large connectors don’t fit either…

Dig out the calipers, carefully measure the connectors on the pixel string, go through multiple listings on Amazon, and order a set of connectors that look like the right dimensions. They don’t fit either. Krud! What is going on here?!?

It looks like the Rextin WS2811 pixel string with waterproof connectors is using a custom connector that isn’t readily available.

Rextin WS2811 pixel string with waterproof connectors

Why am I not surprised? Well, each pixel string has a waterproof connector that does work. And I have wire cutters and no sense of self preservation! Cut off the connector, splice in an extension, and add the power injection to the extension. Use a standard 2 pin waterproof connector with the extension and make a custom power injection cable that also uses standard 2 pin waterproof connections.

Do this with every other string and you have a set of pixel strings with power injection and the proper spacing for the bottom of the tree. String them up and viola! the tree is done!

Connect the WLED controller to the first string, connect the custom power injection cable to the power supply and the rest of the pixel strings and power it up.

Fire up the laptop, connect to the WLED controller, enter the settings for the 8 strings on the mega tree, and hit go.

Lights! And there was much rejoicing!

Go through the various lighting effects that are available on WLED. Choose a dozen that look good. Arrange them into a playlist. Make this playlist the default. Power cycle the WLED controller. Stand back and watch a MegaTree in operation!

And there was MUCH rejoicing!

Posted in Misc | Leave a comment

Tree Topper. And Bottomer.

The LED strings need to be attached at the top and the bottom of the tree. The MegaTree companies make what they call Toppers – round plates with holes around the edges. These are available for $40-$50.

As you may be aware I have a junior grade machine shop. And a bunch of steel I haven’t done much with. Dig through the pile and drag out different sizes of discs.

Raw materials for tree topper

I had my choice of 8″ x 1/4″, 7″ x 3/8″, or 4-5/8″ x 1/4″ steel discs. All complete and massive overkill for this use. The 4-5/8″ diameter disc it is!

The main job is to drill 32 evenly spaced holes around the edge. To make even I fired up a drawing package on the computer, drew outer and inner circles, and added a series of radial lines at 11.25 degree intervals. Cut out the circle, glue it to the steel disk, and center punch the intersections to get ready for drilling.

To make sure that the hole spacing was even and comfort my fear of flying parts I made a simple fixture and bolted to the drill press.

MegaTree Topper in drilling fixture.

A piece of 1/2″ EMT is being used as the “trunk” of the tree. Head over to the lathe and turn down a two inch long chunk of steel rod to just fit. Drill it, tap it, and bolt it to the disk. Hit it with a couple of coats of paint and Viola! A finished topper!

The tree base “should” have been the most straightforward part of the job. Get some PVC pipe, bend it in a four foot diameter circle with four T connectors for legs to the center, and done. I’ve used this approach for holding up boat covers in the past and it works great.

3/4″ PVC pipe should be perfect for both strength and flexibility. Hmm, it doesn’t want to bend. No problem – hit it with a heat gun to warm it up and then bend it. Which meant that it was now both collapsing and cracking.

Looks like I got the wrong stuff. Let’s try this again with CPVC supply line instead of PVC waste and vent line.

The 3/4″ CPVC didn’t crack or collapse, but it just wouldn’t bend into a four foot circle and stay in the T connections. After fighting this for several hours I finally gave up and moved on to the 1/2″ CPVC I had purchased just in case the 3/4″ didn’t work.

I finally managed to make a base out of the 1/2″ CPVC. But I’m not happy with it. It will work for this year and I will figure out how to build a better one next year.

Looking back at it,previous projects with this type of tubing were partial circles, not full circles. They had a larger radius. And used longer sections of tubing between connectors. This part of the project was much harder than it should have been. Live and learn…

Assemble the base, trunk, and topper and add the LED strings. The LEDs were attached to the topper with nylon ties and to the base with a combination of nylon ties and bungee cords. The height of the trunk was determined by connecting the first string, moving the topper up the trunk until it was at a good height, and then marking and cutting the trunk.

Adjust all eight strings around the base so that they were evenly spaced and get ready to fire up this tree!

Posted in Misc | Leave a comment

Making a (Mega) Tree

The tree itself is pretty simple – a set of vertical strings of LEDs tapering in at the top to look like a Christmas tree.

LED strings and strips come in 15 meter (15-1/2 ft) lengths. The standard for strings is 50 LEDs wired together – this actually looks like traditional Christmas tree lights. Since this is for outdoor use it is a good idea to go with waterproof connectors. The test string I originally ordered came with interior connectors (foreshadowing).

Since the tree is still experimental I’m starting with a small tree, one around six or seven feet tall. I also decided to build a half circle tree since most people will only see it from one side. I decided to go with a design of 8 strings of lights for a half circle, 16 strings for a full circle. By building a small tree I can use a single strand of lights going both up and down, thus only needing to buy 4 strings of lights.

Surprisingly there aren’t that many choices for LED strings with waterproof connectors. I ended up with Rextin WS2811 strings.

You don’t just hang the lights from the tree. To ensure consistent spacing they make strips of heavy plastic that you plug the lights into. These strips have holes every inch allowing you to space lights two inches, three inches, four inches, or whatever you want. These mounting strips mechanically support the individual LEDs keeping strain off of the wiring – a good idea when you have long strings that may experience wind and snow loads.

LED String Mounting Strip

It looks like this is a specialty item. While it is available from multiple sources they are identical – only 150 foot rolls and all vendors are exactly the same price. Whatever.

The first phase of construction is to cut a piece of the mounting strip to length and then stuff each individual LED into a hole in the mounting strip. A thick, heavy, strong mounting strip. The companies providing MegaTree kits have a special block to simplify this process. Being (relatively) cheap I discovered that a 9/16″ hole in a piece of 2×4 works well.

I had carefully designed the tree based on spacing the lights at three inch intervals. This makes a relatively inexpensive starter tree. Stuffing the LEDs into the mounting strip revealed that the wires were just a bit too short for three inch spacing – they could almost be pulled into place but with considerable strain. Krud!

After futzing around with the LEDs and the mounting strip I finally internalized that the initial design wouldn’t work. Back to the drawing board! Using two inch spacing with a full strand of lights for each vertical run would give me a roughly nine foot tall tree. And require twice as many lights…

Which wasn’t a complete disaster. Twice as many lights means four more strands. At roughly $15 per strand this still wasn’t too bad. Time to place another order.

Posted in Misc | Leave a comment

LED Controller Blues (and Reds and Greens)

While the K1000-X controller was fully functional the software development environment didn’t come with the packaged effects I wanted. It provided the tools to develop them, but didn’t include the ones I wanted.

There was an effects package available, but it cost. It wasn’t very expensive, but wasn’t widely available, didn’t have reviews, and I was reluctant to enter my credit card information on a web site I already considered somewhat sketchy.

I actually bought two controllers: the K-1000C and a simpler controller that supported the Open Source WLED software package. Specifically, the Aromfentu WLED Controller ESP32. There are many controllers like this available so this was a somewhat random choice.

WLED based pixel controller

WLED runs on an Arduino microcontroller. My initial thought was to get an Arduino development kit, learn how to program an Arduino and WLED, get the lighting effects I wanted, and finally transfer a completed program to the production WLED controller.

I started with the K1000-C controller because it looked like it was easier to transfer lighting effect programs to it – develop a lighting program on the PC, copy it to an SD card, and plug the SD card into the K1000-C. And it actually proved that easy. On the other hand, it looked like programming the Arduino would involve re-flashing the software onto the microcontroller – a much more involved process.

As I looked more closely at the Aromfentu WLED controller I discovered that it had a WiFi interface. And a built in webserver. With complete control of lighting effects. And about 100 included effects. Not to mention multiple instructions and tutorials available. This requires closer investigation!

Connect the WLED controller to the 8×32 panel – we are looking for 2D capabilities. Drag out a laptop with WiFi. Power up the WLED and check the laptop. Hmm, there is a new WiFi access point showing up, just like the instructions claim. Connect the laptop to this access point and in does, indeed, connect. Following the instructions point my browser to IP 4.3.2.1 and bingo, I’m in the WLED control panel!

At this point they really want you to connect the WLED controller to your local WiFi network and put it on the network (and the Internet). But you don’t have to, you can continue accessing it as a local device. Which I did since I don’t like to have dumb devices like this exposed on the Internet.

Once in the WLED control panel I lit up the 8×32 LED panel and started poking though the effects library. Wow – just what I was looking for! Some of the effects were meh, many were OK, and several were “I rather like that one”. Some more poking, Interneting, and experimenting and I had a set of nice effects running in a loop. Power the controller up and it runs the effects loop until you turn it off. And there was much rejoicing!

With all of the individual pieces working it was time to build the actual tree!

Posted in Misc | Leave a comment

Light the LEDS!

With the (first order) of parts on hand it was time to blow something up! The actual intention was to see if I could connect the power supply, controller, and an LED string and blink the lights, but I have a history of success in connecting electronic devices in a way that lets out the magic smoke…

One of the first discoveries is that there are almost no instructions included with these random parts. The few instructions that are included are confusing, incomplete, and appear to be a Google translation from another language. Apparently using an old version of Google translate.

No problem! Set up my electronics workbench (also known as clearing off a spot on my desk) and get to work. Step one was to wire everything together and plug it in.

Nothing. OK, go over the “instructions” again, hit the Internet, and cruise YouTube. Turns out that I didn’t understand which three outputs of the 8 available on the controller should be used.

Connect the wires according to the new knowledge and the LEDs light up. Cycle through the presets on the controller and various colors flash away. Success on step one!

Since various devices were going to be connected and disconnected repeatedly the very next thing was to find a small piece of plywood and bolt the power supply and controller to it. And clamp the power cord to the plywood so that I wouldn’t damage the delicate terminals on the power supply. This made it much easier to move the test rig around and to change things. I quickly learned that plugging and unplugging the power cord to turn it on and off was a nuisance and added a power switch to the breadboard.

LED controller breadboard

With the hardware basics done it was time to tackle the hard part – software!

The K1000-C controller was selected because it has an editing package for developing lighting effects. Unfortunately the software package included with the controller wouldn’t install. A bit of research uncovered the website to download the latest version.

This website felt sketchy to me. I’m somewhat paranoid about installing and running unknown software and this just made me nervous. Fortunately I have more than one PC available! Dig out an old machine I didn’t especially care about and install the software on that.

This time the software installed. And ran. And looked like something out of the 1990’s. Distinctly primitive looking. But a reasonable set of capabilities.

After a few hours of research, YouTube, poking around, exploring 17 approaches that don’t work, and digging through several desk drawers to find an SD Card I finally had my first program. And it worked!

Deciding to go for broke I hooked up the 8×32 LED panel and studied the instructions for scrolling text. An hour or so later I had “Test” scrolling across the panel! OK, let’s see if we can really master this. A few minutes later I had the joy of watching “Test Red Green Blue” scrolling – with the text in white, red, green, and blue.

On that high note I turned everything off and walked away for the day.

Posted in Misc | Leave a comment