Fixing The Control Scheme For An Aftermarket Headlight Assembly

The headlight enclosures on [Bill Porter’s] 2004 Passat had yellowed with age and were not outputting the kind of light they should. He decided to replace them with some aftermarket modules that also incorporated LED strips. When they arrived he was surprised at how easy there were to drop into place. But when testing he was certainly not satisfied with how they worked. The day-driving mode used the HID bulbs at full power, where the factory assembly had dimmed them during the day. He set out to alter the electronics to work as he prefers.

Always the mad scientist, [Bill] started off by making a truth table showing how the lights reacted to the various states of the ignition and headlight switches. What he came up with is an AND gate built from a relay and diode. It allows him to have the LEDs on as the running lights (without the HIDs on at all), and leaves the rest of the functionality unaffected.

One Way To Reuse Your Christmas Lights Post-holiday

[Andrew] shows us one way to reuse all those strands of Christmas lights you used for decoration this year. He had a friend that was helping with stage props for a local musical and ended up using his skills to build a lighted sign with some animation capabilities.

The original plan was to cut out letters for a sign by hand and ring them with white Christmas lights. It is possible to hand cut parts reasonably well, but [Andrew] knew he could get a much better result in less time using a CNC ShopBot to make them. He didn’t know the spacing for the lights so waited and drilled holes for them by hand. Each strand is connected to a relay, then driven by an Arduino. They turned out great as you can see in the clip after the break.

This is a timely hack, because it uses plain old while incandescent bulb strands which will be going on sale in the next few days. Usually you can get them on clearance for a dollar or less so plan ahead and hit the big box store early. Continue reading “One Way To Reuse Your Christmas Lights Post-holiday”

DIY Clapper Is The Ideal Gift For The Laziest Person In Your Life

diy-clapper

If you haven’t yet wrapped up your Christmas shopping, you may want to consider building [AlanFromJapan’s] implementation of the ever-classic “Clapper”. With its theme song burned into the brain of anyone old enough to remember the 80s, the clapper was a wonderful device that certainly put the “L” in laziness.

Looking for an excuse to play around with an opamp and microphone [Alan] decided to build his own version of the Clapper based off this similar circuit, which he calls the ClapClap. He built the device using an electret mic that feeds a signal through a small amplifier on the way to the ADC of an ATmega328 microcontroller. The mcu constantly polls the ADC looking for the sound of clapping hands, a solution that works, but isn’t as clean as [Alan] wanted.

He went back to the drawing board, this time building a circuit around an ATtiny2313 microcontroller. Most of the other components remained the same, though the new, smaller design sports some nice PCBs he had made at Seeedstudio. Rather than constantly polling the ADC, this version of the ClapClap looks for peaks in the signal coming from the mic to identify the clapping of hands.

He says that the newer version works great, though he still has a software bug or two that need fixing before he parks himself on the couch for all eternity.

Controlling Your Christmas Lights Without Ever Getting Off The Couch

remote-xmas-tree-light-switch

14 year-old [Connor Smith] has been busy this holiday season, thinking up ways to improve the lighting situation at home.

A few weeks ago he put together this 3-channel light controller to toggle his parents’ external lights, incorporating an Arduino for control. The Arduino was used to switch the channels on and off at specified intervals in order to create a simple light show on the house’s exterior. Not satisfied with just a few strings of blinky lights, he took his controller back inside for some additional modifications.

He had grown tired of crawling behind the Christmas tree to plug and unplug it every day, and decided to make things easier on himself. He stripped the IR receiver out of an old VCR and interfaced it with the Arduino in his light controller using the IRremote library. After taking a bit of time to decode the values for two infrequently used buttons on his TV remote, he had himself a Christmas tree light switch that he could activate from across the room.

Check out the short video below to see his remote switch in action.

Continue reading “Controlling Your Christmas Lights Without Ever Getting Off The Couch”

Troubleshooting Household Light Timers

timer-repair

When [Todd Harrison’s] Christmas lights stayed on well past the pre-defined shut off time, he knew there was something wrong with the timer. He took the device into his workshop and spent some time diagnosing and repairing the device, a process he recorded for all to see.

After busting the screw-less timer open with a hammer, he inspected the PCB for any apparent signs of damage. After seeing what looked like a damaged transistor, he desoldered it from the board for testing. After the transistor passed his tests with flying colors, [Todd] assumed that the fault had to be in the relay which the transistor was responsible for switching.

Sure enough, the relay had shorted out, and upon cutting it open he found that the contact points were fused together. He separated and sanded the contacts down, enabling him to get the timer working – at least for the time being.

Part of [Todd’s] goal with this video was to show off different methods of desoldering, including a manual solder sucker (my favorite), desoldering braid, and a purpose built desoldering iron. If you’re in the market for some desoldering tools, but don’t know what to buy, [Todd] is more than happy to offer his advice.

Continue reading to see a video of [Todd’s] troubleshooting process.

Continue reading “Troubleshooting Household Light Timers”

Christmas Tree Water Sensor Gets An Upgrade And A Fancy New Box

xmas-tree-water-sensor

[Eric Ayars] has a nice cast iron Christmas tree stand at home, but the only drawback is that the stand makes it hard to see just how much water is available to the tree. Last year we covered a small gadget he created to help keep tabs on the water level, but as several of you predicted, the system eventually failed.

His previous solution used copper plated proto board to sense how much water was in the stand, but the leads corroded in about a week’s time. With Christmas just around the corner, he decided to give things another try.

His revamped water level sensor relies on measuring capacitance changes in a copper strip board when under water rather than detecting a complete circuit like the previous model. To protect his sensor this time around he coated the board with polyurethane, which should provide a decent corrosion barrier.

Using the Arduino CapSense library, the sensor can detect the presence of water, signaling an alarm if the base needs refilling. One of our readers suggested that he use the tree itself as a low water indicator, which is just what [Eric] did this year. If the water is somewhat low, the Arduino-controlled relay powering the tree is switched off and then on again, every 5 seconds. If the base is nearly dry, the tree asks for water by blinking the word “Water” repeatedly in Morse code.

We think that this year’s solution is pretty clever, and we’re glad to see that [Eric] didn’t give up after last year’s setback!

Audio Output Selection Courtesy Of The Internet

[Peter] was tired of crawling behind his desktop computer to switch between headphones and speakers. We feel his pain, as the headphone port on our computer speakers has its own demonic hum rendering the jack useless to us. His solution was to build this output selector board, then control it via the network.

A relay is responsible for routing the single input to one of two outputs. One output is wired to the normally closed pin on the relay, the other to the normally open pin. The important thing here is to make sure you have a separate audio ground so as not to pick up noise from the rest of the hardware.

What you see above is only the switching circuitry. This is where [Peter] went a little overboard, using an Arduino along with an Ethernet shield to drive the relay via a transistor. For this particular application there must be an easier way. But if you’re working on home automation from your smart phone, this might be just the thing to make your audio setup browser-controlled.

[via Build Lounge]