🛠 Premier Blink sur la UNO R4 WiFi : la première UNO 32 bits

Arduino UNO R4 WiFi · debutant · Schéma : IMG-uno-r4-wifi-debutant-1-ur4wifi-blink-ra4m1.svg — Arduino UNO R4 WiFi vue de dessus, câble USB-C branché, LED « L » (pin 13) surlignée avec une flèche, puce RA4M1 annotée « Cortex-M4 48 MHz », matrice LED 12x8 visible en bas de carte.

Objectives

Discover the first 32-bit UNO: the UNO R4 WiFi (Arduino reference ABX00082) is based on the Renesas RA4M1 microcontroller — a Cortex-M4 clocked at 48 MHz with 256 KB of flash and 32 KB of SRAM, compared to 16 MHz, 32 KB of flash, and 2 KB of SRAM for the ATmega328P in the UNO R3. You will upload your first program, make the "L" LED blink, and discover USB-C as well as the new IDE platform.

Hardware

Complete code

// Blink — LED intégrée « L » sur la pin 13.
const uint8_t LED = 13;

void setup {
  pinMode(LED, OUTPUT);
  Serial.begin(115200);   // le port série passe par le pont embarqué (HIC)
}

void loop {
  digitalWrite(LED, HIGH);
  delay(500);
  digitalWrite(LED, LOW);
  delay(500);
  Serial.println(millis);
}

In the IDE: install the Renesas UNO platform, select Arduino UNO R4 WiFi, choose the displayed port, and Upload. From the command line: arduino-cli compile -b arduino:renesas_uno:unoR4WiFi then arduino-cli upload -b arduino:renesas_uno:unoR4WiFi -p <port>.

Expected verification

The "L" LED blinks every 500 ms and the Serial Monitor scrolls. The program continues to run once the USB is unplugged and the board is powered by the jack (6–24 V accepted): the sketch is burned into flash. Note that, unlike the R3: there is no DTR reset each time the port is opened, so the sketch does not restart when you open the Monitor.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials