Inertial Measurement Unit (IMU)
The Inertial Measurement Unit (IMU) can be used as a gyroscope sensor, an acceleration sensor, a sensor with multiple functions or etc. It is mainly used to measure the acceleration and angular velocity of an object, and then calculate the motion attitude of the object.
Adapted Products
Name |
Function |
Bus |
Vendor |
Datasheet |
HAL |
---|---|---|---|---|---|
LIS2DH12 |
3-axis acceler |
I2C |
ST |
√ |
|
MPU6050 |
3-axis acceler + 3-axis gyro |
I2C |
InvenSense |
√ |
API Reference
The following APIs have implemented hardware abstraction on the IMU. Users can call the code from this layer directly to write a sensor application, or use the sensor interface in sensor_hub for easier development.