主要内容

传感器

R2026b
连接与基于 STM32 处理器的板卡对接的传感器并从其采集数据

配置传感器模块和对象,以读取和测量连接到基于 STM32 处理器的板卡的各种环境、运动和测距传感器的物理属性。在各种基于应用的示例中使用这些物理属性。

模块

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

精选示例