Main Content

Sensors

Read data from sensors

Connect to sensors to read real-time data.

Functions

expand all

lsm9ds1Connect to LSM9DS1 sensor on Raspberry Pi hardware I2C bus
readAccelerationRead one acceleration data sample from LSM9DS1 sensor
readAngularVelocityRead one angular velocity data sample from LSM9DS1 sensor
readMagneticFieldRead one magnetic field data sample from LSM9DS1 sensor
lsm6dslConnect to LSM6DSL sensor on Raspberry Pi hardware I2C bus
readAccelerationRead one acceleration data sample from LSM6DSL sensor
readAngularVelocityRead one angular velocity data sample from LSM6DSL sensor
readTemperatureRead one ambient temperature data sample from LSM6DSL sensor
lsm303cConnect to LSM303C sensor on Raspberry Pi hardware I2C bus
readAccelerationRead one acceleration data sample from LSM303C sensor
readMagneticFieldRead one magnetic field data sample from LSM303C sensor
readTemperatureRead one ambient temperature data sample from LSM303C sensor
mpu6050Connect to MPU-6050 sensor on Raspberry Pi hardware I2C bus
readAccelerationRead one acceleration data sample from MPU-6050 sensor
readAngularVelocityRead one angular velocity data sample from MPU-6050 sensor
mpu9250Connect to MPU-9250 sensor on Raspberry Pi hardware I2C bus
readAccelerationRead one acceleration data sample from MPU-9250 sensor
readAngularVelocityRead one angular velocity data sample from MPU-9250 sensor
readMagneticFieldRead one magnetic field data sample from MPU-9250 sensor
hts221Connect to HTS221 sensor on Raspberry Pi hardware I2C bus
readTemperatureRead one ambient temperature data sample from HTS221 sensor
readHumidityRead one relative humidity data sample from HTS221 sensor
lps22hbConnect to LPS22HB sensor on Raspberry Pi hardware I2C bus
readTemperatureRead one ambient temperature data sample from LPS22HB sensor
readPressureRead one absolute pressure data sample from LPS22HB sensor