Skip to content

Commit 5c96d02

Browse files
Merge pull request #459 from arduino/UNO-R3-vs-R4-update
Improvements to UNO R3 vs R4 article [HC-1619]
2 parents 2300703 + 8dcf340 commit 5c96d02

File tree

1 file changed

+58
-32
lines changed

1 file changed

+58
-32
lines changed

content/Hardware Support/UNO/Whats-the-difference-between-UNO-R3-and-UNO-R4-boards.md

Lines changed: 58 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,56 +3,82 @@ title: What's the difference between UNO R3 and UNO R4 boards?
33
id: 9350551575964
44
---
55

6-
Learn about the differences between UNO R3 and the new UNO R4 WiFi and UNO R4 Minima boards.
6+
Learn about the differences between the Arduino UNO R3, UNO R4 Minima and UNO R4 WiFi boards.
77

8-
---
9-
10-
## Select differences
11-
12-
Here are a few changes you may notice if you've previously used the UNO R3:
13-
14-
### USB connector type
15-
16-
UNO R4 boards use a **USB-C** connector.
17-
18-
You'll need a USB-C cable to connect the board to your computer.
19-
20-
### Different behavior on runtime errors
8+
In this article:
219

22-
If the board encounters a runtime error while running an uploaded sketch, you need to double-press the reset button to put it into bootloader mode before uploading a new sketch.
23-
24-
Note that unlike some Mbed OS boards, runtime errors do not result in a flashing LED.
25-
26-
### Differnet board package
27-
28-
All previous UNO boards (except the UNO WiFi Rev2) were AVR-based, and used the **Arduino AVR Boards** package.
29-
30-
To use the new UNO R4 boards, install the new **Arduino UNO R4 Boards** package.
10+
- [Board overview](#overview)
11+
- [Technical specifications comparison](#tech-specs)
12+
- [FAQs](#faq)
3113

3214
---
3315

34-
## Does the UNO R4 replace the UNO R3?
16+
## Board overview {#overview}
17+
18+
The UNO R4 boards maintain the same form factor, pinout and 5 V operating voltage as the UNO R3. Here's a quick overview:
19+
20+
- **UNO Rev3**: A classic board with an 8-bit architecture, offering straightforward functionality and broad library compatibility.
21+
22+
- **UNO R4 Minima**: Focused on simplicity, it offers essential functions ideal for prototyping and basic learning. It includes advanced features such as an SWD port for program debugging, along with increased processing power and additional memory.
23+
24+
- **UNO R4 WiFi**: Equipped with WiFi and Bluetooth connectivity, it is ideal for IoT and wireless projects. The Qwiic I2C Connector and 12x8 Red LED Matrix enable project creation without soldering, manual wiring, or using a breadboard.
25+
26+
## Technical specifications comparison {#tech-specs}
27+
28+
| Feature | Arduino UNO R3 | Arduino UNO R4 Minima | Arduino UNO R4 WiFi |
29+
|--------------------------|:--------------------------------:|:-----------------------------:|:-----------------------------:|
30+
| Microcontroller | ATmega328P | Renesas RA4M1 (Arm Cortex-M4) | Renesas RA4M1 (Arm Cortex-M4) |
31+
| Wi-Fi/Bluetooth LE | No | No | ESP32-S3-MINI-1-N8 |
32+
| USB Connector | USB-B | USB-C | USB-C |
33+
| Mouse/keyboard emulation | No | Yes | Yes |
34+
| Real-Time Clock | No | Yes | Yes |
35+
| Built-in LED Pin | 13 | No | No |
36+
| Digital I/O Pins | 14 | 14 | 14 |
37+
| Analog input pins | 6 | 6 | 6 |
38+
| PWM pins | 6 | 6 | 6 |
39+
| DAC | No | 1 (12-bit) | 1 (12-bit) |
40+
| External interrupts | No | 2,3 | 2,3 |
41+
| UART | Yes | Yes | Yes |
42+
| I2C | Yes | Yes | Yes |
43+
| SPI | Yes | Yes | Yes |
44+
| CAN | No | Yes | Yes |
45+
| Qwiic connector | No | No | Yes |
46+
| OFF pin | No | No | Yes |
47+
| VRTC pin | No | No | Yes |
48+
| LED matrix | No | No | 12x8 (96 red LEDs) |
49+
| Operating voltage | 5V | 5V | 5V |
50+
| Input voltage | 7-12V | 6-24V | 6-24V |
51+
| DC current per I/O Pin | 20mA | 8mA | 8mA |
52+
| Clock speed | 16MHz | 48MHz | 48MHz |
53+
| Memory | 2kB SRAM, 32kB FLASH, 1kB EEPROM | 256kB Flash, 32kB RAM | 256kB Flash, 32kB RAM |
54+
| MCU resolution | 8-bit | 32-bit | 32-bit |
55+
| ADC resolution | 10-bit | 14-bit | 14-bit |
56+
57+
## FAQs {#faq}
58+
59+
### Does the UNO R4 replace the UNO R3?
3560

3661
No, the Arduino UNO R3 will still be available and supported for makers who want to work with its 8-bit AVR microcontroller.
3762

38-
---
63+
### What board package should I install for the UNO R4?
3964

40-
## Compatibility
65+
For UNO R4, install the **Arduino UNO R4 Boards** package. Previous UNO boards (except the UNO WiFi Rev2) were AVR-based, and used the **Arduino AVR Boards** package.
4166

4267
### Can I use hardware compatible with the UNO R3 with an UNO R4 board?
4368

4469
UNO R4 boards maintain the same mechanical and electrical compatibility, allowing you to seamlessly use your existing shields and hardware with the new board.
4570

46-
### Can I use my sketch developed for UNO R3 with an UNO R4 board?
71+
> [!NOTE]
72+
> Third-party UNO shields are compatible with R4 in terms of voltage and pinout. However, software compatibility might require some porting work, so it should be checked with shield manufacturers before purchase.
4773
48-
Yes, if your sketch was developed using the [Arduino API](https://docs.arduino.cc/language-reference/).
74+
### Can I use my sketch developed for UNO R3 with an UNO R4 board?
4975

50-
If your sketch uses instructions specific to the AVR architecture, they will have to be changed to ensure compatibility.
76+
Yes, if your sketch was developed using the [Arduino API](https://docs.arduino.cc/language-reference/). If your sketch uses instructions specific to the AVR architecture, they will have to be changed to ensure compatibility.
5177

5278
### Are libraries for UNO R3 also compatible with the UNO R4 boards?
5379

54-
Libraries that are based on the [Arduino API](https://docs.arduino.cc/language-reference/) will work as is.
80+
- Libraries that are based on the [Arduino API](https://docs.arduino.cc/language-reference/) will work as is.
5581

56-
Libraries that use AVR-specific instructions are not compatible with the architecture of UNO R4 boards. However, there are libraries that have already been ported as part of our early adopters program.
82+
- Libraries that use AVR-specific instructions are not compatible with the architecture of UNO R4 boards. However, some of these libraries have already been ported. For more details, refer to the [UNO R4 Library Compatibility repository](https://github.com/arduino/uno-r4-library-compatibility).
5783

58-
<!-- markdownlint-disable-file HC001 -->
84+
<!-- markdownlint-disable-file HC001 -->

0 commit comments

Comments
 (0)