#imu #accelerometer #gyro #aerospace

no-std icm42670

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

3 unstable releases

new 0.2.0 Apr 5, 2024
0.1.1 Sep 14, 2022
0.1.0 Apr 8, 2022

#285 in Hardware support

Download history 22/week @ 2023-12-18 19/week @ 2023-12-25 14/week @ 2024-01-01 18/week @ 2024-01-08 23/week @ 2024-01-15 16/week @ 2024-01-22 17/week @ 2024-01-29 23/week @ 2024-02-05 25/week @ 2024-02-12 37/week @ 2024-02-19 68/week @ 2024-02-26 57/week @ 2024-03-04 64/week @ 2024-03-11 55/week @ 2024-03-18 59/week @ 2024-03-25 209/week @ 2024-04-01

395 downloads per month
Used in losant-mqtt-esp-idf


942 lines


GitHub Workflow Status Crates.io docs.rs MSRV Crates.io

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 demonstrating how to use this driver can be found in the icm42670-examples repository.



Licensed under either of:

at your option.


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.


~13K SLoC