Skip to content

Guide

Arduino UNO R4 Minima Pinout (vs R4 WiFi): GPIO, ADC, DAC, I2C, SPI

One complete UNO R4 pinout reference covering Minima and WiFi: digital-pin maps, analog inputs, DAC and op-amp pins, I2C, SPI, UART, Qwiic, ESP32-S3 header and power limits.

  • 9 min read
  • Updated November 7, 2026
Arduino UNO R4 Minima Pinout (vs R4 WiFi): GPIO, ADC, DAC, I2C, SPI

The Arduino UNO R4 Minima and UNO R4 WiFi look similar and share the same main microcontroller, but their default pin mappings and onboard hardware are not identical. Use the wrong pin map and a library, SPI display or hand-wired circuit may not behave as expected.

Quick answer: both boards keep the classic Uno layout and 5 V logic: D0/D1 serial, PWM on D3, D5, D6, D9, D10, D11, I2C on A4/A5, SPI on D10–D13, analog inputs A0–A5 (10-bit by default, up to 14-bit), and a real 12-bit DAC on A0. The built-in LED is D13. Each pin should supply at most 8 mA, far less than the old Uno R3's 20 mA. The WiFi version adds a 3.3 V-only Qwiic port and an ESP32-S3 header; the digital pins map to different chip pins on the two boards, which only matters for low-level code.

This guide brings both official pinouts together in one place. It covers the shared analog header, each model’s digital-pin mapping, UART, I²C and SPI, the Minima op-amp/DAC pins, and the WiFi model’s Qwiic and ESP32-S3 headers. The tables below follow Arduino’s official pinout diagrams; use those diagrams when wiring a real board.

Quick comparison

FeatureUNO R4 MinimaUNO R4 WiFi
Main MCURenesas RA4M1, 32-bit Arm Cortex-M4Renesas RA4M1, 32-bit Arm Cortex-M4
Main MCU clock48 MHz48 MHz
Main MCU flash / SRAM256 KB / 32 KB256 KB / 32 KB
Main board logic voltage5 V5 V
Digital I/O headerD0–D13, plus analog aliases D14–D19D0–D13, plus analog aliases D14–D19
Analog headerA0–A5A0–A5
ADC resolution10-bit default, up to 14-bit10-bit default, up to 14-bit
DACA0 / DA0A0 / DA0
Built-in LED mappingD13 / P111D13 / P102
Onboard Wi-Fi and BluetoothNoESP32-S3 module
12 × 8 LED matrixNoYes
Qwiic connectorNoYes; 3.3 V only
Separate ESP32-S3 programming headerNoYes; 3.3 V signals
CAN controllerYes, CAN TX D4 / RX D5; external transceiver requiredYes, CAN TX D10 / RX D13; external transceiver required
Max current per I/O pin8 mA8 mA
USBUSB-C, native (HID keyboard/mouse supported)USB-C through the ESP32-S3
Debug headerSWDESP32-S3 programming header

The RA4M1 is the MCU that runs a normal UNO R4 sketch. The WiFi model adds an ESP32-S3 module for wireless features. It is not accurate to treat that module’s header as more 5 V Arduino GPIO.

UNO R4 Minima and UNO R4 WiFi side by side: same headers and pin names; the WiFi adds the ESP32-S3 module, the 12×8 LED matrix and the Qwiic port. Board photos: Arduino; labels: SolderHub

1. Digital pins: the mappings are different

The Arduino-facing labels D0–D13 are familiar, but the RA4M1 hardware pin names behind several labels differ between the two variants. In everyday sketches, use the Arduino pin label such as D5 or the corresponding number supported by the board core. The RA4M1 names in the tables are useful for understanding the official schematic, peripheral mapping and debugging lower-level code.

UNO R4 Minima digital pin map

Arduino labelRA4M1 pinCommon function / note
D0 / RXP301Serial receive, SCI_RXD2
D1 / TXP302Serial transmit, SCI_TXD2
D2P105Digital I/O
D3 ~P104PWM-capable
D4P103Digital I/O
D5 ~P102PWM-capable
D6 ~P106PWM-capable
D7P107Digital I/O
D8P304Digital I/O
D9 ~P303PWM-capable
D10 ~P112PWM-capable; default SPI chip-select signal
D11 ~P109PWM-capable; default SPI COPI signal
D12P110Default SPI CIPO signal
D13P111Default SPI clock; built-in LED
D14 / A0P014Analog input and DAC output
D15 / A1P000Analog input / op-amp positive input
D16 / A2P001Analog input / op-amp negative input
D17 / A3P002Analog input / op-amp output
D18 / A4P101Analog input / I²C SDA
D19 / A5P100Analog input / I²C SCL

