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

error message "MPU6050 connection failed" #10

Closed
borntoleave opened this issue Jan 11, 2019 · 1 comment
Closed

error message "MPU6050 connection failed" #10

borntoleave opened this issue Jan 11, 2019 · 1 comment

Comments

@borntoleave
Copy link
Collaborator

borntoleave commented Jan 11, 2019

Hi,
I have noticed some strange error message from the MPU6050 codes borrowed from the popular i2cdevlib:
The MPU6050 test code will occasionally show error message "MPU6050 connection failed", but the following codes can read all the sensor data just fine. And it seems to be a rare but reproducible error across several forums.

Basically it's the function mpu.testConnection() always returns false. My current solution is just ignoring the error message since it's not affecting any later use on the sensor data. But does anyone have better insight why it is happening? Thanks!

@RongzhongLi
Copy link
Member

Seems to be the problem of the gy-521.

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