Main Content

Serial port properties

Serial 0 baud rate, Serial 1 baud rate, Serial 2 baud rate, Serial 3 baud rate

Set the baud rate of the serial port on the Arduino® hardware.

If you set Set host COM port to Manually, then set Serial 0 baud rate as described in the “Set the COM Port and Baud Rate Manually” topic.

For information on serial ports for different Arduino boards, see Pin Mapping for Arduino Timer Independent Blocks.

Settings

Default: 9600

300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 76800, 115200

Serial 0 Configuration, Serial 1 Configuration, Serial 2 Configuration, Serial 3 Configuration

Select the data frame configuration for serial port communication. The first digit indicates the number of bits in each data packet. The second digit indicates the parity bits present in the data packet. The last digit indicates the number of stop bits in each data packet. For example,

  • SERIAL_8N1 indicates 8-bit data communication with no parity bits and one stop bit.

  • SERIAL_7E2 indicates 7-bit data communication with even parity bits and two stop bits.

  • SERIAL_6O2 indicates 6-bit data communication with odd parity bits and two stop bits.

Settings

Default: SERIAL_8N1

SERIAL_5N1, SERIAL_6N1, SERIAL_7N1, SERIAL_5N2, SERIAL_6N2, SERIAL_7N2, SERIAL_8N2, SERIAL_5E1, SERIAL_6E1, SERIAL_7E1, SERIAL_8E1, SERIAL_5E2, SERIAL_6E2, SERIAL_7E2, SERIAL_8E2, SERIAL_5O1, SERIAL_6O1, SERIAL_7O1, SERIAL_8O1, SERIAL_5O2, SERIAL_6O2, SERIAL_7O2, SERIAL_8O2

Serial 0 TX pin

Enter the serial port 0 transmitter pin number of your Arduino board.

Settings

Default: 1

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).

Serial 0 RX pin

Enter the serial port 0 receiver pin number of your Arduino board.

Settings

Default: 3

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).

Serial 1 TX pin

Enter the serial port 1 transmitter pin number of your Arduino board.

Settings

Default: 33

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).

Serial 1 RX pin

Enter the serial port 1 receiver pin number of your Arduino board.

Settings

Default: 32

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).

Serial 2 TX pin

Enter the serial port 2 transmitter pin number of your Arduino board.

Settings

Default: 17

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).

Serial 2 RX pin

Enter the serial port 2 receiver pin number of your Arduino board.

Settings

Default: 16

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).