When you switch the power on the software does an RGBW test, so all LEDs are set to red, green, blue and white and then off again to test the RGB setting four your neon strip.
After the test you can choose if you just want a static green tree and yellow star or if you want to randomly set 5 LEDs white (default) to simulate ornaments in the tree. The animation can be set on or off in the settings section on top of the sketch.
You can also set the speed how fast the animation is done. In default it is set to 15.000ms so 15 seconds and that results that every 3 seconds the LEDs randomly switch to white and then to green again.
Check for details in the code.
Wiring:
If you want to use white color only, you can use the barrel jack adapter delivered with the power supply to connect the “-“ output to the “white“ cable of the neon LED adapter and the “+” output to the “red” wire of the neon LED adapter.
After you press the neon LED strip onto the printed tree and star you simply need to cut the strip on one of its markers shown on the side of the neon LED strip. The tree is sized to hold the strip 1 way around with not much overhangs of the LEDs as shown.
You will need to add the above listed Step-Down module to power the ESP8266 with 5V instead of the 12V delivered by the power supply. The 12V is needed for the neon LED strip itself. You will need to measure the output voltage of the module with a volt meter and set it to 5V to avoid damage to the ESP8266.
Barrel jack:
Switch:
Step-Down:
ESP8266:
LED strip:
Wire color:
+12V
Pin1
Pin2
IN+
12V
Red
GND
IN-
GND
White
OUT+
5V
OUT-
GND
D5
DIN
Green
Printing instructions:
0.3 draft profile
No supports needed, except a little support from the print bed for the stars pin
No brim needed, except for the stand and lid part. Had some very old filament warping…