Programmable Christmas Tree Is A JavaScript Interpreter

Here at Hackaday, we find Christmas time very exciting because it means an influx of holiday-themed hacks that really help us get into the festive mood. [Andrew’s] programmable Christmas tree hosted at HackMyXmas is certainly one of our favorites. The project consists of a 500 RGB LEDs wrapped around a typical Christmas tree and controlled by a Teensy.  However, not settling for the typical, simple and cyclical pattern for the LEDs, [Andrew] decided the tree had to be programmable of course! So, a single board computer (a C.H.I.P) running Linux was used to provide a Wifi connection and a web server to easily program the tree.

This is where things get very interesting. The C.H.I.P board hosts a comprehensive website that conveniently gives you the option to program the LEDs using either, Scratch like draggable blocks (using Googles Blockly) or even pure JavaScript. Once the perfect pattern is conceived, you can test run it on the online simulator or even send it off straight to the Tree, watching it blink in all its glory on the provided live stream.

We applaud [Andrew] mammoth effort for invoking programming in such a fun way! You can check out the live stream of [Andrew]’s Christmas tree below.

Continue reading “Programmable Christmas Tree Is A JavaScript Interpreter”

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”

Joule Thief Steals In Favor Of Christmas

A lot of things tend to get stretched during the holiday season, like shopping budgets and waistbands and patience. This year, [Chris] is stretching the limits of both the mini breadboard and the humble 1.5 V LR44 coin cell with his joule thief-driven LED mini Christmas tree.

With the push of a micro momentary, the joule thief circuit squeezes enough power from an LR44 to boot an MSP430 microcontroller, which needs 1.8 V – 3.6 V. After boot, the micro takes control of the joule thief circuit and milks it whenever the voltage falls below 3.2 V. This tree may be small in stature, but it’s feature-rich. A push of the same momentary button cycles through four different light shows, ending with a medley of all four. Be dazzled after the break.

The code for this tiny tree, which features an awesome ASCII breadboard layout and schematic, is up on GitHub. [Chris] has it listed among a few other manageable bare-metal ‘430 projects that would be great for beginners at pure C. If that sounds like you, why not give yourself the gift of learning a new language?

We’ve seen some spirited ways of lighting LEDs, but doing it with candle power takes the fruitcake.

Continue reading “Joule Thief Steals In Favor Of Christmas”

Bringing A Christmas Lights Show Inside

Instructables user [Osprey22] has been building towards this Christmas for years. Why? This year, he has brought an impressive musical Christmas light display inside, and at a fraction of the cost too!

An box at the tree’s base hides the power supply and the controller boards — a Raspberry Pi and a SanDevices e682 Pixel controller for the 400 WS2811 RGB LEDs — with an added router to connect them to the main network. The Pi is running Falcon Pi Player and a projector somewhere in the region of $100 complements the light show.

As far as mapping out the LEDs, Xlights is the program of choice, locating the LEDs in space with the help of a cell phone video recording. [Osprey22] had to write a quick program in C to fix the LED overlaps in the grid. (A spreadsheet would work just as well, here). Oh, and the gifts at the bottom of the tree double as a projector screen!

Continue reading “Bringing A Christmas Lights Show Inside”

Make Christmas Commercial Again With This Tiny TV Ornament

Readers of a certain age will remember a time when the Christmas season in the US officially kicked off after Thanksgiving. That was when advertisers began saturation bombing the communal mind with holiday-themed TV commercials night and day. Broadcast TV no longer holds sway like it did back then, and advertisers now start their onslaught in September, but you can put a little retro-commercialism back to Christmas with this 90s Christmas commercial-playing ornament for your tree.

The idea came to [SeanHodgins] after stumbling upon a collection of Christmas commercials from the 1990s on YouTube. With his content identified, he set about building a tree-worthy display from a Pi Zero W and a TFT LCD display. An audio amp and tiny speaker from an old tablet and a LiPo battery and charger form the guts of [Sean]’s TV, which were stuffed into a 3D-printed TV case, appropriately modeled after the TV from The Simpsons. The small fresnel lens that mimics the curved screens of yore is a nice touch. The software has some neat tricks, such as an HTTP server that accepts the slug of a YouTube video, fetches the MP4, and automatically plays it. We prefer our Christmas tree ornaments a little quieter, so a volume control would have been nice, but aside from that this looks like a ton of fun.

This isn’t [Sean]’s first foray into tricked-out ornaments, of course; readers might recall his IoT cheer-measuring Christmas ornaments from last season.

Continue reading “Make Christmas Commercial Again With This Tiny TV Ornament”

Ask Hackaday: Prove Santa Exists

There is no question, that Santa Claus exists. He’s real, with the sleigh, the beard, and the reindeer and everything. He distributes gifts to billions of children in an evening, squeezes down a billion chimneys without getting that stylish red outfit dirty, and gets back home to the North Pole before sunrise. What more proof do you need, after all the missile defence folks track his progress over the icy wastes every Christmas Eve!

Well, the previous paragraph is the story you’ll get from the average youngster in countries where St. Nick is a cultural fixture, and who are we to disabuse them of this notion. Certainly not [Dave Barrett], who has the task of coming up with some ideas for a Santa Proof Of Existence for a kids’ Christmas party. In a previous year he’s thrilled them with a view of the sleigh taking off (in reality a remote-controlled model rocket launch complete with fake air traffic control clearance for Santa via CB radio), but this year the party isn’t somewhere with the space to do that trick. Instead he has the task of maintaining the illusion in those young minds for another year, with only a modest suburban plot in which to do it.

How would you prove Santa’s existence for the credulous young party-goers, using the finest technological marvels available to the Hackaday community? Perhaps you might create the illusion of boots crunching in the snow outside, or maybe the not-so-distant sound of reindeer. We suggest a Santa-Pede won’t cut it, and neither will hiring the beardy member of your hackspace as a stand-in. Kids aren’t that stupid!

What do you think? Go nuts in the comments.

Santa image: Jonathan Lindberg [Public domain].

Never Let Your Christmas Tree Run Dry, With Added Ultrasound

Winter in the parts of the Northern Hemisphere for which observing Christmas includes bringing half a forest into the house should really be divided into two seasons. No-spruce-needles-in-the-carpet season, and spruce-needles-doggedly-clinging-to-the-carpet season. Evergreen trees were not designed for indoor use, and for a hapless householder to stand any chance of keeping those needles on the branches there has to be a significant amount of attention paid to the level of the water keeping the tree hydrated.

[Evan] has paid that attention to the problem of Christmas tree hydration, and to address the shortcomings of earlier designs has come up with a low water warning using an ultrasonic rangefinder. Where previous sensor attempts based on conductive probes succumbed to corrosion or dirt build-up, this one has no contact between sensor and water.

Behind the rangefinder is a CHIP board, whose software sends a text message to his phone when the water level gets a bit low. All the software is available in the linked GitHub page, so should you wish to make your tree safe from thirst, you too can give it a try.

SMS texts are a good way to alert a tree owner, but we quite like the sensor that used the tree lights instead.