2018:Robot IO Map: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 490: | Line 490: | ||
|} | |} | ||
<div class="mw-parser-output"> | |||
== Digital IO (GPIO) == | == Digital IO (GPIO) == | ||
=== <u>RoboRio IO</u> === | === <u>RoboRio IO</u> === | ||
{| cellpadding="2" cellspacing | {| border="1" cellpadding="2" cellspacing="1" style="width: 998px;" | ||
|- | |- | ||
| '''ID''' | | '''ID''' | ||
| '''Direction'''<br/>(IN/OUT) | | '''Direction'''<br/> (IN/OUT) | ||
| style="width: 69px; text-align: center;" | '''Subsystem''' | | style="width: 69px; text-align: center;" | '''Subsystem''' | ||
| style="width: 73px;" | <p style="text-align: center;">'''Component'''</p><p style="text-align: center;">'''Type'''</p> | | style="width: 73px;" | <p style="text-align: center;">'''Component'''</p> <p style="text-align: center;">'''Type'''</p> | ||
| style="width: 52px; text-align: center;" | '''Model #''' | | style="width: 52px; text-align: center;" | '''Model #''' | ||
| style="width: 194px; text-align: center;" | '''Description<br/>(brief)''' | | style="width: 194px; text-align: center;" | '''Description<br/> (brief)''' | ||
| style="width: 253px; text-align: center;" | '''Operation''' | | style="width: 253px; text-align: center;" | '''Operation''' | ||
| style="width: 118px; text-align: center;" | '''Notes''' | | style="width: 118px; text-align: center;" | '''Notes''' | ||
|- | |- | ||
| 0 | | 0 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | Drive | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | left encoder phase A | |||
| style="width: 194px;" | | | style="width: 253px;" | measures distance traveled | ||
| style="width: 253px;" | | | style="width: 118px;" | | ||
| style="width: 118px;" | | |||
|- | |- | ||
| 1 | | 1 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | Drive | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | left encoder phase B | |||
| style="width: 194px;" | | | style="width: 253px;" | measures distance traveled | ||
| style="width: 253px;" | | | style="width: 118px;" | | ||
| style="width: 118px;" | | |||
|- | |- | ||
| 2 | | 2 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | Drive | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | right encoder phase A | |||
| style="width: 194px;" | | | style="width: 253px;" | measures distance traveled | ||
| style="width: 253px;" | | | style="width: 118px;" | | ||
| style="width: 118px;" | | |||
|- | |- | ||
| 3 | | 3 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | Drive | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | right encoder phase B | |||
| style="width: 194px;" | | | style="width: 253px;" | measures distance traveled | ||
| style="width: 253px;" | | | style="width: 118px;" | | ||
| style="width: 118px;" | | |||
|- | |- | ||
| 4 | | 4 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | |||
| style="width: 194px;" | | | style="width: 253px;" | | ||
| style="width: 253px;" | | | style="width: 118px;" | | ||
| style="width: 118px;" | | |||
|- | |- | ||
| 5 | | 5 | ||
| OUT | | OUT | ||
| style="width: 69px;" | | | style="width: 69px;" | | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | | style="width: 194px;" | | ||
| style="width: 253px;" | | | style="width: 253px;" | | ||
| style="width: 118px;" | | | style="width: 118px;" | | ||
|- | |- | ||
| 6 | | 6 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | | style="width: 194px;" | | ||
| style="width: 253px;" | | | style="width: 253px;" | | ||
| style="width: 118px; text-align: center;" | | | style="width: 118px; text-align: center;" | | ||
|- | |- | ||
| 7 | | 7 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | | style="width: 194px;" | | ||
| style="width: 253px;" | | | style="width: 253px;" | | ||
| style="width: 118px; text-align: center;" | | | style="width: 118px; text-align: center;" | | ||
|- | |- | ||
| 8 | | 8 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | |||
| style="width: 194px;" | | | style="width: 253px;" | | ||
| style="width: 253px;" | | | style="width: 118px;" | | ||
| style="width: 118px;" | | |||
|- | |- | ||
| 9 | | 9 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | | style="width: 194px;" | | ||
| style="width: 253px;" | | | style="width: 253px;" | | ||
| style="width: 118px;" | | | style="width: 118px;" | | ||
|} | |} | ||
=== <u>Rev Robotics More Board IO</u> === | === <u>Rev Robotics More Board IO</u> === | ||
{| | {| border="1" cellpadding="1" cellspacing="1" style="width: 1022px" | ||
|- | |- | ||
| style="width: 16px; text-align: center" | '''ID''' | | style="width: 16px; text-align: center" | '''ID''' | ||
Line 612: | Line 607: | ||
| style="width: 56px; text-align: center" | '''Model #''' | | style="width: 56px; text-align: center" | '''Model #''' | ||
| style="width: 197px; text-align: center" | '''Description (brief)''' | | style="width: 197px; text-align: center" | '''Description (brief)''' | ||
| style="width: 254px; text-align: center" | '''Operation''' | | style="width: 254px; text-align: center" | '''Operation''' | ||
| style="width: 141px; text-align: center" | '''Notes''' | | style="width: 141px; text-align: center" | '''Notes''' | ||
|- | |- | ||
| style="width: 16px" | 0 | | style="width: 16px" | 0 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 1 | | style="width: 16px" | 1 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 2 | | style="width: 16px" | 2 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 3 | | style="width: 16px" | 3 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 4 | | style="width: 16px" | 4 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 5 | | style="width: 16px" | 5 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 6 | | style="width: 16px" | 6 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 7 | | style="width: 16px" | 7 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 8 | | style="width: 16px" | 8 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 9 | | style="width: 16px" | 9 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 10 | | style="width: 16px" | 10 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 11 | | style="width: 16px" | 11 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 12 | | style="width: 16px" | 12 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 13 | | style="width: 16px" | 13 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 14 | | style="width: 16px" | 14 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|- | |- | ||
| style="width: 16px" | 15 | | style="width: 16px" | 15 | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 74px" | | | style="width: 74px" | | ||
| style="width: 56px" | | | style="width: 56px" | | ||
| style="width: 197px" | | | style="width: 197px" | | ||
| style="width: 254px" | | | style="width: 254px" | | ||
| style="width: 141px" | | | style="width: 141px" | | ||
|} | |} | ||
</div> | |||
== I2C Registers == | == I2C Registers == |
Revision as of 17:52, 25 January 2018
Robot I/O
CAN ID Assignments
ID | Subsystem | Component Type |
Model # | 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 | cube intake | RS 775 | Talon SRX | left | Intake cube to hand (+) eject cube (-) | 30 A ? | 6 |
3 | cube intake | RS 775 | Talon SRX | right | Intake cube to hand (+) eject cube (-) | 30 A ? | 7 |
4 | arm | RS 775 | Talon SRX | moves arm | moves from arm front (+) to back (-) | 30 A ? | 5 |
5 | hand | RS 775 | Talon SRX | hold and eject the cube | rollers intake (+) eject the cube (-) | 30 A ? | 4 |
6 | |||||||
7 | |||||||
8 | |||||||
9 | |||||||
10 | |||||||
11 | |||||||
12 | |||||||
13 | |||||||
14 | |||||||
15 |
PWM Outputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation
|
Notes (8) max. 40A PDB # | |
0 | DriveBase | CIM | SPARK | Left Motor 1; +Voltage = Forwards | 40A | 0 | |
0 | DriveBase | CIM | SPARK | Left Motor 2; +Voltage = Forwards | 40A | 1 | |
0 | DriveBase | CIM | SPARK | Left Motor 3; +Voltage = Forwards | 40A | 2 | |
1 | DriveBase | CIM | SPARK | Right Motor 1; +Voltage = Forwards | 40A | 15 | |
1 | DriveBase | CIM | SPARK | Right Motor 2; +Voltage = Forwards | 40A | 14 | |
1 | DriveBase | CIM | SPARK | Right Motor 3; +Voltage = Forwards | 40A | 13 | |
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 | Drive | gyro | TBD | gyro | telling angle and rate in auto |
|
|
2 | |||||||
3 |
Rev Robotics More Board Analog IO
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
AIN0 | |||||||
AIN1 | |||||||
AIN2 | |||||||
AIN3 | |||||||
AOUT0 | |||||||
AOUT1 |
Digital IO (GPIO)
RoboRio IO
ID | Direction (IN/OUT) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation | Notes |
0 | IN | Drive | left encoder phase A | measures distance traveled | |||
1 | IN | Drive | left encoder phase B | measures distance traveled | |||
2 | IN | Drive | right encoder phase A | measures distance traveled | |||
3 | IN | Drive | right encoder phase B | measures distance traveled | |||
4 | IN | ||||||
5 | OUT | ||||||
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 | |||||||
1 | |||||||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 | |||||||
7 | |||||||
8 | |||||||
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 |
0 | |||||||
1 | |||||||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 |
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 Module
ID | Subsystem | Component Type |
Model # |
Description (brief) |
Operation |
Notes | Pressure Circuit |
0 | |||||||
1 | |||||||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 | |||||||
7 |
Operator Controls
Controller 1 - Primary Driver
Button # |
Action/Button |
Description | Details |
Left Joystick Y |
|||
Left Joystick X |
|||
Right Joystick Y | |||
Right Joystick X | |||
5 |
Left Bumper | ||
6 |
Right Bumper | ||
7 |
Left Trigger | ||
8 |
Right Trigger |
||
4 |
Y button | ||
1 |
A button |
Controller 2 - Aux Driver
Button # |
Action/Button |
Description | Details |
5 |
Left Bumper |
||
6 |
Right Bumper |
||
8 |
Right Trigger | ||
7 |
Left Trigger | ||
0 |
Dpad Up |
||
4 |
Y button | ||
1 |
A button |
||
3 |
X button |
Broken Switches
Switch | Description | Details |
Broken Switch1 | ||
Broken Switch2 | ||
Broken Switch3 | ||
Broken Switch4 | ||
Broken Switch5 |
||
Broken Switch6 |
||
Broken Switch7 |