WiFi-LED-XMAS-tree: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|author=[[User:Uli|Uli]], [[User:Rene|Rene]], Marijn, German
|author=[[User:Uli|Uli]], [[User:Rene|Rene]], Marijn, German
|username=Uli
|username=Uli
|version=0.9.1
|version=[https://github.com/munichmakerlab/wifi-led-xmas-tree/tree/0.9.1 0.9.1]
|update=03.12.2018
|update=03.12.2018
|platform=WEMOS D1 mini
|platform=WEMOS D1 mini
Line 19: Line 19:
== The hardware ==
== The hardware ==
* ordinary LED christmas tree (such as this one from Ali Express [https://de.aliexpress.com/item/Three-Dimensional-3D-Christmas-Tree-LED-DIY-Kit-Red-Green-Yellow-LED-Flash-Circuit-Kit-Electronic/32744769456.html?spm=a2g0s.9042311.0.0.f2e24c4dtfzL0q])
* ordinary LED christmas tree (such as this one from Ali Express [https://de.aliexpress.com/item/Three-Dimensional-3D-Christmas-Tree-LED-DIY-Kit-Red-Green-Yellow-LED-Flash-Circuit-Kit-Electronic/32744769456.html?spm=a2g0s.9042311.0.0.f2e24c4dtfzL0q])
* pimped multi color controllable LED (we used the WS2812B on a small round white circuit board such as one of these [https://de.aliexpress.com/item/10-1000pcs-4-Pin-WS2812B-WS2812-LED-Chip-Heatsink-5V-5050-RGB-WS2811-IC-Built-in/32634454437.html?spm=a2g0s.9042311.0.0.36754c4d2waMKU]
* pimped multi color controllable LED (we used the WS2812B on a small round white circuit board such as one of these [https://de.aliexpress.com/item/10-1000pcs-4-Pin-WS2812B-WS2812-LED-Chip-Heatsink-5V-5050-RGB-WS2811-IC-Built-in/32634454437.html?spm=a2g0s.9042311.0.0.36754c4d2waMKU])
* WEMOS D1 mini based on the ESP8266 (such as this one [https://de.aliexpress.com/item/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-by/32644199530.html?spm=a2g0s.9042311.0.0.58824c4dpHL6Ij])
* WEMOS D1 mini based on the ESP8266 (such as this one [https://de.aliexpress.com/item/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-by/32644199530.html?spm=a2g0s.9042311.0.0.58824c4dpHL6Ij])
* Some additional resitors (about 150 Ohms) because the ones delivered with the ordinary tree are way to big which results in in very dim LEDs
* Some additional resitors (about 150 Ohms) because the ones delivered with the ordinary tree are way to big which results in in very dim LEDs
Line 26: Line 26:
<gallery>
<gallery>
Ordinary_LED_XMAS_tree.jpg|Ordinary LED christmas tree in action
Ordinary_LED_XMAS_tree.jpg|Ordinary LED christmas tree in action
WiFi_LED_XMAS_tree.jpg|Pimped WiFi controlled LED christmas tree in action
Pimpedxmastree_web.jpg|Pimped WiFi controlled LED christmas tree in action
</gallery>
</gallery>
=== Circuit Diagram ===
<gallery>
Wifi_led_xmas_tree_schem.png|Circuit diagram of the pimped tree
</gallery>
=== Socket ===
The tree can stand on wooden socket box (60mm x 60mm x 40mm, 3mm wooden board fitted in laser cutter) where the cables and WEMOS D1 mini can be put inside.
Therefore the box has a slot on top where the wiring can be put through, an opening at the front side where a small OLED display can be placed and at the back side a small cut-out for a micro-USB cable to power the D1 and flash the software. A dxf file can be found [[:File:Xmas_tree_socket_60_60_40_dxf.zip|here]].


== The code ==
== The code ==
So far we programmed basic animation for the LEDs and a little webserver to accept commands for turning on and off seperate LED colors.  
So far we programmed basic animation for the LEDs and a little webserver to accept commands for turning on and off seperate LED colors.  


Find it in on GitHub in our [https://github.com/usb79/WiFi-LED-XMAS-tree/settings/collaboration Group]
Find it in on GitHub in our [https://github.com/usb79/WiFi-LED-XMAS-tree Group]


== History (reverse order => latest on top) ==
== History (reverse order => latest on top) ==
* created a circuit diagram
* designed and lasered a wooden socket
* organized a workshop with German
* ordered 8 new trees, two are already promised to Tobi
* ordered 8 new trees, two are already promised to Tobi
* To make the basic LED animation more smooth, lately we programmed a Chen attractor function but did not finish it properly yet.
* To make the basic LED animation more smooth, lately we programmed a Chen attractor function but did not finish it properly yet.


== Want one for yourself? ==
== Want one for yourself? ==
* if you can spare roughly 5€ ask me - I just ordered some replenishment trees with
* if you can spare roughly 5€ ask me - I just ordered some replenishment trees that should arrive in a couple of days


== Todo ==
== Todo ==
* Socket for the tree
* Socket for the tree
  * maybe with a display to directly find out about the DNS name and/or IP address
** maybe with a display to directly find out about the DNS name and/or IP address


== List of known bugs & Feature requests==
== List of known bugs & Feature requests==

Latest revision as of 20:26, 21 December 2018

           
WiFi LED XMAS tree

Release status: beta [box doku]

WiFi LED XMAS tree.jpg
Description Pimp an ordinary LED christmas tree and make it controllable via wifi
Author(s)  Uli, Rene, Marijn, German (Uli)
Last Version  0.9.1 (03.12.2018)
Platform  WEMOS D1 mini
License  MIT
Download  https://github.com/munichmakerlab/wifi-led-xmas-tree


Introduction

This project is about a WiFi LED XMAS tree consisting of an ordinary electronics gadget LED christmas tree with a pimped top LED and connected to a WEMOS D1 mini to enable WiFi control.

The hardware

  • ordinary LED christmas tree (such as this one from Ali Express [1])
  • pimped multi color controllable LED (we used the WS2812B on a small round white circuit board such as one of these [2])
  • WEMOS D1 mini based on the ESP8266 (such as this one [3])
  • Some additional resitors (about 150 Ohms) because the ones delivered with the ordinary tree are way to big which results in in very dim LEDs
  • Some wire to power the tree with 5V and connect the control wires for the top LED (WS2812B controlled with serial protocol of FastLED) and the transistors which control the outer color LEDs (with pulse width modulation (PWM) of the D1)

Circuit Diagram

Socket

The tree can stand on wooden socket box (60mm x 60mm x 40mm, 3mm wooden board fitted in laser cutter) where the cables and WEMOS D1 mini can be put inside. Therefore the box has a slot on top where the wiring can be put through, an opening at the front side where a small OLED display can be placed and at the back side a small cut-out for a micro-USB cable to power the D1 and flash the software. A dxf file can be found here.

The code

So far we programmed basic animation for the LEDs and a little webserver to accept commands for turning on and off seperate LED colors.

Find it in on GitHub in our Group

History (reverse order => latest on top)

  • created a circuit diagram
  • designed and lasered a wooden socket
  • organized a workshop with German
  • ordered 8 new trees, two are already promised to Tobi
  • To make the basic LED animation more smooth, lately we programmed a Chen attractor function but did not finish it properly yet.

Want one for yourself?

  • if you can spare roughly 5€ ask me - I just ordered some replenishment trees that should arrive in a couple of days

Todo

  • Socket for the tree
    • maybe with a display to directly find out about the DNS name and/or IP address

List of known bugs & Feature requests

For more information on that, have a look at the github page of the project [4]