ESP32 + OV5640 Camera

Raagen
Posts: 2
Joined: Mon Jul 31, 2017 8:59 am

ESP32 + OV5640 Camera

Postby Raagen » Mon Jul 31, 2017 9:11 am

Hi,

I would like to build a wifi camera using esp32 and the OV5640 Camera
http://www.arducam.com/camera-modules/5mp-ov5640/
Since I'm new to this I would like to know if it is possible to stream at 60 FPS with 720p resolution.

riklaunim
Posts: 12
Joined: Wed Jul 19, 2017 1:20 pm

Re: ESP32 + OV5640 Camera

Postby riklaunim » Mon Jul 31, 2017 11:06 am

Don't have any numbers but if the radio throughput would be the limiter then you could change JPEG compression ratio and get that framerate. In general such cameras don't give superb image quality and with lossless JPEG they generate much less data than machine vision cameras with raw formats.

Short answer: you have to test it.

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: ESP32 + OV5640 Camera

Postby ESP_igrr » Mon Jul 31, 2017 11:31 am

The other limiting factor would be the pixel clock. Currently only 20MHz has been achieved, and even at that clock rate there are some occasional glitches in the data. This isn't noticable in raw/rgb/yuv modes but in jpeg mode these glitches introduce noticable artifacts once in every few frames. This happens on WROVER-KIT board. I don't know if that is a signal integrity issue related to board layout or some issue intrinsic to the ESP32. I suspect board layout, but since that is the only board I can experiment with, can't prove that it is the case.
I think that for 720p at 60fps you would need higher pixel clock than 20MHz, but you would need to check camera datasheet for that.

Raagen
Posts: 2
Joined: Mon Jul 31, 2017 8:59 am

Re: ESP32 + OV5640 Camera

Postby Raagen » Mon Jul 31, 2017 4:23 pm

Thank you for your fast response!

I'm planing to buy
this camera:
https://de.aliexpress.com/item/5-mega-P ... 269.oxeC1W
and this board:
https://de.aliexpress.com/item/5pcs-lot ... 262.oxeC1W

can you tell me if that would make any sense? Or do you have any better suggestion for me?

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: ESP32 + OV5640 Camera

Postby ESP_igrr » Tue Aug 01, 2017 10:46 am

My suggestion is to obtain and read OV5640 datasheet first, before ordering.
Attachments
Screen Shot 2017-08-01 at 18.36.14.png
Screen Shot 2017-08-01 at 18.36.14.png (183.16 KiB) Viewed 29707 times
Screen Shot 2017-08-01 at 18.38.06.png
Screen Shot 2017-08-01 at 18.38.06.png (212.53 KiB) Viewed 29707 times

donny681
Posts: 2
Joined: Thu Aug 04, 2016 2:14 am

Re: ESP32 + OV5640 Camera

Postby donny681 » Fri Dec 22, 2017 1:50 am

I have tested to use ov2640 but the image have so many noises.So trying to use ov5640.I want to know if it is possible to stream at 10fps with VGA resolution?

sonictl
Posts: 2
Joined: Fri Dec 18, 2020 2:16 am

Re: ESP32 + OV5640 Camera

Postby sonictl » Fri Dec 18, 2020 2:12 pm

ov2640, ov3640, or ov5640 are similar serial of CMOS camera. However, their core voltage is not the same.

Who is online

Users browsing this forum: ESP_Sprite and 146 guests