2014:Robot IO Map: Difference between revisions
Programming (talk | contribs) (→Digital IO (GPIO): switched to encoder from gear tooth sensor) |
Programming (talk | contribs) (added gear tooth) |
||
Line 1: | Line 1: | ||
<span id=can></span> | <span id="can"></span> | ||
= CAN ID Assignments = | = CAN ID Assignments = | ||
Line 148: | Line 149: | ||
|- | |- | ||
| 9<br/> | | 9<br/> | ||
| | | <br/> | ||
| | | | ||
| | | | ||
Line 163: | Line 164: | ||
= Relay Outputs = | = Relay Outputs = | ||
NOTE: each of these should also have a line in the Robot Map [[2014:Robot Sensors/Motors/Lights/Controls Map#servors|Servors/Actuators table]] or the [[2014:Robot Sensors/Motors/Lights/Controls Map#lights|Lights table]] (the "Robot Map Updated?" column in the following table indicates if this was done) | NOTE: each of these should also have a line in the Robot Map [[2014:Robot Sensors/Motors/Lights/Controls Map#servors|Servors/Actuators table]] or the [[2014:Robot Sensors/Motors/Lights/Controls Map#lights|Lights table]] (the "Robot Map Updated?" column in the following table indicates if this was done) | ||
Line 174: | Line 176: | ||
| 1 | | 1 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 2 | | 2 | ||
| | | | ||
| | | | ||
| | | | ||
Line 184: | Line 186: | ||
| 3 | | 3 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 4 | | 4 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 5 | | 5 | ||
| | | | ||
| | | | ||
| | | | ||
Line 199: | Line 201: | ||
| 6 | | 6 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 7 | | 7 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 8 | | 8 | ||
| | | | ||
| | | | ||
| | | | ||
|} | |} | ||
<span id=analog></span> | |||
<span id="analog"></span> | |||
= Analog Inputs = | = Analog Inputs = | ||
Line 326: | Line 330: | ||
|- | |- | ||
| 8<br/> | | 8<br/> | ||
| | | IN<br/> | ||
| | | Shooter<br/> | ||
| | | Kicker High Gear Tooth Counter<br/> | ||
| | | Yes<br/> | ||
|- | |- | ||
| 9 | | 9<br/> | ||
| | | <br/> | ||
| | | | ||
| <br/> | |||
| <br/> | |||
|- | |- | ||
| 10 | | 10 | ||
Line 373: | Line 377: | ||
= I2C Registers = | = I2C Registers = | ||
NOTE: each of these should also have a line in the Robot Map [[2014:Robot Sensors/Motors/Lights/Controls Map#lights|Lights table]] (the "Robot Map Updated?" column in the following table indicates if this was done) | NOTE: each of these should also have a line in the Robot Map [[2014:Robot Sensors/Motors/Lights/Controls Map#lights|Lights table]] (the "Robot Map Updated?" column in the following table indicates if this was done) | ||
Line 384: | Line 389: | ||
|- | |- | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
Line 390: | Line 395: | ||
|- | |- | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | | ||
| | | | ||
| | | | ||
Line 402: | Line 407: | ||
|- | |- | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
Line 408: | Line 413: | ||
|- | |- | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
Line 414: | Line 419: | ||
|- | |- | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
Line 421: | Line 426: | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|} | |} | ||
<span id=pneumatics></span> | |||
<span id="pneumatics"></span> | |||
= Pneumatics Bumper = | = Pneumatics Bumper = | ||
Line 438: | Line 445: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | | ||
| | | | ||
| | | | ||
Line 444: | Line 451: | ||
| 2 | | 2 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 3 | | 3 | ||
| | | | ||
| | | | ||
| | | | ||
Line 454: | Line 461: | ||
| 4 | | 4 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 5 | | 5 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 6 | | 6 | ||
| | | | ||
| | | | ||
| | | | ||
Line 469: | Line 476: | ||
| 7 | | 7 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 8 | | 8 | ||
| | | | ||
| | | | ||
| | | | ||
|} | |} |
Revision as of 15:55, 25 January 2014
CAN ID Assignments
NOTE: each of these should also have a line in the Robot Map Motor table (the "Robot Map Updated?" column in the following table indicates if this was done)
ID | Subsystem | Description (brief) |
Robot Map Updated? |
1 | RESERVED | Factory-default allows for adding Jaguar quickly and re-assign its ID |
n/a |
2 | Drivetrain | Left Front Drive | Yes |
3 | Drivetrain | Left Rear Drive | Yes |
4 | Drivetrain | Right Front Drive | Yes |
5 | Drivetrain | Right Rear Drive | Yes |
6 | Shooter | front left Kicker arm | yes |
7 | Shooter | mid left Kicker arm | yes |
8 | Shooter | back left Kicker arm | yes |
9 | Shooter | right front Kicker arm | yes |
10 | Shooter | right mid Kicker arm | yes |
11 | Shooter | right back Kicker arm | yes |
12 | Intake |
roller motor |
yes |
13 |
Shooter |
Cradle Lift |
yes |
14 |
|||
15 | |||
16 |
PWM Outputs
NOTE: each of these should also have a line in the Robot Map Servors/Actuators table (the "Robot Map Updated?" column in the following table indicates if this was done)
ID | Subsystem | Description (brief) |
Robot Map Updated? |
1 | shooter | front left kicker | yes |
2 | shooter | mid left kicker | yes |
3 | shooter | back left kicker | yes |
4 | shooter | right front kicker | yes |
5 | shooter | right mid kicker | yes |
6 | shooter | right back kicker |
yes |
7 | intake |
roller motor |
yes |
8 | shooter |
cradle lift |
yes |
9 |
|||
10 |
Relay Outputs
NOTE: each of these should also have a line in the Robot Map Servors/Actuators table or the Lights table (the "Robot Map Updated?" column in the following table indicates if this was done)
ID | Subsystem | Description (brief) |
Robot Map Updated? |
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 |
Analog Inputs
NOTE: each of these should also have a line in the Robot Map Sensors table (the "Robot Map Updated?" column in the following table indicates if this was done)
ID | Subsystem | Description (brief) |
Robot Map Updated? |
1 | Drivetrain |
Gyro |
No |
2 | Intake | Position Potentiometer | Yes |
3 | Intake | Position Potentiometer - redundant | Yes |
4 | |||
5 | |||
6 | |||
7 | |||
8 | RESERVED | Battery Voltage input (Do not use for any other device) | n/a |
Digital IO (GPIO)
NOTE: each of these should also have a line in the Robot Map Sensors table or the Lights table (the "Robot Map Updated?" column in the following table indicates if this was done)
ID | Direction (IN/OUT) |
Subsystem | Description (brief) |
Robot Map Updated? |
1 | IN | Drivetrain | Left Encoder, Phase A | yes |
2 | IN | Drivetrain | Left Encoder, Phase B | yes |
3 | IN | Drivetrain | Right Encoder, Phase A | yes |
4 | IN | Drivetrain | Right Encoder, Phase B | yes |
5 | IN | Shooter | Kicker Encoder, Phase A |
Yes |
6 | IN |
Shooter |
Kicker Encoder, Phase B |
Yes |
7 | IN |
Shooter |
Optical Flag Sensor |
Yes |
8 |
IN |
Shooter |
Kicker High Gear Tooth Counter |
Yes |
9 |
||||
10 | ||||
11 | ||||
12 | ||||
13 | ||||
14 |
I2C Registers
NOTE: each of these should also have a line in the Robot Map Lights table (the "Robot Map Updated?" column in the following table indicates if this was done)
Address (e.g. 0100111X) |
Pin (e.g. GP0) |
Subsystem | Description (brief) |
Robot Map Updated? |
Pneumatics Bumper
ID | Subsystem | Description (brief) |
Robot Map Updated? |
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 |