Update your ESP32 boards over-the-air (OTA) with Arduino Cloud

Update your ESP32 boards over-the-air (OTA) with Arduino Cloud


By Arduino Team

Update your ESP32 devices wirelessly using the Arduino Cloud. After the first programming via USB, you won't need cables any more.

The Arduino Cloud is Arduino’s integrated platform to develop, deploy, monitor and control IoT devices with minimal effort. It enables makers, IoT enthusiasts and professionals to build easily connected projects based on a wide range of hardware including not only Arduino boards, but also ESP32 and ESP8266 boards. Arduino is committed to making all the Arduino Cloud features available to all the supported hardware and as a result of this effort, ESP32 family of chipsets now support over-the-air (OTA) updates.

The Cloud for Makers

Due to their low price, integration and high performance, ESP32-based devices are among the most widely used ones for hobbyists and developers who want to create their small home appliances. 

One of the facts that have contributed to this popularity is the ability to use the Arduino IDE to code and program the devices. You can find tons of resources describing how to get started. There are thousands of projects that will inspire you and help you create and develop your own ideas. You can reuse the code and sketches even if they have been originally developed for other ESP32 or Arduino boards. It is so easy to get started!


But what if you want to go a step further and interact with your devices remotely? That’s what Arduino Cloud was designed for. It is an online platform that enables you 

  • to develop your software online with the zero-touch Web Editor, keep your sketches in the cloud and share them with other users
  • to deploy and manage your devices with the IoT Cloud and your custom dashboards that can be accessible remotely from your browser or the mobile app Arduino IoT Remote

All that with just an integrated unique platform and taking benefit from the rich collection of Arduino’s libraries, examples and tutorials that help developers get at speed with minimum effort.

No cables any more: Update over-the-air

But programming the devices is still tedious work. You need to have the device at hand and connect a USB cable. This is acceptable for the first time you program the device , but it is really annoying when your device is already installed in a place with difficult accessibility. In those situations, you either have to remove the device from its place or bring your laptop as close as possible to its location.

That’s where over-the-air (OTA) is a game-changer. This feature enables you to upload programs wirelessly to your boards. This way, as soon as you have a compatible board connected to a WiFi network and configured to work with OTA, you won’t need to physically connect the board to the computer in order to upload new sketches to it. Instead, everything will work over-the-air.

Over-the-air update is available through both the Arduino IoT Cloud and the Arduino Web Editor for the sketches bound to your IoT Cloud things.

OTA for ESP32 now available

Over-the-air updates have been traditionally constrained only to Arduino boards and this feature has been widely adopted by users. Now, this support is extended to ESP32 boards. This unifies the experience across the most popular platforms.

There are plenty of ESP32 platforms available with different processors and memory sizes. This is an experimental feature that has been tested on the most popular ones, but there could be some limitations on some of the untested ones. We would be delighted to get your feedback.

Get started now

Getting started with over-the-air updates is as simple as following the steps in the tutorial Uploading sketches Over-The-Air (OTA). You can also find some useful tips and tricks in the cheat sheet. Give it a try, and share your experience with the community.

The post Update your ESP32 boards over-the-air (OTA) with Arduino Cloud appeared first on Arduino Blog.

Read more here:: blog.arduino.cc/feed/


The post Update your ESP32 boards over-the-air (OTA) with Arduino Cloud appeared first on IPv6.net.

IPv6