2013:Robot IO Map: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 367: | Line 367: | ||
| | | | ||
| align="middle" valign="center" | 03 | | align="middle" valign="center" | 03 | ||
| | |||
|- | |||
| '''I2C Registers''' | |||
| <br/> | |||
| <br/> | |||
|- | |||
| | |||
Address | |||
0100111X | |||
| GP0<br/> | |||
| | |||
|- | |||
| | |||
Address | |||
0100111X | |||
| GP1<br/> | |||
| | |||
|- | |||
| | |||
Address | |||
0100111X | |||
| GP2<br/> | |||
| | |||
|- | |||
| | |||
Address | |||
0100111X | |||
| GP3<br/> | |||
| | |||
|- | |||
| | |||
Address | |||
0100111X | |||
| GP4<br/> | |||
| | |||
|- | |||
| | |||
Address | |||
0100111X | |||
| GP5<br/> | |||
| | |||
|- | |||
| | |||
Address | |||
0100111X | |||
| GP6<br/> | |||
| <br/> | |||
|- | |||
| | |||
Address | |||
0100111X | |||
| GP7<br/> | |||
| | | | ||
|} | |} |
Revision as of 17:32, 23 January 2013
Type / Function | Channel |
Connected Device |
CAN ID Assignments |
1-16 |
|
RESERVED
|
01 | DO NOT USE. ID 1 is the factory-default CAN id; us not using it makes it easier to swap one in quickly and re-assign an id. |
|
02 | Left side drivetrain motor (front) |
|
03 | Reserved for optional Left side drivetrain motor (rear) |
|
04 | Right side drivetrain motor (front) |
|
05 | Reserved for Right side drivetrain motor (rear) |
|
06 | |
|
07 |
|
|
08 |
|
|
09 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
PWM Outputs |
|
|
|
01 |
|
|
02 |
|
|
03 |
|
|
04 |
|
|
05 |
|
|
06 |
|
|
07 |
|
|
08 |
|
|
09 |
|
|
10 |
|
Relay Outputs | ||
|
01 |
|
|
02 |
|
|
03 |
|
|
04 |
|
|
05 |
|
|
06 |
|
|
07 |
|
|
08 |
|
Analog Inputs |
||
|
01 |
Gyro |
02 |
||
03 |
| |
|
04 |
|
|
05 |
|
06 | ||
|
07 | |
|
08 |
Battery Voltage input (Do not use for any other device) |
Digital IO (GPIO) | ||
|
01 |
Left drivetrain rotary encoder A |
02 |
Left drivetrain rotary encoder B | |
|
03 |
Right drivetrain rotary encoder A |
04 |
Right drivetrain rotary encoder B | |
|
05 |
|
|
06 |
|
07 |
||
08 |
||
09 |
||
10 |
||
11 |
||
12 |
||
13 |
| |
14 |
||
Pneumatics Bumper | ||
01 | ||
02 | ||
03 | ||
I2C Registers | ||
Address 0100111X |
GP0 |
|
Address 0100111X |
GP1 |
|
Address 0100111X |
GP2 |
|
Address 0100111X |
GP3 |
|
Address 0100111X |
GP4 |
|
Address 0100111X |
GP5 |
|
Address 0100111X |
GP6 |
|
Address 0100111X |
GP7 |