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

LIS2DH12 Datasheet

MPU6050

3-axis acceler + 3-axis gyro

I2C

InvenSense

MPU6050 Datasheet

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.

Header File