Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 17d3f40

Browse files
Merge pull request #970 from arduino/karlsoderby/serial-table-update
Serial Table Update
2 parents 5bbdfd4 + 79e593c commit 17d3f40

File tree

1 file changed

+26
-12
lines changed

1 file changed

+26
-12
lines changed

‎Language/Functions/Communication/Serial.adoc‎

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,35 @@ Used for communication between the Arduino board and a computer or other devices
1717
[options="header"]
1818

1919
|================================================================================================================================================
20-
| Board | Serial pins | Serial1 pins | Serial2 pins | Serial3 pins
21-
| UNO R3, UNO R3 SMD Mini | 0(RX), 1(TX) | | |
22-
| UNO R4 Minima, UNO R4 WiFi| 18(RX), 17(TX) | | |
23-
| Leonardo, Micro, Yún Rev2 | 0(RX), 1(TX) | | |
24-
| Uno WiFi Rev.2 | 0(RX), 1(TX) | | |
25-
| 101 | 0(RX), 1(TX) | | |
26-
| MKR boards | 13(RX), 14(TX) | | |
27-
| Nano boards | 0(RX), 1(TX) | | |
28-
| Zero | 0(RX), 1(TX) | | |
29-
| Due | 0(RX), 1(TX) | 19(RX1), 18(TX1) | 17(RX2), 16(TX2) | 15(RX3), 14(TX3)
30-
| GIGA R1 WiFi | 0(RX), 1(TX) | 19(RX1), 18(TX1) | 17(RX2), 16(TX2) | 15(RX3), 14(TX3)
31-
| Mega 2560 Rev3 | 0(RX), 1(TX) | 19(RX1), 18(TX1) | 17(RX2), 16(TX2) | 15(RX3), 14(TX3)
20+
| Board | Serial pins | Serial1 pins | Serial2 pins | Serial3 pins | Serial4 pins
21+
| UNO R3, UNO R3 SMD Mini | 0(RX), 1(TX) | | | |
22+
| Nano (classic) | 0(RX), 1(TX) | | | |
23+
| UNO R4 Minima, UNO R4 WiFi| | 0(RX0), 1(TX0) | | |
24+
| Leonardo, Micro, Yún Rev2 | | 0(RX), 1(TX) | | |
25+
| Uno WiFi Rev.2 | | 0(RX), 1(TX) | | |
26+
| MKR boards | | 13(RX), 14(TX) | | |
27+
| Zero | | 0(RX), 1(TX) | | |
28+
| GIGA R1 WiFi | | 0(RX), 1(TX) | 19(RX1), 18(TX1) | 17(RX2), 16(TX2) | 15(RX3), 14(TX3)
29+
| Due | 0(RX), 1(TX) | 19(RX1), 18(TX1) | 17(RX2), 16(TX2) | 15(RX3), 14(TX3) |
30+
| Mega 2560 Rev3 | 0(RX), 1(TX) | 19(RX1), 18(TX1) | 17(RX2), 16(TX2) | 15(RX3), 14(TX3) |
31+
| Nano 33 IoT | | 0(RX0), 1(TX0) | | |
32+
| Nano RP2040 Connect | | 0(RX0), 1(TX0) | | |
33+
| Nano BLE / BLE Sense | | 0(RX0), 1(TX0) | | |
3234
|================================================================================================================================================
3335

3436

37+
[options="header"]
38+
39+
The Nano ESP32 board is an exception due to being based on the ESP32 core. Here, `Serial0` refers to `RX0` and `TX0`, while `Serial1` and `Serial2` are additional ports that can be assigned to any free GPIO.
40+
41+
|================================================================================================================================================
42+
| Board | Serial0 pins | Serial1 pins | Serial2 pins | Serial3 pins | Serial4 pins
43+
| Nano ESP32 | 0(RX0), 1(TX0) | Any free GPIO | Any free GPIO | |
44+
|================================================================================================================================================
45+
46+
You can read more about configuring the Nano ESP32's additional serial ports in https://docs.arduino.cc/tutorials/nano-esp32/cheat-sheet/#uart[this article].
47+
48+
[%hardbreaks]
3549
On older boards (Uno, Nano, Mini, and Mega), pins 0 and 1 are used for communication with the computer. Connecting anything to these pins can interfere with that communication, including causing failed uploads to the board.
3650
[%hardbreaks]
3751
You can use the Arduino environment's built-in serial monitor to communicate with an Arduino board. Click the serial monitor button in the toolbar and select the same baud rate used in the call to `begin()`.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /