If you experience problems seeing your IP read this troubleshooting guide. ![]() Save that IP address, because you’ll need it later. ![]() When your ESP8266 restarts, it prints in your serial monitor the ESP IP address. Now follow these schematics to create the final circuit. _, _, method, path = string.find(request, "(+) (.+) HTTP") įor k, v in string.gmatch(vars, "(%w+)=(%w+)&*") doīuf = buf."function update(picker) " ("REPLACE_WITH_YOUR_SSID","REPLACE_WITH_YOUR_PASSWORD")Ĭonn:on("receive", function(client,request) If you’re running a newer version of the Lua firmware, you’ll need to use this script instead: ESP8266_RGB_Color_Picker_New.lua. IMPORTANT: the embedded script below was made in 2016 and it works with an older version of the Lua firmware. Your file should be named “ a“.ĭon’t forget to add your network name (SSID) and password to the script below. Upload the following code into your ESP8266 using the preceding software. Connect your ESP8266-12E that has built-in programmer to your computerĮverything that you need to worry about or change is highlighted in red box.You should see a window similar to the preceding Figure, follow these instructions to upload a Lua file: I recommend using the ESPlorer IDE which is a program created by 4refr0nt to send commands to your ESP8266.įollow these instructions to download and install ESPlorer IDE: In this tutorial we are going to use the NodeMCU firmware. You have to flash your ESP with NodeMCU firmare. You can use the preceding links or go directly to /tools to find all the parts for your projects at the best price! 3x NPN Transistors 2N2222 or equivalent.Recommended – Step down buck converter module.Device to reduce voltage from 12V to 5V.1x ESP8266-12E – read Best ESP8266 Wi-Fi Development Boards.Here’s the hardware that you need to complete this project: If you like the ESP and you want to do more projects you can download my eBook Home Automation using ESP8266 here. To learn more about the ESP8266 and RGB LEDs use the following tutorials as a reference: First, watch the step by step video tutorial below ![]() This project is called $10 DIY WiFi RGB LED Mood Light. TIn this project, I’ll show you how you can build your own mood light. You’ll use an ESP8266 to remotely control the color of your light using your smartphone or any other device that has a browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |