![Multiple Multiple](https://www.arduino.cc/en/uploads/Tutorial/ArduinoUNO_bb.png)
![Arduino Multiple Software Serial Ports And Parallel Arduino Multiple Software Serial Ports And Parallel](https://www.pjrc.com/teensy/teensyduino_installer_1.png)
Introduction Arduino ESP32 use Serial port to flash software and print information on Terminal. ESP32 supports 3 Serial ports so you need not to use SoftwareSerial as in general Arduino.
How to use a multiple serial port in Arduino. Ask Question 2. But just for your information, when you have a need for multiple serial ports, you can also try the Arduino Mega instead. If using multiple software serial ports, only one can receive data at a time.
In this tutorial we only care about using How to use multiple Serial port on Arduino ESP32 to print the debug information to Terminal. Hardware You do not need any extra hardware. Software We use ' HardwareSerial' class for Serial communication.
It has some important interfaces: - HardwareSerial(int uartnr): this is the constructor of HardwareSerial where uartnr is 0, 1 or 2 so we have maximum 3 Serial ports.