🛠 Blink on the UNO R4 Minima: your first 32-bit UNO

Arduino UNO R4 Minima · debutant · Schéma : IMG-uno-r4-minima-debutant-1-clignoter-led-r4-minima.svg — Arduino UNO R4 Minima vue de dessus, câble USB-C branché, LED « L » (pin 13) surlignée avec une flèche, puce RA4M1 annotée 48 MHz.

Goal

Flash the onboard LED of the UNO R4 Minima (Arduino AG, released June 2023, board P/N ABX00080) and understand why this is the first 32-bit UNO: a Renesas RA4M1 Cortex-M4 running at 48 MHz with 256 KB of flash and 32 KB of SRAM, against 16 MHz / 32 KB / 2 KB on the AVR Uno R3.

Hardware

Code

const uint8_t LED = 13;   // onboard LED marked "L"

void setup { pinMode(LED, OUTPUT); }

void loop {
  digitalWrite(LED, HIGH);
  delay(500);
  digitalWrite(LED, LOW);
  delay(500);
}

In the IDE, install the "Arduino Renesas Uno Boards" platform, select board Arduino UNO R4 Minima, pick the COM port and upload.

Expected result

The L LED blinks every 0.5 s and keeps running on barrel-jack power alone (6-24 V accepted): the sketch lives in flash.

Common mistakes

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials