-
Notifications
You must be signed in to change notification settings - Fork 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
gy91 mpu9255 and new ak8963 #12
Comments
You mean this? Looks quite interesting board. Let me know how it goes. |
Cant seem to get this to work properly .. when I plot all the graphs for calibration the data doesnt look correct. Heres the MPU-9255 register map Sample output and the code follows
|
Getting better data using |
@hortovanyi Did you get this to work? |
seems like a common issue.. https://hackaday.io/project/28491-quick-draw-motion-tracking/log/71828-a-spark-a-doh-a-surprise-and-data-sheets |
working fine for me using
ℹ️ the some seconds running:
|
Any luck with this? I'm getting similar results, but it doesn't seem right (only the temp seems to be correct)
|
Where did you change?I can use this code! |
Using a gy-91 which contains a mpu9255 and a different model AK8963
Changed in AK8963.init
if 0x48 != self.whoami:
to
if self.whoami not in (0x48,0x5F):
in AK8963.magnetic (was getting the same y an z values, appears you can no longer read six bytes at a time but must read 2 bytes for each of hxl, hyl, hzl)
So changed
xyz = list(self._register_three_shorts(_HXL)
to
and in mpu6500.init
if 0x71 != self.whoami
to
if self.whoami not in (0x71,0x73)
Still working away trying to get this working ...
The text was updated successfully, but these errors were encountered: