2012:Robot IO Map: Difference between revisions
No edit summary |
Programming (talk | contribs) No edit summary |
||
(15 intermediate revisions by one other user not shown) | |||
Line 18: | Line 18: | ||
| 01 | | 01 | ||
| DO NOT USE.<br/>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. | | DO NOT USE.<br/>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. | ||
|- | |- | ||
Line 24: | Line 24: | ||
| 02 | | 02 | ||
| Left side drivetrain motor (front) | | Left side drivetrain motor (front) | ||
|- | |- | ||
| | | | ||
| 03 | | 03 | ||
| Left side drivetrain motor (rear) | | Left side drivetrain motor (rear) | ||
|- | |- | ||
| | | | ||
| 04 | | 04 | ||
| <br/>Right side drivetrain motor (front) | | <br/>Right side drivetrain motor (front) | ||
|- | |- | ||
Line 42: | Line 42: | ||
| 05 | | 05 | ||
| <br/>Right side drivetrain motor (rear) | | <br/>Right side drivetrain motor (rear) | ||
|- | |- | ||
Line 48: | Line 48: | ||
| 06 | | 06 | ||
| Shooter wheel (upper)<br/> | | Shooter wheel motor (upper)<br/> | ||
|- | |- | ||
| | | | ||
Line 55: | Line 55: | ||
| 07<br/> | | 07<br/> | ||
| Shooter wheel (lower)<br/> | | Shooter wheel motor (lower)<br/> | ||
|- | |- | ||
| | | | ||
Line 61: | Line 61: | ||
| 08<br/> | | 08<br/> | ||
| turret rotation<br/> | | turret rotation motor<br/> | ||
|- | |- | ||
| | | | ||
Line 67: | Line 67: | ||
| 09<br/> | | 09<br/> | ||
| | | Wing deployer motor | ||
|- | |- | ||
| | | | ||
Line 73: | Line 73: | ||
| 10<br/> | | 10<br/> | ||
| | | | ||
|- | |- | ||
| | | | ||
Line 79: | Line 79: | ||
| 11<br/> | | 11<br/> | ||
| | | | ||
|- | |- | ||
| | | | ||
Line 85: | Line 85: | ||
| 12<br/> | | 12<br/> | ||
| | | | ||
|- | |- | ||
| | | | ||
Line 127: | Line 127: | ||
| 02<br/> | | 02<br/> | ||
| | | RESERVED | ||
Conveyor Stage 1 Sensor - LED power only | |||
|- | |- | ||
| | | | ||
Line 133: | Line 135: | ||
| 03<br/> | | 03<br/> | ||
| | | | ||
RESERVED | |||
Conveyor Stage 2 Sensor - LED power only | |||
|- | |- | ||
| | | | ||
Line 139: | Line 145: | ||
| 04<br/> | | 04<br/> | ||
| | | RESERVED | ||
Conveyor Stage 3 Sensor - LED power only | |||
|- | |- | ||
| | | | ||
Line 145: | Line 153: | ||
| 05<br/> | | 05<br/> | ||
| | | RESERVED | ||
Conveyor Entrance Sensor - LED power only | |||
|- | |- | ||
| | | | ||
Line 151: | Line 161: | ||
| 06<br/> | | 06<br/> | ||
| | | | ||
RESERVED | |||
Camera Light - LED power only | |||
|- | |- | ||
| | | | ||
Line 185: | Line 199: | ||
| 01<br/> | | 01<br/> | ||
| | | RESERVED (Possible Wings output) | ||
|- | |- | ||
| | | | ||
Line 191: | Line 205: | ||
| 02<br/> | | 02<br/> | ||
| Beater Bar | | Beater Bar motor | ||
|- | |- | ||
| | | | ||
Line 197: | Line 211: | ||
| 03<br/> | | 03<br/> | ||
| Conveyor Stage 1 | | Conveyor Stage 1 motor | ||
|- | |- | ||
| | | | ||
Line 203: | Line 217: | ||
| 04<br/> | | 04<br/> | ||
| Conveyor Stage 2 | | Conveyor Stage 2 motor | ||
|- | |- | ||
| | | | ||
Line 209: | Line 223: | ||
| 05<br/> | | 05<br/> | ||
| Conveyor Stage 3 | | Conveyor Stage 3 motor | ||
|- | |- | ||
| | | | ||
Line 215: | Line 229: | ||
| 06<br/> | | 06<br/> | ||
| <br/> | | Camera Light<br/> | ||
|- | |- | ||
| | | | ||
Line 227: | Line 241: | ||
| 08<br/> | | 08<br/> | ||
| | | | ||
|- | |- | ||
| | | | ||
Line 242: | Line 256: | ||
|- | |- | ||
| | | | ||
B2 | |||
| 02<br/> | | 02<br/> | ||
| | | | ||
Conveyor Stage 1 | |||
High for Ball in conveyor | |||
Low when no ball present | |||
|- | |- | ||
| | | | ||
B3 | |||
| 03<br/> | | 03<br/> | ||
| | | | ||
Conveyor Stage 2 | |||
High for Ball in conveyor | |||
Low when no ball present | |||
|- | |- | ||
| | | | ||
B4 | |||
| 04<br/> | | 04<br/> | ||
| | | | ||
Conveyor Stage 3 | |||
High for Ball in conveyor | |||
Low when no ball present | |||
|- | |- | ||
| | | | ||
P1 | |||
| 05<br/> | | 05<br/> | ||
| | | | ||
Wing deployer position - potentiometer | |||
Higher values means closer to robot | |||
Lower values means more extended/closer to floor | |||
|- | |- | ||
| L3 | |||
| 06 | |||
| | | | ||
Turret limit switch (optical OPB815WZ) - max CW | |||
High when limit is hit | |||
Low when limit is NOT hit | |||
|- | |- | ||
| | | | ||
<br/>L4 | |||
| 07 | |||
| 07 | | Turret limit switch (optical OPB815WZ) - max CCW | ||
| | High when limit is hit | ||
Low when limit is NOT hit | |||
|- | |- | ||
| | | | ||
Line 288: | Line 317: | ||
|- | |- | ||
| | | | ||
IN | IN - E1 | ||
| 01<br/> | | 01<br/> | ||
| Left drivetrain rotary encoder A | | Left drivetrain rotary encoder A | ||
|- | |- | ||
| IN | | IN - E1 | ||
| 02<br/> | | 02<br/> | ||
| Left drivetrain rotary encoder B | | Left drivetrain rotary encoder B | ||
|- | |- | ||
| | | | ||
IN | IN - E2 | ||
| 03<br/> | | 03<br/> | ||
| Right drivetrain rotary encoder A | | Right drivetrain rotary encoder A | ||
|- | |- | ||
| IN<br/> | | IN - E2<br/> | ||
| 04<br/> | | 04<br/> | ||
| Right drivetrain rotary encoder B | | Right drivetrain rotary encoder B | ||
|- | |- | ||
| | | | ||
IN | IN - E3 | ||
| 05<br/> | | 05<br/> | ||
| Shooter upper wheel rotary encoder | | Shooter upper wheel rotary encoder (E4P) | ||
|- | |- | ||
| | | | ||
IN | IN - E4 | ||
| 06<br/> | | 06<br/> | ||
| Shooter lower wheel rotary encoder | | Shooter lower wheel rotary encoder (E4P) | ||
|- | |- | ||
| IN | | IN - E5/E6 | ||
| 07<br/> | | 07<br/> | ||
| | | Turret motor shaft - rotary encoder (E4P) or turret sprocket position - opto-reflective rotary encoder | ||
|- | |- | ||
| IN | | | ||
IN - B1 | |||
| 08<br/> | | 08<br/> | ||
| | | | ||
conveyor stage 1 entrance - beam break sensor (homemade, 1" cube) | |||
High for Ball in conveyor | |||
Low when no ball present | |||
|- | |- | ||
| | | OUT | ||
| 09<br/> | | 09<br/> | ||
| | | LED - Red | ||
|- | |- | ||
| | | OUT | ||
| 10<br/> | | 10<br/> | ||
| | | LED - Green | ||
|- | |- | ||
| | | OUT | ||
| 11<br/> | | 11<br/> | ||
| | | LED - Blue | ||
|- | |- | ||
| | | OUT | ||
| 12<br/> | | 12<br/> | ||
| | | LED Strip 1 - Select | ||
|- | |- | ||
| | | OUT | ||
| 13 | | 13 | ||
| | | | ||
LED Strip 2 - Select | |||
|- | |- | ||
| | | OUT | ||
| 14<br/> | | 14<br/> | ||
| | | LED Strip 3 - Select | ||
|- | |- | ||
| '''Pneumatics Bumper''' | | '''Pneumatics Bumper''' |
Latest revision as of 11:17, 11 February 2012
Type / Function | Channel |
Connected Device |
CAN ID Assignments |
0-127 |
|
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 | Left side drivetrain motor (rear) |
|
04 | Right side drivetrain motor (front) |
|
05 | Right side drivetrain motor (rear) |
|
06 | Shooter wheel motor (upper) |
|
07 |
Shooter wheel motor (lower) |
|
08 |
turret rotation motor |
|
09 |
Wing deployer motor |
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
PWM Outputs |
|
|
|
01 |
Camera Tilt servo |
|
02 |
RESERVED
Conveyor Stage 1 Sensor - LED power only |
|
03 |
RESERVED Conveyor Stage 2 Sensor - LED power only |
|
04 |
RESERVED
Conveyor Stage 3 Sensor - LED power only |
|
05 |
RESERVED
Conveyor Entrance Sensor - LED power only |
|
06 |
RESERVED Camera Light - LED power only |
|
07 |
|
|
08 |
|
|
09 |
|
|
10 |
|
Relay Outputs | ||
|
01 |
RESERVED (Possible Wings output) |
|
02 |
Beater Bar motor |
|
03 |
Conveyor Stage 1 motor |
|
04 |
Conveyor Stage 2 motor |
|
05 |
Conveyor Stage 3 motor |
|
06 |
Camera Light |
|
07 |
|
|
08 |
|
Analog Inputs |
||
|
01 |
Gyro |
B2 |
02 |
Conveyor Stage 1 High for Ball in conveyor Low when no ball present |
B3 |
03 |
Conveyor Stage 2 High for Ball in conveyor Low when no ball present |
B4 |
04 |
Conveyor Stage 3 High for Ball in conveyor Low when no ball present |
P1 |
05 |
Wing deployer position - potentiometer Higher values means closer to robot Lower values means more extended/closer to floor |
L3 | 06 |
Turret limit switch (optical OPB815WZ) - max CW High when limit is hit Low when limit is NOT hit |
|
07 | Turret limit switch (optical OPB815WZ) - max CCW
High when limit is hit Low when limit is NOT hit |
RESERVED |
08 |
Battery Voltage Input (Don't use for other devices) |
Digital IO (GPIO) | ||
IN - E1 |
01 |
Left drivetrain rotary encoder A |
IN - E1 | 02 |
Left drivetrain rotary encoder B |
IN - E2 |
03 |
Right drivetrain rotary encoder A |
IN - E2 |
04 |
Right drivetrain rotary encoder B |
IN - E3 |
05 |
Shooter upper wheel rotary encoder (E4P) |
IN - E4 |
06 |
Shooter lower wheel rotary encoder (E4P) |
IN - E5/E6 | 07 |
Turret motor shaft - rotary encoder (E4P) or turret sprocket position - opto-reflective rotary encoder |
IN - B1 |
08 |
conveyor stage 1 entrance - beam break sensor (homemade, 1" cube) High for Ball in conveyor Low when no ball present |
OUT | 09 |
LED - Red |
OUT | 10 |
LED - Green |
OUT | 11 |
LED - Blue |
OUT | 12 |
LED Strip 1 - Select |
OUT | 13 |
LED Strip 2 - Select |
OUT | 14 |
LED Strip 3 - Select |
Pneumatics Bumper | ||
01 | ||
02 | ||
03 |