#embedded-hal-driver #accelerometer

lis3dh

An embedded-hal driver for the LIS3DH accelerometer that implements the generic accelerometer trait

8 releases

0.4.4 Nov 6, 2025
0.4.3 Mar 31, 2024
0.4.2 Feb 21, 2022
0.4.1 Aug 15, 2021
0.1.0 Oct 12, 2019

#896 in Hardware support

Download history 433/week @ 2025-08-01 644/week @ 2025-08-08 301/week @ 2025-08-15 282/week @ 2025-08-22 165/week @ 2025-08-29 77/week @ 2025-09-05 190/week @ 2025-09-12 191/week @ 2025-09-19 546/week @ 2025-09-26 124/week @ 2025-10-03 798/week @ 2025-10-10 204/week @ 2025-10-17 337/week @ 2025-10-24 167/week @ 2025-10-31 841/week @ 2025-11-07 1234/week @ 2025-11-14

2,611 downloads per month
Used in 4 crates

Apache-2.0 OR MIT

64KB
1.5K SLoC

lis3dh-rs

Crate Docs MIT licensed

Platform-agnostic Rust driver for the ST LIS3DH 3-axis MEMS "nano" accelerometer.

Resources

Examples

License

Dual licensed under your choice of either of:

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.

Dependencies

~2.5MB
~60K SLoC