Main Content

Sensors

R2026b
Connect and acquire data from sensors interfaced with STM32 processor based boards

Configure sensor blocks and objects to read and measure physical properties from a variety of environmental, motion, and ranging sensors connected to STM32 Processor based boards. Use these physical properties in various application–based examples.

Blocks

ADXL34x AccelerometerADXL34x AccelerometerMeasure linear acceleration along axes of ADXL34x family of accelerometers (Since R2025a)
BMI160 IMU SensorBMI160 IMU SensorMeasure linear acceleration, angular rate, and temperature from BMI160 sensor (Since R2025a)
BNO055 IMU SensorBNO055 IMU SensorMeasure acceleration, angular rate, and magnetic field, and calculate Euler angles, quaternion, linear acceleration, and gravity vector along the axes of BNO055 sensor (Since R2026a)
CCS811 SensorCCS811 Air Quality SensorMeasure equivalent CO2 (eCO2) and the equivalent total volatile organic compound concentration (eTVOC) (Since R2025a)
block icon for HTS221 Humidity SensorHTS221 Humidity SensorMeasure relative humidity and temperature from HTS221 sensor (Since R2025a)
block icon for ICM20948 IMU sensorICM20948 IMU SensorMeasure linear acceleration, angular velocity, magnetic field, and temperature from ICM20948 IMU sensor (Since R2025a)
block icon for LIS3DH Accelerometer SensorLIS3DH Accelerometer SensorMeasure linear acceleration, voltage, and temperature from LIS3DH sensor (Since R2025a)
block icon for LIS3MDL Magnetometer sensorLIS3MDL Magnetometer SensorMeasure magnetic field strength and temperature from LIS3MDL Magnetometer sensor (Since R2025a)
block icon for LPS22HB Pressure SensorLPS22HB Pressure SensorMeasure barometric air pressure and temperature from LPS22HB sensor (Since R2025a)
block icon for LSM303 IMU sensorLSM303C IMU SensorMeasure linear acceleration, magnetic field strength, and temperature from LSM303C sensor (Since R2025a)
block icon for LSM6DS3 IMU SensorLSM6DS3 IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DS3 sensor (Since R2025a)
block icon for LSM6DS3HLSM6DS3H IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DS3H sensor (Since R2025a)
LSM6DSL sensor blockLSM6DSL IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSL sensor (Since R2025a)
block icon for LSM6DSM IMU SensorLSM6DSM IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSM sensor (Since R2025a)
block icon for LSM6DSO IMU SensorLSM6DSO IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSO sensor (Since R2025a)
block icon for LSM6DSR IMU SensorLSM6DSR IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSR sensor (Since R2025a)
MPU6050 IMU Sensor blockMPU6050 IMU SensorMeasure acceleration, angular rate, and temperature along axes of MPU-6050 sensor (Since R2026a)
MPU9250 IMU Sensor blockMPU9250 IMU SensorMeasure acceleration, angular rate, magnetic field, and temperature along axes of MPU-9250 sensor (Since R2026a)
VL53L0X SensorVL53L0X Time of Flight SensorMeasure distance to a target object (Since R2025a)

Featured Examples