UNO R4 WiFi digital pin map

Arduino labelRA4M1 pinCommon function / note
D0 / RXP301Serial receive, SCI_RXD2
D1 / TXP302Serial transmit, SCI_TXD2
D2P104Digital I/O
D3 ~P105PWM-capable
D4P106Digital I/O
D5 ~P107PWM-capable
D6 ~P111PWM-capable
D7P112Digital I/O
D8P304Digital I/O
D9 ~P303PWM-capable
D10 ~P103PWM-capable; default SPI chip-select signal
D11 ~P411PWM-capable; default SPI COPI signal
D12P410Default SPI CIPO signal
D13P102Default SPI clock; built-in LED
D14 / A0P014Analog input and DAC output
D15 / A1P000Analog input / op-amp positive input
D16 / A2P001Analog input / op-amp negative input
D17 / A3P002Analog input / op-amp output
D18 / A4P101Analog input / I²C SDA
D19 / A5P100Analog input / I²C SCL

The digital mappings are why you should not automatically copy a low-level pin assignment, direct-register technique or peripheral configuration from one R4 variant to the other. The familiar Arduino API helps hide many differences, but the board is still the authoritative reference when selecting pins for a circuit.

The tilde symbol (~) indicates the pins identified as PWM-capable in Arduino’s pinout. PWM is not the same as a true analog voltage output. For a genuine analog voltage waveform, use the DAC output when it suits the project.

2. Analog pins, DAC and op-amp connections

Both boards expose six analog header pins, A0 through A5. The RA4M1 ADC supports resolution up to 14 bits, but your code must configure the resolution you want. A higher reported resolution does not guarantee equivalent absolute accuracy; noise, reference conditions, source impedance and the sensor circuit still matter.

HeaderRA4M1 pinAnalog / special function
A0P014 / AN009ADC input and DAC output DA0
A1P000 / AN000ADC input / op-amp positive input
A2P001 / AN001ADC input / op-amp negative input
A3P002 / AN002ADC input / op-amp output
A4P101 / AN021ADC input / I²C SDA
A5P100 / AN022ADC input / I²C SCL

A0: analog input and DAC output

A0 is special because the same physical pin supports analog input and the DAC’s DA0 output. Treat that as a shared pin, not two independent connections. Do not connect a sensor output and an external analog signal source to A0 at the same time and expect both functions to operate independently.

The DAC supports up to 12-bit output resolution. It can be useful for audio, reference waveforms or other low-current analog experiments, but it is not a power output. Use a suitable buffer or amplifier if the load needs more current or has a low input impedance.

A1, A2 and A3: the built-in op-amp functions

The RA4M1 includes an operational amplifier peripheral, and the A1, A2 and A3 header pins are associated with its positive input, negative input and output functions. These alternate functions are useful for analog experiments, but they require correct configuration and circuit design. They do not turn the header into a ready-made, universally configured amplifier. Check the Renesas RA4M1 and Arduino documentation before using these pins for an op-amp circuit.

A4/A5 are shared with D18/D19

A4 and A5 are aliases for D18 and D19. A4 carries SDA and A5 carries SCL for the default header I²C bus. You cannot use both aliases as independent GPIO and the same I²C peripheral at the same time; they refer to the same physical pins.

The same general rule applies to alternate functions on other pins: one pad cannot simultaneously serve every peripheral function shown in the pinout.

3. I²C: the usual SDA and SCL connections

For a typical I²C sensor or OLED connected to either R4 board:

Device signalUNO R4 header
SDAA4 / D18
SCLA5 / D19
VCCThe voltage supported by the specific breakout
GNDGND

Use a common ground and confirm the sensor or breakout’s voltage requirements. Some boards contain their own regulator and level shifting; others do not. The presence of a 5 V power pin on the UNO does not guarantee that every module’s I²C lines tolerate 5 V.

