m5stack / UnitCamS3-UserDemo

UnitCamS3 user demo for hardware evaluation.
MIT License
6 stars 5 forks source link

ESPHome #9

Open moimart opened 2 months ago

moimart commented 2 months ago

Hi,

I've tried to make this module work with esphome and by reading the source code, I got the pinout properly I think. My current config is below. Am I missing something to configure?

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino

psram:
  mode: octal
  speed: 80MHz

output:
- platform: ledc
  pin: GPIO14
  id: flash32

esp32_camera:
  external_clock:
    pin: GPIO11
    frequency: 20Mhz
  i2c_pins:
    sda: GPIO17
    scl: GPIO41
  data_pins:
    - GPIO6  # D0
    - GPIO15 # D1
    - GPIO16 # D2
    - GPIO7  # D3
    - GPIO5  # D4
    - GPIO10 # D5
    - GPIO4  # D6
    - GPIO13 # D7
  vsync_pin: GPIO42
  href_pin: GPIO18
  pixel_clock_pin: GPIO12
  resolution: 640x480
  jpeg_quality: 10
  name: camera-eye

esp32_camera_web_server:
  - port: 8080
    mode: stream
  - port: 8081
    mode: snapshot