Equipment used: A1-Thinker ESP332 CAM, USB to TTL FT232RL, DesktopPC running Win10 64bit, Arduino IDE (1.8.15)
Hi, Just started the projects book. Set up the IDE as outlined and selected the A1_THINKER camera library.
Connected the programmer to the camera (checked the wiring, checked again!)
Downloaded the example to the IDE from the examples list and made the changes to (a) camera model (b) network credentials.
Saved the altered sketch. Verified and uploaded the the sketch. (all seemed to be going well!) opened the Serial Monitor at the required speed. Error message:
camera.c:1049 camera_probe(): “Detected camera not supported”
camera.c:1249 esp_camera_init(): Camera probe failed with error 0x20004
Stripped it all down, reconfigered the IDE, removed the camera ribbon and cleaned the contacts with iso-propyl-alcohol, reconnected the camera to the programmer and checked all the settings on the IDE. Same outcome!
Is the camera unit at fault or the ESP32 board or something else. Suggestions welcome
Serial monitor output:
19:19:52.674 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
19:19:52.674 -> configsip: 0, SPIWP:0xee
19:19:52.674 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
19:19:52.674 -> mode:DIO, clock div:1
19:19:52.674 -> load:0x3fff0018,len:4
19:19:52.674 -> load:0x3fff001c,len:1216
19:19:52.674 -> ho 0 tail 12 room 4
19:19:52.674 -> load:0x40078000,len:9720
19:19:52.674 -> ho 0 tail 12 room 4
19:19:52.674 -> load:0x40080400,len:6352
19:19:52.674 -> entry 0x400806b8
19:19:54.727 ->
19:19:54.774 -> [E][camera.c:1049] camera_probe(): Detected camera not supported.
19:19:54.774 -> [E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004
If you look on the internets there are a number of people who have had that problem. I had the same problem with the first ESP32-CAM I ever bought. It was exactly the same as this board. I had purchased an FTDI with a USB-A port that went to an adapter to USB-C (On my new 13″ MacBook Pro that only had USB-C ports). Whilst I could upload and run almost any code, camera code would always give that error. I purchased an FTDI board with a micro USB port and a Micro USB to USB-C cable and Viola, All worked perfectly. YMMV but it always seems to be something to do with the USB connection.
Thanks Steve,
checked on internet as you suggested and the consensus seems to point to the usb cable. I’ll get hold of a replacement over the weekend and try again.
Thanks once again
Nev
Hi Neville.
Also, check that you are feeding 5V to the ESP32 on the 5V pin.
You can also check the troubleshooting section on the eBook –> page 59
Check the ESP32 add-on version that you have installed. Go to Tools > Boards > Boards Manager, search for “esp32” and check the version. Ideally, you should have version 1.0.4.
Regards,
Sara