Arducam IoTai ESP32 UNO PSRAM image quality question

Hi,
I purchased a while ago two of these boards ESP32 UNO PSRAM from Arducam. I finally got some time to work with them, I found the cam pinout from this forum post and wrote this yaml file:

esphome:
  name: esp32_acam_01

esp32:
  board: esp32dev
  framework:
    type: arduino

logger:

api:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  fast_connect : true
  reboot_timeout: 120s
  power_save_mode: none

  ap:
    ssid: "ESP32_ACam_01"

web_server:
  port: 80

captive_portal:

ota:

esp32_camera:
  name: Garage Door
  external_clock:
    pin: GPIO0
    frequency: 20MHz
  i2c_pins:
    sda: GPIO26
    scl: GPIO27
  data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
  vsync_pin: GPIO25
  href_pin: GPIO23
  pixel_clock_pin: GPIO22
  power_down_pin: GPIO32

# Image settings
  max_framerate: 0.5 fps
  resolution: 640x480
  jpeg_quality: 10
  contrast: 0
  saturation: 0
  brightness: 2
  aec2: True
  

It works and I can get images but the quality is really bad. I get it is 2MP so I should not expect 8K quality, but it is really bad. I played with some of the values, but nothing made the image any better.

Has anyone used any of these or anything with the OV2640? If so, is there a way to improve the image quality?

640x480 is not 2MP. It is 307,200 pixels.

I had it at 1600x1200 at first, but it just made the bad picture bigger. I want to have this picture in my garage looking at the door to show if the two cars are there and if the garage door is fully closed. I just bumped the resolution back to 2MP (1600x1200) and moved it to where I want it at the end. It is a lot brighter than what it looks in the picture.


Even outdoors it doesn’t look any better.