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

MPU-9250 not detected #30

Closed
gaultierq opened this issue Sep 15, 2019 · 9 comments
Closed

MPU-9250 not detected #30

gaultierq opened this issue Sep 15, 2019 · 9 comments

Comments

@gaultierq
Copy link

Running python pypilot/boatimu.py with a MPU-9250 plugged gives me No IMU detected, even though sudo i2cdetect -y 1 finds it on 0x68.
Moreover the output of
watch -n.1 python gyro.py
gives me some confidence that the MPU is healthy.

gyro.py

@seandepagnier
Copy link
Member

seandepagnier commented Sep 16, 2019 via email

@gaultierq
Copy link
Author

I tried many, but mainly https://github.com/seandepagnier/RTIMULib2/

@seandepagnier
Copy link
Member

seandepagnier commented Sep 18, 2019 via email

@sailoog
Copy link
Contributor

sailoog commented Sep 18, 2019

If you are in Raspbian you may have already installed rtimulib from another package, try:
sudo apt autoremove sense-hat

@gaultierq
Copy link
Author

gaultierq commented Sep 23, 2019

Apparently sense-hat was not installed.
I installed a fresh openplotter_v1.0.0.img and connected my MPU-9250/6500
trying RTIMULibDrive from /home/pi gave the same No IMU found
The python is working.

@seandepagnier
Copy link
Member

seandepagnier commented Sep 23, 2019 via email

@gaultierq
Copy link
Author

pi@openplotter:~ $ RTIMULibDrive
Settings file not found. Using defaults and creating settings file
No IMU detected
Using fusion algorithm RTQF
No IMU found
pi@openplotter:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

@seandepagnier
Copy link
Member

seandepagnier commented Sep 24, 2019 via email

@gaultierq
Copy link
Author

Logging the result value gives: 0x78 instead of 0x71 or 0x73

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

3 participants