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

Ready to try, config ready, but 1 question #5

Open
sanderlv opened this issue May 8, 2021 · 1 comment
Open

Ready to try, config ready, but 1 question #5

sanderlv opened this issue May 8, 2021 · 1 comment

Comments

@sanderlv
Copy link

sanderlv commented May 8, 2021

Hi, probably a stupid question...

I am on the stop of trying out this cool thing. But where and how do I configure the connection for vl53l1x time of flight sensor? I can not find it in your yaml. May be it is substituted and before I accidentally double the config, better safe than sorry (trouble)

You only have i2c in the yaml...

Is it just a simple as only like this:

i2c:
  sda: 21
  scl: 22
  scan: True

EDIT: please confirm only
i2c:
is enough.

I have compiled like this (only i2c) on ESP32 D1 Mini and that gives me output:

[14:03:58][C][i2c:028]: I2C Bus:
[14:03:58][C][i2c:029]:   SDA Pin: GPIO21
[14:03:58][C][i2c:030]:   SCL Pin: GPIO22
[14:03:58][C][i2c:031]:   Frequency: 50000 Hz
[14:03:58][I][i2c:033]: Scanning i2c bus for active devices...
[14:03:58][I][i2c:040]: Found i2c device at address 0x29

But no readings (like mentioned in the other thread): #2

I also posted my complete debug output there.

I am very much wanting this to work. Please assist.

Thank you!

@sanderlv
Copy link
Author

Is this dead? I would appreciate some help :-)

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