Рет қаралды 19,720
Simple introduction to web-enabling your ESP32 (or ESP8266).
► PCBWay $5 for 10 pieces www.pcbway.com
► 1. Introduction
Using the Arduino IDE 2.0.x available here bit.ly/Arduino... or Visual Studio Code (PlatformIO)
Many more details including pictures, code and more:
bit.ly/Web_Ena...
► 2a. Installing the libraries (Arduino method)
--------------------------------------------------------------------------
Go to the following GitHub site github.com/me-... and download the following libraries:
1. ESPAsyncWebServer
2. AsyncTCP (if you are using ESP8266 download ESPsyncTCP instead)
Go to the following GitHub site github.com/ayu... and download the following library:
1. AsyncElegantOTA (same library for ESP32 & ESP8266)
They will download as ZIP files with the suffix "-master". Ignore all that! Just remember where you downloaded them to!
Go to the Arduino IDE and click Sketch➡️Include Library➡️Add.ZIP library and click the downloaded library ZIP files.
Done!
► 2b. Installing the libraries (PlatformIO method)
-------------------------------------------------------------------------------
Ensure your platformio.ini file includes the "lib_deps" entry:
lib_deps =
me-no-dev/AsyncTCP@^1.1.1
me-no-dev/ESP Async WebServer@^1.2.3
;github.com/me-...
ayushsharma82/AsyncElegantOTA@^2.2.7
► 3. All code and more for both environments is in the GitHub:
bit.ly/Web_Ena...
Easy: Just click the big green "CODE" button in the GitHub for this video and choose the ZIP file download to your PC. Then unzip and you have everything you might need!
► 4. ESP32 Tools settings (in the dropdown Tools menu in the Arduino IDE)
Click here for essential reading:
espressif-docs...
► List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
bit.ly/KZbinV...
► If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey
My channel, GitHub and blog are here:
------------------------------------------------------------------
• / ralphbacon
• ralphbacon.blog
• github.com/Ral...
• buymeacoffee.c...
------------------------------------------------------------------
My ABOUT page with email address: / ralphbacon