Contenuto principale

Sensors

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 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)
BNO055 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 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)
MPU6050 IMU SensorMeasure acceleration, angular rate, and temperature along axes of MPU-6050 sensor (Since R2026a)
MPU9250 IMU SensorMeasure acceleration, angular rate, magnetic field, and temperature along axes of MPU-9250 sensor (Since R2026a)
VL53L0X Time of Flight SensorMeasure distance to a target object (Since R2025a)

Featured Examples