Computer Vision Maps Christmas Lights

There’s a small but dedicated group of folks out there who spend all year planning their Christmas decorations. These aren’t simple lawn ornaments or displays, either, but have evolved into complex lightning performances that require quite a bit of computer control. For some things, hooking up a relay to a microcontroller can get the job done, but [Andy] has turned to computer vision to solve some of the more time-consuming aspects of these displays.

Specifically, [Andy] has a long string of programmable RGB LED lights to wrap around a Christmas tree, but didn’t want to spend time manually mapping out each light’s location. So he used OpenCV to register the locations of the LEDs from three different camera angles, and then used a Python script to calculate their position in the 3D space. This means that he will easily be able to take the LEDs down at the end of the holidays and string them back up next year without having to do the tedious manual mapping ever again.

While [Andy] notes that he may have spent more time writing the software to map out the LEDs than manually doing it himself, but year-after-year it may save him a lot of time and effort, not to mention the benefits of a challenge like writing this software in the first place. If you want to get started on your own display this year, all you really need is some lights and a MIDI controller.

The Fun Is On The Christmas Tree With This Playable Duck Hunt Decoration

‘Tis the season for leftovers, be they food, regifted presents, or the decorations left behind in the wake of the festivities. Not to mention the late tips we get for holiday-themed builds, like this Duck Hunt ornament that’s completely playable.

Details are sparse in [wermy]’s video below, but there’s enough there to get the gist. The game is based on the Nintendo classic, where animated ducks fly across the screen and act as targets for a light pistol. Translating that to something suitable for decorating a Christmas tree meant adding an Arduino and an IR LED to the original NES light pistol, and building a base station with a Feather and a small LCD screen into a case that looks like [The Simpsons] TV. An LED on each 3d-printed duck target lights in turn, prompting you to blast it with the gun. An IR sensor on each duck registers hits, while the familiar sound effects are generated by the base, which also displays the score. Given a background of festive blinkenlights, it’s harder than it sounds – see it in action briefly below.

[wermy] has done some interesting builds before, like a RetroPie in an Altoids tin and a spooky string of eyes for Halloween. We hope he’ll come through with a more detailed build video for this project at some point – we’re particularly interested in those beautiful multi-color 3D-prints.

Continue reading “The Fun Is On The Christmas Tree With This Playable Duck Hunt Decoration”

Incredibly Heavy Ornament Likely Inappropriate To Hang On Tree

It’s that time of year again, and the Christmas hacks are flooding in thick and fast. To get into the Christmas spirit,  the FoxGuard team wanted a custom ornament to hang from the tree. They may have gotten more than they bargained for.

It’s a simple build that demonstrates the basic techniques of working with DACs and scopes in a charming holiday fashion. A Tektronix T932A analog oscilloscope is pressed into service as a display, by operating in XY mode. A Teensy 3.5 was then chosen for its onboard digital to analog converters, and used to output signals to draw a Christmas tree and star on the screen.

Old-school coders will appreciate the effort taken to plot the graphics out on graph paper. While the hack doesn’t do anything cutting edge or wild, it’s impressive how quick and easy this is thanks to modern development methods. While the technology to do this has existed for decades, a hacker in 1998 would have spent hours breadboarding a PIC microcontroller with DACs, let alone the coding required. We’ve come a long way.

It’s a bit of fun, but we highly recommend you don’t try and hang an analog scope off your tree at home. These WiFi-controlled ornaments are perhaps more suitable. Video after the break. Continue reading “Incredibly Heavy Ornament Likely Inappropriate To Hang On Tree”

An IoT Christmas Tree For Your Hacker-Mas Celebrations

Smart Christmas trees may soon come to mean something more than a fashionably decorated tree. Forging ahead with this new definition, [Ayan Pahwa], with help from [Akshay Kumar], [Anshul Katta], and [Abhishek Maurya] turned their office’s Christmas Tree into an IoT device you can watch live!

