LSM6DSL IMU Sensor
Measure linear acceleration, angular rate, and temperature from LSM6DSL sensor
Since R2021b
Libraries:
Embedded Coder Support Package for STMicroelectronics STM32 Processors /
STM32L475VG-Discovery (B-L475E-IOT01A)
Embedded Coder Support Package for STMicroelectronics STM32 Processors /
Sensors /
IMU Sensors
Simulink Coder Support Package for STMicroelectronics Nucleo Boards /
Sensors
Simulink Support Package for Arduino Hardware /
Sensors
Description
The LSM6DSL IMU Sensor block measures linear acceleration and angular rate along the X, Y, and Z axis using the LSM6DSL Inertial Measurement Unit (IMU) sensor interfaced with the Nucleo/STM32L475-Discovery board. 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 LSM6DSL Sensor.
You can also use the composite filter option in the block for the accelerometer values, and use the high pass and low pass filter options for gyroscope values.
Examples
Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2021b