Hi all, already ran this through esp32 forums but I didn't get a response, I hope a kind saviour will help me here
When I try to upload the CameraWebServer (or even a generic blink) example to an esp32 cam via an FTDI adapter (this one https://www.amazon.co.uk/dp/B07R17BMTL? ... ct_details), it seems to not be giving me a serial connection.
I get a solid red LED on the FTDI adapter when I hook it up.
I troubleshooted this online and all the suggestions say are "check you've got the correct COM port" but it only gives me one option and the port works when I want to upload to other esp32 and arduino devices etc. It's possible the COM port is being opened by the MD and/or the FTDI adapter but they aren't establishing a serial connection to the actual ESP32 CAM
Here's the specific error message
"esptool.py v4.2.1
A fatal error occurred: Failed to connect to ESP32: No serial data received. the selected serial port does not exist or your board is not connected"
Connections I'm using;
Settings I'm using;
Current attempts to troubleshoot, all gave me the same result, no change (probably suggesting I'm doing something fundamentally wrong):
Attempted a different ESP32 CAM from a new manufacturer (this one link
Tried a second FTDI adapter (same manufacturer)
Attached it to an MD shield which apparently makes programming the board much easier, included with the new cam purchased above, same problem
Tried to press the onboard reset button while the dots appear on the IDE, like you would another ESP32 board
Tried changing the usb cable multiple times
Tried a new laptop and a new PC
Tried the newer version of the IDE, I got a differently worded error message but it pretty much said the same thing
At this point I'm just trying to upload a simple blink sketch
Found on the random nerd tutorials a potential solution. Hold down the IO0 button on the MD shield till the dots appear, then press the onboard reset button. No luck.
Stupidly attempted to change the FTDI 3v3 jumper to 5v, and connected it to the 5v pin, burning my finger and most likely destroying my £12 purchase. I was willing to try anything at that point but yeah, that was dumb.
Code: Generic blink sketch
//LED BUILT_IN is GPIO 33
void setup() {
pinMode(33, OUTPUT); // Set the pin as output
}
// Remember that the pin work with inverted logic
// LOW to Turn on and HIGH to turn off
void loop() {
digitalWrite(33, LOW); //Turn on
delay (1000); //Wait 1 sec
digitalWrite(33, HIGH); //Turn off
delay (1000); //Wait 1 sec
}
I saw it Don, my post in the general discussion you replied to before was to ask where I should have uploaded the more detailed post above, hence, it's in this forum
You might want to try using one of the programmingr boards that are specifically designed for the ESP32-CAM. You can remove it after programming so you only need one even if you have several camera boards. That's what I use.
It came with it's own dev board and the reviews are suggesting it works for most, which is frustrating as I must be doing something completely wrong and I can't figure out what
The 'mess' is that I saw the other thread first and put my response there. Those people who did not stumble upon that other thread would not have the possible benefit of my response.
Granted, I probably shouldnt have linked my esp32 forum post in the request, encouraging users to help solve the problem, I'm sorry I did that, I'm currently on 52 of my 99 lashes.
Thank you for your help so far but you're really getting bent out of shape over nothing
If you're using IDE 2.x and the Serial Monitor is open, close the Serial Monitor. There is a known problem with the combination IDE2.x / FTDI / Serial Monitor.
However! I tried it on a 4th PC, and I got the ....underscores....underscores.... etc etc instead of just ........... and I managed to upload the blink sketch and it works.
Are the dots and undescores to communicate the transfer and reciept of data? If it isn't obvious, I'm quite early into this hobby
I'm sure I'll hit some more issues but for now, I wonder what it was that the cam didn't like on my two laptops?
Hello, I have the same problem, I have tried all the solutions I have seen, I checked the cables and they are fine and the sketch still does not load. I have already tried two esp32 cam cards and both have the same error, I use the cp210 adapter