Lesson: Exercise: Using the REV IMU

Learn about the REV Hub's built-in IMU or Internal Measuring Unit and how to use it.

Understand the REV Hub's built-in IMU and how to use it.


The REV Expansion Hub has a built-in IMU, or Inertial Measurement Unit. This is a sensor that can measure acceleration (movement) in several axes. It can be used in place of an external gyro. The IMU is not used in quite the same way as the gyro but is similar. Note: you must configure the IMU on I2C channel 0, port 0. Here is the DriveAvoid example converted to use the IMU in place of the MR gyro.