The Arduino UNO R4 WiFi comes with a built-in ESP32-S3 module that enables Wi-Fi® functionality. This also means you can use it with Arduino's IoT Cloud!
This article shows you how to set up your board and connect it to the cloud allowing you to upload code over the air, create dashboards to monitor your data and control your Arduino remotely.
If you are new to the Arduino IoT Cloud before check out Getting Started With the Arduino IoT Cloud.
To use the Arduino IoT Cloud you will need to register and set up a free account.
After you have set up your account you can connect your board to your pc. Inside the IoT Cloud Things overview click on Create.
This will take you to the setup menu for creating your Thing. Here you can set up your device, configure your network connection and add cloud variables. You can learn more about cloud variables in Getting Started With the Arduino IoT Cloud. First, under associate device, click on Select Device.
Then click on Set Up New Device.
You can now choose between three different options depending on what type of board you are using. In this case, using the UNO R4 WiFi continue by clicking on Arduino board.
If this is your first time using the Arduino IoT Cloud you will be asked to download the Arduino Create Agent. The Create Agent is a piece of software that is necessary for your Arduino board to communicate with your browser. Download and install it by clicking on download and following the installation process.
When the installation is finished you will see a short loading screen and once your board has been found continue by pressing configure.
Choose a name for your board and press next. The next parts need a little bit more attention. Because the UNO R4 WiFi doesn't have a crypto chip it needs a secret key that works as an identifier, guaranteeing a safe connection. That secret key is shown to you in the next step and you can either download a pdf containing all the information you need to save or copy and paste the secret key and the device ID someplace where you won't lose it.
Note: If you don't save the secret key you will not be able to continue with the next step so make sure you document and save it! In case you lose it, start over and you will receive a new key.
To use the UNO R4 WiFi with the IoT Cloud you may need to update the firmware of the ESP32 module. Luckily we have simplified the process of flashing new firmware to the module.
You will be prompted with a popup when it's time. Follow the instructions depending on what operating system you are using.
After completing the steps in the popup you should be greeted by a prompt telling you that you can now use the board with the IoT Cloud.
We are almost done with the setup. In the following step, you will need the secret key previously saved. Under Network click on configure and add your Wi-Fi credentials as well as your secret key.
You have now successfully set up your UNO R4 WiFi to work with the IoT Cloud. To get started with your first IoT project, check out our Getting Started With the Arduino IoT Cloud guide.