• 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 (AI-Thinker): Module 2 Take photos does not run

Q&A Forum › Category: ESP32 › ESP32-CAM (AI-Thinker): Module 2 Take photos does not run
0 Vote Up Vote Down
ezio.soma asked 5 years ago

Hello, I’mo doing the course ESP32-CAM Projects. I’m very happy with the book that is very well done.

I was able to make run the Module 1 camera web server. Everything goes well and I was able to do face recognition too.

With the module 2 take photos I have had some problems. I have to say that I’m using a 16Gb SD card instead of 4 Gb.

I’m getting this error:

Initializing the camera module...FRAMESIZE = CIF[E][sccb.c:154] SCCB_Write(): SCCB_Write Failed addr:0x30, reg:0x35,
data:0xda, ret:-1
[E][camera.c:1215] camera_init(): Failed to set frame size
[E][camera.c:1270] esp_camera_init(): Camera init failed with error 0x20002

And all seems ok with the sd card.

After many attempts I was able to have it running. I have extracted the SD card then reinserted it few times.

The strange thing was that also the web server cam was not running with the SD, with same error.

Now I have done many trial switching the board on and off and it seems ok.

Very strange behavior.

Question Tags: ESP32-CAM SD-Card
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
It’s a very strange behavior indeed.

Sometimes you get that error on the first reset after uploading the code. But if you reset the board again, usually the error goes away.

Additionally, having an SD card that is not being used shouldn’t cause any issues – like the case of the camera web server project.

So, you changed to another board and everything is working right?

Regards,

Sara

0 Vote Up Vote Down
ezio.soma answered 5 years ago

No, I simply insisted with the reset button untill I got it run. This is is quite annoying because the problem presents itself quit often. Do you are suggesting me to change board and buy a new one?

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

Hi again.
I got that problem sometimes, but not that often. I don’t know why that happens, though.
So, I don’t know whether a new board will solve the issue or not :/
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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 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.