Parallax Propeller V2 Interface object for MPU 9DOF Click module
We might use this module in our P2 P2 Cube project to determine cube orientation.
The goals of this project are:
- Establish working commmunication with the MPU 9DOF module
- Configure the module for Cube use
- Calibrate the module to get best results
- Implement logic to convert 3-axis Accel, Gyro and Mag values into Roll, Pitch and Yaw
What's completed and what's not:
24 Apr 2022 14:00
- Add demo showing sensor values on HDMI display
- Fix temperature access method
02 Jun 2021 17:35
- Add detection of MPU9150, MPU9250, and MPU9255
- Alter die temp algorithm to be correct by chip model
- Alter mag scaling to be correct by chip model
- Calibration appears to work but still testing
Known Issue
- Get Accel/Gyro conversion from raw still not correct
27 May 2021 14:02
- I/O is working better and sign propagation of reading has been corrected.
25 May 2021
- I/O working (single bytes/words and Mag access)
- chip configuration seems to be working (May want to be tuned for our use)
- Review technical docs to ensure that we are asking for values correctly
- Add filters to rseduce mesurements being all-over-the-place
- Convert floating math for row/pitch/yaw calcs into spin2
This is a project supporting our P2 Development Community. Please feel free to contribute to this project. You can contribute in the following ways:
- File Feature Requests or Issues (describing things you are seeing while using our code) at the Project Issue Tracking Page
- Fork this repo and then add your code to it. Finally, create a Pull Request to contribute your code back to this repository for inclusion with the projects code. See CONTRIBUTING
If you like my work and/or this has helped you in some way then feel free to help me out for a couple of ☕'s or 🍕 slices!
Copyright © 2021 Iron Sheep Productions, LLC. All rights reserved.
Licensed under the MIT License.
Follow these links for more information: