Get 10 PCBs at just $5 from my favorite PCB manufacturer - www.pcbway.com/
Project Page: electronicsinnovation.com/esp...
In this video, we are going to see how to enable OTA Firmware updating feature to the esp32 module using the asyncElegantOTA Arduino library. also, we will walk through how to add this OTA feature to the existing esp32 projects and what are the important things you need to consider while adding this feature to the existing projects.
What is OTA programming in ESP32?
A fantastic feature of any WiFi-enabled microcontroller is the ability to update its firmware wirelessly. This is known as Over-The-Air (OTA) firmware update.
The ESP32 OTA programming allows updating/uploading a new program to ESP32 using Wi-Fi instead of a physical connection of the ESP32 with a computer via USB.
OTA functionality is extremely useful in case of no physical access to the ESP32 module. It helps to reduce the amount of time spent on updating each ESP module at the time of maintenance. One important feature of OTA is that one central location can send an update to multiple ESPs sharing the same network.
The only disadvantage, you have to add an extra code for OTA with every sketch you upload, so that you’re able to use OTA in the next update otherwise you can't.
There are so many ways to enable an OTA Firmware updating feature to the esp32 module, but I felt this AsyncElegantOTA Arduino library is the simplest way. I will explain to you why this is the simplest way in the next few minutes.
We will use the AsyncElegantOTA Arduino library to enable an OTA Firmware updating feature to the esp32 module. First of all, I would like to appreciate and thank Ayush Sharma the author of this library for his brilliant work.
AsyncElegantOTA provides a beautiful interface to upload Over-the-Air updates to ESP Modules with precise status and progress displayed over UI.
This Library shows the current upload progress of your OTA and once finished, it will display the status of your OTA. This Version of the Library uses AsyncWebServer. we have to use ".bin" files of firmware while uploading to the esp32.
#OTA #ESP32 #AsyncelegantOTA
=================================================
Subscribe to Electronics Innovation
bit.ly/ElectronicsInnovation
Visit Electronics Innovation.com for more Tutorials, Tips, Projects, and How It Works videos:
electronicsinnovation.com/
Follow us on Instagram: / electronicsinnovation
Like my page on Facebook: / electroniczinnovation
2 апр 2021