Sensors

Read data from IMU sensors

Connect to IMU sensors to read real-time accelerometer, gyroscope, and magnetometer data.

System Objects

mpu9250Connect to MPU-9250 sensor on Arduino hardware I2C bus
lsm9ds1Connect to LSM9DS1 sensor on Arduino hardware I2C bus
mpu6050Connect to MPU-6050 sensor on Arduino hardware I2C bus

Functions

flushFlush the host buffer
infoRead output data rate and bandwidth setting of sensor
readRead acceleration, angular velocity, magnetic field, time, and overrun data
readAccelerationRead one sample of acceleration from sensor
readAngularVelocityRead one sample of angular velocity from sensor
readMagneticFieldRead one sample of magnetic field from sensor
releaseRelease the IMU object

Topics

Limitations

Limitations when using IMU sensors

Troubleshooting

Troubleshooting Sensors

Troubleshoot IMU sensors

Featured Examples