RoboRIO Installation

navX-Micro may be connected to the RoboRIO via several methods.  Once you have selected your preferred communications interface, follow the appropriate installation instructions below.

One-wire Connect via USB cable


By using a USB Mini-B type (Male) to USB A type (Male) connector, navX-Micro can receive both power and also communicate with the RoboRIO.

This preferred installation method allows the navX-Micro circuit board to be placed up to 6 meters away from the RoboRIO.

usb_minib_cable

IMPORTANT NOTE:  To avoid having the navX-Micro reset due to a RoboRIO brownout (as discussed further in the navX-Micro Best Practices), connecting the navX-Micro to the RoboRIO via USB is highly recommended.

I2C


To use the I2C interface connect the navX-Micro 5VDC, GND, SCL and SDA pins to the corresponding pins on the RoboRIO.

navx_micro_i2c_connector_closeup

The RoboRIO provides two separate I2C interfaces:  the Onboard I2C interface, and the MXP Expansion Port I2C interface.

IMPORTANT NOTE:   The left-to-right order of the RoboRIO Onboard I2C Interface Pins is different than the navX-Micro I2C pin left-to-right order.    Pay  careful attention to the I2C connector pin order when connecting navX-Micro to the RoboRIO.

RoboRIO Onboard I2C Interface

roborio_onboardi2c

IMPORTANT NOTE:  The left-to-right order of the RoboRIO Onboard I2C Interface Pins is different than the navX-Micro I2C pin left-to-right order.

RoboRIO MXP I2C Interface

roborio_mxpport

As shown in the diagram below, the RoboRIO MXP Connector’s I2C-related pins are:

 

mxpport_i2cdetails

Pin 34:  I2C SDA

Pin 32:  I2C SCL

Pin 30:  Digital Ground (DGND)

Pin 1: +5V (or +3.3V)

Electrical Notes

  • The I2C bus standard requires that the SDA and SCL pins be pulled up with a pull-up resistor on each line. The RoboRIO internally pulls these lines high – but if connecting to a host computer without pullups, the SDA and SCL lines will need 1.5KOhm pullups.
  • navX-Micro can be powered via it’s I2C connector with either 3.3V or 5V DC.  A minimum of 3.1V DC is required.
  • The navX-Micro I2C signal pins are 5V tolerant, so the host computer can use either 5V or 3.3V DC levels on these pins.