ESP32-CAM camera module problem

swaks1
Posts: 1
Joined: Fri Nov 15, 2019 10:39 am

ESP32-CAM camera module problem

Postby swaks1 » Fri Nov 15, 2019 10:44 am

Hello,

I have ESP32-CAM module which arrived with OV2640 camera module (version XRZ00D1).

I tried running the ESP32 library sketch (CameraWebServer), with the needed things like changing WiFi and setting CAMERA_MODEL_AI_THINKER as default.

However i get the following error:

Code: Select all

[E][sccb.c:154] SCCB_Write(): SCCB_Write Failed addr:0x30, reg:0x35, data:0xda, ret:-1
[E][sccb.c:154] SCCB_Write(): SCCB_Write Failed addr:0x30, reg:0xff, data:0x00, ret:263
[E][sccb.c:154] SCCB_Write(): SCCB_Write Failed addr:0x30, reg:0xff, data:0x01, ret:263
[E][camera.c:1215] camera_init(): Failed to set frame size
[E][camera.c:1270] esp_camera_init(): Camera init failed with error 0x20002
I tried the same program on the same ESP, just changed the camera module with OV2640 (version AF2569) and it worked OK.
My question is does the PINS should be differently specified for the OV2640 (version XRZ00D1) ?
Also physically these two cameras (XRZ00D1 and AF2569 ) look slightly different.

ESP_WangYX
Posts: 97
Joined: Mon Jun 28, 2021 12:48 pm

Re: ESP32-CAM camera module problem

Postby ESP_WangYX » Wed Oct 09, 2024 6:50 am

There is an I2C pull-up resistor in the circuit of the ov2640 module. This may be one of the reasons for I2C communication errors.

Who is online

Users browsing this forum: No registered users and 132 guests