Android Phone or the REV Robotics Control Hub) to provide the interfaces required for building robots and other mechatronics. The Expansion Hub was purposed built to stand up to the rigors of the classroom and competition field. It features a mature firmware designed for basic and advanced use cases with the ability to be field upgraded in the future.
Most teams will want to use premade cables which can be sources from the REV Robotics website directly ( Table 1) for convenience, but teams can also make their own cables.
1.4.2 JST VH – Moto r Po wer Motor Power connections on the Expansion Hub use the JST VH style connector. This connector is keyed and locking with a small latch (Figure 1) which must be depressed to release the cable.
The JST PH style connector is used for motor encoder, analog, digital, I2C, RS485, and UART connections on the Expansion Hub. These are all 4-pin connections except for the RS485 and UART which are 3 pin. The connectors are keyed (they only insert in one orientation) and are friction locking. In Figure 2 the keying feature aligned with the cable is shown.
2.4 Robot Configuration Every device connected to the Expansion Hub will need to be added to the Robot Configuration file before you can use the device in your program. The Robot Configuration will allow you to give your se nsors and actuators meaningful names that you can reference while programming.
Page 11
Configuring Your Robot for the First Time 2.4-1. Connect your Robot Controller Phone via USB to the Expansion Hub’s mini USB port. It’s also recommended to connect a battery. 2.4-2. Select the menu on either the Driver Station or Robot Controller. Then select “Configure Robot”.
Page 13
2.4-10. Press done once to go back to the list of device port and then select I2C Bus 0. 2.4-11. Add the built-in REV Expansion Hub IMU. Name it “imu” 2.4-12. Press the “Done” button (at the top left corner of the page) 3 times.
2.5 Adding an Additional Expansion Hub If you want to use more than 4 motors or 6 servos, you will need to add the Expansion Hub to your robot. An Expansion Hub can be added to another Expansion Hub or to a Control Hub. The Expansion Hub has all of the same ports as the Control Hub but without the wireless capability.
Page 15
Adding an Expansion Hub to your Robot 2.5-1. To add an additional Expansion Hub to your robot, each hub must have a unique address. Expansion Hubs come from the factory with the default address: 2. With the Robot Controller Phone connected...
Configure and program as necessary. 2.6 LED Blink Codes The RGB LED located on the Expansion Hub near the RS485 ports provides user feedback regarding the status of the Expansion Hub. Reference Table 7 and Table 8 for different firmware LED codes.
Page 18
Blinking Blue Anytime resumes. Battery Voltage is lower than 7V. Either the 12V battery needs to be charged, or the Expansion Hub is running on USB power only. This fault will clear when battery voltage is raised above Blinking Orange Anytime This will not be overwritten by the keepalive timeout pattern.
Expansion Hub system. The REV Robotics Level Shifter is a PCB 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 (Figure 5).
If using the Sensor addon cable, connect the sensor to the Expansion Hub as shown in Figure 7. It is recommended to zip tie the connection between the sensor and the sensor cable to prevent accidental disconnects.
4.4 Sensor Compatability Chart To determine if your existing sensors can be used with the Expansion Hub and what additional hardware if any is required, reference Table 9. Table 9: Sensor Compatibility Table Sensor Type Compatible Adapters Needed Absolute Orientation IMU Fusion Breakout - BNO055 3.3V Compatible...
Need help?
Do you have a question about the Expansion Hub and is the answer not in the manual?
Questions and answers