ESP8266 OTA (Over-the-Air) Firmware Updates using AsyncElegantOTA Arduino Library.

7 Просмотры
Размещено
Get 10 PCBs at just $5 from my favorite PCB manufacturer - https://www.pcbway.com/

Project Page: https://electronicsinnovation.com/esp8266-ota-over-the-air-firmware-updates-using-asyncelegantota-arduino-library


In this video, we are going to see how to enable an OTA Firmware updating feature to the esp8266 module using the asyncElegantOTA Arduino library. also, we will walk through how to add this OTA feature to the existing NodeMCU-esp8266 projects and what are the important things you need to consider while adding this feature to the existing projects.


What is OTA programming in ESP8266?

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 ESP8266 OTA programming allows updating/uploading a new program to ESP8266 using Wi-Fi instead of a physical connection of the NodeMCU-ESP8266 to a computer via USB.

OTA functionality is extremely useful in case of no physical access to the ESP8266 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 is that 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 esp8266 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 NodeMCU-esp8266 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 esp8266.



#OTA #ESP8266 #AsysncelegantOTA

=================================================
Subscribe to Electronics Innovation
http://bit.ly/ElectronicsInnovation

Visit Electronics Innovation.com for more Tutorials, Tips, Projects, and How It Works videos:
http://electronicsinnovation.com/
Follow us on Instagram: https://www.instagram.com/electronicsinnovation/
Like my page on Facebook:https://www.facebook.com/ElectroniczInnovation
Категория
Ардуино
Комментариев нет.