Cannot Open Port for ESP32-CAM-MB, AI Thinker

Hello,

I am getting an error indicating that the Arduino IDE cannot open the port my board is connected to. I am running Arduino IDE 2.1.1 on Windows 11, attempting to connect to an ESP32-CAM-MB AI Thinker board.

I have done the following steps:

  • Installed the esp32 boards via the Board Manager
  • Pointed to the correct board AI Thinker
  • Made sure the recommended CH340 driver was installed (I have installed, uninstalled, re-installed this trying to see if this was the issue, but no luck)

Device manager shows the port being registered correctly. The Arduino IDE also picks up the Port number which correlates to what the device manager shows.

Here is the error I get when launching the Arduino IDE:
Port monitor error: command 'open' failed: Invalid serial port. Could not connect to COM3 serial port.

Here is the error I get when attempting to upload to the board:
A fatal error occurred: Could not open COM3, the port doesn't exist
Failed uploading: uploading error: exit status 2

Does anyone know what the issue could be? Thank you.

Hi
There is a problem with your comport driver, please replace the older(or latest) comport driver
keyword: CH341SER
Goodday~

1 Like

Hi @leejiyung, I'm sorry, but can you explain what you mean? How do I replace my comport driver? Are you meaning, change the comport number? Thank you.

Solved. The issue was a fault ESP32-CAM-MB board. I bought another one and I was able to connect to it just fine and upload programs.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.