センサー
センサーからのデータの読み取り
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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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)