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

  Рет қаралды 6,206

Electronics Innovation

Electronics Innovation

Күн бұрын

Get 10 PCBs at just $5 from my favorite PCB manufacturer - www.pcbway.com/
Project Page: electronicsinn...
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/Electron...
Visit Electronics Innovation.com for more Tutorials, Tips, Projects, and How It Works videos:
electronicsinno...
Follow us on Instagram: / electronicsinnovation
Like my page on Facebook: / electroniczinnovation
~-~~-~~~-~~-~
Please watch: "I AM IRON MAN | DIY Arc Reactor"
• how to make iron man a...
~-~~-~~~-~~-~

Пікірлер: 17
@frantisekkorycan7279
@frantisekkorycan7279 2 жыл бұрын
Thank you. Excellent solution.
@marioortiz5482
@marioortiz5482 3 жыл бұрын
Thanks for your time sharing this excellent information.
@modithanayana8903
@modithanayana8903 2 жыл бұрын
Very clear tutorial Thanks🙌
@pendekarsoldersmamsevensby2939
@pendekarsoldersmamsevensby2939 Жыл бұрын
Nice tutorial ❤❤❤
@rajesh_iot6674
@rajesh_iot6674 3 жыл бұрын
Thanks for Great Video Bro.....
@edgardsalas8269
@edgardsalas8269 Жыл бұрын
hi, a favor, maybe you can help me, I have been reading about the ota data partition, it has a size of 0x2000 bytes, I wanted to understand how these bytes are filled?. I thank you in advance
@Dancopymus
@Dancopymus 2 жыл бұрын
Hello friend, first, thanks for the tutorial. I have a question: With my esp82266, I do the whole procedure and when it arrives at the ElegantOTA screen, it shows up to 100% and stops, it doesn't continue. However, I ask you a question: after exporting to the .bin file with ip xxxxx/update, this .bin file must be loaded with esp connected to PC usb or esp must be connected to another power source external? I'm asking because I didn't see you do it! PS.: When I just type the IP, without /update in the address bar, it shows the message "Hi! I am ESP8266" with esp plugged into a wall socket. Thanks
@KK-ib5nh
@KK-ib5nh Жыл бұрын
How to get .bin file in esp idf .. which file i have to use
@hamzarauf320
@hamzarauf320 3 жыл бұрын
I have no Ip adress because physially or through connectin with wire code is not Uploading and genereting an error message "A fatal error occurred: Timed out waiting for packet content " . Now how can I upload code using OTA ???????? Plz suggest any solution about it , Thank u
@mahendrau4672
@mahendrau4672 Жыл бұрын
Hi brother, I want ESP32 OTA with MQTT protocal, Please do this one
@ravikaravadiya4171
@ravikaravadiya4171 2 жыл бұрын
can i upload the code in different network using this library?
@ailtonmk11
@ailtonmk11 3 жыл бұрын
bom exemplo mais cade o sketch ????
@Dancopymus
@Dancopymus 2 жыл бұрын
Olá, já passaram 7 meses mas, se vc ainda necessita, os sketches estão na pasta Exemplos AsyncElegantOTA > ESP32_Async_Demo e o exemplo Blink que está dentro da pasta Exemplos > 01.Basics > Blink.
@juanperezgarcia9963
@juanperezgarcia9963 10 ай бұрын
Will this work with arduino giga which has an STM32H747 processor?
@juanperezgarcia9963
@juanperezgarcia9963 10 ай бұрын
And can you comunicate with boards in different wifi networks on different cities ?
@ilkeraykut7064
@ilkeraykut7064 2 жыл бұрын
How can we do this through internet not wifi?I have esp32 sim800l module and I can connect to internet through sim800l 's gprs.
@MikePreston-darkflib
@MikePreston-darkflib 2 жыл бұрын
There are examples for the esp32 to upgrade from a spiffs file, you should be able to download a file into spiffs and flash when ready.
The EASY Guide To Over-The-Air (OTA) Updates With ArduinoOTA
11:52
Programming Electronics Academy
Рет қаралды 23 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 121 МЛН
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 47 МЛН
#228 ESP32 Over the Air (OTA) Updates with ONE LINE are EASY!
23:26
Ralph S Bacon
Рет қаралды 28 М.
#328 ESP32 Secrets: Interrupts, and Deep-Sleep under the Hood
18:57
Andreas Spiess
Рет қаралды 176 М.
#332 ESP32  OTA tutorial with tricks (incl. OTA debugging)
10:17
Andreas Spiess
Рет қаралды 134 М.
OTA with the ESP32 (Over The Air)
8:38
Programming Electronics Academy
Рет қаралды 52 М.
HOW DO OTA UPDATES HAPPEN IN THE ESP32? | ADVANCED ESP32
9:06
ESP-IDF ESP-32 HTTP/HTTPS OTA(Over The Air) Firmware Update
15:06
Embedded Hacks
Рет қаралды 14 М.
Upload Code over Internet 🌎 using Blynk.Air
8:29
techiesms
Рет қаралды 18 М.
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 70 М.