This page is part of the Lifecycle Management with Edge Impulse tutorial series. If you haven’t read the introduction yet, we recommend you to do so here.In this tutorial, we’ll guide you through deploying updated impulses over-the-air (OTA) to Arduino using Edge Impulse. We’ll build on Arduino firmware update workflow, incorporating Edge Impulse’s API to check for updates and download the latest build.Let’s get started!
Begin by setting up your device for OTA updates following Espressif’s OTA firmware update workflow. Use the built binary from the C++ example and modify it to incorporate OTA functionality.
2. Modify the ESP OTA example to check for updates to your project
Modify the Edge Impulse C++ example for ESP32 to check for updates to your project and download the latest build.We will need to add a few libraries to the project to facilitate the OTA update process. These are taken from the ESP32 OTA example and are already included in the example project.
This tutorial provides a comprehensive guide for implementing OTA updates on Espressif ESP-EYE (ESP32) with Edge Impulse. Follow each step meticulously, ensuring all prerequisites and preparation steps are completed before proceeding to the deployment phase. Happy coding!Note: Adjust the code snippets and steps to suit your specific requirements and always ensure to test thoroughly before deploying updates to live environments.