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”

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”

A Nerdy Xmas Tree

Celebrating his first Christmas with his three-year-old daughter after separating with his wife, [Alec] decided to finally get a tree. He’s not religious or anything, but it’s a fun holiday for kids, so he decided to get in the spirit. But he had to make his own LED ornaments.

He started out buying a plastic Christmas tree and immediately regretted his decision. So he returned it and got a live Norfolk pine tree instead — one that if you keep it in a pot, will last year round as a houseplant. Didn’t have to deal with the plastic-vs-murder dilemma many people celebrating Christmas have to deal with.

His first step was wiring up the tree with DC power to allow him to connect his future ornaments. For now, he’s only made three — but the intention is as his daughter gets older (and hopefully likes tinkering), will make new ones with him in the years to come!

Continue reading “A Nerdy Xmas Tree”