A WIP, no_std, generic driver for the MPU9250 (accelerometer + gyroscope + magnetometer IMU)
Switch branches/tags
Clone or download
Pull request Compare This branch is 2 commits ahead of japaric:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci
examples
src
.gitignore
.travis.yml
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

mpu9250

A WIP, no_std, generic driver for the MPU9250 (accelerometer + gyroscope + magnetometer IMU)

What works

  • Reading the accelerometer, gyroscope and temperature sensor
  • Reading the WHO_AM_I register

TODO

  • Access to magnetometer data
  • Make sure this works with the spidev crate (i.e. with the Raspberry Pi)
  • Configuration. e.g. selecting the accelerometer sensing range.
  • How to make the API compatible with device specific features like DMA?
  • Sensor fusion?
  • ???

Examples

You should find at least one example in the blue-pill repository. If that branch is gone, check the master branch.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.