How you can interface with your ESP32 to get information or carry out actions. Plus uploading code Over The Air in one easy step.
Video link: https://youtu.be/6yiuImbqKYY
► Use coupon code PCBWay8th-RSB to get $10 off a $40 order! Coupon lasts for THREE months. Limited number of coupons available.
Using either the Arduino IDE 2.0.x available here or the Visual Studio Code (PlatformIO) IDE I'll talk you through getting a simple web page to be served up from your ESP32 (yes, the ESP8266 works too, but you will have to read the information on the libraries to make it work).
Go to the following GitHub site and download the following libraries:
- ESPAsyncWebServer
- AsyncTCP (if you are using ESP8266 download ESPsyncTCP instead)
Go to the following GitHub site and download the following library:
- 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!
Ensure your platformio.ini file includes the lib_deps
like this:
Just click big green "CODE" button above and choose the ZIP file download to your PC. Then unzip and you have everything you might need!
Click here for essential reading
► List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon
► 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:
------------------------------------------------------------------
• https://www.youtube.com/RalphBacon
• https://ralphbacon.blog
• https://github.com/RalphBacon
• https://buymeacoffee.com/ralphbacon
------------------------------------------------------------------
My ABOUT page with email address: https://www.youtube.com/c/RalphBacon/about