ESP32 not recognized by PC. No COM port problem!

ESP_Sprite
Posts: 9719
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 not recognized by PC. No COM port problem!

Postby ESP_Sprite » Thu Oct 24, 2024 1:29 am

Hm, okay. Not sure what that button is for as I can't get it out of the description and the board itself is unknown. You said you used Linux as well? Can you see what happens when you plug it in and enter the command 'sudo dmesg' in the terminal? Feel free to paste the last dozen of lines of that here.

MrSquiz
Posts: 1
Joined: Wed Oct 30, 2024 11:08 am

Re: ESP32 not recognized by PC. No COM port problem!

Postby MrSquiz » Wed Oct 30, 2024 11:16 am

ESP32-S3-Nano by Waveshare, compatible with Arduino Nano ESP32 board, has problems connecting to Arduino on a computer.
It is not identifying the COM port USB serial device correctly, which I suspect is similar to other ESP32-S3 boards.
Suggested fixes, such as double-press the Reset button, a capacitor across RST (EN on other boards) and GND, and other fixes, either failed or are only partially successful.

[WORKAROUND SOLUTION]
Step 1. Connect the USB C connector of a USB cable to the ESP32-S3 board.
Step 2. S-l-o-w-l-y plug in the USB A connector of the USB cable to the computer.

[EXPLANATION]
When this ESP32-S3 board is powered externally (I run it off a battery for my application) before connecting it to a computer via a USB cable, it works perfectly.
While the Sketch is running, it will connect to the computer, the COM port is correctly identified, Arduino connects and the Serial Monitor works, and a Sketch can be uploaded without errors.
From this I conclude that the problem is a timing issue with the data interface. It is trying to connect before the device is ready for the data connection.
A USB A plug has 4 pins; the outer 2 pins are +5V and GND. The inner 2 pins are the Serial data pins, which are physically further recessed in the plug than the outer pins. Slowly plugging the USB A connector into the computer USB A socket allows the power pins to connect first, and to boot up the ESP32-S3 with enough time before the Serial data pins connect.

Who is online

Users browsing this forum: AnselmeC and 22 guests