Arduino UNO WiFi firmware updater

This tutorial will guide you in the process of updating the firmware of your Arduino UNO WiFi board.


Hardware required


Circuit

Connect the board at the USB port of your computer ready with Arduino Software (IDE) 1.8.0 or later.


UNO WiFi Firmware update procedure

To simplify the process, we have prepared a tool - UNO WiFi FirmwareUpdater - available in Arduino IDE 1.8.0 or later.

Follow these steps to enable this tools into Arduino software:

  • Download the tool here.
  • Create a folder called tools into the sketchbook directory (normally in Documents>Arduino).
  • Extract it.
Now:
  • Launch the Arduino IDE (1.8.0 or later).
  • Connect the board to PC.
  • Select the Arduino UNO WiFi as board in the Tools>Board menu.
  • Select the corrisponding serial port in the Tools>Port menu.
  • Upload the ESP Recovery sketch. It is into the UNOWiFiDev.Edition Library. Download it from Library Manager
/*ESP Recovery sketch*/
#include <Wire.h>
#include <UnoWiFiDevEd.h>

#define BAUD 9600
WifiData ESPSerial;

void setup()
{
Serial.begin(BAUD);
pinMode(13, OUTPUT);
digitalWrite(13, LOW);

ESPSerial.begin(BAUD);
}

void loop()
{
while (Serial.available()) {
char inChar = (char)Serial.read();
ESPSerial.write(inChar);
}

while (ESPSerial.available()) {
char inChar = (char)ESPSerial.read();
Serial.write(inChar);
}

}
  • Put the board in DFU mode, keeping pressed the ESP B/L button and connect the board to PC

ESP button

DFU mode

  • Select the UnoWiFi Firmware Updater from  the Tools menu.

UNO WiFi firmware updater tool

  • Click on Refresh list if the port is not listed.
  • Select the corresponding port.
Select the port

  • Click on Test connection.
  • Select from windows menu the ESP firmware requested.
  • Click on Update Firmare.
  • Wait the end of process.
Warning:
The process could last several minutes.

updated

 
See Also