Page 1 of 1

Inquirty about Rx and Tx pin numbers for ESP32-S3 DevKitC-1N16R8 Board

Posted: Thu Sep 26, 2024 2:58 am
by dallim30
Hi

I am currently working on a project using the ESP32-S3-DevKitC-1-N16R8 development board.
I need to confirm the RX and TX pin numbers for the serial ports (Serial, Serial1, and Serial2) on this board.

Could you please provide me with the specific pin numbers for each of these serial ports?
Additionally, if there is any official documentation or a reference guide that details this information, I would greatly appreciate it if you could share the link or the document with me.

Thank you very much for your assistance.

Best regards,

sjkim

Re: Inquirty about Rx and Tx pin numbers for ESP32-S3 DevKitC-1N16R8 Board

Posted: Thu Sep 26, 2024 4:52 am
by lbernstone
All the Serial ports can be assigned to any set of pins. The TX and RX pins are more "locked in" to Serial (aka Serial0), since this is where the boot logging is directed.
The defaults come primarily from the variant file of the board you select.
You assign the pins to the serial interface when you call HardwareSerial::begin() or later with setPins().
The default assignments are in HardwareSerial.h.