Comments on: Upload Code to ESP32-CAM AI-Thinker using ESP32-CAM-MB USB Programmer (easiest way) https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 10 May 2025 12:32:02 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Vladimir https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-1039926 Sat, 10 May 2025 12:32:02 +0000 https://randomnerdtutorials.com/?p=101572#comment-1039926 In reply to steph.

Your advice is very useful. Thanks a lot!

]]>
By: Sara Santos https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-1024361 Mon, 07 Apr 2025 09:31:59 +0000 https://randomnerdtutorials.com/?p=101572#comment-1024361 In reply to Ralph.

Hi
Thanks for providing that information.
It will definitely be useful for our readers.
Regards,
Sara

]]>
By: Ralph https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-1024152 Sun, 06 Apr 2025 13:48:33 +0000 https://randomnerdtutorials.com/?p=101572#comment-1024152 Thank you very much for this tutorial!
Since so many people have trouble uploading the sketch, it might be a good idea to update the article with a remark that (on some boards?) you have to perform an additional step to put the esp in flash mode.

I found the following on tinytronics.nl/en/development-boards/accessories/adapter-boards/esp32-cam-mb-programmer-shield

Note: The RST button on this shield does not work. To put the ESP32-CAM in boot mode for programming, the following two options are therefore possible:
1. While connecting the shield to the PC (with the ESP32-CAM already installed), press and hold the IO0 button. After connecting the IO0 button can be released and the code can be uploaded.
2. While the shield (with the ESP32-CAM installed) is connected to the PC, press and hold the IO0 button and then briefly press the RST button on the ESP32-CAM. Then the IO0 button can be released and the code can be uploaded.

]]>
By: Miguel https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-991337 Sat, 14 Dec 2024 02:30:07 +0000 https://randomnerdtutorials.com/?p=101572#comment-991337 ]]> If you are using PlatformIO this my help you, i´m pretty sure in Arduino IDE the solution is similar:

On some ESP32-CAM boards, the pin labeled GND/R acts as a reset pin. If this pin gets pulled low, the ESP32-CAM stays stuck in reset mode. Additionally, the CH340C adapter was sending DTR (Data Terminal Ready) and RTS (Request to Send) signals when I opened the serial monitor, which were triggering the reset.

I disabled the DTR and RTS signals in PlatformIO by adding these lines to my platformio.ini file:
monitor_dtr = 0
monitor_rts = 0

After making this change, I could open the serial monitor without the ESP32-CAM resetting or freezing. Everything worked perfectly, and I could finally see my logs!

If you’re having similar issues where your ESP32-CAM stops working when you open the serial monitor, try disabling DTR and RTS in platformio.ini. It worked for me, and I hope it saves you some headaches too! 😊

]]>
By: pascal https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-977740 Wed, 30 Oct 2024 11:05:44 +0000 https://randomnerdtutorials.com/?p=101572#comment-977740 In reply to Sara Santos.

so there no GPIO available without your solution ?
cdt
pascal

]]>
By: Sara Santos https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-977680 Wed, 30 Oct 2024 09:54:19 +0000 https://randomnerdtutorials.com/?p=101572#comment-977680 In reply to pascal.

Hi.
You’ll have to disconnect the programmer to be able to access the GPIOs to connect a sensor.
So, you won’t be able to see the results in the serial monitor if you need.
Regards,
Sara

]]>
By: pascal https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-977654 Wed, 30 Oct 2024 09:20:02 +0000 https://randomnerdtutorials.com/?p=101572#comment-977654 Hi,
Thanks for all your guides, it’s very good.
I use this HK-ESP32-CAM-MB and it’s all ok.
But which IO port is available for connect a sensor ?

Best regards
pascal

]]>
By: pierrem https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-976140 Sat, 26 Oct 2024 08:41:13 +0000 https://randomnerdtutorials.com/?p=101572#comment-976140 Hi,
while upload works perfectly from VSC/PlatformIO … I always get error with HTTPUpload.upload() that allways return HTTPUpload.status == 2 ?

]]>
By: Niranthak Krishna https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-953115 Sun, 01 Sep 2024 17:44:35 +0000 https://randomnerdtutorials.com/?p=101572#comment-953115 Hey! I seem to got a issue/error
cause whenever i take a picture,
it takes it, but it come’s black, no colors only detects light,

best responds,
Niranthak

]]>
By: steph https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/#comment-924673 Wed, 12 Jun 2024 14:37:33 +0000 https://randomnerdtutorials.com/?p=101572#comment-924673 Hi, after many headache, I think it’s become mandatory to explain that many CH340 board don’t work with the last driver. The 3.8 version made me crazy but all go right after I downgraded it to 3.5 (I am on Windows11).
Best regards

]]>