On the ESP32 UART0 is normally reserved for interactive use with REPL. Sometimes we need a UART to communicate with external devices. Typical examples are:
Connect the USB to Serial adapter to the ESP32 as shown in the table below
USB to Serial adapter | ESP32 GPIO |
Tx | 16 |
Rx | 17 |
Gnd | Gnd |