Sensors
Read data from sensors
Connect to sensors to read real-time data.
Functions
LSM9DS1 Sensor
lsm9ds1 | Connect to LSM9DS1 sensor on Raspberry Pi hardware I2C bus |
readAcceleration | Read one acceleration data sample from LSM9DS1 sensor |
readAngularVelocity | Read one angular velocity data sample from LSM9DS1 sensor |
readMagneticField | Read one magnetic field data sample from LSM9DS1 sensor |
LSM6DSL Sensor
lsm6dsl | Connect to LSM6DSL sensor on Raspberry Pi hardware I2C bus |
readAcceleration | Read one acceleration data sample from LSM6DSL sensor |
readAngularVelocity | Read one angular velocity data sample from LSM6DSL sensor |
readTemperature | Read one ambient temperature data sample from LSM6DSL sensor |
LSM303C Sensor
lsm303c | Connect to LSM303C sensor on Raspberry Pi hardware I2C bus |
readAcceleration | Read one acceleration data sample from LSM303C sensor |
readMagneticField | Read one magnetic field data sample from LSM303C sensor |
readTemperature | Read one ambient temperature data sample from LSM303C sensor |
MPU-6050 Sensor
mpu6050 | Connect to MPU-6050 sensor on Raspberry Pi hardware I2C bus |
readAcceleration | Read one acceleration data sample from MPU-6050 sensor |
readAngularVelocity | Read one angular velocity data sample from MPU-6050 sensor |
MPU-9250 Sensor
mpu9250 | Connect to MPU-9250 sensor on Raspberry Pi hardware I2C bus |
readAcceleration | Read one acceleration data sample from MPU-9250 sensor |
readAngularVelocity | Read one angular velocity data sample from MPU-9250 sensor |
readMagneticField | Read one magnetic field data sample from MPU-9250 sensor |
HTS221 Sensor
hts221 | Connect to HTS221 sensor on Raspberry Pi hardware I2C bus |
readTemperature | Read one ambient temperature data sample from HTS221 sensor |
readHumidity | Read one relative humidity data sample from HTS221 sensor |
LPS22HB Sensor
lps22hb | Connect to LPS22HB sensor on Raspberry Pi hardware I2C bus |
readTemperature | Read one ambient temperature data sample from LPS22HB sensor |
readPressure | Read one absolute pressure data sample from LPS22HB sensor |
BMI160 Sensor
bmi160 | Connect to BMI160 sensor on Raspberry Pi hardware I2C bus |
readAcceleration | Read one acceleration data sample from BMI160 sensor |
readAngularVelocity | Read one angular velocity data sample from BMI160 sensor |
readMagneticField | Read one magnetic field data sample from BMI160 sensor |
readTemperature | Read one ambient temperature data sample from BMI160 sensor |
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de 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)