-
Notifications
You must be signed in to change notification settings - Fork 660
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
Camera probe failed with error 0x105 #450
Comments
Before officially initializing the camera, ESP32 will send a command to the sensor through the I2C bus. Normally, the sensor should send an ACK, and then ESP32 can initialize the sensor through the I2C bus. The current log shows that the sensor has not sent an ACK. Therefore, the configuration of the ESP32 pin is abnormal, or the sensor is working in an abnormal state. |
@yashshukla99 Is the official development board currently used? Which sensor model is used? And it is recommended that you use the example here for testing. |
Thanks @WangYuxin-esp , I will test above code and I am using this one with OV2640 sensor. |
@yashshukla99 I have several of this AI-Thinker (or faked clone?). The are borderline.
|
I often face this problem, but it is usually due to a poor connection of the FPC connector, which can be solved by inserting the connector all the way to the back. |
Tried all of the solutions, I think I got scamed or my electrical skills are too bad : / |
@OmPatel47097 Probably you have got just bad luck with the one you have. |
Probably I might need to buy a new one |
you shoud trie to use the CAMERA_MODEL_AI_THINKER board |
I faced the same issue. With the same log. |
@sergioaiello what do you mean by changing I2c port 1 to 2? Tried with .sccb_i2c_port = 0 and also = 1 but no luck. |
no, it is very easy. |
@sergioaiello, thanks for the response. Im using vscode with PlatafformIO extension. |
the trigger is the file Kconfig.projbuild
|
#define CAMERA_MODEL_AI_THINKER // Has PSRAM |
Can you share your sketch (and probably platform.ini)? |
#include "esp_camera.h" // // =================== #include "camera_pins.h" // =========================== void startCameraServer(); void setup() { camera_config_t config; #if defined(CAMERA_MODEL_ESP_EYE) // camera init sensor_t * s = esp_camera_sensor_get(); #if defined(CAMERA_MODEL_M5STACK_WIDE) || defined(CAMERA_MODEL_M5STACK_ESP32CAM) #if defined(CAMERA_MODEL_ESP32S3_EYE) // Setup LED FLash if LED pin is defined in camera_pins.h WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { startCameraServer(); Serial.print("Camera Ready! Use 'http://"); void loop() { |
So far, the modification has been made already. Replace with your code. |
Have some success today:
Three devices working, one gives me:
So this board has a damaged PSRAM? |
You only could uncomment one board particularly. Use #define CAMERA_MODEL_AI_THINKER only please. Don't use two boards. It should work.
Sent from Yahoo Mail on Android
On Tue, 7 Mar 2023 at 1:45 pm, Christoph ***@***.***> wrote:
Have some success today:
- Used the latest GIT Sources from arduino-esp32
- Created the project by importing it from arduino-esp32/libraries/ESP32/examples/Camera/CameraWebServer
- Used #define CAMERA_MODEL_AI_THINKER AND #define CAMERA_MODEL_ESP32_CAM_BOARD
- Powered the Devices by a stable 5V and left VCC from the Programmer unconnected
- Removed and replugged the camera module
Three devices working, one gives me:
E (541) sccb: SCCB_Write Failed addr:0x30, reg:0x37, data:0xc3, ret:263
E (542) camera: Camera probe failed with error 0xffffffff(ESP_FAIL)
Camera init failed with error 0xffffffff
So this board has a damaged PSRAM?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Does not make any difference. Still get the |
@psi-4ward There are clone AI-Thinker Boards where PSRAM is not there or not working. |
But I've 4 pieces and 3 of them work now - all from the same order. |
This issue appears to be stale. Please close it if its no longer valid. |
You made my day!!! Awesome. With your modification it work for me. |
Hi, the problem is in the programming example camera web server I modified the programming and managed to fix it use this in the folder (camerawebserver.ino) if you are using arduino.ide #include "esp_camera.h" void setup() { Serial.begin(115200); camera_config_t config; // Inicia a câmera Serial.print("Camera Stream Ready! Go to: http://"); // Start streaming web server |
@maralian please always put sourcecode in three backticks : |
I get the same issue , and figure out is is due to select the worng camera model. you just need update the .ino file with correct cam model. |
In my case, it's caused by poor quality programmer/uploader (ESP32-CAM-MB). When I changed to the other programmer, the problem was solved. |
Is it too late to join in this discussion? On this one, I get:
On the other one I get:
I'm also getting these warnings:
|
Man, I was having the same problem. Use this reference to flash your code: https://github.com/espressif/esp-iot-solution/tree/master/examples/camera/basic It's work to me. |
Thanks. That doesn't seem to work on mine: maybe my camera is dud. There is another one here somewhere. I'll try swapping them about a bit. |
I have the esp32 cam and the first time I got it and used Arduino IDE for it didn't work so I returned it and got a new one and still have the problem but I'm about to try one of the solutions above |
The problem is mostly caused by incorrectly defining camera pins. The esp32 wrover kit has a different camera pin configuration that the espcam by AI thinker. |
I would say "Often" rather than "Mostly", and I have tried both. Or has somebody done it already? |
After checking, I barely didn't provide enough power for the camera to run properly, and it drove me crazy hahaha |
I had one that wouldn't boot without a capacitor across the power rail. I reckoned that was a power issue, but I couldn't fathom the basis for the problem: I'm fairly sure the power supply was more than adequate. |
This works for esp32-cam with ov2460 from AIThinker |
I have this issue too and I need a solution as soon as possible, I don't really know how to fix this. my board is the xiao esp32 s3 sense and it keeps on giving the cam init error: this is the code: // // =================== // =========================== void startCameraServer(); void setup() { camera_config_t config; // if PSRAM IC present, init with UXGA resolution and higher JPEG quality #if defined(CAMERA_MODEL_ESP_EYE) // camera init sensor_t *s = esp_camera_sensor_get(); #if defined(CAMERA_MODEL_M5STACK_WIDE) || defined(CAMERA_MODEL_M5STACK_ESP32CAM) #if defined(CAMERA_MODEL_ESP32S3_EYE) // Setup LED FLash if LED pin is defined in camera_pins.h WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { startCameraServer(); Serial.print("Camera Ready! Use 'http://"); void loop() { thanks a lot! |
This may be a hardware issue, check the I2C (SCCB) pins on the baseboard. |
I ran a 12c check and it said nothing was connected to it |
Is the power pin of the sensor normal? Two devices with normal power supply and correctly connected I2C pins should be able to communicate with each other. |
how do i check the connections? |
i got this error please i have to submit my project on 24 august ets Jul 29 2019 12:21:46 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) E (512) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND) i use arduino ide |
I also did this hack: #define CAMERA_MODEL_AI_THINKER And it worked for me too. I was searching for days and sent even back some ESP32-CAM back, but now I got one from a good provider and still had the problem. after this hack it worked to my surprise. |
This is late to the conversation, however I was experiencing many issues including memory. Strangle I was testing with two AI-thinkers, one working the other not. |
|
I was able to fix it before I completely lose hope! if I search the cam from the model, I get the "Ai thinker" the solution was to uncomment a different one for my case it was my board is ESP32 wrover dev |
For me the problem was this uncommented line : '''define CAMERA_MODEL_ESP_EYE // Has PSRAM''' , i commented it and it worked fine, ai thinker with mb, #define CAMERA_MODEL_ESP32S2_CAM_BOARD and #define CAMERA_MODEL_AI_THINKER |
hello, i'm tring to get image form ESP32-CAM using platformio.
this is my fededback message:
E (2207) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
Camera init failed with error 0x105ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_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:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
and my platformio.ini:
[env:esp32dev]
platform = espressif32
board = esp-wrover-kit
framework = arduino
monitor_speed = 115200
It's necessary set DBOARD_HAS_PSRAM?
The text was updated successfully, but these errors were encountered: