logo elektroda
logo elektroda
X
logo elektroda

How do I check the operability of the ESP32 cam? No blinking diode when power is applied

sediv 1512 14
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19495150
    sediv
    Level 10  
    I purchased an esp32 cam on Aliexpress .I wanted to upload the software via arduino but there is a problem communicating with the esp32.I have a question how can I check if my esp is working. Shouldn't the diode blink when connecting power to the esp because it just doesn't blink at my place?
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 19495254
    khoam
    Level 42  
    sediv wrote:
    I wanted to upload software via the arduino but there is a problem communicating with esp32.
    .
    What specifically is the problem? What messages are appearing? Does the ESP32-CAM come with an additional board for uploading programs? What are the settings in the Arduino IDE for this board?
  • ADVERTISEMENT
  • #3 19495294
    sediv
    Level 10  
    I am trying to do the same as in this guide


    .
    But it pops up that an error occurred while loading the sketch. The message "A fatal error occurred : Failed to connect to ESP32 : Timed out waiting for packet header.". I bought the ESP along with an additional board.
  • #4 19495501
    khoam
    Level 42  
    Maybe someone will fancy watching this 10-minute session of jutub celebrity, but certainly not me. I suggest we focus on the specifics.

    sediv wrote:
    ESP I bought along with an additional tile.

    What is the additional tile? Can you give a link to its description? It is probably some model of USB/UART converter.
    However, an error like "Failed to connect to ESP32 : Timed out waiting for packet header." in 90% of cases indicates connectivity problems.

    Just before trying to load the program, is the BOOT/FLASH button pressed?
  • #5 19495592
    sediv
    Level 10  
    I have purchased such a set https://pl.aliexpress.com/item/1005002830253996.html?spm=a2g0o.productlist.0.0.5bed3503Zbd6FD&algo_pvid=ecf02b98-a050-40d2-9a01-7b5d2722b1d0&algo_exp_id=ecf02b98-a050-40d2-9a01-7b5d2722b1d0-2 .I am trying to upload the software via the cp2102 converter.The converter works well because today I changed the software in the sonoff and there was no problem.
  • #6 19495609
    khoam
    Level 42  
    sediv wrote:
    I am trying to upload the software via the cp2102 converter.The converter works fine because today I changed the software in the sonoff and there was no problem.
    .
    There is a converter in this set too. Has it been unplugged before using the external converter?
  • #7 19495613
    sediv
    Level 10  
    Yes, of course.
  • ADVERTISEMENT
  • #8 19495615
    khoam
    Level 42  
    So how is the ESP32-CAM (top) board itself then powered?
  • #9 19495624
    sediv
    Level 10  
    This is how it is powered from the converter.
  • ADVERTISEMENT
  • #10 19495690
    khoam
    Level 42  
    If you want to program the ESP32-CAM from an external CP2102 converter, you should remove the board from the converter that is included in the kit. The wiring diagram of the ESP32-CAM with the CP2102 converter should be as shown in the image below.
    Unfortunately, I do not understand why the converter that is already included in the kit was not used for this purpose.

    How do I check the operability of the ESP32 cam? No blinking diode when power is applied .
  • #11 19495755
    sediv
    Level 10  
    I connected as above in the picture and there is the same error. I did not use the included converter because I used the instructions from youtube. Secondly my computer does not see this converter I think drivers are needed. I repeat the question, shouldn't the LED in the ESP32 at least blink when plugged in ?
  • #12 19495781
    khoam
    Level 42  
    sediv wrote:
    I repeat my question, shouldn't the LED on the ESP32 at least blink when plugged in ?
    .
    The LED on the ESP32-CAM board is connected to GPIO 33 of the ESP32 chip. It is therefore not a voltage indicator. Whether it "flashes" depends on what has been uploaded to the ESP32 chip.

    sediv wrote:
    Secondly my computer does not see this converter I think drivers are needed.
    .
    There is a CH340 chip in the included converter for the ESP32-CAM and drivers are needed for it. Link (CH340 manufacturer's website)
  • #13 19495959
    sediv
    Level 10  
    One thing cleared up the comp did not see this converter because I had the wrong usb cable. Now it goes to flash this esp a but after uploading it pops up bushes and underneath them that the detected camera is not supported and the camera probe failed with error 0x20004.I searched on the internet some help by switching the power supply from 3.3 to 5v others helped by adding // before #define CAMERA_MODEL_WROVER_KIT when I did that it was even worse .Also I have no idea where the error is.
  • #14 19497082
    khoam
    Level 42  
    I suggest you read the information on this page: Link .
  • #15 19497563
    sediv
    Level 10  
    Been combining all day and nothing. I uninstalled the Arduino then uploaded again and the problem was installing the esp32 board error
    java.lang.nullpointerexception. I installed the latest version I did as in the description from this link and a compilation error pops up for the dev module board . It pops up : Unused, shows path to libraries/wifi exit status 1.

Topic summary

The discussion revolves around troubleshooting an ESP32-CAM purchased from Aliexpress, specifically addressing issues with uploading software via Arduino and the absence of LED blinking upon power application. The user encountered a "Failed to connect to ESP32: Timed out waiting for packet header" error, indicating potential connectivity problems. Suggestions included ensuring the correct wiring with a CP2102 USB/UART converter and pressing the BOOT/FLASH button before uploading. The LED behavior was clarified, noting it is connected to GPIO 33 and does not indicate power status. The user later resolved a driver issue with the converter but faced new errors related to camera support and compilation issues in the Arduino IDE.
Summary generated by the language model.
ADVERTISEMENT