The Control Hub (REV-31-1595) and Expansion Hub (REV-31-1153) are 3.3V logic level devices. Many 3rd party sensors, including ones that teams have previously purchased through vendors such as Modern Robotics, are 5V logic level devices. Many of these legacy sensors are used with the REV system by using a logic level converter. REV Robotics offers a Logic Level Converter (REV-31-1389) and an optional Sensor Adapter Cable (REV-31-1384) so teams can more easily use their legacy sensors with the REV Control System.
Limit switches are common 3rd Party sensor type used with the REV Control System and require a custom wiring harness. Each of the digital inputs on the Control and Expansion Hub have a pull-up resistor making the digital inputs pulled "high" by default. Incorrect wiring of a limit switch to a digital input can create a conflict making the Control or Expansion Hub unresponsive.
The recommended wiring is to connect the signal wire (n, n+1) to the common pin (COM), the ground wire to the normally closed (NC) pin, and not connect to the normally open pin (NO) of the limit switch. With this wiring when the switch is in its normal state (not pressed), the switch is closed connecting the signal to ground (reporting FALSE
in code). When pressed, the switch is open and disconnects the signal from ground (reporting TRUE
in code).
The power wire and the unused signal wire will not be used in this set up process.
If you need the opposite behavior (FALSE
for pressed, and TRUE
for not pressed) switch the ground (black) wire to the NO position instead of NC. Alternatively changing the logic in code will have a similar effect.
The REV Robotics Logic Level Converter is a circuit board which generates a 5V output from the 3.3V input and uses a MOSFET on each signal line to create a bidirectional communication appropriate for a variety of digital signals include I2C communication. For more information on how bidirectional level shifting communication is accomplished, please reference the NXP Application Note AN10441.
The Logic Level Converter is only needed for the Digital and I2C senor ports on the Control or Expansion Hub when using a 5V device.
The Logic Level Converter (REV-31-1389) pinout directly matches the encoder cable pin out for FTC legal 3rd party motors. Encoder cables plug directly into the Logic Level Converter board and then the 4-pin JST PH Cable (REV-31-1407), which is included with the Logic Level Converter, is plugged into the appropriate Control Hub (REV-31-1595) Encoder Port. Motors which are terminated with Anderson Power Pole style connectors use the JST VH to Anderson Power Pole Style (REV-31-1381) cable to connect to the motor output port on the Control Hub.
All REV Robotics Motors work directly with the REV Control and Expansion Hubs. No Logic Level Converter is needed for REV Motors.
A variety of 5V sensors are usable with the Control Hub (REV-31-1595) when used with a Logic Level Converter (REV-31-1389). For some Modern Robotics I2C sensors a Logic Level Converter, and a change in wiring to match the pinout of the Control Hub are needed. Teams can either purchase a Sensor Cable as an add on to the Logic Level Converter Kit which will cross over the correct wires, or they can carefully rearrange the pin order on the sensor cable. If using the Sensor Cable, connect the sensor to the Control Hub as shown below. It is recommended to zip tie the connection between the sensor and the sensor cable to prevent accidental disconnects. See the Sensor Compatibility Chart for more information on hardware required for other sensors.
To determine which sensors are compatible with the Control Hub (REV-31-1595) or Expansion Hub (REV-31-1153) along with additional hardware needed, see the table below.
We recommend double checking the appropriate vendor's documentation for any updates on if or what kind of an adapter is required.
Sensor
Type
Compatible
Adapters Needed
Absolute Orientation IMU Fusion Breakout - BNO055
2472
Adafruit
I2C
Yes
3.3V Compatible
Custom Wiring Harness Needed
navX2-Micro SKU varies per vendor Kauai Labs
I2C
Yes
Directly Compatible
No Custom Adapters Needed
Color Sensor V2/V3 REV-31-1537, REV-31-1557 REV Robotics
I2C
Yes
Directly Compatible
No Custom Adapters Needed
RGB Color Sensor with IR filter and White LED - TCS34725
1334
AdaFruit
I2C
Yes
3.3V Compatible
Custom Wiring Harness Needed
Color Sensor
45-2018
Modern Robotics
I2C
Yes
Compass
45-2003
Modern Robotics
I2C
Yes
Integrating Gyro
45-2005
Modern Robotics
I2C
Yes
IR Locator 360
45-2009
Modern Robotics
I2C
Yes
IR Seeker V3
45-2017
Modern Robotics
I2C
Yes
2m Distance Sensor REV-31-1505 REV Robotics
I2C
Yes
Directly Compatible
No Custom Adapters Needed
Ranger Sensor
45-2008
Modern Robotics
I2C
Yes
HuskyLens SEN0305 DFRobot
I2C
Yes
OctoQuad N/A DigitalChickenLabs
I2C
Yes
Directly Compatible
No Custom Adapters Needed
Optical Tracking Odometry Sensor SEN-24904 SparkFun
I2C
Yes
Adapter Cable from SparkFun Required
NeveRest Motor
AM-3461, AM-3102, AM-2964a, AM-3103, AM-3104
AndyMark
Quad Encoder
Yes
HD Hex Motor
REV-41-1301
REV Robotics
Quad Encoder
Yes
Directly Compatible
No Custom Adapters Needed
Core Hex Motor
REV-41-1301
REV Robotics
Quad Encoder
Yes
Directly Compatible
No Custom Adapters Needed
12v 4mm Motor Kit
50-0119
MATRIX
Quad Encoder
Yes
12v 6mm Motor Kit
50-0120
MATRIX
Quad Encoder
Yes
Standard Motor Kit
50-0001
MATRIX
Quad Encoder
Yes
Max Motor Shaft Encoder Kit
W38000
Tetrix
Quad Encoder
Yes
Maverick 12V DC Gear Motor w/Encoder 75001 Studica
Quad Encoder
Yes
Yellow Jacket Planetary Gear Motors 5203 series, 5204 series goBILDA
Quad Encoder
Yes
Adapter Cable from goBILDA required
NeveRest Hex am-3104c AndyMark
Quad Encoder
Yes
Directly Compatible
No Custom Adapters Needed
Through Bore Encoder REV-11-1271 REV Robotics
Quad Encoder
Incremental Encoder input only
Directly Compatible
No Custom Adapters Needed
Touch Sensor REV-31-1425 REV Robotics
Digital
Yes
Directly Compatible
No Custom Adapters Needed
Limit Switch
45-2401
Modern Robotics
Digital
Yes
No Adapter Needed
Custom Wiring Harness Required.
Potentiometer REV-31-1155 REV Robotics
Analog
Yes
No Adapter Needed Custom Wiring Harness Required.
Rate Gyro
45-2004
Modern Robotics
Analog
No
Not Officially Supported
Optical Distance Sensor
45-2006
Modern Robotics
Analog
No
Not Officially Supported
Touch Sensor
45-2007
Modern Robotics
Analog
Yes
No Adapter Needed
Custom Wiring Harness Required
Light Sensor
45-2015
Modern Robotics
Analog
No
Not Officially Supported
Magnetic Sensor
45-2020
Modern Robotics
Analog
No
Not Officially Supported
The above table is updated as of July 31st 2024.