Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



24 Commits

Repository files navigation


DIY desktop sized christmas tree from stacked ws2812 RGB LED rings driven by a Digispark.


Items Needed:

  1. WS2812 RGB LED Rings, 1 - 8 - 12 - 16 - 24 LED´s per ring, total of 61 WS2812 Led´s. Example: 61 LED Ring´s
  2. Digispark ATtiny85 USB Development Board
  3. Enameled magnet wire, i used 0,71mm / AWG21


  1. Solder WS2812 led rings power and ground with magnet wire, tree shaped.
  2. Solder every output with the input from the next ring.
  3. Program Digispark using Arduino IDE.
  4. Connect power and ground to Digispark.
  5. Connect the first input to Digispark pin 1.
  6. Connect Digispark to powersource.
  7. Enjoy!

If you build this tree, i would like to hear from it! Also code-updates are welcome! New Tree-Patterns are always good :-)

This Christmas decoration is simple to build, great for Arduino and DIY beginners, but also more experienced people can have lots of fun with hacking the code!

It can be considered OSHW, i mean, how can you not recreate this easily?


  1. Use more LED´s: 93 LED Ring´s The code needs to be changed to reflect the 93 WS1812!
  2. Or even more! 241 LED Ring's The code needs to be adopted for this one also.

Online simulation on Wokwi:

It is also possible to use a QT PY or similar ESP32-S2 or ESP32-C3 based boards: