Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i2c compatibility #2

Open
irineu opened this issue Jun 25, 2019 · 1 comment
Open

i2c compatibility #2

irineu opened this issue Jun 25, 2019 · 1 comment

Comments

@irineu
Copy link

irineu commented Jun 25, 2019

When i plug a i2c device (arduino nano) on i2c bus the camera stops with message:

[E][camera.c:1049] camera_probe(): Detected camera not supported.
[E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004

How can i use a arduino project with camera and i2c devices?

@irineu
Copy link
Author

irineu commented Jun 25, 2019

Solved! Maybe the esp_camera use some kind of scan and my arduino device was receiving those scan data.

  1. i've received some strange bytes on my arduino board after camera setup.
  2. So i've added a delay on arduino before start the i2c slave (addr 22), restarted the esp32 device and the camera worked fine.
  3. Finally i removed the delay and changed my slave addr to 99 and everything worked fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant