Support for LIS2DH12 accelerometer #3565
Unanswered
daniel-frenkel
asked this question in
New Components
Replies: 1 comment
-
|
esphome/esphome#14788 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the component you'd like
ST LIS2DH12 3-axis accelerometer
What are your use cases for this component?
This particular accelerometer is very low cost, significantly less than the MPU-6050, and widely available on JLCPCB. It can be used in all kinds of ways, like detecting motion of a device, controlling via tap/shake, and creating orientation based devices, such as a light switch that turns off when flipped upside down.
Is there a public datasheet, documentation and/or schematics?
https://www.st.com/resource/en/datasheet/lis2dh12.pdf
Anything else?
Espressif already has a component library for it, which should make it much faster to implement.
https://github.com/espressif/esp-iot-solution/tree/350117fb02941f9d0f3a2ccde53f8da108d2ee8a/components/sensors/imu/lis2dh12
Beta Was this translation helpful? Give feedback.
All reactions