A simple, original and cheap Christmas tree made with LED-illuminated plastic straws that can be controlled over WiFi.
Things used in this project
This is an original, cheap and easy-to-do “Internet of Holiday Things” project. It consists of a small Christmas tree made with plastic straws with LEDs under them, so we can create beautiful light effects.
It can be mounted on the protoboard itself as I did, but it will look better if we solder the LEDs on a perfboard or make a simple PCB so that the tree shape is smoother (KiCad PCB files attached). If we mount the circuit on the protoboard, a custom alignment piece made with cardboard or rigid plastic is highly recommended (I made it with transparent plastic from a container cover), so that the LEDs and straws stays in place.
PCB Layout (2D/3D)
Although the code is made from the simple web server Arduino example (only works with a browser and a local IP), it’s easy to take the idea to other platforms, like Blynk, Temboo, etc.
Just change the WiFi SSID and credentials in the code, and type to the browser the IP that shows up on the serial monitor when the MKR1000 establishes connection with you WiFi router. On the browser, you’ll see the 4 light mode options with its duration time and a third option to disconnect. You must wait until the mode you clicked finishes to start a new one.
- Mode 1: Blue and Red fading
- Mode 2: Green and Yellow fading
- Mode 3: Fast random fading
- Mode 4: All color flashing sequences