• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32-CAM Take Photo and Save to MicroSD Card

Q&A Forum › Category: ESP32 › ESP32-CAM Take Photo and Save to MicroSD Card
0 Vote Up Vote Down
uengel asked 3 years ago

Hello, I built this project. I use the MB board with USB connection. Program load went without errors. I then started the Serial Monitor and I get the following error message:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1216 ho 0 tail 12 room 4 load:0x40078000,len:9720 ho 0 tail 12 room 4 load:0x40080400,len:6352 entry 0x400806b8 [E][camera.c:1344] esp_camera_fb_get(): Failed to get the frame on time! Camera capture failed
 
What am I doing wrong?
Greetings Ulli

Question Tags: ESP32-Cam
10 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Make sure the ESP32-CAM is powered with a stable power supply.
Reset your board several times by pressing the RST button and check if that solves the issue.
Let me know if this helps.
Regards,
Sara

0 Vote Up Vote Down
uengel answered 3 years ago
Hi Sara,
I had another CAM module. With this it worked now.

Now I have another question:
In your web interface for the cam web server there is an option "vflip" with which I can rotate the image from portrait to landscape. How do I implement this in this tutorial script?
Thank you Ulli
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
There is a vflip() function, but it’s literally a vertical flip. It won’t rotate the picture. See page 116 of the eBook.
Unfortunately, I don’t know an easy way to rotate the pictures before saving them to the SD card. 
In that example that you mentioned, the image is rotated using a JavaScript function on the web browser.
Regards,
Sara
 

0 Vote Up Vote Down
uengel answered 3 years ago

Thanks for answer.
In the second step I would like to expand this so that you can see the running stream of the cam on a connected TFT ILI9341. With the TFT I can rotate from portrait to landscape. But I do not know, how to integrate the TFT in your project.
Can you help me with that second step? I’m still a beginner with programming.
Regards Ulli

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.

Unfortunately, at the moment, we don’t have any of those displays to experiment with.
I’m sorry that I can’t help much about that subject.
Regards,

Sara

0 Vote Up Vote Down
uengel answered 3 years ago
Hello Sara, what a pity. I think this adds some more value to your great project. Maybe you can put this on your "todo list" (update) and then notify me. A display like that doesn't cost much. You basically have a self-made camera.
Greetings Ulli
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Yes. 
You’re right. We have very few tutorials about displays. That’s definetely something that we need to work on.
I saw this video some time ago: https://www.youtube.com/watch?v=v_8XifFcpaI
It doesn’t use an ESP32-CAM, it uses a separated camera, but it can give you an idea of how to integrate a display.
Regards,
Sara 

0 Vote Up Vote Down
uengel answered 3 years ago
Hello Sara, yesterday I found a tutorial where the stream of the camera is displayed on a TFT for a selfie cam.
I'll try to understand the code. Maybe then I can use parts to show the stream in your tutorial. However, since I am not very busy with ESP and Arduino at the moment and programming is not my actual hobby, this will not be easy for me.
Surely you can do more with it than me.
Greetings Ulli

ESP32-CAM Auto-Selfie Camera with TFT

0 Vote Up Vote Down
uengel answered 3 years ago

ESP32-CAM Auto-Selfie Camera with TFT
https://robotzero.one/esp32-cam-tft-selfie/

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
That project seems to be very well documented and it provides all the code to build the project.
Thanks for sharing.
I think if you follow all the mentioned steps, you’ll be able to build it successfully.
As I mentioned, at the moment I don’t have a TFT display to experiment with.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.