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
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
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
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
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
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
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
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
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
https://robotzero.one/esp32-cam-tft-selfie/
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