S3 Sense OV3660 Infrared cut filter not working/missing? Hot pink highlights

Hi folks - I’ve recently purchased 2x S3 Sense units with the OV3660 camera. Works great so far, but I’m noticing that bright scenes/daylight highlights are blown out hot pink. Researching online tells me that typically these cameras have IR cut filters that are intended to prevent this, but I’ve tried both of my units and both of them have bright pink sun highlights. Given that both units show this problem, I’m guessing it’s not a defect or that I broke/overheated/etc the camera. In indoor conditions (or not in sunlight) the color balance looks totally fine.

Does the OV3660 lack an IR cut filter, or does it need to be enabled in some way? Or, is there something else wrong? I’m using the Espressif esp32-camera component with a pretty typical config.

My config is this. Pretty standard other than the low res VGA and 10MHz clock (vs typical being 20mhz I think?)

static camera_config_t camera_config = {

    .pin_pwdn = CAM_PIN_PWDN,
    .pin_reset = CAM_PIN_RESET,
    .pin_xclk = CAM_PIN_XCLK,
    .pin_sccb_sda = CAM_PIN_SIOD,
    .pin_sccb_scl = CAM_PIN_SIOC,
    .pin_d7 = CAM_PIN_D7,
    .pin_d6 = CAM_PIN_D6,
    .pin_d5 = CAM_PIN_D5,
    .pin_d4 = CAM_PIN_D4,
    .pin_d3 = CAM_PIN_D3,
    .pin_d2 = CAM_PIN_D2,
    .pin_d1 = CAM_PIN_D1,
    .pin_d0 = CAM_PIN_D0,
    .pin_vsync = CAM_PIN_VSYNC,
    .pin_href = CAM_PIN_HREF,
    .pin_pclk = CAM_PIN_PCLK,

    .xclk_freq_hz = 10000000,
    .ledc_timer = LEDC_TIMER_0,
    .ledc_channel = LEDC_CHANNEL_0,

    .pixel_format = PIXFORMAT_JPEG,
    .frame_size = FRAMESIZE_VGA,

    .jpeg_quality = 12,
    .fb_count = 1,
    .fb_location = CAMERA_FB_IN_PSRAM,
    .grab_mode = CAMERA_GRAB_WHEN_EMPTY

};

It appears it was the 10Mhz clock. Upping to 20Mhz fixes it. Keeping this here for posterity sake :slight_smile:

2 Likes