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.
- Official UNO R4 Minima full pinout (PDF)
- Official UNO R4 WiFi full pinout (PDF)
- UNO R4 Minima documentation
- UNO R4 WiFi documentation
Quick comparison
| Feature | UNO R4 Minima | UNO R4 WiFi |
|---|---|---|
| Main MCU | Renesas RA4M1, 32-bit Arm Cortex-M4 | Renesas RA4M1, 32-bit Arm Cortex-M4 |
| Main MCU clock | 48 MHz | 48 MHz |
| Main MCU flash / SRAM | 256 KB / 32 KB | 256 KB / 32 KB |
| Main board logic voltage | 5 V | 5 V |
| Digital I/O header | D0–D13, plus analog aliases D14–D19 | D0–D13, plus analog aliases D14–D19 |
| Analog header | A0–A5 | A0–A5 |
| ADC resolution | 10-bit default, up to 14-bit | 10-bit default, up to 14-bit |
| DAC | A0 / DA0 | A0 / DA0 |
| Built-in LED mapping | D13 / P111 | D13 / P102 |
| Onboard Wi-Fi and Bluetooth | No | ESP32-S3 module |
| 12 × 8 LED matrix | No | Yes |
| Qwiic connector | No | Yes; 3.3 V only |
| Separate ESP32-S3 programming header | No | Yes; 3.3 V signals |
| CAN controller | Yes, CAN TX D4 / RX D5; external transceiver required | Yes, CAN TX D10 / RX D13; external transceiver required |
| Max current per I/O pin | 8 mA | 8 mA |
| USB | USB-C, native (HID keyboard/mouse supported) | USB-C through the ESP32-S3 |
| Debug header | SWD | ESP32-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.
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 label | RA4M1 pin | Common function / note |
|---|---|---|
| D0 / RX | P301 | Serial receive, SCI_RXD2 |
| D1 / TX | P302 | Serial transmit, SCI_TXD2 |
| D2 | P105 | Digital I/O |
| D3 ~ | P104 | PWM-capable |
| D4 | P103 | Digital I/O |
| D5 ~ | P102 | PWM-capable |
| D6 ~ | P106 | PWM-capable |
| D7 | P107 | Digital I/O |
| D8 | P304 | Digital I/O |
| D9 ~ | P303 | PWM-capable |
| D10 ~ | P112 | PWM-capable; default SPI chip-select signal |
| D11 ~ | P109 | PWM-capable; default SPI COPI signal |
| D12 | P110 | Default SPI CIPO signal |
| D13 | P111 | Default SPI clock; built-in LED |
| D14 / A0 | P014 | Analog input and DAC output |
| D15 / A1 | P000 | Analog input / op-amp positive input |
| D16 / A2 | P001 | Analog input / op-amp negative input |
| D17 / A3 | P002 | Analog input / op-amp output |
| D18 / A4 | P101 | Analog input / I²C SDA |
| D19 / A5 | P100 | Analog input / I²C SCL |
UNO R4 WiFi digital pin map
| Arduino label | RA4M1 pin | Common function / note |
|---|---|---|
| D0 / RX | P301 | Serial receive, SCI_RXD2 |
| D1 / TX | P302 | Serial transmit, SCI_TXD2 |
| D2 | P104 | Digital I/O |
| D3 ~ | P105 | PWM-capable |
| D4 | P106 | Digital I/O |
| D5 ~ | P107 | PWM-capable |
| D6 ~ | P111 | PWM-capable |
| D7 | P112 | Digital I/O |
| D8 | P304 | Digital I/O |
| D9 ~ | P303 | PWM-capable |
| D10 ~ | P103 | PWM-capable; default SPI chip-select signal |
| D11 ~ | P411 | PWM-capable; default SPI COPI signal |
| D12 | P410 | Default SPI CIPO signal |
| D13 | P102 | Default SPI clock; built-in LED |
| D14 / A0 | P014 | Analog input and DAC output |
| D15 / A1 | P000 | Analog input / op-amp positive input |
| D16 / A2 | P001 | Analog input / op-amp negative input |
| D17 / A3 | P002 | Analog input / op-amp output |
| D18 / A4 | P101 | Analog input / I²C SDA |
| D19 / A5 | P100 | Analog 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.
| Header | RA4M1 pin | Analog / special function |
|---|---|---|
| A0 | P014 / AN009 | ADC input and DAC output DA0 |
| A1 | P000 / AN000 | ADC input / op-amp positive input |
| A2 | P001 / AN001 | ADC input / op-amp negative input |
| A3 | P002 / AN002 | ADC input / op-amp output |
| A4 | P101 / AN021 | ADC input / I²C SDA |
| A5 | P100 / AN022 | ADC 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 signal | UNO R4 header |
|---|---|
| SDA | A4 / D18 |
| SCL | A5 / D19 |
| VCC | The voltage supported by the specific breakout |
| GND | GND |
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 signal | UNO R4 Minima | UNO R4 WiFi |
|---|---|---|
| Clock (SCK) | D13 / P111 | D13 / P102 |
| Controller In, Peripheral Out (CIPO) | D12 / P110 | D12 / P410 |
| Controller Out, Peripheral In (COPI) | D11 / P109 | D11 / P411 |
| Default chip select (SS) | D10 / P112 | D10 / 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 signal | ESP32-S3 connection |
|---|---|
| GPIO42 | ESP32-S3 GPIO42 |
| GPIO41 | ESP32-S3 GPIO41 |
| TXD0 | ESP32-S3 GPIO43 |
| DOWNLOAD | ESP32-S3 GPIO0 |
| RXD0 | ESP32-S3 GPIO44 |
| GND | Ground |
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 / connector | How to use it |
|---|---|
| USB-C | Normal USB programming and board power |
| 5V | 5 V rail; not a universal input for external power |
| 3V3 | Regulated 3.3 V rail for compatible low-current devices |
| GND | Common electrical reference for connected circuits |
| VIN / barrel jack | External input within the documented operating range, generally 6–24 V |
| RESET | Resets the board |
| IOREF | Logic reference for compatible shields |
| AREF | Analog 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.
8. Quick code checks
For a digital output, use the familiar Arduino API and the appropriate board selection:
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:
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:
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
- UNO R4 Minima full pinout PDF
- UNO R4 WiFi full pinout PDF
- UNO R4 Minima documentation and downloads
- UNO R4 WiFi documentation and downloads
- UNO R4 Minima datasheet
- UNO R4 WiFi datasheet
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.




