UncleRus / esp-idf-lib

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

Driver for LSM303 accelerometer/magnetometer sensor over I2C #570

Closed QB4-dev closed 11 months ago

QB4-dev commented 11 months ago

Device name

LSM303DLHC

Device description

Ultra-compact high-performance eCompass module: 3D accelerometer and 3D magnetometer

This sensors are mounted on popular 9DoF IMU boards. It is like two i2c devices in single die, has two I2C addresses(one for accelerometer, one for magnetometer)

Device product page URL

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

Datasheet URL

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

Can the device be purchased at any of the followings?

URLs to purchase the device

https://aliexpress.com/w/wholesale-lsm303dlhc.html https://www.ebay.pl/itm/155725485329 https://www.digikey.com/en/products/detail/stmicroelectronics/LSM303DLHC/2764708 https://www2.mouser.com/new/stmicroelectronics/stmicrolsm303dlm/

Other implementations

Please assign this issue to me, I want to pull request my fork: https://github.com/QB4-dev/esp-idf-lib/tree/feature-lsm303