On UNO R4 WiFi, the Qwiic connector adds another I²C connection using the RA4M1 pins P400 (SCL) and P401 (SDA), with 3.3 V power and ground. It is intended for compatible Qwiic accessories and is 3.3 V only. Do not connect a 5 V accessory directly to that connector.

4. SPI: do not assume the two boards use the same mapping

The default SPI labels are the familiar D13 clock, D12 CIPO, D11 COPI and D10 chip select. CIPO and COPI are the newer terms for what many older resources call MISO and MOSI.

SPI signalUNO R4 MinimaUNO R4 WiFi
Clock (SCK)D13 / P111D13 / P102
Controller In, Peripheral Out (CIPO)D12 / P110D12 / P410
Controller Out, Peripheral In (COPI)D11 / P109D11 / P411
Default chip select (SS)D10 / P112D10 / P103

A peripheral may use a different chip-select pin if the library and circuit define one. Keep the hardware and code consistent. If a display or SD-card module stays blank, verify the selected board, default SPI pins, chip-select definition, voltage compatibility and the exact library’s supported configuration before changing multiple wires at once.

5. UART and serial pins

D0 is RX and D1 is TX on both boards, mapped to the RA4M1’s P301 and P302. These pins are useful for serial communication, but attaching another UART device can interfere with serial activity depending on how the board and upload/debug workflow use the port.

Connect TX from one device to RX on the other, RX to TX, and ground to ground when the interfaces have compatible voltage levels. Never cross-connect two TX outputs. Confirm the voltage levels of the external device and avoid assuming that all UART modules use the same logic voltage.

6. UNO R4 WiFi only: the ESP32-S3 header

The WiFi version includes an ESP32-S3 module. Arduino documents a dedicated six-contact header for separately programming the module. Its listed signals are:

Header signalESP32-S3 connection
GPIO42ESP32-S3 GPIO42
GPIO41ESP32-S3 GPIO41
TXD0ESP32-S3 GPIO43
DOWNLOADESP32-S3 GPIO0
RXD0ESP32-S3 GPIO44
GNDGround

Read the official pinout diagram for the physical header orientation before wiring. The table names the signals; it is not a top-view drawing of connector orientation.

The ESP32-S3 header carries 3.3 V signals and is not 5 V tolerant. Do not connect it directly to 5 V UNO signals. A normal UNO R4 sketch is compiled for the RA4M1; separately programming the ESP32-S3 is a different workflow. Do not assume every GPIO or USB-related signal on the module is available as a general-purpose external pin.

The WiFi board’s USB-C connector and module routing are also part of the board design. Use Arduino’s official guide for the intended programming method instead of improvising a serial adapter connection.

7. Power pins and important limits

Pin / connectorHow to use it
USB-CNormal USB programming and board power
5V5 V rail; not a universal input for external power
3V3Regulated 3.3 V rail for compatible low-current devices
GNDCommon electrical reference for connected circuits
VIN / barrel jackExternal input within the documented operating range, generally 6–24 V
RESETResets the board
IOREFLogic reference for compatible shields
AREFAnalog reference connection; use only according to the analog circuit design

Arduino’s published pinout diagrams state a maximum of 8 mA per I/O pin and 60 mA overall for the illustrated board. That's a big change from the Uno R3, which allowed about 20 mA per pin, so an LED circuit copied from an R3 tutorial may need a larger resistor (around 470 Ω–1 kΩ for a standard LED) or a transistor. Treat these as limits, not design targets. Do not power motors, pump loads, relays, LED strips or other high-current devices directly from an I/O pin. Use a suitable driver and supply.

The WiFi board also has OFF and VBATT/VRTC connections associated with power control and the real-time clock backup arrangement. They are not ordinary GPIO. Follow the board documentation if using those features rather than connecting them casually to a battery or supply.

UNO R4 Minima power: the USB-C and barrel-jack inputs and the power header (BOOT, IOREF, RESET, 3V3, 5V, GND, GND, VIN). Board photo: Arduino; labels: SolderHub

8. Quick code checks

For a digital output, use the familiar Arduino API and the appropriate board selection:

sketch.ino
const int LED_PIN = 5;

