Wi-Fi LED Christmas Tree With IR Remote

by james_workshop in Circuits > LEDs

310 Views, 1 Favorites, 0 Comments

Wi-Fi LED Christmas Tree With IR Remote

IMG_4378.jpg

In the last year, I made simple PCB Christmas tree

This year I discovered an open source project - WLED and I will to use WLED to make this year's Christmas tree

version

Supplies

The 23 LEDs version uses 5050 size WS2812B LED

The advantage is that it is easy to make

The 41 LEDs version uses a smaller 2020 size WS2812B LED

More effects can be displayed, but the LED is too small, which means that the soldering process will be much more difficult

Schematic

Schematic_Xmas_tree WS2812_5050.png
Schematic_Xmas_tree_WS2812_2020.png

23 LEDs version

  • Custom PCB x 1
  • WS2812B - 5050 X 23
  • 100nF Capacitor x 8
  • 10K Ohms resistance x 1
  • Infrared remote receiver X 1
  • Push button switch X 1
  • 8 Pin Header X 1

41 LEDs version

  • Custom PCB x 1
  • WS2812B - 2020 X 41
  • 100nF Capacitor x 8
  • 10K Ohms resistance x 1
  • Infrared remote receiver X 1
  • Push button switch X 1
  • 8 Pin Header X 1

core part

  • Wemos D1 mini
  • Wemos D1 mini Dual Base Shield
  • 21Key Infrared remote control



PCB

螢幕截圖 2022-12-30 04.44.30.png
螢幕截圖 2022-12-30 04.45.13.png

The PCB Christmas tree continues to use the previous year's design. Using D1 mini Dual Base Shield,Let the Christmas tree stand up.


I use EasyEDA to design PCB and upload the design to JLCPCB.com to manufacture PCB.

JLCPCB make high quality prototyping PCBs for people all over the world. They have over 300,000 worldwide customers with over 8000 orders per day! They have over 10 years of manufacturing experience and are super reliable. Try it for your self and get 10 PCBs for just $2 at JLCPCB, New registered users US$54 offer , Order here

You can use my gerber files to ordel your own PCBs, and build this DIY Project.

Just a quick example how to order PCB from JLCPCB.com:

1)press "QUOTE NOW"

2)press "Add your gerber files"

3)upload zip or rar

4)all properties could be left default


gerber files

https://github.com/James-workshop/Wi-Fi-LED-Christmas-Tree

Solder

20.jpg
21.jpg
22.jpg
23.jpg
24.jpg

23 LEDs version I used JLCPCB's PCBA service, so no need to solder

41 LEDs version solder it myself. If you are not good at soldering, you can also use JLCPCB's PCBA service

For easy soldering, I ordered SMD stencil from JLCPCB.com

Now we will apply the solder paste using a syringe. Apply on one side as shown then use something like a card.

one done you can see a small layer of solder paste on PCB.


The LEDs are so tiny I need a microscope to get all the components in place and head the PCB using Hot air station soldering

Flash D1 Mini

31.jpg
32.jpg
33.jpg
34.jpg
35.jpg
36.jpg
37.jpg

How to flash WLED to D1 mini:

  • In your preferred browser navigate to https://install.wled.me/
  • Connect D1 with your PC
  • Click the "Install" button
  • Select the appropriate Serial port from the pop-up
  • Follow the instructions on the page
  • Wait till the installation process finishes
  • Follow the instructions config Wi-Fi


Config WLED

40.jpg
41.jpg
42.jpg
43.jpg
44.jpg
45.jpg
46.jpg

Configuration of LED and Presers Setting. Click Config and Preferences

23 LEDs version

  • LED Voltage: 5v Default(55mA)
  • LED Outputs: WS218x
  • Length: 23
  • GPIO: 2
  • Button 0 GPIO: 0 Pushbutton
  • Button 1 GPIO: -1 Pushbutton
  • IR GPIO: 5 21 Key RGB

41 LEDs version

  • LED Voltage: 5v Default(12mA)
  • LED Outputs: WS218x
  • Length: 41
  • GPIO: 2
  • Button 0 GPIO: 0 Pushbutton
  • Button 1 GPIO: -1 Pushbutton
  • IR GPIO: 5 21 Key RGB

Save & Back


I uploaded my preset, if you use the preset I provided, please follow the steps below

Goto Security & Updates

  • Restore Presets
  • Select file and upload


Preset files:

https://github.com/James-workshop/Wi-Fi-LED-Christmas-Tree







Assemble

Xmas Tree 2022 1.jpg

Connect PCB Christmas Tree and D1 mini by using Dual Base Shield

You will get a Christmas Tree that can be controlled by Wi-Fi and IR