ESP32 camera (OV5640)

Hi,

Bought this camera from aliexpress:

Is it possible to integrate this camera into home assistant through ESP home?
I don’t know what board it is and it oly says OV5640 (which I believe is the camera?).

I red on a form that people has implemented this camera as a web server. I still end up with the same problem with not knowing the name of the board.

Is there anyone that has got this working that could help me out here?

I know about these web sites.
I have tasted all the sample code there, noe of them is working.

I guess i have to set up custom pins?
I dont understand the table below (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

Did anyone get an external antenna on IPEX port working? Do I have to resolder a resistor to do this? I still didn’t found any information on this…

I had to de solder the onboard antennae and attach an external one. Then the frame rate jumped somewhat since there was no network bottleneck.