Skip to content

Camera Init Fail when TimerCAM is initialized with enableRTC = trueΒ #16

@OndrejBakan

Description

@OndrejBakan

Describe the bug

I tried to use the http_post.ino example, but I changed initialization to TimerCAM.begin(true) to enable RTC for deepsleep between camera pictures.

The code won't get past this:

20:16:57.789 -> E (472) i2c: i2c driver install error
20:16:57.789 -> E (473) camera: sccb init err
20:16:57.789 -> E (473) camera: Camera probe failed with error 0xffffffff(ESP_FAIL)
20:16:57.789 -> Camera Init Fail

I also tried to initialize camera in the wakeup.ino example and I got a same error.

To reproduce

Initialize TimerCAM with RTC enabled - TimerCAM.begin(true) and then try to initialize camera with TimerCAM.Camera.begin().

Expected behavior

TimerCAM would succesfully initialize with both, Camera and RTC available.

Screenshots

No response

Environment

  • OS: Windows 10
  • IDE &IDE Version: Arduino 1.8.19
  • Repository Version: 1.0.0

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions