roboRIO and Related Components

  1. roboRIO and Related Components
    1. roboRIO
      1. Connection Information
      2. Wiring Information
        1. roboRIO Power
        2. CAN Port
        3. PWM and Other 3 Pin Ports
        4. RSL Port
      3. Status LEDs
    2. Robot Router
      1. Connection Information
      2. Wiring Information
        1. PoE Injector
      3. Status LEDs
    3. Robot Signal Light
      1. Connection Information
      2. Wiring Information
    4. 5-Port Ethernet Switch
      1. Connection Information
      2. Wiring Information
        1. Switch Power
    5. RIOduino/LED Strip

roboRIO

The roboRIO is the main controller of every FRC robot. It uses CAN and PWM to provide instructions to motor controllers and components such as the Pneumatic Control Module. The roboRIO can also process inputs from sensors plugged into the DIO, Relay, or Analog ports.

In addition to this, the roboRIO also provides the power for the Robot Signal Light and is connected to the robot router over Ethernet.

Connection Information

Component Connection Port/Channel Appropriate Gauge/Type
Power Distribution Panel roboRIO power input PDP 10A protected channel 18 AWG silicone wire
Robot Signal Light Power output to signal light RSL port 22 AWG silicone wire
Router PoE injector (male end) Ethernet port CAT6 Cable
Pneumatic Control Module CAN output to PCM CAN port CAN Wire (22 AWG Yellow/Green)
Servo PWM output to servo from roboRIO PWM rail PWM Channels 0-9 22 AWG 3 pin wire (ribbon cable)
Banner Photoelectric Sensor Banner Sensor data output to roboRIO Digital Input/Output (DIO) rail DIO Channels 0-9 22 AWG 3 pin wire (ribbon cable)
RIOduino RIOduino power and signal Custom Electronics Port N/A

Wiring Information

roboRIO Power

In order to connect the power wires to the roboRIO, use a small flathead screwdriver to loosen the screws on the side of the power input connector (properly known as the Sauro Connector CTF020V8). These screws are shown in the image below:

The connector above is not labeled as it is on the roboRIO, but it is very important to note that the red wire MUST go into the port labeled “V” and that the black wire MUST go into the port labeled “C”. Strip about ~5/16” of jacketing off each wire, insert the wires into the connector, and then secure the wires by tightening each screw.

An example of a complete power run from the PDP to the roboRIO is shown below.

CAN Port

Strip ~5/16” of jacketing off of the yellow and green wires, then use your fingernail or a flathead screwdriver to push down the “buttons” of the Weidmuller terminals. A Weidmuller terminal and a pressed “button” are shown below.

Insert the yellow wire into the terminal marked “YLW” and the green wire into the terminal marked “GRN”. After inserting the wires, give them a gentle tug to verify that the connection is secure.

If you are using ferrules, insert each stripped wire into each ferrule and then crimp the ferrules using the appropriate crimping tool. The white ferrules are intended for 18 AWG wire; thus, it is important to strip twice as much wire and then fold the exposed wire in half in order to double its effective wire radius. After the ferrules have been crimped and they have been tug tested, push the two wires into their respective terminals. No “button” pushing is required for this.

PWM and Other 3 Pin Ports

An appropriate cable for plugging into the roboRIO’s PWM, DIO, Relay, and Analog ports is created as follows:

  1. Cut a segment that is three wires wide from a ribbon cable. Be sure to measure the segment with respect to component location.
  2. Strip ~1/8” of jacketing off of each wire in the segment.
  3. Crimp a 22 AWG socket contact onto each wire. Before crimping, ensure that the exposed wire is set in the front set of teeth and that the insulated wire is set in the back set of teeth.
  4. Insert each of the crimped wires into a Male 3 Pin Locking Housing. Each contact makes an audible click when inserted properly. If you are having trouble, try using a small flathead screwdriver to push contacts into the housing. It may also help to bend up the tabs on each socket contact. Test each insertion by tugging on each wire.
  5. Plug the housing into the desired port on the roboRIO.

There are certain cases in which only one wire is required to be plugged into a roboRIO port (e.g. the two data wires from a Banner sensor are typically plugged into separate DIO ports). In these situations, it is recommended that additional uncrimped socket contacts are placed into the housing to prevent the housing from coming unplugged.

RSL Port

In order to create a cable which can plug into the RSL port on the roboRIO, a Male 2 Pin Locking Housing must be used. The steps for crimping and inserting socket contacts into this type of housing are practically identical to the steps listed in the section above, except for the fact that 22 AWG silicone wire is used instead of ribbon cable. Additionally, the black power wire should be inserted into the side of the locking housing marked with an arrow.

Status LEDs

Robot Router

The robot router uses WiFi to facilitate communication between the roboRIO and the driver station.

For information regarding the configuration of a robot router, visit the WPI guide.

Connection Information

Component Connection Port/Channel Appropriate Gauge/Type
roboRIO Ethernet cable from router to female end of POE injector or direct Ethernet connection 18-24vPoE port CAT6 Cable
Voltage Regulation Module Power through the PoE injector or directly from the VRM into barrel jack 12V/2A channel 18 AWG silicone wire for direct connection or POE injector
Ethernet Switch Ethernet cable into port 1, 2, 3, 4, or 5 802.3afPoE port CAT6 Cable

Wiring Information

PoE Injector

Team 401 uses this passive PoE injector to provide power to the robot router. The following installation information is very important for preventing permanent damage to the router or roboRIO:

  • The male end of the PoE injector should be plugged into the roboRIO’s Ethernet port.
  • Use an additional CAT6 cable to connect the router to the PoE injector; this cable should run from the router’s 18-24vPoE (passive) port to the PoE injector’s female end.
  • Please ensure that the PoE injector’s power wires are properly plugged into one of the 12V/2A terminal pairs.

Status LEDs

Robot Signal Light

The Robot Signal Light is a mandatory safety feature of every FRC robot. As such, it is important that it is easy to see and that it is wired correctly. A solid RSL indicates that a robot is powered on and disabled, while a blinking RSL indicates that the robot is enabled.

Connection Information

Component Connection Port/Channel Appropriate Gauge/Type
roboRIO Power input from roboRIO RSL port La/Lb/N terminals 22 AWG silicone wire

Wiring Information

As can be seen in the above diagram, the RSL requires a jumper wire from the “La” terminal to the “Lb” terminal. The steps to wiring a RSL are as follows:

  1. Measure and cut black and red 22 AWG wires of equal length. These measurements should be made with respect to where the roboRIO and RSL are located on the robot.
  2. Strip ~5/16” of jacketing from the black wire. Insert the stripped end into the terminal marked “N” and use a small flathead screwdriver to tighten the terminal.
  3. Strip ~5/16” of jacketing from the red wire. Insert the stripped end into the terminal marked “La.” Tighten the terminal, but not entirely.
  4. Cut a small piece of red 18 AWG wire. Strip both ends, then insert one end into the “La” terminal and tighten.
  5. Insert the other end of the jumper into the terminal marked “Lb.” Tighten the terminal.
  6. Strip the other end of each long wire and crimp a socket contact onto each one, then insert both into a Male 2 Pin Locking Housing. The procedure for this can be found in the RSL section of the roboRIO wiring information.

A completely wired RSL is shown in the image below.

5-Port Ethernet Switch

The 5-Port Ethernet switch allows for multiple devices to connect to the roboRIO and robot radio through Ethernet. This component was used during the 2019 season to accommodate the Limelight 2 smart cameras which we used for vision targeting.

Connection Information

Component Connection Channel/Port Appropriate Gauge/Type
Router Ethernet cable from router active POE port (803.2af POE) Ports 1-5 CAT6 Cable
Limelight 2 Ethernet cable into Limelight 2 Ethernet port Ports 1-5 CAT6 Cable
Voltage Regulation Module Power input from VRM 5V/500mA channels Switch power wires 18 AWG silicone wire

Wiring Information

Switch Power

As can be seen in the image above, the Ethernet switch has its power wires inserted into a Female 2 Pin Locking Housing, with the black wire (ground) on the arrow. The wire plugged into the housing served as the power run from the VRM to the switch during the 2019 competition season. The following steps show how to create such a power run:

  1. Cut 18 AWG black and red wire. Be sure to measure with respect to component location.
  2. Strip ~5/16” of jacketing from each wire. Crimp a socket contact onto each exposed wire; do not crimp the back set of teeth onto the wire jacketing as would be done for wire of a smaller size.
  3. Insert the crimped contacts into a Male 2 Pin Locking Housing with the aid of a small screwdriver or Wago tool, if necessary. Remember to insert the black wire into the hole marked with an arrow.
  4. Strip ~5/16” of jacketing from the other end of each wire. Twist the exposed wires, then use a small screwdriver or Wago tool to push down the “buttons” of the 5V/500mA Weidmuller terminal pairs and insert the wires.

RIOduino/LED Strip