Introduction: Wi-Fi LED Christmas Tree With IR Remote

About: 👋 Hi, I’m james@James-workshop 詹姆士工作室🔧🔨🔩⚙️ 工科大叔 - 家居維修🛠・開箱📦・電子・DIY 📫 tinsiu.james@gmail.com

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

Step 1: Schematic

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



Step 2: PCB

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

Step 3: Solder

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

Step 4: Flash D1 Mini

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


Step 5: Config WLED

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







Step 6: Assemble

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