-
Notifications
You must be signed in to change notification settings - Fork 1
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 error (Please check if the I2C device insert in I2C of Base Hat) #2
Comments
I'm experiencing the same issue with the same equipment (SI114X and Grove base hat) and this library. Also getting the same output from I2C detection:
@duart38 did you learn anything more about this? It seems the actual I2C address of the sensor is 0x53 but the library expects 0x60. However as you noted, passing 0x53 when initializing does not help. |
@A-Cedeno actually I did. For me, it was because I was using the wrong library for my version of the sensor. I have the v 2.0 sensor which is based on Si1151. Using the Si1145 library gives this error. The file you need is in the Si115X branch of this repo. Let me know if it works: |
@htkelly Yes, the Si115X library worked! Thank you for the advice. |
Describe the bug
I get an error when trying to run the example program which I can't seem to figure out why:
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
I2C detection shows that the OS sees the sensor, see output:
I have also tried to manually enter the address with no luck:
I'm using the grove hat and have since also opened an issue there in the case that the issue lies on their part but the error seems to be from this library since I've attempted to print out the result of reading "self._ReadByte(SI114X_PART_ID)" and it seems to return a value (81).
The text was updated successfully, but these errors were encountered: