When I try to capture a jpeg or a stream, I get this error message Error: failed to capture image
I'm using an AI-Thinker board (the chip has the Espressif logo); Arduino 1.8.19 with ESP32 core 2.0.13
I tried with another OV2640 lens with the same result. If I removed the lens, I can runs the example sketches in Arduino, like WifiScan, Test LittleFS, Deepsleep, GpioInterrupt, etc.
10:24:28.980 -> -----------------------------------
10:24:28.980 -> Starting - ESP32Cam-demo - 25oct23
10:24:28.980 -> -----------------------------------
10:24:28.980 ->
10:24:28.980 -> Connecting to Reis
10:24:28.980 -> [ 495][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
10:24:29.108 -> [ 583][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 - STA_START
10:24:29.143 -> [ 641][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 4 - STA_CONNECTED
10:24:29.178 -> [ 662][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 7 - STA_GOT_IP
10:24:29.178 -> [ 662][D][WiFiGeneric.cpp:991] _eventCallback(): STA IP: 192.168.1.90, MASK: 255.255.255.0, GW: 192.168.1.254
10:24:29.580 -> .
10:24:29.580 -> WiFi connected, IP address: 192.168.1.90
10:24:29.580 ->
10:24:29.580 -> Getting real time (NTP)
10:24:29.580 -> .......................now 1698747870
10:24:31.885 -> Tue 31-10-23 10:24:30
10:24:31.885 ->
10:24:31.885 ->
10:24:31.885 -> Initialising camera: Applying camera settings
10:24:32.119 -> OK
10:24:37.229 -> SPIFFS mounted successfully: total bytes: 896321 , used: 0
10:24:37.276 -> E (8728) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
10:24:37.276 -> E (8729) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
10:24:37.276 -> [ 8732][E][SD_MMC.cpp:138] begin(): Failed to initialize the card (0x107). Make sure SD card lines have pull-up resistors in place.
10:24:37.276 -> No SD Card detected
10:24:37.276 -> Brightness changed to 0
10:24:37.276 ->
10:24:37.276 -> Started...
10:24:40.276 -> Brightness changed to 64
10:24:40.510 -> Brightness changed to 0
10:24:40.510 -> [ 11954][I][WiFiClient.cpp:548] connected(): Unexpected: RES: 0, ERR: 88
10:24:40.510 -> [ 11955][I][WiFiClient.cpp:548] connected(): Unexpected: RES: 0, ERR: 88
10:24:40.510 -> [ 11966][I][WiFiClient.cpp:548] connected(): Unexpected: RES: 0, ERR: 88
10:24:40.510 -> [ 11966][I][WiFiClient.cpp:548] connected(): Unexpected: RES: 0, ERR: 88
10:24:40.510 -> [ 11977][I][WiFiClient.cpp:548] connected(): Unexpected: RES: 0, ERR: 88
10:24:40.510 -> [ 11978][I][WiFiClient.cpp:548] connected(): Unexpected: RES: 0, ERR: 88
10:24:40.510 -> [ 11990][I][WiFiClient.cpp:548] connected(): Unexpected: RES: 0, ERR: 88
10:24:40.510 -> [ 11990][I][WiFiClient.cpp:548] connected(): Unexpected: RES: 0, ERR: 88
10:24:52.262 -> .now 1698747891
10:24:52.394 -> Tue 31-10-23 10:24:51
10:24:52.394 ->
10:27:08.733 -> E (160247) gpio: gpio_install_isr_service(449): GPIO isr service already installed
10:27:08.935 -> Applying camera settings
10:27:08.981 -> Applying camera settings
10:27:09.473 -> cam_hal: EV-EOF-OVF
10:27:09.757 -> cam_hal: EV-EOF-OVF
10:27:09.957 -> cam_hal: EV-EOF-OVF
10:27:10.473 -> cam_hal: EV-EOF-OVF
10:27:10.791 -> cam_hal: EV-EOF-OVF
10:27:11.090 -> cam_hal: EV-EOF-OVF
10:27:11.288 -> cam_hal: EV-EOF-OVF
10:27:11.590 -> cam_hal: EV-EOF-OVF
10:27:12.021 -> cam_hal: EV-EOF-OVF
10:27:12.321 -> cam_hal: EV-EOF-OVF
10:27:12.552 -> cam_hal: EV-EOF-OVF
10:27:12.940 -> cam_hal: EV-EOF-OVF
10:27:13.222 -> cam_hal: EV-EOF-OVF
10:27:13.638 -> cam_hal: EV-EOF-OVF
10:27:14.073 -> cam_hal: EV-VSYNC-OVF
10:27:14.555 -> cam_hal: EV-EOF-OVF
10:27:14.790 -> cam_hal: EV-EOF-OVF
10:27:15.289 -> cam_hal: EV-EOF-OVF
10:27:15.505 -> cam_hal: EV-EOF-OVF
10:27:15.806 -> cam_hal: EV-EOF-OVF
10:27:16.124 -> cam_hal: EV-EOF-OVF
10:27:30.766 -> E (182259) gpio: gpio_install_isr_service(449): GPIO isr service already installed
10:27:30.984 -> Applying camera settings
10:27:31.394 -> [182895][E][WebServer.cpp:647] _handleRequest(): request handler not found
10:27:31.394 -> Invalid page requested.now 1698748112
10:28:33.746 -> Tue 31-10-23 10:28:32
10:28:33.746 ->
10:28:42.254 -> Error: failed to capture image
10:28:50.251 -> Error: failed to capture image
10:28:58.254 -> Error: failed to capture image
10:29:06.251 -> Error: failed to capture image
10:29:14.275 -> Error: failed to capture image