0PricingLogin
Arduino & IoT Academy · Lesson

Enable ArduinoOTA

Add OTA support and upload over WiFi.

Meet ArduinoOTA

The simplest way to update over WiFi is the ArduinoOTA library. It makes your board appear as a network port inside the Arduino IDE.

Include the Library

OTA rides on WiFi, so you pull in both headers at the top of your sketch before anything else runs.

#include <WiFi.h>
#include <ArduinoOTA.h>

All lessons in this course

  1. Why OTA Matters in the Field
  2. Enable ArduinoOTA
  3. Host a Web Update Page
  4. Roll Back a Bad Update
← Back to Arduino & IoT Academy