In this Instructable I show how I my a Christmas star using neopixels, driven by a Attigny digispark board, mounted on a 3D printed star
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Hardware
I glued the Neopixels (WS2812B) in parts on a 3D printed star and connected all the parts, pay attention to the direction of the data flow when connecting the parts.
The 3D designs are on my Thingiverse.
The GND en VCC (5V) is connected throughout the whole star, the data line is connected from the digispark module to line in.
The digispark module is mounted via hot glue, supported by tie wraps.
Add a top layer for diffusing the light.
Add a second top layer, separated by the separator items for more diffusing.
Step 2: Software
The program is on my Github.
See this instruction how to program a digispark board via the Arduino IDE:
In the program there are 13 patterns, which are randomly selected. The duration of the pattern is also randomly selected.
Most patterns run from the tips of the star. Since the the data in is connected to 3 neopixels from the tip, an offset in used.