2/2/2024 0 Comments Geek clock explained![]() This is handy for locations that you don’t have access to the Wi-Fi network’s credentials, but still want to use WLED. It’s also possible to leave WLED running as its own access point (remember the WLED-AP) and never connect it to your own Wi-Fi network. For example, any home automation system that can send an HTTP request can control WLED! WLED has a complete API you can use to control LEDs from other applications, scripts, etc. In addition to controlling your LEDs via the smartphone app, you can also control WLED from a webpage just by going to its IP address in your web browser. In my case, I chose the effect called Colorful, and it was beautiful! That’s all there is to it! You now have a fully function WLED setup! It is possible that a 5V LED strip will work with only 3.3V, albeit its maximum brightness will be reduced. Only connect the Din to the ESP32 and not to the power supply. If you use a separate power supply, be sure to connect the ground (Gnd) to both the ESP32 and the power supply, but only connect the +5V or +12V cable to the LED strip. If yours needs 5V or 12V inputs, you may need to use a separate power supply. This may not be enough for some LED strips. Pro Tip: It should be noted that most all ESP32 microcontrollers only have a 3.3v output. To get meaningful use out of our ESP32 microcontroller running WLED, we need something for it to control For demonstration purposes, I am just going to plug in a short section of WS2812b LEDs from a strip I had laying around.ĭisconnect the ESP32 microcontroller from power and make the connection as follows: We haven’t connected any WS2811, WS2812b, or WS2813 LED strips to our controller yet! Let’s do that! Connecting WS28xx LED Strips to WLED Connect one end to the ESP32 and the other end to your PC or Mac.īut wait! We have a problem. This requires a Micro-USB cable for most controllers. Now that you have the drivers installed, you’ll need to connect your ESP microcontroller to a PC or Mac via USB. If you used our links above to acquire your ESP32, then you will need the CP2102 drivers. You can find those drivers at these links: The very common CP2102 and the less common CH340G. There two common driver for almost all microcontrollers. If you’ve never connected a device like this to your PC or Mac before it is very possible you won’t have the USB UART serial drivers installed. Let’s walk through all of the necessary steps! Installing the USB UART Serial Drivers Getting Started with WLEDĪfter getting your ESP32 out of its box (or bag), its time to get WLED up and running on it. But that’s outside the scope of this article. In fact, you can even use the Arduino IDE to program for the ESP32 with an add-on called ESP32-Arduino Core. It’s a little more complicated than that, but that’s the simple way to look at it. Put simply, think of the ESP32 as an Arduino that has additional GPIO pins along with Bluetooth & Wi-Fi integrated onto the board. In addition, you’ll need a few pieces of software for this project. If you use them it costs you nothing, but we get a small commissions and that helps us keep making content for you! Downloads for this Project Micro-USB power supply (for stand alone operation) ![]() If you don’t already have everything you need for this project, here’s a handy parts list for getting started: QTYĮSP8266 microcontrollers (no Bluetooth, but cheaper)ĮSP32 microcontroller (adds Bluetooth and doubles GPIO, more expensive) You’ll also need to obtain the iOS or Android app if you want to control the LEDs from your phone. Installing and Configuring WLEDīefore you get started installing and configuring WLED, you’re going to need a ESP32 based microcontroller to install it on, along with some addressable LEDs. WLED is an awesome open source application created to control addressable LEDs (WS2811, WS2812b, WS2813, etc) from your iOS or Android smartphone, or literally any device which can send a command via http/https over a network! It runs on the ESP32 platform of microcontrollers, which although similar to the Arduino is different but mostly compatible if you understand those differences.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |