ESP32 camera (OV5640)

This board is working fine in esphome & home assistant.

With esp32_camera component:

esp32_camera:
  name: camera
  external_clock:
    pin: GPIO15
    frequency: 20MHz
  i2c_pins:
    sda: GPIO22
    scl: GPIO23
  data_pins: [GPIO2, GPIO14, GPIO35, GPIO12, GPIO27, GPIO33, GPIO34 , GPIO39]
  vsync_pin: GPIO18
  href_pin: GPIO36
  pixel_clock_pin: GPIO26
  reset_pin: GPIO5
  resolution: 800x600

or with Arduino example CameraWebserver (in camera_pins.h):

#elif defined(CAMERA_MODEL_ESP_OV5640)

#define RESET_GPIO_NUM     5
#define XCLK_GPIO_NUM     15
#define SIOD_GPIO_NUM     22
#define SIOC_GPIO_NUM     23

#define Y9_GPIO_NUM       39
#define Y8_GPIO_NUM       34
#define Y7_GPIO_NUM       33
#define Y6_GPIO_NUM       27
#define Y5_GPIO_NUM       12
#define Y4_GPIO_NUM       35
#define Y3_GPIO_NUM       14
#define Y2_GPIO_NUM        2

#define VSYNC_GPIO_NUM    18
#define HREF_GPIO_NUM     36
#define PCLK_GPIO_NUM     26

#define LED_GPIO_NUM      25
1 Like