I cant programm Esp32 cam with the Arduino uno

Hello there i recently bought an esp32 cam from Aliexpress. I dont have Fdti Adapter or whatever is called to Programm the Esp32 cam . However i have an Arduino Uno to programm the Esp32 cam. So i went on youtube like all of us do to see how to do it(like wiring && driver and all that stuff). However i am getting an Fatal Error. Any Solution

Sketch uses 263222 bytes (8%) of program storage space. Maximum is 3145728 bytes.
Global variables use 13380 bytes (4%) of dynamic memory, leaving 314300 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.0-dev
Serial port COM7
Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
_

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Invalid library found in C:\Users\Aesha\Documents\Arduino\libraries\Wifi-Setup-Esp8266: no headers files (.h) found in C:\Users\Aesha\Documents\Arduino\libraries\Wifi-Setup-Esp8266

1 Like

Why don’t you start by explaining exactly what you did and how you configured your stuff?

Ok my bad! So i bought Esp32-cam from Aliexpress and i tried to programm it with my Arduino Uno.

The Connection were ´:
Esp 5V to Uno 5V
Esp gnd to Uno gnd
Esp IO0 to Esp gnd
Esp Tx to Uno Tx
Esp Rx to Uno Rx
Uno Reset to Uno gnd

After the wiring/connecting Esp32-cam with Uno i pasted this link( https://dl.espressif.com/dl/package_esp32_index.json) in Prefrences and download the Esp32 board manager. After installing it i choose Esp32 wroover Module.

The setting for the Upload were:
Upload speed: 115200
Flash frequenzy. 40Mhz
Flashmode: QIO
Partion scheme: Huge APP 3mb(...)
Code debug level: none
Programmer: none Selected

So to see connection i wrote this code:

void setup(){
Serial.println("Namaste");
}
void loop(){
}

Try with this settings: Select the Programmer “AVR ISP”

Which won't work.

See this for more info on serial printing, clicky clicky.

@siddh-1

Try

Upload speed: 115200
Flash frequenzy. 80Mhz
Flashmode: QIO
Partion scheme: Huge APP 3mb(...)
Code debug level: none
Programmer: AVR ISP

Was the cam rst button pressed before sending the upload to the cam?

There is no Option for Avr programmer! How shoudl i download it or get that

Yes

Ssure i will try it when i home

Did you see the message waiting for upload after pressing the ESP32's-CAM reset button?

Yes

The original post does not show the ESP32-CAM message waiting to upload. Without the message waiting to upload from the ESP32-CAM...

I guess i understood it wrong. I thought by waiting to upload you meant that Upload msg. So yeah there is no waiting to upload msg

1 Like

Hello can someone help me ?

1 Like