Comments on: Change ESP32-CAM OV2640 Camera Settings: Brightness, Resolution, Quality, Contrast, and More https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 21 Oct 2025 22:33:33 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Dave https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-1112497 Tue, 21 Oct 2025 22:33:33 +0000 https://randomnerdtutorials.com/?p=94745#comment-1112497 Support at esp camera told me how to read those values:

“The ninth bit of the reg address you give to get_reg is the bank, so if you get_reg(0x12F, 0xFF), that will switch the bank and get the reg you want.”

2F is the register you just put a 1 in front of that to get Bank 1 (table 13)

static int a = s->get_reg(s, 0x12F, 0xFF);
Serial.print(“YAVG = “);
Serial.println(a);

]]>
By: Dave https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-1109227 Mon, 13 Oct 2025 19:01:48 +0000 https://randomnerdtutorials.com/?p=94745#comment-1109227 Settings is the wrong term, I mean the sensor values.

]]>
By: Dave https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-1108987 Mon, 13 Oct 2025 03:22:21 +0000 https://randomnerdtutorials.com/?p=94745#comment-1108987 I would like to get the sensor settings so that I can save them after taking
3 pictures. Go to lightsleep for a few minutes, wakeup and recall those
settings. Then try to only take one snapshot, hopefully without the green
tint.

I tried following through:
github.com/espressif/esp32-camera/blob/master/sensors/ov2640.c
but got lost.

Has anyone managed to get the camera sensor settings?

]]>
By: Marco Duarte https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-1069041 Mon, 14 Jul 2025 21:54:01 +0000 https://randomnerdtutorials.com/?p=94745#comment-1069041 Hola eh estado probando mi esp32-cam para un proyecto de la universidad pero tengo dificultades con la fluidez de la camara y la compatibilidad del formato ya que al momento de subir algunos ejemplos para probar me marca un error al iniciar me dice que JPEG no es compatible con el sensor y solo me ah funcionado con RGB565 que puedo hacer para mejorar la fluidez de la camara

]]>
By: sZOOn https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-1050003 Mon, 26 May 2025 08:47:10 +0000 https://randomnerdtutorials.com/?p=94745#comment-1050003 In reply to Saku.

Thanks for the idea! I’m trying to register movement using an ESP32 CAM (OV2640). I compare the sizes of cyclic gray small files, if the threshold is exceeded, I take a large color file. In this case, reinitialization is required by esp_deep_sleep_start();

]]>
By: Helmut Schoenborn https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-1001501 Tue, 21 Jan 2025 06:16:50 +0000 https://randomnerdtutorials.com/?p=94745#comment-1001501 Hello, using the default CameraWebServer it is possible with wget or curl by adding to the ip just XXX.XXX.XXX.XXX/capture to receive only the picture. But changing the size of the pic via http://XXX.XXX.XXX.XXX/control?var=framesize&val=X fails. I know the setting by programming the ESP32 , but would like to change resolution “on the fly”. Any clues?

]]>
By: muc https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-991819 Sun, 15 Dec 2024 17:21:49 +0000 https://randomnerdtutorials.com/?p=94745#comment-991819 Hi,
thank you for your projects, it’s a excellent source of information,
only here I found the desired “s->set_gainceiling(s, (gainceiling_t)3);” statement.

I use the program “File > examples > ESP32 > camera > CameraWebServer”
There is a slider “LED Intensity” (0-255), but there is no effect, led remains off.
Is there a way to activate it?
Thanks and have a nice XmasTime.

]]>
By: Training Sistem https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-987515 Fri, 29 Nov 2024 10:38:03 +0000 https://randomnerdtutorials.com/?p=94745#comment-987515 In reply to GG.

need higher processor and ram than esp32

]]>
By: welcome_to_south_Korea https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-946719 Fri, 09 Aug 2024 07:36:46 +0000 https://randomnerdtutorials.com/?p=94745#comment-946719 for those who are want to manipulate exposure value.

set 1 == auto exposure
set 0 == manual exposure with set_aec_value

※ If you want to adjust exposure manually then must set_exposure_ctrl set value 0.

I use this for get a low and high exposure image to get HDR image by opencv.

]]>
By: Herbert https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/#comment-884098 Mon, 15 Jan 2024 08:33:44 +0000 https://randomnerdtutorials.com/?p=94745#comment-884098 Hi,
i use the example Skatch from “OV2640 CAM Settings” and noticed a strange behavier:
The Sketch works only at low light conditions, if the light is good, now pictures are taken.

I’m playing several days now with the CAM settings, but allways get the same result, – if it is sunny weather (better say: if the light is above a certain level) i get no pics.
I’m sure that it is not a hardware problem because, i tested with 2 boards and 3 Cams, and, with all combinations, i get a stream or pic if i use the CameraWebserver example. Also i get pictures if i hold my hand (or something else) in front of the leans…

For any hints where to look at or what i’m missing i would be happy, because i’m out ideas where to look at.

Thank you
Herbert

]]>