void setup() {
  pinMode(LED_PIN, OUTPUT);
}

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

This sketch uses the Arduino-facing label D5 and should be compiled for the exact UNO R4 variant selected in the IDE. It does not use the RA4M1 port name directly.

For an analog input, choose the correct header and set the desired ADC resolution deliberately:

sketch.ino
void setup() {
  Serial.begin(115200);
  analogReadResolution(14);
}

void loop() {
  int raw = analogRead(A1);
  Serial.println(raw);
  delay(250);
}

This prints digital readings from A1 (0–16383 at 14 bits); it does not calibrate a sensor or convert a reading into volts.

To output a real analog voltage from the DAC on A0, for example a slow sine wave you can watch on a multimeter or scope:

sketch.ino
void setup() {
  analogWriteResolution(12);          // DAC is 12-bit: 0-4095
}

void loop() {
  for (int i = 0; i < 360; i += 5) {
    int v = 2048 + 2047 * sin(i * PI / 180.0);
    analogWrite(DAC, v);              // DAC is A0
    delay(10);
  }
}

On the DAC pin, analogWrite() produces a true voltage between 0 V and about 5 V, not PWM. On every other pin, analogWrite() is PWM; the Arduino PWM tutorial covers that side. Never exceed the board’s permitted pin voltage. If an analog output requires scaling, filtering or buffering, design that circuit before connecting it.

9. Troubleshooting by symptom

An SPI display works on Minima but not WiFi, or vice versa. Compare the variant-specific SPI mappings, select the correct board in Arduino IDE, and verify chip select, power and logic levels.

An I²C sensor does not appear. Confirm A4/SDA and A5/SCL, the sensor’s address, voltage requirements and common ground. On WiFi, distinguish the header I²C pins from the separate Qwiic bus.

An analog value is saturated or noisy. Check the sensor output voltage, the selected analog input, the configured ADC resolution and the source circuit. The resolution setting changes the reported digital range; it does not remove analog noise.

A shield fits physically but does not function. Confirm that its pin assignment and library support UNO R4 and that its electrical requirements are compatible. Physical header fit is not proof of software compatibility.

An LED is dimmer than on an Uno R3, or the board resets with a load attached. You're asking more than 8 mA of the pin. Use a larger resistor or switch the load through a transistor.

The board isn't recognized after a sketch crashes USB. Double-tap the reset button to enter the bootloader (the LED fades in and out), then upload again.

A device attached to the ESP32-S3 header is damaged or unresponsive. Stop powering the circuit, inspect for 5 V on a 3.3 V signal, and check the official wiring. Do not continue testing a questionable connection.

Official sources

FAQ

Is the UNO R4 Minima pinout the same as the Uno R3? The header layout and pin labels are the same, so shields fit. The chip behind them is different (32-bit RA4M1), pins supply only 8 mA, and A0 is a real DAC.

Which pins are PWM on the UNO R4? D3, D5, D6, D9, D10 and D11, the same as the Uno R3.

Which pins are I2C on the UNO R4? A4 (SDA) and A5 (SCL). The WiFi version adds a second, 3.3 V-only I2C bus on the Qwiic connector (Wire1).

Is the UNO R4 5 V or 3.3 V? The main header is 5 V logic on both boards. Only the WiFi version's Qwiic port and ESP32-S3 header are 3.3 V.

Minima or WiFi? The Minima for wired projects and CAN, at a lower price; the WiFi for anything that needs Wi-Fi, Bluetooth or the LED matrix. The Uno R3 vs R4 comparison covers the choice in detail.

Related guides: Arduino Uno R3 pinout · UNO R4 WiFi pinout · Uno R3 vs R4 · Arduino PWM tutorial

Bottom line: the Minima and WiFi share the same RA4M1 platform and analog header roles, but several digital peripheral mappings differ. Use the correct pinout for the exact board, treat the WiFi model’s ESP32-S3 and Qwiic connections as 3.3 V interfaces, and keep external loads on properly rated driver circuits.

Continue learning

Related articles

All articles

Signal In

Built from what makers search for

The lookups piling up in SolderHub's search bar every day shape what we publish next — new component pages, board guides, and firmware notes, sent out as they go live.

By subscribing you agree to our Privacy Policy. Unsubscribe anytime.