• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Over-the-Air Programming (OTA) and Arduino

By Abhishek Ghosh April 4, 2019 10:18 pm Updated on April 4, 2019

Over-the-Air Programming (OTA) and Arduino

Advertisement

Over-the-Air Programming (OTA) includes different methods of software, settings distribution and not limited to development board but includes the consumer devices such as smartphones, set-top boxes. With Over-the-Air Programming (OTA), from one central console we can send an update to all the devices. Related terminologies are over-the-air service provisioning (OTASP), over-the-air provisioning (OTAP), over-the-air parameter administration (OTAPA).

Over-the-Air Programming mechanism allows a device to update itself over WiFi or Bluetooth. OTA requires configuring the Partition Table of the device with minimum two OTA app slot partitions and one OTA Data Partition. OTA process writes new firmware image to OTA app slot is not in use for boot. In next step, the OTA Data partition is updated for the next boot.

Over-the-Air Programming OTA and Arduino

 

Over-the-Air Programming (OTA) on ESP32 Arduino

 

OTA may be done using Arduino IDE, Web Browser or HTTP Server. Classic OTA supports platform package that provides first OTA implementation. This configuration is described below. ArduinoOTA provides support for ArduinoOTA library and upload via Arduino IDE.

Advertisement

---

Over-the-air updates can be used to upload new code to ESP32 board configured to be used with Arduino IDE. The OTA updater essentially creates a web server to upload new code to ESP32 board via web browser to local network.

ArduinoOTA library is added on ESP32 Arduino IDE, we need to go to File > Examples >ArduinoOTA> OTAWebUpdater to get the example code.

After changing the Wi-Fi network credentials, we can upload the code to ESP32 board and open the Serial Monitor, press the ESP32 enable button and get the IP address or ESP32. Next we will open the IP on web browser, which will be a password protected webpage. The username and password are on the code (default is admin, admin). After login, we will get a webpage which will allow us to upload a new code to your ESP32 as .bin file.

We can add the new code to the OTAWebUpdater code. To generate the required .bin file from sketch, we need to go to Arduino IDE’s Sketch > Export compiled Binary. A new folder with sketch and the .bin file will be be created. (We can get the folder from Arduino IDE’s Sketch > Show Sketch Folder menu). Next is uploading of the .bin file via the web page we opened on previous step.

Tagged With arduino hc-05 Bluetooth OTA update , arduino OTA programming
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Over-the-Air Programming (OTA) and Arduino

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • ESP32 vs Arduino : How ESP32 is Different from Arduino

    ESP32 is a low cost, low power consuming System on Chip (SoC) with integrated Wi-Fi and Bluetooth compatible with Arduino IDE.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • IoT Based Pulse Oximeter With ESP32, MAX30102 and IBM Watson IoT

    Pulse oximeters are in use since long during an operation, in intensive care, in the emergency room and other places such as in unpressurized aircraft. The COVID-19 pandemic made pulse oximetry technology for the consumers. Most of the finger pulse oximeters in the market lack BLE and Wi-Fi. There are only a few finger pulse […]

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy