센서
센서에서 데이터 읽기
Raspberry Pi® 하드웨어에 연결된 센서에서 실시간 데이터를 수집합니다. MATLAB® Support Package for Raspberry Pi Hardware를 설치한 후에, MATLAB 데스크탑 또는 MATLAB Online™에서 이러한 센서에 연결할 수 있습니다.
함수
LSM9DS1 센서
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 센서
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 센서
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 이후) |
MPU-6050 센서
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 이후) |
MPU-9250 센서
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 센서
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 센서
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 센서
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 센서
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 센서
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 센서
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 센서
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 센서
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 센서
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 센서
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 센서
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 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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)