-
Notifications
You must be signed in to change notification settings - Fork 15
Default I2C Address changed? #46
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
Comments
Yes, all the sensors I've gotten use https://www.adafruit.com/product/4022
So to use this library with any of the recent chips you need to include I'm not sure what the default should be, but there probably should at least be something in the README about using a different address as the usage example won't work on any newer chips. |
Agree, probably would help to update some of the info to provide better awareness of this change. Maybe even update the example program. Shouldn't require any code changes to the library itself since it's just a matter of passing in the alt address. But currently, this is only documented as a footnote on the product page. (thanks for pointing that out @brian-eng) |
@FoamyGuy please update the examples |
@ladyada
The default I2C address used by this library is
0x0C
Adafruit_CircuitPython_MLX90393/adafruit_mlx90393.py
Line 212 in 7762818
The new MLX9093 that I received recently has the address
0x18
. I was able to successfully test the example code in the repo and changes for PRs by usingaddress=0x18,
in the initialization. A0 and A1 jumpers are in default out of box state.In the datasheet here: https://cdn-learn.adafruit.com/assets/assets/000/069/600/original/MLX90393-Datasheet-Melexis.pdf?1547824268 It contains a table that shows a range of possible addresses which does include one variation that would have address
0x18
if I understand correctly.The text was updated successfully, but these errors were encountered: