Esp32 camera error

Got another one…

The device is the LILYGO TTGO T-Camera

I get this error

[11:58:43][E][camera.c:1113] camera_probe(): Detected camera not supported.
[11:58:43][E][camera.c:1379] esp_camera_init(): Camera probe failed with error 0x20004
[11:58:43][E][esp32_camera:024]: esp_camera_init failed: ERROR
[11:58:43][E][component:112]: Component esp32_camera was marked as failed.

when trying to install this config

  devicename: doorbell
  friendly_name: doorbell

  name: $devicename
  platform: ESP32
  board: esp-wrover-kit

  ssid: !secret wifi_ssid
  password: !secret wifi_password
#  password: MandarinOrangesAreDelicious2
#  manual_ip:
#    static_ip: $ip_address
#    gateway:
#    subnet:

# Enable logging

# Enable Home Assistant API
    key: mykey


  - platform: gpio
    pin: GPIO33
    name: $friendly_name PIR
    device_class: motion

  - platform: gpio
      number: GPIO34
#      mode: INPUT_PULLUP
      inverted: False
    name: $friendly_name Button

  - platform: status
    name: $friendly_name Status

  - platform: wifi_signal
    name: $friendly_name WiFi Signal
    update_interval: 10s
  - platform: uptime
    name: $friendly_name Uptime

  name: $friendly_name Camera
    pin: GPIO32
    frequency: 20MHz
    sda: GPIO13
    scl: GPIO12
  data_pins: [GPIO5, GPIO14, GPIO4, GPIO15, GPIO18, GPIO23, GPIO36, GPIO39]
  vsync_pin: GPIO27
  href_pin: GPIO25
  pixel_clock_pin: GPIO19
  power_down_pin: GPIO26
  resolution: 640x480
  jpeg_quality: 10
  vertical_flip: false
  horizontal_mirror: false

  sda: GPIO21
  scl: GPIO22

  - file: "fonts/times-new-roman.ttf"
    id: tnr1
    size: 20
  - file: "fonts/times-new-roman.ttf"
    id: tnr2
    size: 35

  - platform: homeassistant
    id: homeassistant_time

  - platform: ssd1306_i2c
    model: "SSD1306 128x64"
    address: 0x3C
    lambda: |-
      it.strftime(64, 0, id(tnr1), TextAlign::TOP_CENTER,"%d-%m-%Y", id(homeassistant_time).now());
      it.strftime(64, 64, id(tnr2), TextAlign::BASELINE_CENTER, "%H:%M", id(homeassistant_time).now());

mode: INPUT_PULLUP is commented out because that would throw an error saying pullups aren’t supported on GPIO34.

  • Are you using the camera you got together with the module? :camera:
  • If you get rid of the i2c+display code will the error stay the same? :tv:
  • Can you try to carefully(!) disconnect the camera module itself (take care the connector brakes easily) and clean it with something like isopropyl alcohol? Sometimes even disconnect and connecting the camera module again make it work magically :mage:

By the looks of it 3 different TTGO T-Cameras are in the list of examples on the esphome site - you are also certain that you picked the right one?

  1. yes
  2. no. For some reason that restored the image. However, rather than the display simply being turned off, it just displays the last time it had before removing that section.
  3. This doesn’t seem to change anything. But since the image works now, It might be safe to assume it’s not a dirty connection.


Good, looks like the problem is in combination with the i2s/display component then.

The last content of the image is probably just buffered and will survive a soft restart, when unplugging power completely, what some seconds and ad power again the display should be empty.

Mostly following this tutorial. Board looks the same. So I guess the answer is “no”, I’m not sure I have the right one.

Any indication on the board, package, bill, listing?

Versions are

  • V05
  • V162
  • V17

I think it’s V17.

On the back is printed “OV2640_v1.7”

1 Like