The Arduino UNO R4 WiFi has a built in ESP32-S3 module that enables you to connect to Wi-Fi® networks, and perform network operations. Protocols including HTTPS, MQTT, UDP are tested and supported, and in this article, you will find a number of examples that will get you started.
Wi-Fi® support is enabled via the built-in
WiFiS3
library that is shipped with the Arduino UNO R4 Core. Installing the core automatically installs the WiFiS3
library.The easiest way to connect your board to the Internet is via the Arduino IoT Cloud platform. Here you can configure, program, monitor and synchronize your devices without having to write any networking code.
Examples listed in this section have been tested and verified to work. Most examples require you to input the
SSID
and PASSWORD
for your local Wi-Fi® network. As a standard practice, in all of our examples, we store this in a separate header file (called arduino_secrets.h
).You will need to create this file, or remove the
#include "arduino_secrets.h"
file at the top of each example. The file should contain:1//arduino_secrets.h header file2#define SECRET_SSID "yournetwork"3#define SECRET_PASS "yourpassword"
Storing your network & password in a separate file minimizes the risk of you accidentally sharing your Wi-Fi® credentials.
1
1
1
1
1
1
1
1
1
1
1
1