2020:Robot IO Map: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) No edit summary |
Programming (talk | contribs) No edit summary |
||
Line 197: | Line 197: | ||
</div> </div> | </div> </div> | ||
<div class="mw-parser-output"> | |||
<div class="mw-parser-output"> | <div class="mw-parser-output"> | ||
== PWM Outputs == | == PWM Outputs == | ||
{| | {| border="1" cellpadding="2" cellspacing="1" style="width: 902px" | ||
|- | |- | ||
| '''ID''' | | style="width: 15px;" | '''ID''' | ||
| style="width: | | style="width: 70px; text-align: center;" | '''Subsystem''' | ||
| style="width: 76px" | <p style="text-align: center">'''Component'''</p> <p style="text-align: center">'''Type'''</p> | | style="width: 76px" | <p style="text-align: center">'''Component'''</p> <p style="text-align: center">'''Type'''</p> | ||
| style="text-align: center; | | style="text-align: center; width: 54px" | '''Model #''' | ||
| style="text-align: center; | | style="text-align: center; width: 170px" | '''Description<br/> (brief)''' | ||
| style="text-align: center; | | style="text-align: center; width: 280px" | | ||
'''Operation''' | '''Operation''' | ||
| | ||
| style="text-align: center; | | style="text-align: center; width: 280px" | '''Brake/Coast''' | ||
| colspan="2" rowspan="1" style="width: 198px; | | colspan="2" rowspan="1" style="width: 198px; text-align: center" | | ||
'''Notes''' | '''Notes''' | ||
Line 219: | Line 220: | ||
|- | |- | ||
| rowspan=" | | rowspan="2" style="width: 15px;" | | ||
| style="width: | 0 | ||
| style="width: 76px" | | |||
| style="width: 54px" | | | ||
| style="width: 170px" | | |||
| style="width: 70px;" | | |||
Drive base | |||
| |||
| style="width: 76px" | Speed Controller | |||
| style="width: 54px" | Spark Max | |||
| style="width: 170px" | Left front drive motor | |||
| style="width: 280px" | Moves left side of robot forwards/backwards | |||
| style="width: 280px" | Don't know | |||
| style="width: 125px; text-align: center" | 40A | |||
| style="width: 72px; text-align: center" | 0 | |||
|- | |||
| style="width: 70px;" | Drive Base | |||
| style="width: 76px" | Speed Controller | |||
| style="width: 54px" | Spark max | |||
| style="width: 170px" | Left rear drive motor | |||
| style="width: 280px" | | | style="width: 280px" | | ||
| style="width: 280px" | | | style="width: 280px" | Don't know | ||
| style="width: 125px; | | style="width: 125px; text-align: center" | 40A | ||
| style="width: 72px; | | style="width: 72px; text-align: center" | 1 | ||
|- | |||
| rowspan="2" style="width: 15px;" | 1 | |||
| style="width: 70px;" | Drive Base | |||
| style="width: 76px" | Speed Controller | |||
| style="width: 54px" | Spark Max | |||
| style="width: 170px" | Right front drive motor | |||
| style="width: 280px" | Moves right side of robot forwards/backwards | |||
| style="width: 280px" | Don't know | |||
| style="width: 125px; text-align: center" | 40A | |||
| style="width: 72px; text-align: center" | 2 | |||
|- | |- | ||
| style="width: 70px;" | Drive Base | |||
| style="width: | | style="width: 76px" | Speed Controller | ||
| style="width: 76px" | | | style="width: 54px" | Spark Max | ||
| style="width: 54px" | | | style="width: 170px" | Right Rear drive Motor | ||
| style="width: 170px" | | |||
| style="width: 280px" | | | style="width: 280px" | | ||
| style="width: 125px; | | style="width: 280px" | Don't know | ||
| style="width: 72px; | | style="width: 125px; text-align: center" | 40A | ||
| style="width: 72px; text-align: center" | 3 | |||
|- | |- | ||
| 2 | | style="width: 15px;" | 2 | ||
| style="width: | | style="width: 70px;" | | ||
| style="width: 76px" | | | style="width: 76px" | | ||
| style="width: 54px" | | | style="width: 54px" | | ||
Line 249: | Line 276: | ||
| style="width: 72px" | | | style="width: 72px" | | ||
|- | |- | ||
| 3 | | style="width: 15px;" | 3 | ||
| style="width: | | style="width: 70px;" | | ||
| style="width: 76px" | | | style="width: 76px" | | ||
| style="width: 54px" | | | style="width: 54px" | | ||
Line 259: | Line 286: | ||
| style="width: 72px" | | | style="width: 72px" | | ||
|- | |- | ||
| 4 | | style="width: 15px;" | 4 | ||
| style="width: | | style="width: 70px;" | | ||
| style="width: 76px" | | | style="width: 76px" | | ||
| style="width: 54px" | | | style="width: 54px" | | ||
Line 269: | Line 296: | ||
| style="width: 72px" | | | style="width: 72px" | | ||
|- | |- | ||
| 5 | | style="width: 15px;" | 5 | ||
| style="width: | | style="width: 70px;" | | ||
| style="width: 76px" | | | style="width: 76px" | | ||
| style="width: 54px" | | | style="width: 54px" | | ||
Line 279: | Line 306: | ||
| style="width: 72px" | | | style="width: 72px" | | ||
|- | |- | ||
| 6 | | style="width: 15px;" | 6 | ||
| style="width: | | style="width: 70px;" | | ||
| style="width: 76px" | | | style="width: 76px" | | ||
| style="width: 54px" | | | style="width: 54px" | | ||
Line 289: | Line 316: | ||
| style="width: 72px" | | | style="width: 72px" | | ||
|- | |- | ||
| 7 | | style="width: 15px;" | 7 | ||
| style="width: | | style="width: 70px;" | | ||
| style="width: 76px" | | | style="width: 76px" | | ||
| style="width: 54px" | | | style="width: 54px" | | ||
Line 299: | Line 326: | ||
| style="width: 72px" | | | style="width: 72px" | | ||
|- | |- | ||
| 8 | | style="width: 15px;" | 8 | ||
| style="width: | | style="width: 70px;" | | ||
| style="width: 76px" | | | style="width: 76px" | | ||
| style="width: 54px" | | | style="width: 54px" | | ||
Line 309: | Line 336: | ||
| style="width: 72px" | | | style="width: 72px" | | ||
|- | |- | ||
| 9 | | style="width: 15px;" | 9 | ||
| style="width: | | style="width: 70px;" | | ||
| style="width: 76px" | | | style="width: 76px" | | ||
| style="width: 54px" | | | style="width: 54px" | | ||
Line 321: | Line 348: | ||
| | ||
<div class="mw-parser-output"><div class="mw-parser-output"> </div> </div> </div> | <div class="mw-parser-output"><div class="mw-parser-output"> </div> </div> </div> <div class="mw-parser-output"> </div> </div> | ||
== Relay Outputs == | == Relay Outputs == | ||
Revision as of 17:21, 23 January 2020
Robot I/O
CAN ID Assignments
ID | Subsystem | Component Type |
Model # | Brake or Coast? | Description (brief) |
Operation |
Notes (8) max. 40A PDB # | |
0 | Electrical | PD Module |
Power Distribution Module feedback | monitor PD | must be CAN 0 |
|||
1 | RESERVED | n/a | Factory-default allows for adding new device quickly and re-assign its ID |
don't use | ||||
2 |
|
|||||||
3 |
|
|||||||
4 | ||||||||
5 | ||||||||
6 | ||||||||
7 | ||||||||
8 |
|
|||||||
9 | ||||||||
10 | ||||||||
11 | ||||||||
12 | ||||||||
13 | ||||||||
14 | ||||||||
15 |
PWM Outputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation
|
Brake/Coast |
Notes (8) max. 40A PDB # | |
0
|
Drive base
|
Speed Controller | Spark Max | Left front drive motor | Moves left side of robot forwards/backwards | Don't know | 40A | 0 |
Drive Base | Speed Controller | Spark max | Left rear drive motor | Don't know | 40A | 1 | ||
1 | Drive Base | Speed Controller | Spark Max | Right front drive motor | Moves right side of robot forwards/backwards | Don't know | 40A | 2 |
Drive Base | Speed Controller | Spark Max | Right Rear drive Motor | Don't know | 40A | 3 | ||
2 | ||||||||
3 | ||||||||
4 | ||||||||
5 | ||||||||
6 | ||||||||
7 | ||||||||
8 | ||||||||
9 |
Relay Outputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation | Notes |
0 | ||||||
1 | ||||||
2 | ||||||
3 |
Analog IO
RoboRIO Analog Inputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
0 | |||||||
1 | |||||||
2 | |||||||
3 |
More Board Analog Inputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
0 | |||||||
1 | |||||||
2 | |||||||
3 |
Digital IO (GPIO)
RoboRio IO
ID | Direction (IN/OUT) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation | Notes |
0 | IN | ||||||
1 | IN | ||||||
2 | IN | ||||||
3 | IN | ||||||
4 | IN | ||||||
5 | IN | ||||||
6 | IN | ||||||
7 | IN | ||||||
8 | IN | ||||||
9 | IN |
Rev Robotics More Board IO
ID | Direction (IN/OUT) | Subsystem | Component Type | Model # | Description (brief) | Operation | Notes |
0 | IN | ||||||
1 | IN | ||||||
2 | IN | ||||||
3 | IN | ||||||
4 | IN | ||||||
5 | IN | ||||||
6 | IN | ||||||
7 | IN | ||||||
8 | IN | ||||||
9 | |||||||
10 | |||||||
11 | |||||||
12 | |||||||
13 | |||||||
14 | |||||||
15 |
I2C Registers
Address (e.g. 0100111X) |
Pin (e.g. GP0) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation | Notes |
SPI Devices
# | Subsystem | Component Type |
Model # | Description (brief) | Operation | Notes |
USB Host Ports
Address | Subsystem | Component Type |
Model # | Description (brief) | Operation | Notes |
0 | ||||||
1 |
Pneumatics Control Modules
PCM ID |
# | Subsystem | Solenoid is Double or Single? |
Solenoid Model # |
Description (brief) |
Operation | Circuit Pressure | PDB # |
1 | 0 | |||||||
1 | ||||||||
2 | ||||||||
3 | ||||||||
4 | ||||||||
5 | ||||||||
6 | ||||||||
7 | ||||||||
2 | 0 | |||||||
1 | ||||||||
2 | ||||||||
3 | ||||||||
4 | ||||||||
5 |
Operator Controls
Controller 1 - Primary Driver
Button/Axis # | Action/Button | Description | Details |
A-1 | Left Joystick Y | ||
A-1 | Left Joystick X | ||
A-4 | Right Joystick Y | ||
A-4 | Right Joystick X | ||
B-6 | Right Bumper | ||
B-5 | Left Bumper | ||
A-3 | Right Trigger | ||
A-2 | Left Trigger | ||
B-1 | A Button | ||
B-3 | X Button | ||
B-4 | Y Button | ||
B-2 | B Button |
Controller 2 - Aux Driver
Button/Axis # | Action/Button | Description | Details |
A-1 | |||
B-1 | |||
B-2 | |||
B-3 | |||
B-4 | |||
B-5 | |||
B-6 | |||
B-7 | |||
B-8 | |||
B-9 | |||
B-10 | |||
B-11 | |||
B-12 |
Controller 2 - Aux Driver (Continued)
Button/Axis # | Action/Button | Description | Details |
B-1 | |||
B-2 | |||
B-3 | |||
B-4 | |||
B-5 | |||
B-6 | |||
B-7 | |||
B-8 | |||
B-9 | |||
B-10 | |||
B-11 | |||
B-12 |
Dashboard
Key | Data Type | Value | Description |
thunderdashboard_green | number |
0 - do NOT have a game piece 1 - have a game piece |
Background of dashboard goes green. |
thunderdashboard_max | number |
0 = show normal 1 = fill screen |
fills screen or not |