Search code examples
uartesp32

ESP32 NodeMCU-32S ai thinker UART does not work


i need to connect my ESP32 NodeMCU-32S ai thinker to other sensor via UART, to debug my UART code i connected ESP32 UART TX pin to ESP32 RX pin. when TX is short to RX the ESP32 Arduino IDE faield to connect but when i disconnect TX from RX Arduino IDE is connecting to the ESP32 board. this happen even when my code is only loop and setup.

RX - GPI03
TX - GPI01

do you have any suggestions how to solve the problem


Solution

  • RX and TX are used for the onboard USB controller (C02102) and in order to use UART one need to use P16 and P17 (GPIO16 and GPIO17)