igrr / esp32-cam-demo

Demo for working with a camera on ESP32
Apache License 2.0
617 stars 243 forks source link

Cannot capture images using ov7725 in esp32 #51

Open igrr opened 6 years ago

igrr commented 6 years ago

From @James-sjec on November 7, 2017 14:43

example code loaded : https://github.com/igrr/esp32-cam-demo

Following error occured when started : apc - 2017 11 07 20 05 - 001 3d

Copied from original issue: espressif/esp-idf#1240

igrr commented 6 years ago

Are you seeing this issue in the original code, or have you modified anything?

Also please attach your sdkconfig file.

James-sjec commented 6 years ago

"GPIO_PIN mask error" was solved , because I made changes in the pins of "ESP32 Camera Demo Configuration".

Still I am not able to capture the images. I typed 192.168.43.150/pgm in browser url , I got pgm file and add .pgm extension and opened it , I got the following image apc - 2017 11 08 00 51 - 001 3d

I opened the image using Inkspace software Is there any photo viewer to view those images or Is the camera not capturing the images

I also tried 192.168.43.150/stream I do not see anything on the browser expect a black screen apc - 2017 11 08 00 59 - 001 3d

Following is the sdkconfig file

sdkconfig.txt

igrr commented 6 years ago

Indeed that looks seriously broken! Are you using the camera header on WROVER-KIT or are you wiring the camera to another development board? Have you tried enabling the test pattern on the camera? You can do that using an option in menuconfig. It might be easier to figure out what is going on here with the test pattern enabled.

James-sjec commented 6 years ago

I am using WROOM-32 , below is the picture of the development board img_20171109_001809 1

I enabled test pattern ,after which I got the following error apc - 2017 11 09 00 10 - 001 3d apc - 2017 11 09 00 10 - 002 3d

I am using following pin map apc - 2017 11 09 00 32 - 003 3d

AlanParsonsSHP commented 5 years ago

Hi James,

I'm trying to use the ov7725 as well, but I get some errors at compilation time. Do you wish to share your code? in order to compare. Any help would be appreciated. Many thanks in advance.

Alan