LSM6DS3H IMU Sensor
R2026bMeasure linear acceleration, angular rate, and temperature from LSM6DS3H sensor
Since R2025a
Libraries:
STM32 Microcontroller Blockset /
Sensors /
IMU Sensors
Description
The LSM6DS3H IMU Sensor block measures linear acceleration and angular rate along the X, Y, and Z axis using the LSM6DS3H Inertial Measurement Unit (IMU) sensor interfaced with the STM32 Processors. This 6-Degree of Freedom (DoF) IMU sensor comprises of an accelerometer and gyroscope used to measure linear acceleration and angular rate, respectively. The block also measures the temperature from the embedded temperature sensor in LSM6DS3H Sensor.
You can also use the analog filter and composite filter options in the block for the accelerometer values, and use the high pass filter option for gyroscope values.
Examples
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"stm32IMUsensorslib/LSM6DS3H IMU Sensor"
Example: add_block("stm32IMUsensorslib/LSM6DS3H IMU Sensor","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2025a
