How to use esp32 cam

hello
I've just tried using my esp32 cam using the CameraWebServer coding provided by the arduino IDE in the example menu. but I'm having problems, as follows.

when I used port com3 I encountered a problem:

A serial exception error occurred: Write timeout
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
Failed uploading: uploading error: exit status 1

however when I changed to port com9 I encountered a problem:

fatal error occurred: Failed to connect to ESP32: No serial data received.
Failed uploading: uploading error: exit status 2

can someone help me?

Welcome to the forum

As your question does not relate to the Nano ESP32 which was the category that you originally posted in, it has been moved to a more generic forum category to avoid confusion

Hi @cutiepie124.

The first thing you need to do is determine conclusively which port is the one produced by the ESP32-CAM board.

Please perform this experiment to verify that the port you have selected is your Arduino board:

  1. Disconnect the USB cable of the Arduino board from your computer.
  2. Select Tools > Port from the Arduino IDE menus.
  3. Take note of the ports (if any) listed in the menu.
  4. Close the Tools menu.
    :exclamation: The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  5. Connect the Arduino board to your computer with a USB cable.
  6. Select Tools > Port from the Arduino IDE menus. - If a new port is listed in the menu, that is the port of your Arduino board.

If you saw a new port appear at the last step, select that port from the Tools > Port menu and try uploading again.

If this doesn't solve the problem, please reply here on this forum thread with the answers to the following questions:

  • While following those instructions, did you see a port in the Tools > Port menu at step (6) that was not present at step (3)?
  • If you did see a new port, was the upload successful after you selected that port?

I've tried as you suggested. the port that appears is port com9. so I tried to upload using that port. but this problem appears

A fatal error occurred: Failed to connect to ESP32: No serial data received.

as for the circuit that I use like this

Try a different GND pin connection on the ESP32CAM.

On some more recent ESP32CAMs the pin next to UOT is connected to Enable\Reset.

1 Like

I see, it looks like my esp32 cam has a problem. only 1 GND pin is working properly.

Not sure what you mean by that.

What is the label on the pin next to UOT ?

It is much easier to use the esp32-mb board. Also, when showing error log we need to see all of it.

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