Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YYH-v2.0 camera capture error #35

Open
orkungedik opened this issue Jun 30, 2022 · 4 comments
Open

YYH-v2.0 camera capture error #35

orkungedik opened this issue Jun 30, 2022 · 4 comments

Comments

@orkungedik
Copy link

Hi,

My system using YYH-v2.0 camera running on ESP32 CAM board. I uploaded sample code, and face with "capture error" when I try to capture even 96x96 JPEG. What may cause the problem?

Board -> ESP32 Wrover Module
Partition Scheme -> Default 4MB with spiffs

Thank you

Orkun Gedik

@yoursunny
Copy link
Owner

The hardware may not support every resolution.
Try a different resolution.

@GambitOZ
Copy link

GambitOZ commented Sep 4, 2022

Hi orkungedik, I have the same camera YYH-v2.0 with a module ESP32 CAM. My code is being filled in, but the signal from the camera is broken. I searched for information on this camera and found nothing. Did you manage to find something about this camera ?
Без имени-1

@yoursunny yoursunny changed the title Capturing problem YYH-v2.0 camera capture error Sep 5, 2022
@orkungedik
Copy link
Author

orkungedik commented Sep 5, 2022

Hi GambitOZ,

Your problem may be fixed by one of the possible two reasons, below;

  1. It never display color by my side. But I was able to display in gray scale. Then I bought a brand new OV2640 camera instead of using YYH-v2.0. If you don't decide to change camera device, change pixel format by PIXFORMAT_GRAYSCALE in your camera_config_t structure. This trick worked on my system.

config.pixel_format = PIXFORMAT_JPEG; to config.pixel_format = PIXFORMAT_GRAYSCALE;

  1. You may face with brownout detector. So you can check messages on your serial output. If it is brownout problem, I suggest you provide dedicated power +5V source to you Camera device

Best regards,

Orkun Gedik

@GambitOZ
Copy link

GambitOZ commented Sep 5, 2022

Thanks for the help, Everything is fine with the power supply, I have a powerful 3.3 volt power supply unit.
With the transition to gray, the picture began to be displayed. And it slows down terribly 5 second. I'll try to experiment with the code, if something interesting turns out, I'll write a solution to the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants