Mini WLED Controller

by james_workshop in Circuits > LEDs

1327 Views, 4 Favorites, 0 Comments

Mini WLED Controller

001.jpg

Last Christmas, I made a Christmas tree using PCB and paired it with the open-source project WLED, making it a decoration that can be controlled through a mobile app or infrared remote.

Now I have decided to make a mini WLED controller to decorate my monitor

Supplies

002.jpg
008.jpg


  • Custom PCB x 1
  • Wemos D1 mini X 1
  • 100nF Capacitor x 1
  • 10K Ohms resistance x 1
  • Infrared remote receiver X 1
  • Push button switch X 1
  • 6 Pin Terminal Block Connector X 1
  • 3 Pin ZH1.5 PCB connector X 1
  • WS28XX LED strip X 1

Schematic

Schematic_WLED-Mini_2023-03-26.png

I used the standard WLED schematic and chose the Wemos D1 mini as the MCU. I added a set of button circuits for the on/off switch, an IRM(infrared receiver module) for IR control, and two different types of wiring terminals for easy connection to different types of LEDs.

Make a Custom PCB

螢幕截圖 2023-03-26 21.01.57.png
螢幕截圖 2023-03-26 21.02.47.png
螢幕截圖 2023-03-26 21.03.02.png
螢幕截圖 2023-03-26 21.04.01.png

For this WLED controller that I am making, I hope to make it as small as possible, so I am using SMD components as much as possible.

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/mini-WLED-controller

Solder

003.jpg
004.jpg
006.jpg
005.jpg
007.jpg

In just a few days, I received the custom PCB from the factory and was able to enjoy the DIY assembly process. I used a regular soldering iron to demonstrate how to solder SMD components. With the help of the custom PCB, I was able to assemble the entire flashlight quickly and easily. The entire assembly process can be viewed on YouTube

Flash D1 Mini

31.jpg
32.jpg
33.jpg
34.jpg
35.jpg
36.jpg
38.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

41.jpg
42.jpg

Configuration of LED Setting. Click Config and Preferences

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

Save & Back

Additional settings can be viewed on YouTube


Detailed Tutorial

DIY - Mini WLED Controller 迷你 WLED 控制器

With the help of custom PCB manufacturing, I was able to easily create the WLED controller with just a few simple steps. Thanks to the powerful and user-friendly WLED open-source project, I was able to create a robust LED controller without the need for programming skills. I hope everyone enjoys my creation.