Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD CARD Error #232

Closed
Walid093 opened this issue Jun 22, 2023 · 7 comments
Closed

SD CARD Error #232

Walid093 opened this issue Jun 22, 2023 · 7 comments

Comments

@Walid093
Copy link

I am using 4GB SD Card in ESP32 CAM. i uploaded code with changes in wifi credentials only.

somehow i get these errors for ESP32 CAM
E (63967) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (63967) diskio_sdmmc: Check status failed (0x107)
E (64968) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (64969) diskio_sdmmc: Check status failed (0x107)

on Web page it shows Startup Failure : Check SD Card inserted.

SD card is perfectly working for other program and formatted using SD card Formatter. on youtube video 4GB SD card was suggested so i am using 4GB SD card as well.

image
image

what seems to be the issue here. do i need to modify app_secific.cpp ???

Also is this program able to store Audio and video both in Avi format?

@s60sc
Copy link
Owner

s60sc commented Jun 22, 2023

hardware problem, may be pin conflict with your mic. Dont change code, change settings on web page edit config tab

audio and video stored in same avi file

@codedogz777
Copy link

hardware problem, may be pin conflict with your mic. Dont change code, change settings on web page edit config tab

audio and video stored in same avi file

how? that error would mean that he cant open the webpage no?
it would tell to check the sd card

@Walid093 Walid093 closed this as completed Jul 3, 2023
@Walid093 Walid093 reopened this Jul 3, 2023
@Walid093
Copy link
Author

Walid093 commented Jul 3, 2023

hardware problem, may be pin conflict with your mic. Dont change code, change settings on web page edit config tab

audio and video stored in same avi file

I got two more ESP32 CAM boards and it turned out there was SD card Slot issue. Now it starts streaming video but i am not not getting any audio. i assign microphone pin numbers through web browser but as soon as controller restarts. configs file causes the error. this is pin number i assign in the web browser

image

Can i stream avi format directly to web browser? Audio and video both streamed to web browser?

@s60sc
Copy link
Owner

s60sc commented Jul 3, 2023

on esp32, as per readme, only following pins are free:

Note that there are not enough free pins on the ESP32 camera module to allow all external sensors to be used. Pins that can be used (with some limitations) are: 3, 4, 12, 13, 33.

mic is only worth using on esp32-s3

browsers dont support avi natively

@Walid093
Copy link
Author

Walid093 commented Jul 7, 2023

TTGO-T-Camera-Plus-Pinout

to avoid this issue i changed board to ESP TTGO CAMERA PLUS but somehow it's again showing SD card initialize error. i noticed that sd card error remains with most of the boards. SD card are formatted using SD card formatter in FAT32. they are working fine. but failed to initialize. should i switch to older versions of sd card libraries?

@s60sc
Copy link
Owner

s60sc commented Jul 7, 2023

This model uses a non standard pinout that is not currently implemented, I will aim to add it in the next 24 hours

@s60sc
Copy link
Owner

s60sc commented Jul 8, 2023

New version uploaded
In appGlobals.h, comment out:

#if defined(CONFIG_IDF_TARGET_ESP32)
// default pin configuration for ESP32 cam boards
#define CAMERA_MODEL_AI_THINKER // Has PSRAM  
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
// default pin configuration below for Freenove ESP32S3 cam boards
#define CAMERA_MODEL_ESP32S3_EYE // Has PSRAM
#endif

and uncomment:

//#define CAMERA_MODEL_TTGO_T_CAMERA_PLUS

As I dont have this board, you will have to confirm that it works

@s60sc s60sc closed this as completed Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants