Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

(Needs proofreading! Written by: Keshav)

RoboRIO

This part can be found in Control Cabinet 1.

What is this?

The roboRIO is the robot’s main controller. It runs the robot program we deploy with WPILib Java, communicates with the Driver Station, and connects the code to sensors and motor controllers. Commands and subsystems execute on the roboRIO, while motor controllers do the high-current work of driving the motors. The roboRIO is therefore a control computer, not a replacement for a PDP/PDH or a motor controller.

Ports

PortWire typeRequiredWhere is it?Additional info
Power inputUh red and black power wiresPower connector on the roboRIOConnect to the PDP/H. Verify polarity before powering on.
EthernetStandard Ethernet cableEthernet jackWired to the robot radio
USB device (Type-B)USB Type-B cableUSB device jackUsed to connect a computer for roboRIO imaging
CAN busCAN-H/CAN-L twisted pair using the team’s approved CAN wiringCAN connectorConnects CAN motor controllers and sensors. Keep CAN-H and CAN-L paired, observe polarity, and terminate the bus correctly.
A whole lot of othersVaries - there is multiple typesEverywhereWe never use these and they are very old. They are for older moters which don’t use the CAN protocol but we use modern motors which support CAN

Status Lights

The LEDs are useful for diagnosing a robot before opening the code. The roboRIO status-light meanings are:

LightNormal meaningIf it is not normal
PowerGreen: power is good.Amber indicates brownout protection; red indicates a power fault or user-rail problem. Check robot power, connectors, and wiring.
StatusOff after a normal boot.Two blinks indicate a software error; three blinks indicate Safe Mode; four blinks indicate repeated software crashes. Reboot and reimage if the problem remains.
CommSolid green: good Driver Station communication.Off means no communication; solid red means the Driver Station is connected but user code is not running; blinking red means E-stop.
ModeOff when outputs are disabled, orange in autonomous, green in teleoperated, and red in test.A mode that does not match the Driver Station usually indicates a communication or enable-state issue.

Use the WPILib status light quick reference for the complete list. Do not repeatedly enable a robot while a power or software fault is present.

Software Updating

The RIO Firmware has to be manually updated every season using the RIO Imaging Tool.

Official Documentation and Manuals