espressif / esp-who

Face detection and recognition framework
Other
1.64k stars 458 forks source link

No JPEG display on web page with different pinout #160

Open ecallens opened 3 years ago

ecallens commented 3 years ago

Hello,

I have a strange behaviour with the camera_web_server demo. I am using the OV2640 camera and a ESP_WROVER_KIT_v4.1 with the esp-idf v4.0.

First I set up the camera using the recommended pins in menuconfig. The demo works well and I can see the JPEG on my monitor. Then I set up a different pinout configuration using the "custom pins" option in menuconfig :

_CONFIG_CAMERA_MODEL_CUSTOM=y CONFIG_CAMERA_PIN_PWDN=-1 CONFIG_CAMERA_PIN_RESET=-1 CONFIG_CAMERA_PIN_XCLK=12 CONFIG_CAMERA_PIN_SIOD=21 CONFIG_CAMERA_PIN_SIOC=22 CONFIG_CAMERA_PIN_VSYNC=27 CONFIG_CAMERA_PIN_HREF=13 CONFIG_CAMERA_PIN_PCLK=14 CONFIG_CAMERA_PIN_Y2=26 CONFIG_CAMERA_PIN_Y3=25 CONFIG_CAMERA_PIN_Y4=33 CONFIG_CAMERA_PIN_Y5=32 CONFIG_CAMERA_PIN_Y6=35 CONFIG_CAMERA_PIN_Y7=34 CONFIG_CAMERA_PIN_Y8=39 CONFIG_CAMERA_PINY9=36

I made sure to make all the IO pins available by desoldering and resoldering 2 resistors to be able to use the 32 and 33 IO pins on the Wrover kit (they are initially used for a RTC crystal ).

However, the demo runs as normal (no different log output from the first test but no JPEG is displayed, only this icon :

image

The log output seems to indicate a correct JPEG being rendered. For example, for a still capture :

I (19261) camera_httpd: JPG: 22400B 314ms

I can't seem to find what the problem could be.