传感器
从传感器读取数据
从连接到 Raspberry Pi® 硬件的传感器采集实时数据。安装 MATLAB® Support Package for Raspberry Pi Hardware 后,您可以从 MATLAB 桌面或从 MATLAB Online™ 连接到这些传感器。
函数
lsm9ds1 | Connect LSM9DS1 sensor on Raspberry Pi hardware I2C bus (自 R2021a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readMagneticField | Read one sample of magnetic field from sensor (自 R2021a 起) |
lsm6dsl | Connect LSM6DSL sensor on Raspberry Pi hardware I2C bus (自 R2021a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
lsm303c | Connect LSM303C sensor on Raspberry Pi hardware I2C bus (自 R2021a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
readMagneticField | Read one sample of magnetic field from sensor (自 R2021a 起) |
mpu6050 | Connect MPU-6050 sensor on Raspberry Pi hardware I2C bus (自 R2021a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
mpu9250 | Connect MPU-9250 sensor on Raspberry Pi hardware I2C bus (自 R2021a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readMagneticField | Read one sample of magnetic field from sensor (自 R2021a 起) |
hts221 | Connect HTS221 sensor on Raspberry Pi hardware I2C bus (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
readHumidity | Read one relative humidity data sample from HTS221 sensor (自 R2021a 起) |
lps22hb | Connect LPS22HB sensor on Raspberry Pi hardware I2C bus (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
readPressure | Read one absolute pressure data sample from sensor (自 R2021a 起) |
bmi160 | Connect BMI160 sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
readMagneticField | Read one sample of magnetic field from sensor (自 R2021a 起) |
lsm6ds3 | Connect LSM6DS3 sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
lsm6ds3h | Connect LSM6DS3H sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
lsm6dsm | Connect LSM6DSM sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
lsm6dsr | Connect LSM6DSR sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
lsm6dso | Connect LSM6DSO sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
adxl345 | Connect ADXL345, ADXL343, ADXL344, or ADXL346 sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
icm20948 | Connect ICM-20948 sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readAcceleration | Read one sample of acceleration from sensor (自 R2021a 起) |
readAngularVelocity | Read one sample of angular velocity from sensor (自 R2021a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
readMagneticField | Read one sample of magnetic field from sensor (自 R2021a 起) |
bmp280 | Connect BMP280 sensor on Raspberry Pi hardware I2C bus (自 R2023a 起) |
readTemperature | Read one sample of temperature from sensor (自 R2021a 起) |
readPressure | Read one absolute pressure data sample from sensor (自 R2021a 起) |
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)