1- Using Two Expansion Hubs
2- ========================
1+ Adding an Expansion Hub
2+ =======================
33
44Introduction
55~~~~~~~~~~~~
66
77A single REV Robotics Control or Expansion Hub has a limited amount of input/output
88(I/O) ports available. In some instances, you might want to use more
99devices than there are ports available. For these instances you might
10- need to connect a second Expansion Hub to your first Hub to add more I/O
10+ need to connect an Expansion Hub to your first Hub to add more I/O
1111ports.
1212
13- This document describes how to connect and configure two Expansion Hubs
14- for use in the FIRST Tech Challenge. Note that the FIRST Tech Challenge
15- Competition Manual limits the maximum number of
16- Expansion Hubs on a single robot to two.
17-
18- **Important Note: ** This document describes the process for setting up a
19- smartphone Robot Controller with two Expansion Hubs. Control Hubs have a
20- reserved address, so you do not need to worry about an Expansion Hub's
21- address when it is the only Expansion Hub connected to a Control Hub.
22- However, the process for physically connecting and configuring them is the same.
13+ This document describes how to connect and configure an additional Expansion
14+ Hub for use in the FIRST Tech Challenge. Note that the FIRST Tech Challenge
15+ Competition Manual limits the maximum number of Control or Expansion Hubs on
16+ a single robot to two. See rule R701 for the full details.
2317
2418Equipment Needed
2519~~~~~~~~~~~~~~~~
@@ -35,17 +29,8 @@ need the following items:
3529 * - Required Item(s)
3630 - Image
3731
38- * - Two (2) FIRST-approved Android smartphones. One should have the Robot
39- Controller app installed and the other should have the Driver Station
40- app installed. For a list of FIRST-approved Android smartphones, refer
41- to the current Game Manual Part 1, rule <RE06>.
42- - .. figure:: images/twoAndroidPhones.jpg
43-
44- * - USB Type A male to type mini-B male cable.
45- - .. figure:: images/USBTypeACable.jpg
46-
47- * - Micro USB OTG adapter.
48- - .. figure:: images/OTGAdapter.jpg
32+ * - REV Robotics Driver Hub (REV-31-1596)
33+ - .. figure:: images/driverHub.jpg
4934
5035 * - REV Robotics Switch, Cable, & Bracket (REV-31-1387).
5136 - .. figure:: images/REVSwitch.jpg
@@ -54,22 +39,123 @@ need the following items:
5439 - .. figure:: images/TamiyaAdapter.jpg
5540
5641 * - FIRST-approved 12V Battery (such as Tetrix W39057). For a list of
57- FIRST-approved 12V batteries, refer to the current Game Manual
58- Part 1, rule <RE03> .
42+ FIRST-approved 12V batteries, refer to the current Competition Manual,
43+ rule R601 .
5944 - .. figure:: images/Battery.jpg
6045
61- * - Two(2) REV Robotics Expansion Hubs (REV-31-1153).
46+ * - REV Robotics Control Hub (REV-31-1595).
47+ - .. figure:: images/controlHub.jpg
48+
49+ * - REV Robtics Expansion Hub (REV-31-1153).
6250 - .. figure:: images/ExpansionHub.jpg
63- .. figure :: images/ExpansionHub.jpg
6451
6552 * - REV Robotics (or equivalent) 3-Pin JST PH Cable (REV-35-1414, 3 pack shown but only one needed).
6653 - .. figure:: images/3PinJSTPH.jpg
6754
6855 * - REV Robotics XT30 Extension Cable (REV-31-1394).
6956 - .. figure:: images/xt30Extension.jpg
7057
58+ Connecting the Expansion Hub
59+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60+
61+ 1. The first step is to use the 3-pin JST PH cable and the XT30 cable
62+ to daisy chain the two Hubs together. Before you do this, ensure that
63+ neither Hub is powered on.
64+
65+ Use the XT30 extension cable to connect an XT30 power port on the Control
66+ Hubs to an XT30 power port on the other Expansion Hub.
67+
68+ <INSET IMAGE>
69+
70+ 2. The Control Hub and Expansion Hub use the RS-485 serial bus standard
71+ to communicate between devices. You can use the 3-pin JST PH cable to
72+ connect one of the ports labeled “RS485” on the Control Hub to one of
73+ the ports labeled “RS485” on the Expansion Hub.
74+
75+ <INSERT IMAGE>
76+
77+ Note that it is not important which “RS485” port that you select on the
78+ Expansion Hub or Control Hub. Either port should work.
79+
80+ .. figure :: images/RS485Port.jpg
81+ :align: center
82+
83+ 3. Once you have the two devices daisy chained together (12V power and
84+ RS-485 signal) you can connect the battery and power switch, and power
85+ on the devices.
86+
87+ <INSERT IMAGE>
88+
89+ Configuring Both devices
90+ ~~~~~~~~~~~~~~~~~~~~~~~~
91+
92+ If you successfully daisy chained your Expansion Hub and Control Hub,
93+ then you should be able to create a new configuration file that includes
94+ both devices.
95+
96+ **Note: ** If you already have a configuration that contains just the
97+ Control Hub, you can add the Expansion Hub by editing the configuration
98+ and pressing the "Scan" button.
99+
100+ Connect your Driver Hub to the Control Hub's WiFi network and select the
101+ Configure Robot option from the Driver Station app. Press the New button
102+ to create a new configuration file. When you first scan for hardware, your
103+ Robot Controller should detect the empedded Control Hub. The Robot Controller
104+ will automatically label this device as an Control Hub “Portal”. The Robot
105+ Controller will talk through this portal to the individual Hubs.
106+
107+ <INSERT IMAGE>
108+
109+ If you click on the Portal item in the configuration screen, you should
110+ see both the Control Hub and the Expansion Hub listed.
111+
112+ <INSERT IMAGE>
113+
114+ You can save this configuration file and return to the main screen of
115+ the Driver Station. After the robot has been restarted, both Hubs should
116+ have a solid green LED that blinks blue every ~5 seconds.
117+
118+ Congratulations, you are now ready to use your combination of Control and
119+ Expansion Hubs! You can configure and operate these Hubs as you would an
120+ individual Hub.
121+
122+ Using Two Expansion Hubs
123+ ~~~~~~~~~~~~~~~~~~~~~~~~
124+
125+ Teams without access to a Control Hub may use two Expansion Hubs on
126+ their robot. This is not recommended as it creates extra steps in
127+ order to control the robot.
128+
129+ Additional Equipment Needed
130+ ---------------------------
131+
132+ There is some additional equipment required for teams who aren't
133+ using a Control Hub on their robot.
134+
135+ .. list-table ::
136+ :header-rows: 1
137+ :widths: 50 50
138+ :class: longtable
139+
140+ * - Required Item(s)
141+ - Image
142+
143+ * - A FIRST-approved Android smartphone with the FTC Robot Controller
144+ app installed. For a list of FIRST-approved Android smartphones,
145+ refer to the current Competition Manual, rule R704.
146+ - .. figure:: images/oneAndroidPhone.jpg
147+
148+ * - USB Type A male to type mini-B male cable.
149+ - .. figure:: images/USBTypeACable.jpg
150+
151+ * - Micro USB OTG adapter.
152+ - .. figure:: images/OTGAdapter.jpg
153+
154+ * - An additional REV Robtics Expansion Hub (REV-31-1153).
155+ - .. figure:: images/ExpansionHub.jpg
156+
71157Changing the Address of an Expansion Hub
72- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158+ ----------------------------------------
73159
74160You can use the Advanced Settings menu of the Robot Controller App
75161to change the address of any connected Expansion Hubs.
@@ -120,9 +206,9 @@ indicating that the Expansion Hub’s address has been changed.
120206 :align: center
121207
122208Connecting the Two Expansion Hubs
123- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
209+ ---------------------------------
124210
125- 1 . After you have changed the address of one of the Hubs, you can use the
211+ 5 . After you have changed the address of one of the Hubs, you can use the
1262123-pin JST PH cable and the XT30 cable to daisy chain the two Hubs
127213together. Before you do this, disconnect the 12V battery and power
128214switch from the first Expansion Hub.
@@ -133,7 +219,7 @@ Expansion Hubs to an XT30 power port on the other Hub.
133219.. figure :: images/XT30ExtensionConnected.jpg
134220 :align: center
135221
136- 2 . The Expansion Hubs use the RS-485 serial bus standard to communicate
222+ 6 . The Expansion Hubs use the RS-485 serial bus standard to communicate
137223between devices. You can use the 3-pin JST PH cable to connect one of
138224the ports labeled “RS485” on one Expansion Hub to one of the ports
139225labeled “RS485” on the other Expansion Hub.
@@ -147,15 +233,15 @@ Expansion Hub. Either port should work.
147233.. figure :: images/RS485Port.jpg
148234 :align: center
149235
150- 3 . Once you have the two devices daisy chained together (12V power and
236+ 7 . Once you have the two devices daisy chained together (12V power and
151237RS-485 signal) you can reconnect the battery and power switch, and then
152238connect the Robot Controller and power on the devices.
153239
154240.. figure :: images/DualConnected.jpg
155241 :align: center
156242
157243Configuring Your Expansion Hubs
158- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244+ -------------------------------
159245
160246If you successfully daisy chained your two Expansion Hubs,
161247then you should be able to create a new configuration file that includes
0 commit comments