ESP32 OTA Update(On-the-Air) course
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 8 lectures (37m) | Size: 163.9 MB
ESP32 Basic Over The Air (OTA) Programming In Arduino IDE
What you'll learn
Learn about the ESP32 and why you must start using it
Learn about the variants of the ESP32 module.
Learn how to replace Arduino with ESP32 without coding effort
Learn about the differences and similarities between the ESP32 and the Arduino
Requirements
A Computer
Download the provided software which is free and included
Description
ESP32 OTA (Over-the-Air) Updates – AsyncElegantOTA Using Arduino IDE Arduino training course.
ESP32 OTA (Over-the-Air) Updates – AsyncElegantOTA using Arduino IDE
In this guide, you'll learn how to do over-the-air (OTA) updates to your ESP32 boards using the AsyncElegantOTA library. This library creates a web server that allows you to upload new firmware (a new sketch) to your board without the need to make a serial connection between the ESP32 and your computer.
Introduction
What is an ESP32 and what is OTA updating
ESP32 OTA Update is a great way to update the ESP32's firmware. One of the benefits is that it doesn't require a physical connection to make the update and can be done over the air and in any location.
One downside with this update is that it uses flash memory, which is lower capacity than what we see in most other electronics. And if we want to add more features, they will take up more space on the flash memory.
Another downside of ESP32 OTA Update is that it takes a long time to complete the updating process.
The ESP32 has an internal bootloader that is "seemingly" not accessible.
This is because it is written in flash memory. However, this can be changed by flashing a bootloader to the ESP32. This bootloader is called esp-idf.
ESP32 OTA (Over-the-Air) Programming
OTA (Over-the-Air) update is the process of loading new firmware to the ESP32 board using a Wi-Fi connection rather than serial communication. This functionality is extremely useful in case of no physical access to the ESP32 board.
There are different ways to perform OTA updates. In this tutorial, we'll cover how to do that using the AsyncElegantOTA library. In our opinion, this is one of the best and easiest ways to perform OTA updates.
The AsyncElegantOTA library creates a web server that you can access on your local network to upload new firmware or files to the filesystem (SPIFFS). The files you upload should be in .bin format. We'll show you later in the tutorial how to convert your files to .bin format.
Ways To Implement OTA In ESP32There are two ways to implement OTA functionality in ESP32.
Basic OTA – Over-the-air updates are sent through Arduino IDE
Web Updater OTA – Over-the-air updates are sent through a web browser
Each one has its own advantages. You can implement anyone according to your project's requirements.
OTA Update Process: How to carry out the update process for ESP32
The OTA update process is as follows
1. Connect to WiFi/cellular network.
2. Bootloader should be running in the ESP32.
Update ESP32 from ESP32 OTA Update tool.
3. Update should be complete.
Enabling OTA Update
Connect to WiFi/cellular network
The ESP32 must be connected to a cellular network for the OTA update to work. To do this, you can use the following steps
♦ Ensure that power is connected to the ESP32.
♦ Open your WiFi network page.
♦ Select a WiFi network from the list.
♦ Press Scan to start searching for access points.
♦ The ESP32 will automatically connect to the wifi network that opens.
(You can view this in the Serial monitor window, by typing Serial.println("Connected"))
Configuring the ESP32 to enable OTA updates
The steps for configuring the ESP32 to enable OTA updates are as follows
1. Go to app menu.
2. Select system settings.
3. Go to Wi-Fi and select your wifi network.
4. Press the APN button from the Wi-Fi Connections.
5. Open the APN page.
6. Select your cellular service and select the setting "OTA update from cellular".
7. Press the APN button to save the settings.
Conclusion
It is a Binary file system, which is Read and Write only.
The best way to update your device is to flash your device.
(You can connect to the wifi network and Flash the firmware to your device)
The reason why I said the best method is because it is the easiest way to flash the firmware and update your device.
However, if you are not comfortable with this method. I would recommend either using the OTA update feature.
(You can just follow the steps below to update your device)
3. Open the app menu.
4. Select the system settings.
5. Go to Wi-Fi and select your wifi network.
6. Press the APN button from the Wi-Fi Connections.
7. Open the APN page.
8. Select your cellular service and select the setting "OTA update from cellular".
9. Press the APN button to save the settings.
NOTE: OTA update may take some time to update the firmware. It generally takes around 10 Minutes.
Why you should take this course?
Learn about the benefits of using OTA updates for ESP32 such as not draining the battery because it only sends data when there is a change in code
Learn the ESP32 deep-sleep power-saving technique
It can help you understand the full process of how to create the firmware with the Arduino IDE
This is a course that teaches how to update an ESP32 device wirelessly
Learn how to configure a wireless access point and many more.
Over-the-Air(OTA) Updates are a really good way to update your ESP32 projects. It's fast, simple, and saves you from having to plug your device into the computer to flash it with new firmware every time you need to update your code.OTA Updates are easy to implement and work with very little effort on your part. This course will teach you how OTA Updates work and how to implement them in your own projects.
ESP32 is a chip that has been widely integrated into products due to its low cost and flexible hardware architecture. This course will teach you everything about programming this chip, from setting up the development environment all the way to building your own web server. It also teaches you how to update firmware using OTA (Over The Air).
Take this course now!
Who this course is for
Anyone who wants to learn How to program and update ESP board via OTA
Homepage
https://uploadgig.com/file/download/cda2262731c38e04/bA2LaPuu__ESP32_OTA_.rar
https://rapidgator.net/file/ba9be8c0858c26112ae146d00fa8e4bf/bA2LaPuu__ESP32_OTA_.rar.html
https://hot4share.com/reln3zn9h1k1/bA2LaPuu__ESP32_OTA_.rar.html