An open API service indexing awesome lists of open source software.

https://github.com/jessebraham/icm42670

An embedded-hal driver for the ICM-42670 6-axis IMU
https://github.com/jessebraham/icm42670

embedded-hal embedded-hal-driver imu imu-sensor no-std rust

Last synced: 2 months ago
JSON representation

An embedded-hal driver for the ICM-42670 6-axis IMU

Awesome Lists containing this project

README

          

# icm42670

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/jessebraham/icm42670/ci.yaml?label=CI&logo=github&style=flat-square)
[![Crates.io](https://img.shields.io/crates/v/icm42670?color=C96329&logo=Rust&style=flat-square)](https://crates.io/crates/icm42670)
[![docs.rs](https://img.shields.io/docsrs/icm42670?color=C96329&logo=rust&style=flat-square)](https://docs.rs/icm42670)
![MSRV](https://img.shields.io/badge/MSRV-1.60-blue?style=flat-square)
![Crates.io](https://img.shields.io/crates/l/icm42670?style=flat-square)

An `embedded-hal` driver for the ICM-42670 6-axis IMU.

While this device supports communication via I²C, SPI, and I3C, presently only I²C is supported. In its current state we are able to read the accelerometer, gyroscope, and temperature sensor data and perform basic configuration of the device. Reading packets from the FIFO is not currently supported.

If there is a feature which has not yet been implemented and which you are interested in, please feel free to open an issue and/or a pull request!

## Examples

Examples demonstrating how to use this driver can be found in the [icm42670-examples] repository.

[icm42670-examples]: https://github.com/jessebraham/icm42670-examples

## Resources

- [ICM-42670 Product Page](https://invensense.tdk.com/products/motion-tracking/6-axis/icm-42670-P/)
- [ICM-42670 Datasheet](https://3cfeqx1hf82y3xcoull08ihx-wpengine.netdna-ssl.com/wp-content/uploads/2021/07/DS-000451-ICM-42670-P-v1.0.pdf)

## License

Licensed under either of:

- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

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.