Arduino Nano ESP32 COM Port changes

Hi all,

i'm pretty new to ESP32, and i'm running into a problem i cannot seem to solve

When i plug in the USB into the module, it gets detected on COM11 as 'ESP32 Family' . In this state i cannot upload to it (not in DFU mode) . I have to hit the RST button twice, until the RGB ligt flashes, then i have to disconnect the USB cable and connect it again. Then the COM port changes to 12 and the device is named Arduino Nano ESP32 . I can upload to it, but after upload it changes back to COM11 , on which my serial monitor does not show anything. I have to do the same procedure to put it back to COM12 , and only then my sketch runs. Only then i'm able to connect to my WiFi and the sketch does what it needs to do. (send RTCM data over softwareserial)

This way i can never run any sketch after booting the device with and external power source.

I am doing something wrong? I can't seem to find what .

Any help is appreciated !

Are you sure you need a board that is either a NANO or ESP32? It is a tricky board to manage. If you only need a normal esp32 or normal nano, switching to one of them will make your life easier.

Hi @bartdereu. This is the behavior we expect when you have Arduino IDE configured to use the Nano ESP32 board in "Debug Mode".

If so, you can restore the board to normal mode by following these instructions:

  1. Select Tools > USB Mode > Normal Mode (TinyUSB) from the Arduino IDE menus
  2. Press and release the button on the board marked "RST".
  3. Wait for the RGB LED near the "RST" button to turn on.
    It does this almost immediately, but you do need to wait for it.
  4. While the RGB LED is still on (it only stays on for a second so you need to be somewhat quick), press and release the "RST" button once again.
    The green LED of the RGB LED should now start pulsing. If not, repeat the process in case you didn't get the timing quite right.
  5. Select Sketch > Upload from the Arduino IDE menus.
  6. Wait for the upload to finish successfully.

After that, you should find that the board's behavior is as you expect and you should no longer need to do the double reset.

This does not work at all . I had found this information on the internet too, does not work. When the RGB is flashing, the board isn't showing up on any com port at all.

I had bought a Espressif ESP32 Dev module a few weeks ago and found out that it too had allot of problems to upload anything to it.

Is there anyone who can point me to a ESP32 module that is somewhat solid in usage ?

In the end the USB port on my computer was the reason . I switched to one on the motherboard and now the COM port is working correctly

Congratulations on finding a solution! I'm glad it is working now. Thank you for taking the time to post an update.

Regards, Per

Was the other on a HUB?

No, both were on my pc directly. Strange !

Hi, faced the same problem with a new esp32-s3 and it was because it was on an usb HUB. Never had any problem with my old wroom32s.

This is my goto esp32 module, but to be fair any of the others that I have all work perfectly.
Screenshot 2024-11-13 at 22.28.25