Problems with connecting esp32 camera (from Elegoo smart car V4.0)

When i Followed a tutorial everthing worked fine but the last bit when I uploaded it told me not connected
Error message:

Sketch uses 2114947 bytes (67%) of program storage space. Maximum is 3145728 bytes.
Global variables use 53680 bytes (16%) of dynamic memory, leaving 274000 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\Jiyan\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1/esptool.exe" --chip esp32 --port "COM8" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 "C:\Users\Jiyan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/partitions/boot_app0.bin" 0x1000 "C:\Users\Jiyan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/bin/bootloader_qio_80m.bin" 0x10000 "C:\Users\Jiyan\AppData\Local\arduino\sketches\D346223E30913E5CBA7E9BFD0C29252A/ESP32_CameraServer_AP_20220120.ino.bin" 0x8000 "C:\Users\Jiyan\AppData\Local\arduino\sketches\D346223E30913E5CBA7E9BFD0C29252A/ESP32_CameraServer_AP_20220120.ino.partitions.bin"
esptool.py v2.6
Serial port COM8
Connecting......................................_____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Failed uploading: uploading error: exit status 2

This error generally occurs when the computer can't establish connection with the ESP32.
Things to Check:
The USB Cable is not damaged.
The Computer Port is not damaged
The Correct Port is selected in the Arduino IDE (Go to Device Manager under PORTS to check in case of Windows)

1 Like

Thank you my esp32 board wasn't connected

waiting for new usb-c cable

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