UncleRus / esp-idf-lib

Component library for ESP32-xx and ESP8266
https://esp-idf-lib.readthedocs.io/en/latest/
1.33k stars 412 forks source link

Driver for LIS2HH12 3-axis accelerometer #644

Open ferdinandkeil opened 1 week ago

ferdinandkeil commented 1 week ago

Device name

ST LIS2HH12

Device description

This is a ultra-low-power 3-axis accelerometer IC. It's full scale is selectable between +-2g, +-4g and +-8 g and the output rate can be between 10 Hz to 800 Hz. Its integrated FIFO makes it possible to acquire samples without CPU intervention. It can be controlled over I2C or SPI.

Device product page URL

https://www.st.com/en/mems-and-sensors/lis2hh12.html

Datasheet URL

https://www.st.com/resource/en/datasheet/lis2hh12.pdf

Can the device be purchased at any of the followings?

URLs to purchase the device

https://www.digikey.com/en/products/detail/stmicroelectronics/LIS2HH12TR/5043058 https://eu.mouser.com/ProductDetail/STMicroelectronics/LIS2HH12TR?qs=%2FyPOVIzmEE34aMMKbW6Cmg%3D%3D

Other implementations

I have started work on an implementation in my own fork. It is heavily based on ST's reference implementation and their examples. The code is BSD licensed. I have already implemented the changes to make it work with esp-idf-lib and just need a bit of cleanup.

ferdinandkeil commented 6 days ago

Can you please assign this issue to me.