Sensori
Acquisire dati in tempo reale da sensori collegati all'hardware Raspberry Pi®. Dopo aver installato MATLAB® Support Package for Raspberry Pi Hardware, è possibile collegarsi a questi sensori dal desktop di MATLAB o da MATLAB Online™.
Funzioni
Sensore LSM9DS1
lsm9ds1 | Connect LSM9DS1 sensor on Raspberry Pi hardware I2C bus (Da R2021a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readMagneticField | Read one sample of magnetic field from sensor (Da R2021a) |
Sensore LSM6DSL
lsm6dsl | Connect LSM6DSL sensor on Raspberry Pi hardware I2C bus (Da R2021a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
Sensore LSM303C
lsm303c | Connect LSM303C sensor on Raspberry Pi hardware I2C bus (Da R2021a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
readMagneticField | Read one sample of magnetic field from sensor (Da R2021a) |
Sensore MPU-6050
mpu6050 | Connect MPU-6050 sensor on Raspberry Pi hardware I2C bus (Da R2021a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
Sensore MPU-9250
mpu9250 | Connect MPU-9250 sensor on Raspberry Pi hardware I2C bus (Da R2021a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readMagneticField | Read one sample of magnetic field from sensor (Da R2021a) |
Sensore HTS221
hts221 | Connect HTS221 sensor on Raspberry Pi hardware I2C bus (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
readHumidity | Read one relative humidity data sample from HTS221 sensor (Da R2021a) |
Sensore LPS22HB
lps22hb | Connect LPS22HB sensor on Raspberry Pi hardware I2C bus (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
readPressure | Read one absolute pressure data sample from sensor (Da R2021a) |
Sensore BMI160
bmi160 | Connect BMI160 sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
readMagneticField | Read one sample of magnetic field from sensor (Da R2021a) |
Sensore LSM6DS3
lsm6ds3 | Connect LSM6DS3 sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
Sensore LSM6DS3H
lsm6ds3h | Connect LSM6DS3H sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
Sensore LSM6DSM
lsm6dsm | Connect LSM6DSM sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
Sensore LSM6DSR
lsm6dsr | Connect LSM6DSR sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
Sensore LSM6DSO
lsm6dso | Connect LSM6DSO sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
Sensore ADXL345
adxl345 | Connect ADXL345, ADXL343, ADXL344, or ADXL346 sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
Sensore ICM20948
icm20948 | Connect ICM-20948 sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readAcceleration | Read one sample of acceleration from sensor (Da R2021a) |
readAngularVelocity | Read one sample of angular velocity from sensor (Da R2021a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
readMagneticField | Read one sample of magnetic field from sensor (Da R2021a) |
Sensore BMP280
bmp280 | Connect BMP280 sensor on Raspberry Pi hardware I2C bus (Da R2023a) |
readTemperature | Read one sample of temperature from sensor (Da R2021a) |
readPressure | Read one absolute pressure data sample from sensor (Da R2021a) |
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)