Hey there, hope it is the right category :> ... I recently got a ESP32 cam board and was testing the example sketch
I got both the onboard LEDs to blink but I noticed that the actual camera attached to my board is not the same as most people on the internet are using, the ov5640.
I guess it is some off the shelf camera with no identification number of any sort. It has "RHYX-M21-45" printed on the black flex connector.
The error I get with "CAMERA_MODEL_AI_THINKER" selected is as follows
E (699) camera: JPEG format is not supported on this sensor
Camera init failed with error 0x106
and with the default "CAMERA_MODEL_ESP_EYE" it simply doesn't recognize the camera
I'm attaching the pictures of the camera and the esp32 cam module I am using
Somebody is messing with you. That camera looks like it came from an Android phone. Try uncommenting one model at a time to see if any at least compile. If that does not work, you can by the cameras, I got a few handfuls from Aliexpress. Just search on OV5640.
The camera's flex connector with the label "RHYX-M21-45" suggests it might be a custom or less common module. The error code 0x106 and the fact that it's not recognized under standard models like CAMERA_MODEL_AI_THINKER or CAMERA_MODEL_ESP_EYE indicate that the software cannot properly interface with your camera.
In the example sketch, try other predefined camera models like CAMERA_MODEL_WROVER_KIT, CAMERA_MODEL_M5STACK, or CAMERA_MODEL_M5STACK_WIDE. It's possible your camera might align with one of these profiles.
To do this, uncomment the appropriate #define line for a different camera model in the sketch.
If nothing works, you can switch to pixycam instead.
Hey there guys... I tried every single model on code and it didn't recognize a single one :') it kept resetting on some models but doesn't work anyway
any second options? i can't seem to find a spare ov5640 online for India.
Thanks for the time :>
Thank you very much I had bought the exact same esp32 and with it came the RHYX-M21-45 camera I could not find any information on it until today and the solution you gave finally made it work, Thank You very much. It works perfectly well with the AI THINKER CAMERA MODEL uncommented
hey there! I tried using RGB565 and it worked thanks a lot
but i see that i get really low fps... i kinda went down the rabbit hole and got to know that is a common problem with this format...
current condition of the video output is not much helpful for my use case tho :<
ill continue experimenting with new modules with preferably ov5640 cam for my project... it is a rather expensive module where i live so i can't mass buy it :<
i should always prefer ov5640 over ov3640 right?
~Manas
E (699) camera: JPEG format is not supported on this sensor
Camera init failed with error 0x106
I came across the same error and it was solved with
//config.pixel_format = PIXFORMAT_JPEG; // for streaming
config.pixel_format = PIXFORMAT_RGB565; // for face detection/recognition
But after this new error started coming up
E (904) cam_hal: cam_dma_config(271): frame buffer malloc failed
E (905) cam_hal: cam_config(355): cam_dma_config failed
E (905) camera: Camera config failed with error 0xffffffff
Camera init failed with error 0xffffffff