Main Content

Sensors

configure sensor blocks to read and measure physical properties from the sensors connected to STM32 Processor based boards

Sensor blocks support all STM32 processors.

Blocks

ADXL34x AccelerometerMeasure linear acceleration along axes of ADXL34x family of accelerometers (Since R2025a)
BMI160 IMU SensorMeasure linear acceleration, angular rate, and temperature from BMI160 sensor (Since R2025a)
CCS811 Air Quality SensorMeasure equivalent CO2 (eCO2) and the equivalent total volatile organic compound concentration (eTVOC) (Since R2025a)
HTS221 Humidity SensorMeasure relative humidity and temperature from HTS221 sensor (Since R2025a)
ICM20948 IMU SensorMeasure linear acceleration, angular velocity, magnetic field, and temperature from ICM20948 IMU sensor (Since R2025a)
LIS3DH Accelerometer SensorMeasure linear acceleration, voltage, and temperature from LIS3DH sensor (Since R2025a)
LIS3MDL Magnetometer SensorMeasure magnetic field strength and temperature from LIS3MDL Magnetometer sensor (Since R2025a)
LPS22HB Pressure SensorMeasure barometric air pressure and temperature from LPS22HB sensor (Since R2025a)
LSM303C IMU SensorMeasure linear acceleration, magnetic field strength, and temperature from LSM303C sensor (Since R2025a)
LSM6DS3 IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DS3 sensor (Since R2025a)
LSM6DS3H IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DS3H sensor (Since R2025a)
LSM6DSL IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSL sensor (Since R2025a)
LSM6DSM IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSM sensor (Since R2025a)
LSM6DSO IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSO sensor (Since R2025a)
LSM6DSR IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSR sensor (Since R2025a)
VL53L0X Time of Flight SensorMeasure distance to a target object (Since R2025a)

Featured Examples