logo elektroda
logo elektroda
X
logo elektroda

ESP32 Cam - no image, error message capture failed

pier 1386 12
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18792012
    pier
    Level 24  
    Hello.
    I wanted to test the ESP32 cam module, I uploaded a sample program to it and I have no image.
    In the serial monitor still the message: "[E][camera.c:1344] esp_camera_fb_get(): Failed to get the frame on time!
    Camera capture failed"
    I seemingly found a solution but after modifications it spits out that it does not recognise the camera.

    Can it be concluded that the camera is banged or Do you know of a solution?
  • ADVERTISEMENT
  • #2 18792042
    khoam
    Level 42  
    What version of Arduino Core for ESP32 do you have installed? 1.0.4?
  • ADVERTISEMENT
  • #3 18792047
    pier
    Level 24  
    khoam wrote:
    What version of Arduino Core for ESP32 do you have installed? 1.0.4?
    .
    Exactly
  • ADVERTISEMENT
  • #4 18792051
    khoam
    Level 42  
    Then change to 1.0.2 for a while, recompile and load the new programme.
  • #5 18792168
    pier
    Level 24  
    khoam wrote:
    Then change to 1.0.2 for a while, recompile and load the new program.
    .

    I changed it, loaded it and it is not possible to access the stream page. I have tried several times and it does not load.

    Added after 15 [minutes]: .

    The Arduino program has been doing something wrong lately and now it has stopped working. It doesn't start up at all.
  • #6 18792202
    khoam
    Level 42  
    Where did you get this example programme from? Link?
    Did you replace the camera definition with CAMERA_MODEL_AI_THINKER?
  • #7 18792206
    pier
    Level 24  
    khoam wrote:
    Where did you get this example program? Link?
    .
    From the Arduino examples for the ESP32 board.

    The Arduino is not starting up for me.

    Added after 48 [minutes]: .

    Arduino already embraced, fires up. Camera unchanged regardless of the Arduino Core version for ESP32.
    Of course I change the camera definition in the program.
  • #8 18792334
    khoam
    Level 42  
    How do you power this module when the error you described in the first post occurs?
  • ADVERTISEMENT
  • #9 18792342
    pier
    Level 24  
    khoam wrote:
    How do you power this module when the error you described in the first post occurs?
    .
    I supply power from the usb via a 3.3V LM1117 stabiliser. The error always occurs when clicking Start Stream or Get Still.
  • #11 18792374
    pier
    Level 24  
    khoam wrote:
    ESP32-CAM should be powered from 5V. Specifications are attached. Pin "3V3" is the power output.
    .

    It is possible to supply power via the 3.3V pin but just to be sure, I checked with no result.
  • #13 18793009
    pier
    Level 24  
    khoam wrote:
    To be sure, I would still check with another test program (a modification of what is standardly available in the Arduino IDE) - attached.
    Source: https://hackaday.io/project/168563-esp32-cam-example-expanded
    .

    After doing a fartillion times unplugging and plugging the camera into the board and countless combinations with the Arduino I finally have a picture. I don't know if it's mechanically something wrong or if finally Arduino took pity on me and let the hardware work as it should.

Topic summary

The discussion revolves around issues faced with the ESP32-CAM module, specifically the inability to capture images and the error message "[E][camera.c:1344] esp_camera_fb_get(): Failed to get the frame on time! Camera capture failed." Users suggest checking the Arduino Core version, with recommendations to switch to version 1.0.2. The importance of using the correct camera model definition (CAMERA_MODEL_AI_THINKER) is emphasized. Power supply concerns are raised, with suggestions that the module should be powered from 5V instead of 3.3V. After multiple attempts and troubleshooting, one user finally managed to get a picture, indicating potential mechanical issues or software inconsistencies.
Summary generated by the language model.
ADVERTISEMENT