Just In Time For Christmas! A DIY Desktop LED Tree

Okay, we haven’t even hit Halloween yet, but if you’re planning some kind of holiday project, now’s a good time to start ordering your parts, especially if you’re designing your own PCB. While there’s no PCB involved, [designer2k2] built a desktop “hollow” Christmas tree using some WS2812 RGB LEDs controlled by a microcontroller and powered by USB.

The board running [designer2k2]’s project is a Digispark, a USB powered board by Digistump which contains an ATtiny85. The LEDs, four different sized NeoPixel rings, plus a single pixel for the top, are connected together using some solid wire which makes for a very cool look. The code that runs on the ATtiny is the part that really makes this tree. The code cycles through colors and some light chaser effects, as well as a mode that shows a green tree with some white lights. The whole project is topped off by a routine that spells “XMAS” as you look at the tree from the top down.

We’ve seen some other Christmas tree hacks over the years controlled by various things, but this one is a fairly simple, cool design. [Designer2k2] also released the code for the tree and I’m sure a lot of us could come up with some more light designs.

Check out the video after the break:

 

18 thoughts on “Just In Time For Christmas! A DIY Desktop LED Tree

  1. Flip the rings over (so that they can be viewed from the bottom), or use two sets to give top & bottom rings, and use this as a tree topper ornament for a real tree. BTW, the 8-12-16-34 LED rings are available as a very cheap set from many vendors on AliExpress.

    1. As it sits low on a table, its mostly viewed from above, but it should be no big thing to add more rings .-)

      Yes the Rings come in a package, 1-8-12-16-24 WS2812 total 61 LED´s. but also Neopixel rings could be used!

  2. Or have an oragami/folding aluminum-foil “star” mounted on top of each LED, to scatter its upward light around the room.
    Looks like they’re driven low enough that a tiny dab of clear silicone caulking on the tip of a star should let it sit in place without issues.

Leave a Reply to Joseph PsailaCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.