hi, i am in the middle of a school project where i need to use 3 cameras, i bought 3 esp32cams, and 3 OV5640 pluged it in, and nothing... i used some LLM´s to help with code but to no avail. anyone ever used this setup? ill put links of the (aliexpress) ones i bought.
it was sold as compatible but now i´m not so shure about that.
thanks for the help.
horace
April 20, 2026, 4:16pm
2
what library/software did you use? e.g. ESP32-CAM - Getting Started & Solving Common Problems
what Tools>Board did you select?
horace
April 20, 2026, 7:43pm
4
try
under Tools>Board select AI Thinker ESP32-CAM
open File>Examples>Examples for AI-Thinker ESP32-CAM>ESP32>Camera>CameraWebServer
in file board_config.h uncomment
// #define CAMERA_MODEL_AI_THINKER // Has PSRAM
setup your SSID and password compile link and load
when run the Serial Monitor should display
WiFi connected
Camera Ready! Use 'http://192.168.1.157' to connect
run a web client and connect to the URL and it should display the webpage
You don;t need the additional boards URL any more, Arduino provides them.
Please read the pinned post re 'How to get the most from the forum'. That is NOT how to post code, and it looks like some is missing.
I just searched the standard esp32-cam sketch and see the following
This is all the code
horace
April 21, 2026, 8:34am
9
danielqueiros:
with the OV5640?
the test I ran in post 4 was with a OV2640
replaced it with a OV5640 and still works ok
is there any way you can share the code?, i contacted the shop that sold it to me but they just sent a datasheet for the camera, i´m looking into the code later today to try to fix it
i selected this model, and commented on the camera index all the models exept the OV5640, i´m still getting used to this forum
// ===================
// Select camera model
// ===================
//#define CAMERA_MODEL_WROVER_KIT // Has PSRAM
//#define CAMERA_MODEL_ESP_EYE // Has PSRAM
//#define CAMERA_MODEL_ESP32S3_EYE // Has PSRAM
//#define CAMERA_MODEL_M5STACK_PSRAM // Has PSRAM
//#define CAMERA_MODEL_M5STACK_V2_PSRAM // M5Camera version B Has PSRAM
//#define CAMERA_MODEL_M5STACK_WIDE // Has PSRAM
//#define CAMERA_MODEL_M5STACK_ESP32CAM // No PSRAM
//#define CAMERA_MODEL_M5STACK_UNITCAM // No PSRAM
//#define CAMERA_MODEL_M5STACK_CAMS3_UNIT // Has PSRAM
//#define CAMERA_MODEL_AI_THINKER // Has PSRAM
//#define CAMERA_MODEL_TTGO_T_JOURNAL // No PSRAM
//#define CAMERA_MODEL_XIAO_ESP32S3 // Has PSRAM
// ** Espressif Internal Boards **
#define CAMERA_MODEL_ESP32_CAM_BOARD
//#define CAMERA_MODEL_ESP32S2_CAM_BOARD
//#define CAMERA_MODEL_ESP32S3_CAM_LCD
//#define CAMERA_MODEL_DFRobot_FireBeetle2_ESP32S3 // Has PSRAM
//#define CAMERA_MODEL_DFRobot_Romeo_ESP32S3 // Has PSRAM
#include "camera_pins.h"
#endif // BOARD_CONFIG_H
got this on the serial Mon., camera not supported
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:2
load:0x3fff0030,len:4876
ho 0 tail 12 room 4
load:0x40078000,len:16600
ho 0 tail 12 room 4
load:0x40080400,len:3500
entry 0x400805b4
E (81) camera: Detected camera not supported.
E (81) camera: Camera probe failed with error 0x106(ESP_ERR_NOT_SUPPORTED)
Camera init failed with error 0x106
horace
April 21, 2026, 9:36am
13
I ran the example
File>Examples>Examples for AI-Thinker ESP32-CAM>ESP32>Camera>CamerWebServer
the example has five files .ino, .cpp and three .h
edit file board_config.h uncomment
#define CAMERA_MODEL_AI_THINKER // Has PSRAM
Dude, it works! thanks a lot! i was really stressing about this.
i should i pay you a beer
You uncommented the wrong define. You selected the very common board AI_THINKER but uncommented something else.
yes, it was corrected and its working now, i lost 500 pounds of weight solving this, i must really spend more time reading code and learning more
horace
April 22, 2026, 6:33am
17
if the problem is solved click the Solution button at the bottom of the reply that answered the question - this helps others with a similar question