I forgot the password of my esp32 cam and im trying to find tutorials but none of them work im fine with factory reseting it but dont know how to
I moved your topic to a more appropriate forum category @swamimahant.
The Nano Family > Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.
In the future, when creating a topic please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.
This is the third time I've had to ask this of you. If you won't respond to polite requests, I will be forced to resort to an account suspension to get your attention. I don't want to do that, and I'm sure you don't want it either. So please be more careful to use our forum in a responsible manner.
Thanks in advance for your cooperation.
Hi @swamimahant. Did you upload an Arduino sketch to the ESP32-CAM board? If yes, please post your full sketch.
I'll provide instructions you can follow to do that:
- Auto Format your code by following these instructions:
- If using Arduino IDE: select Tools > Auto Format from the menus.
- If using Arduino Cloud Editor: click the "Indent" icon near the top right corner of the sketch editor panel.
- Click on the window that contains your sketch code.
- Press the Ctrl+A keyboard shortcut (Command+A for macOS users).
This will select all the text. - Press the Ctrl+C keyboard shortcut (Command+C for macOS users).
This will copy the selected text to the clipboard. - Open a reply here on this forum topic by clicking the "Reply" button.
- Click the
<CODE/>icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the copied code into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Repeat the above process if your sketch has multiple tabs.
- Click the "Reply" button to publish the post.
When your code requires a library that's not included with the Arduino IDE please post a link to where you downloaded that library from, or if you installed it using Library Manager (Sketch > Include Library > Manage Libraries... in Arduino IDE or Libraries > Library Manager in Arduino Cloud Editor) then say so and state the full name of the library.
What password are you talking about? The camera sketch has to have the password of the AP (router) that the camera will connect to. It is very likely you are also connected to that router. If the router password has changed, just load the sketch and change it in the secrets.h file.
whatif its multiple

this password
I have no idea what that is. Can you explain ?
literal wifi password and when you enteṙit you connect to the wifi
do i change th ssid and password
Then you must provide the sketch you uploaded to the board most recently.
When you upload a sketch it overwrites the program you uploaded previously, so it is only the most recent successful upload that matters. Sketches that were uploaded prior to that one are irrelevant.
ESP32_CameraServer_AP_20220120.ino (5.2 KB)
CameraWebServer_AP.cpp (4.4 KB)
camera_index.h (54.0 KB)
camera_pins.h (2.6 KB)
app_httpd.cpp (32.6 KB)
When uploading this i get a error "faild to execute code esptool"
The password for the Wi-Fi access point created by the ESP32-CAM board is set by line 127 of CameraWebServer_AP.cpp:
WiFi.softAP(mac_default, password, 9);
There is an initialization of the password variable in one of the sketch files that you did not share (perhaps in the missing file CameraWebServer_AP.h).
If you find where the password variable is initialized, you will see the password for the access point. Try using that password to connect to the access point.
That is a completely unrelated problem. Let's dedicate this topic exclusively to the discussion of the password, and use a dedicated forum topic for discussion of the upload failure:
https://forum.arduino.cc/t/upload-to-esp32-cam-fails-write-timeout/1385804
so what should i do
i dont know my old password i made a new one and tried uploading it but i got the esptool error i dont know where old one went the new one is the one i sent to you
I suggested something in my previous reply:
Did you try that? If not, then try it! If you did try it, were you able to connect to the access point using that password?
Since your level of expertise is very low, most likely you simply uploaded the code as you found it, without making the effort to modify the code to change the password to something other than the default defined by the author of the code. So your "old" password is almost certainly the password in the code you have. You only need to make the effort to look at the code to find it.
If you can't find where in the code the password is defined, then just share the code here and we'll point it out for you. You tried to post the code already, but you neglected to provide the file that actually contains the password. So you need to make a stronger effort this time around. Alternatively, you can tell us exactly where you obtained this code from so that we can just get it from the source. If you downloaded it from a website, then post link to the website we can download it from.
ok bro first of all idid change it then i got a clean install of windows 11 deleting everything including the old code
buddy is wrong about effort i already said but your blind eyes can't see what i said
And know i guess Arduino helpers give insults for no reason
Thats messed up your supposed to help me not be mean
Then please share this information that only your sharp young eyes can see. Although the years have surely fogged my eyes and brain, they also brought wisdom I might use to help you if I only had sufficient information about your system.
The first thing you must understand is that helping does not mean doing the work for you. So you must be willing to make the effort on your end to act on the guidance provided by the helpers.
If you don't understand that guidance, or run into some problem while attempting to act on it, that is fine. We are still here to provide further assistance. However, we are not psychic. So our ability to help you is contingent on you making the effort to effectively communicate and provide the information we need to provide that assistance.
So when I call you out for not making a strong enough effort, it is done to help you to take the disciplined approach that is required in order to have any chance at success in technical endeavors like Arduino.
It is up to you to decide whether you will accept the help or not.


