LogoLogo
  • REV Crossover Landing
  • Sensors
    • Through Bore Encoder
      • Specifications
      • Application Examples
    • Color Sensor V3
      • Specifications
      • Application Examples
      • Discontinued Color Sensors
        • V2 Specifications & Examples
        • V1 Specifications & Examples
    • 2m Distance Sensor
      • Specifications
      • Application Examples
    • Magnetic Limit Switch
      • Specifications
      • Application Examples
    • Touch Sensor
      • Specifications
      • Application Examples
    • Potentiometer
      • Specifications
      • Application Examples
    • 9-Axis IMU
      • Specifications
      • Configuring the 9-Axis IMU
  • Blinkin LED Driver
    • Blinkin LED Driver Overview
    • Blinkin Specifications
    • Blinkin Getting Started
      • LED Pattern Tables
    • Blinkin Troubleshooting
    • REV ION Application Examples
    • REV DUO Application Examples
  • UltraPlanetary System
    • UltraPlanetary System Overview
    • UltraPlanetary Features
    • Cartridge Details
    • Load Ratings
    • Assembly Instructions
    • Mounting Brackets
    • Ultra 90 Degree Gearbox
      • Assembly Instructions
      • Rotation Direction
  • Servos & Accessories
    • Servo Hub
      • Servo Hub Wiring
      • Configuring the Servo Hub with a Control Hub
      • Channel Power
      • Channel Pulse
      • Servo Hub Status LED Patterns
      • Troubleshooting
      • REVLib for Servo Hub
    • Smart Robot Servo
      • SRS Gear Replacement
    • SRS Programmer
      • Switching Operating Modes
    • Servo Power Module
  • Indicators
    • Digital LED Indicator
      • Specifications
      • Application Examples
Powered by GitBook
On this page
  • 9-Axis IMU in Blocks
  • 9-Axis IMU in OnBot Java

Was this helpful?

Export as PDF
  1. Sensors
  2. 9-Axis IMU

Configuring the 9-Axis IMU

PreviousSpecificationsNextBlinkin LED Driver Overview

Last updated 2 days ago

Was this helpful?

To use the 9-Axis IMU the Control Hub must be running Robot Controller App v10.0 or newer.

The 9-Axis IMU is configured similar to other I2C devices. First, navigate to the Control Hub Portal or Expansion Hub where it is connected in the configuration menu.

Next, scroll to find the option to add something to the I2C Bus. Note: The internal IMU appears in I2C Bus 0. For this example, we are adding the 9-Axis IMU to I2C Bus 1.

Once in the menu, click "Add". This will show the option to add a new sensor to this I2C Bus.

Scroll to select the REV 9-Axis IMU from the dropdown menu.

Name the IMU something relevant that will be easy to identify later. Remember the built-in IMU, if applicable, may also appear as an option while programming.

Finally, select "Done" and complete the remainder of your configuration process.

9-Axis IMU in Blocks

Once configured, the 9-Axis IMU will appear as an option under "Sensors" in the Blocks menu.

When calling the IMU, the configured 9-Axis IMU will appear as the assigned name in the dropdown option on the individual block.

9-Axis IMU in OnBot Java

When "Setup Code for Configured Hardware" is checked while creating a new OpMode in OnBot Java, the IMU will automatically be added to the hardwareMap using the assigned name from configuration.

An internal IMU, if applicable, will retain its default name based on the version of IMU (BNO055 or BHI260AP).

A full configuration walkthrough is available here.
Configuration menu on the Driver Hub
I2C Bus options in the configuration menu
Option to add a new I2C device to the bus
9-Axis IMU within the available dropdown menu
Naming the IMU to identify it while programming
The "Done" option will save the added sensor
The IMU listing in the Blocks side menu
IMU selection dropdown
The configured IMU appearing in OnBot's hardwareMap