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 scan problem using micropython #9

Open
rudydevolder opened this issue Apr 15, 2019 · 1 comment
Open

I2c scan problem using micropython #9

rudydevolder opened this issue Apr 15, 2019 · 1 comment

Comments

@rudydevolder
Copy link

I am still figuring out what is happening.
I got the encoder working on Arduino Uno 5v, and also on A CYPRESS PSOC processor where I am planning to use it. But trying a simple I2c.scan I can't discover the device on a micropython pyboard 3v.
The strangest is though I put 2 I2c devices in series. The encoder and a pressure sensor. With exactly the same configuration and termination I tried on all 3 processors and having a different outcome. Scanning on micropython reveals only the pressure sensor on the bus, and on the PSoC I can discover only the encoder. When I connect only the encoder with termination I also can't discover on micropython. No idea what is going on here, anybody?

@Fattoresaimon
Copy link
Owner

Hello,
This type of i2c scanning program doesn't work well with the I2C Encoder V2.
It is written in the datasheet, chapter Issue.
Try to communicate directly instead!

Simone

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

2 participants