If you want to upload your Arduino firmware but there is no possibility to easily plug in a USB cable because your hardware is packed away in some prototype there is the possibility to do it wireless. The following tutorial will tell you how to do this for the Arduino Nano33IoT but will work with other Arduino's fitted with WiFi modules.

  1. Connect your Arduino to your computer and make sure it functions and you are able to upload code.
  2. Install the WiFiNINA and ArduinoOTA libraries through the library manager.
  3. In the Arduino IDE go to code examples and open ArduinoOTA/WiFi101_OTA.
  4. In the arduino_secrets.h tab enter your network's SECRET_SSID and SECRET_PASS
  5. In the WiFi101_OTA tab make sure to change #include <WiFi101.h> to #include <WiFiNINA.h>.
  6. Notice ArduinoOTA.begin(WiFi.localIP(), "Arduino", "password", InternalStorage)here you can find and change the password used for OTA updating the firmware.
  7. ......