ESP32 with OV2640 Camera

Dzandaa
Posts: 2
Joined: Tue May 28, 2019 11:00 am

ESP32 with OV2640 Camera

Postby Dzandaa » Tue May 28, 2019 5:25 pm

I have a TTGO T-Camera ESP32 WROVER with PSRAM and Camera Module OV2640

I use Arduino IDE with ESP32 Core Installation version: 1.02
The Camera Brightness, Contrast, Saturation, slider on the "CameraWebServer" doesn't not react correctly, also in a program, the last action deletes other actions, for example changing the saturation after the brightness reset the brightness
  1. //  Value and Type are int
  2.   sensor_t * s = esp_camera_sensor_get();    
  3.     switch(Type)
  4.     {
  5.       case CBrightness:
  6.         s->set_brightness(s, Value);  
  7.       break;  
  8.       case CSaturation:
  9.         s->set_saturation(s, Value);  
  10.       break;
  11.       case CContrast:
  12.         s->set_contrast(s, Value);  
  13.       break;      
  14.     }  
  15.  
I checked the camera code in comparison with the Datasheet of the OV2640 and at first sight, it seems correct.

Any idea?

Thank you.

Who is online

Users browsing this forum: Google [Bot] and 10 guests