ESP32-WROVER-E s osadeným headerom pre kameru.
Ale mam tu problém a nie len pri tejto doske ale aj pri klasickej esp32cam. Stále hlasi chybu kamery:
Kód: Vybrat vše
[20:25:04][E][sccb.c:115] SCCB_Write(): SCCB_Write Failed addr:0x30, reg:0x3e, data:0x00, ret:263
[20:25:04][E][sccb.c:115] SCCB_Write(): SCCB_Write Failed addr:0x30, reg:0xff, data:0x00, ret:263
[20:25:04][E][sccb.c:115] SCCB_Write(): SCCB_Write Failed addr:0x30, reg:0x05, data:0x01, ret:263
[20:25:04][E][camera.c:1344] camera_init(): Failed to set frame size
[20:25:04][E][camera.c:1406] esp_camera_init(): Camera init failed with error 0x20002
[20:25:04][E][esp32_camera:024]: esp_camera_init failed: ERROR
[20:25:04][E][component:113]: Component esp32_camera was marked as failed.
[20:25:08][C][logger:295]: Log Baud Rate: 115200
[20:25:08][C][logger:296]: Hardware UART: UART0
[20:25:08][C][esp32_camera:048]: ESP32 Camera:
[20:25:08][C][esp32_camera:049]: Name: My Camera
[20:25:08][C][esp32_camera:050]: Internal: NO
[20:25:08][C][esp32_camera:052]: Data Pins: D0:4 D1:5 D2:18 D3:19 D4:36 D5:39 D6:34 D7:35
[20:25:08][C][esp32_camera:053]: VSYNC Pin: 25
[20:25:08][C][esp32_camera:054]: HREF Pin: 23
[20:25:08][C][esp32_camera:055]: Pixel Clock Pin: 22
[20:25:08][C][esp32_camera:056]: External Clock: Pin:21 Frequency:10000000
[20:25:08][C][esp32_camera:057]: I2C Pins: SDA:26 SCL:27
[20:25:08][C][esp32_camera:058]: Reset Pin: -1
[20:25:08][C][esp32_camera:076]: Resolution: 640x480 (VGA)
[20:25:08][E][esp32_camera:095]: Setup Failed: ERROR
[20:25:08][C][psram:020]: PSRAM:
[20:25:08][C][psram:021]: Available: YES
Kód: Vybrat vše
#-------------------------------------------
# SUBTITUTIONS
# basic definitions and description of the device
#-------------------------------------------
substitutions:
device_name: dev_board8266
friendly_name: dev_board8266
created_by: StudioTiiM 2022
device_description: "development board esp8266"
#-------------------------------------------
# Define pins
#-------------------------------------------
#-------------------------------------------
# ESP MAIN SETTINGS
#-------------------------------------------
esphome:
name: dev-board32
esp32:
board: esp-wrover-kit
# framework:
# type: arduino
logger:
api:
ota:
password: !secret ota_pass
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "$friendly_name Hotspot"
password: !secret api_pass
captive_portal:
sensor:
binary_sensor:
# Example configuration entry
esp32_camera:
external_clock:
pin: GPIO21
frequency: 10MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins: [GPIO4, GPIO5, GPIO18, GPIO19, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
resolution: VGA
jpeg_quality: 15
idle_framerate: 0.01fps
name: My Camera
Rozmyslam co uz robim zle lebo z dosiek s osadenými kamerami mi tak funguje jedna z troch.
Problém so zle napájkovanými regulátromy pre kameru je potrebné ich vymeniť viď príspevok : https://community.home-assistant.io/t/e ... ?u=tiimsvk