ESP32-CAM with OC2640: recommended values for XCLK

Hwiersema
Posts: 2
Joined: Sun Dec 22, 2024 3:48 pm

ESP32-CAM with OC2640: recommended values for XCLK

Postby Hwiersema » Sun Dec 22, 2024 3:57 pm

I am using the example sketch CameraWebServer.
The first control is about XCLK.
What are recommended values vor XCLK?

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP32-CAM with OC2640: recommended values for XCLK

Postby lbernstone » Mon Dec 23, 2024 6:18 pm

This setting is the xclk frequency, which will control the sampling rates. The default is 20 (MHz). You may get better performance (ie FPS) at 24 MHz. The range for most cameras is 6 - 24. You will definitely get better google results if you use the correct name of the camera (ov2640).

Hwiersema
Posts: 2
Joined: Sun Dec 22, 2024 3:48 pm

Re: ESP32-CAM with OC2640: recommended values for XCLK

Postby Hwiersema » Sun Dec 29, 2024 1:25 pm

Thank you @lbernstone for the recommended range 6-24 MHz.
In my case I get a more fluent video at 10-15 MHz.
So any natural frequency is okay for the camera?

PS OC2640 was a typo in this post.

Who is online

Users browsing this forum: Perplexity-User, PerplexityBot and 2 guests