As an IoT device, the tree relies on the ever-popular ESP8266 NodeMCU — activated and controlled by Alexa, as well as from a web page. The LEDs for the tree — and the offline-only tree-topper controlled by an Arduino Pro Mini — are the similarly popular Neopixels.

For those viewing online, a Raspberry Pi and camera have been attached to this project to check out the tree’s lighting. To make that possible, [Pahwa] had to enlist the use of ngrok to make the Pi’s –normally — LAN-only camera server accessible over the internet. The aforementioned web page was coded in Javascript/CSS and hosted on a server running an instance of Ubuntu 16.04.

Continue reading “An IoT Christmas Tree For Your Hacker-Mas Celebrations”

Touch Panels Make This Christmas Tree Interactive

The city of Liverpool, famously known as both the home port of the Titanic and the birthplace of The Beatles, also seems to have a thing for interactive public art installations. Witness this huge interactive Christmas tree that can be played by passersby.

The display in the city’s busy Williamson Square was commissioned by a municipal business group and built by [Adrian McEwen]. The idea was to adorn the 10-meter natural tree with large geometric ornaments covered with Neopixel strips. [Adrian] documents the build process in some detail, including that fact that over 170 meters of WS2812b strips went into the ornaments for the tree. While the strips themselves at IP68 rated, the connections needed when attaching them to the custom-made frames were not, and that had to be overcome with ample application of heat-shrink tubing. OctoWS2811 adapter boards were dangled about the tree to control the lights and connected together with garlands of Ethernet cables. Pressure sensors were used to control the lights when the EMI from the beefy power supplies needed to run everything proved too much for the original touch sensors. After a lot of bench testing and a few long nights working with the city crew to hang the display, passing Liverpudlians can now play the tree and enjoy the Christmas season.

Would you rather a smaller display for your own Christmas tree? This somewhat hyperactive indoor light show might be what you’re looking for.

Continue reading “Touch Panels Make This Christmas Tree Interactive”

Christmas Bauble Is Neither Spherical Nor Runs Arduino

[Jordan Wills] was tasked by his company, Silicon Labs, to build some Christmas Baubles to give away to co-workers. While the commissioned units were designed to be simple battery and LED affairs, he decided to make one of his own with bells and whistles. His Mario themed Christmas Ornament uses a Silicon Labs FM972 micro controller, capacitive sensing, PWM controlled 8 bit audio, and blinky lights.

The interesting part is some of the construction techniques that he used. The finger-joint style cube is built from circuit boards. Electrical connections between panels were routed using solder wicking copper braid. That’s a interesting trick which we’ll keep in mind along with some of our favorite creative structural uses of PCB.

The top of the cube has four LED’s which light up the Mario “Question Mark” symbols on the four sides of the cube while the base contains all of the electronics. The outside of the base piece was a large copper plane to act as the capacitive sensing element. This meant all electronics needed to be surface mounted with tracks laid out on one side – which posed some layout challenges. Adding the Capacitive sense function was a cinch thanks to support from the in-house design team. PWM output from the micro controller takes care of audio, and the output is routed through a buffer to boost the signal. A bandpass filter then cleans up the PWM output before feeding it to the speaker.

Continue reading “Christmas Bauble Is Neither Spherical Nor Runs Arduino”

Christmas Lights And Ships In A Bottle

Thanksgiving was last week, and Christmas has been invading department stores for two or three months now, and that can only mean one thing: it’s time to kill a tree, set it up in your living room, and put a few hundred watts of lights on it. All those lights, though; it’s as if Christmas lights were specifically invented as fodder for standup comedians for two months out of the year. Why can’t someone invent wireless Christmas lights?

We don’t know if it’s been invented, but here’s a Kickstarter campaign that’s selling that same idea. It’s called Aura, and it’s exactly what it says on the tin: wireless Christmas lights, controllable with a smartphone. If it works, it’s a brilliant idea.

Continue reading “Christmas Lights And Ships In A Bottle”