2014:Robot IO Map: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
(→‎PWM Outputs: changed guards to servo)
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span id="can"></span>
= CAN ID Assignments =
= CAN ID Assignments =
NOTE: each of these should also have a line in the Robot Map [[2014:Robot Sensors/Motors/Lights/Controls Map#motors|Motor table]] (the "Robot Map Updated?" column in the following table indicates if this was done)


{| border="1" cellpadding="2" cellspacing="1"
{| border="1" cellpadding="2" cellspacing="1"
Line 6: Line 10:
| '''Subsystem'''
| '''Subsystem'''
| '''Description'''<br/>(brief)
| '''Description'''<br/>(brief)
| '''[[2014:Robot Sensors/Motors/Lights/Controls Map#motors|Robot Map]]<br/>Updated?'''
| '''Robot Map<br/>Updated?'''
|-
|-
| 1
| 1
| '''RESERVED'''
| '''RESERVED'''
| This is the factory-default CAN ID; not using it makes it easier to swap one in quickly and re-assign an ID.
| Factory-default<br/>allows for adding Jaguar quickly and re-assign its ID
| n/a
| n/a
|-
|-
| 2
| 2
| Drivetrain
| Drivetrain
| Left Front CAN Jaguar
| Left Front Drive
| Yes
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 3
| 3
| Drivetrain
| Drivetrain
| Left Rear CAN Jaguar
| Left Rear Drive
| Yes
| <span style="color:#008000">'''Yes'''</span>
|-
|-
| 4
| 4
| Drivetrain
| Drivetrain
| Right Front CAN Jaguar
| Right Front Drive
| Yes
| <span style="color:#008000">'''Yes'''</span>
|-
|-
| 5
| 5
| Drivetrain
| Drivetrain
| Right Rear CAN Jaguar
| Right Rear Drive
| Yes
| <span style="color:#008000">'''Yes'''</span>
|-
|-
| 6
| 6
| Shooter
| front left Kicker arm
|  
|  
|
<span style="color:#008000">'''Yes<br/>'''</span>
|
 
|-
|-
| 7
| 7
| Shooter
| mid left Kicker arm
|  
|  
|
<span style="color:#008000">'''Yes<br/>'''</span>
|
 
|-
|-
| 8
| 8
|  
| Shooter
|
| back left Kicker arm
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 9
| 9
|  
| Shooter
|
| right front Kicker arm
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 10
| 10
|
| Shooter
|  
| right mid Kicker arm
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 11
| 11
|  
| Shooter
|
| right back Kicker arm
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 12
| 12
|  
| Intake<br/>
|
| roller motor<br/>
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
| 13<br/>
| Shooter<br/>
| Cradle Lift<br/>
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 13
| 14<br/>
|
|
|  
|  
|-
| 14
|
|  
|  
|  
|  
|-
|-
| 15
| 15
|
|  
|  
|  
|  
|  
|-
|-
| 16
| 16
|
|  
|  
|  
|  
|  
|}
|}
<span id="pwm"></span>


= PWM Outputs =
= PWM 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]] (the "Robot Map Updated?" column in the following table indicates if this was done)


{| border="1" cellpadding="2" cellspacing="1"
{| border="1" cellpadding="2" cellspacing="1"
Line 96: Line 110:
| '''Subsystem'''
| '''Subsystem'''
| '''Description'''<br/>(brief)
| '''Description'''<br/>(brief)
| '''[[2014:Robot Sensors/Motors/Lights/Controls Map|Robot Map]]<br/>Updated?'''
| '''Robot Map<br/>Updated?'''
|-
|-
| 1
| 1
|  
| <span style="color:#d3d3d3">Shooter</span>
|
| <span style="color:#a9a9a9">reserved for kicker</span>
|  
| <span style="color:#696969">--</span><br/>
|-
|-
| 2
| 2
|  
|  
|
<span style="color:#a9a9a9">Shooter</span>
 
|  
|  
<span style="color:#a9a9a9">reserved for kicker</span>
| <span style="color:#696969">--</span><br/>
|-
|-
| 3
| 3
|
|  
|  
<span style="color:#a9a9a9">Shooter</span>
|  
|  
<span style="color:#a9a9a9">reserved for kicker</span>
| <span style="color:#696969">--</span><br/>
|-
|-
| 4
| 4
|  
|  
|
<span style="color:#a9a9a9">Shooter</span>
 
|  
|  
<span style="color:#a9a9a9">reserved for kicker</span>
| <span style="color:#696969">--</span><br/>
|-
|-
| 5
| 5
|  
|  
|
<span style="color:#a9a9a9">Shooter</span>
 
|  
|  
<span style="color:#a9a9a9">reserved for kicker</span>
| --<br/>
|-
|-
| 6
| 6
|
|  
|  
<span style="color:#a9a9a9">Shooter</span>
|  
|  
<span style="color:#a9a9a9">reserved for kicker</span>
| <span style="color:#696969">--</span><br/>
|-
|-
| 7
| 7<br/>
|
| <br/>
|  
| <br/>
|  
| <br/>
|-
|-
| 8
| 8<br/>
|
| <br/>
|  
| <br/>
|  
| <br/>
|-
|-
| 9
| 9<br/>
|  
| Shooter<br/>
|
|  
|  
Left Guard
| <span style="color:#006400">'''Yes'''</span><br/>
|-
|-
| 10
| 10<br/>
|  
| Shooter<br/>
|
| Right Guard<br/>
|  
|  
<span style="color:#006400">'''Yes'''</span>
|}
|}




<span id="relay"></span>


= 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)


{| border="1" cellpadding="2" cellspacing="1"
{| border="1" cellpadding="2" cellspacing="1"
Line 158: Line 200:
| '''Subsystem'''
| '''Subsystem'''
| '''Description'''<br/>(brief)
| '''Description'''<br/>(brief)
| '''[[2014:Robot Sensors/Motors/Lights/Controls Map|Robot Map]]<br/>Updated?'''
| '''Robot Map<br/>Updated?'''
|-
|-
| 1
| 1
|  
| Shooter<br/>
|
| Guard Solenoids (Per R51)<br/>
|  
| '''<span style="color:#008000">Yes</span>'''<br/>
|-
|-
| 2
| 2
|
|  
|  
|  
|  
|  
Line 172: Line 214:
| 3
| 3
|  
|  
|
|  
|  
|  
|-
|-
| 4
| 4
|  
|  
|
|  
|  
|  
|-
|-
| 5
| 5
|
|  
|  
|  
|  
|  
Line 187: Line 229:
| 6
| 6
|  
|  
|
|  
|  
| <br/>
|-
|-
| 7
| 7
|  
|  
|
|  
|  
|  
|-
|-
| 8
| 8
|  
|  
|
|  
|  
|  
|}
|}




<span id="analog"></span>


= Analog Inputs =
= Analog Inputs =
NOTE: each of these should also have a line in the Robot Map [[2014:Robot Sensors/Motors/Lights/Controls Map#sensors|Sensors table]] (the "Robot Map Updated?" column in the following table indicates if this was done)


{| border="1" cellpadding="2" cellspacing="1"
{| border="1" cellpadding="2" cellspacing="1"
Line 210: Line 256:
| '''Subsystem'''
| '''Subsystem'''
| '''Description'''<br/>(brief)
| '''Description'''<br/>(brief)
| '''[[2014:Robot Sensors/Motors/Lights/Controls Map|Robot Map]]<br/>Updated?'''
| '''Robot Map<br/>Updated?'''
|-
|-
| 1
| 1
| Drivetrain<br/>
| Drivetrain<br/>
| Gyro<br/>
| Gyro<br/>
| No
| <span style="color:#008000">'''Yes'''</span><br/>
|-
|-
| 2
| 2
|  
| Intake
|  
| Position Potentiometer
|
| <span style="color:#008000">'''Yes'''</span><br/>
|-
|-
| 3
| 3
|  
| Intake
|  
| Position Potentiometer - redundant
|
| <span style="color:#008000">'''Yes'''</span>
|-
|-
| 4
| 4
|  
|  
|
|  
|  
|  
|-
|-
| 5
| 5
|
|  
|
|  
|  
|  
|-
|-
| 6
| 6
|  
|  
|
|  
|  
|  
|-
|-
| 7
| 7
|  
|  
|
|  
|  
|  
|-
|-
Line 254: Line 300:




<span id="gpio"></span>


= Digital IO (GPIO) =
= Digital IO (GPIO) =
NOTE: each of these should also have a line in the Robot Map or the (the "Robot Map Updated?" column in the following table indicates if this was done)


{| border="1" cellpadding="2" cellspacing="1"
{| border="1" cellpadding="2" cellspacing="1"
Line 263: Line 313:
| '''Subsystem'''
| '''Subsystem'''
| '''Description'''<br/>(brief)
| '''Description'''<br/>(brief)
| '''[[2014:Robot Sensors/Motors/Lights/Controls Map|Robot Map]]<br/>Updated?'''
| '''Robot Map<br/>Updated?'''<br/>
|-
|-
| 1
| 1
Line 269: Line 319:
| Drivetrain
| Drivetrain
| Left Encoder, Phase A
| Left Encoder, Phase A
| no
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 2
| 2
Line 275: Line 325:
| Drivetrain
| Drivetrain
| Left Encoder, Phase B
| Left Encoder, Phase B
| no
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 3
| 3
Line 281: Line 331:
| Drivetrain
| Drivetrain
| Right Encoder, Phase A
| Right Encoder, Phase A
| no
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 4
| 4
Line 287: Line 337:
| Drivetrain
| Drivetrain
| Right Encoder, Phase B
| Right Encoder, Phase B
| no
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 5
| 5
|  
| IN
|  
| Shooter
|
| Kicker Encoder, Phase A<br/>
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 6
| 6
|  
| IN<br/>
|
| Shooter<br/>
|  
| Kicker Encoder, Phase B<br/>
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 7
| 7
|  
| IN<br/>
|
| Shooter<br/>
|  
| Kicker Low Position Sensor (home)<br/>
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 8
| 8<br/>
|  
| IN<br/>
|
| Shooter<br/>
|  
| Kicker Gear Tooth Counter<br/>
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 9
| 9<br/>
|
| IN<br/>
|  
| Shooter<br/>
|  
| Kicker High Position Sensor<br/>
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 10
| 10
|
| IN<br/>
|  
| Intake<br/>
|  
| Intake "Ball On Bumper" Sensor<br/>
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 11
| 11
|
| OUT
|  
| Intakte/Shooter - RED
|  
| Control line for Indicator lights
|  
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 12
| 12
| OUT
|  
|  
|
Intakte/Shooter - GREEN
|
 
|  
|  
Control line for Indicator lights
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 13
| 13
|
| OUT
|
|  
|  
Intakte/Shooter - BLUE
|  
|  
Control line for Indicator lights
| <span style="color:#008000">'''Yes<br/>'''</span>
|-
|-
| 14
| 14
| OUT
|  
|  
|
Camera
|
 
|  
| Control line for camera light
| <span style="color:#008000">'''Yes<br/>'''</span>
|}
|}




<span id="i2c"></span>


= 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)


{| border="1" cellpadding="2" cellspacing="1"
{| border="1" cellpadding="2" cellspacing="1"
Line 360: Line 424:
| '''Subsystem'''
| '''Subsystem'''
| '''Description'''<br/>(brief)
| '''Description'''<br/>(brief)
| '''[[2014:Robot Sensors/Motors/Lights/Controls Map|Robot Map]]<br/>Updated?'''
| '''Robot Map<br/>Updated?'''
|-
|-
|  
|  
|
|  
|  
|  
|  
|  
Line 369: Line 433:
|-
|-
|  
|  
|
|  
|  
|  
|  
|  
|  
|  
|-
|-
|
|  
|  
|  
|  
|  
Line 381: Line 445:
|-
|-
|  
|  
|
|  
|  
|  
|  
|  
Line 387: Line 451:
|-
|-
|  
|  
|
|  
|  
|  
|  
|  
Line 393: Line 457:
|-
|-
|  
|  
|
|  
|  
|  
|  
|  
Line 400: Line 464:
|  
|  
|  
|  
|
|  
|  
|  
|  
|  
Line 406: Line 470:




<span id="pneumatics"></span>


= Pneumatics Bumper =
= Pneumatics Bumper =
Line 414: Line 480:
| '''Subsystem'''
| '''Subsystem'''
| '''Description'''<br/>(brief)
| '''Description'''<br/>(brief)
| '''[[2014:Robot Sensors/Motors/Lights/Controls Map|Robot Map]]<br/>Updated?'''
| '''Robot Map<br/>Updated?'''
|-
|-
| 1
| 1
|
|  
|  
|  
|  
|  
Line 423: Line 489:
| 2
| 2
|  
|  
|
|  
|  
|  
|-
|-
| 3
| 3
|
|  
|  
|  
|  
|  
Line 433: Line 499:
| 4
| 4
|  
|  
|
|  
|  
|  
|-
|-
| 5
| 5
|  
|  
|
|  
|  
|  
|-
|-
| 6
| 6
|
|  
|  
|  
|  
|  
Line 448: Line 514:
| 7
| 7
|  
|  
|
|  
|  
|  
|-
|-
| 8
| 8
|
|  
|  
|  
|  
|  
|}
|}

Latest revision as of 08:43, 15 February 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 reserved for kicker --
2

Shooter

reserved for kicker

--
3

Shooter

reserved for kicker

--
4

Shooter

reserved for kicker

--
5

Shooter

reserved for kicker

--
6

Shooter

reserved for kicker

--
7



8



9
Shooter

Left Guard

Yes
10
Shooter
Right Guard

Yes


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 Shooter
Guard Solenoids (Per R51)
Yes
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
Yes
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 or the (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
Kicker Low Position Sensor (home)
Yes
8
IN
Shooter
Kicker Gear Tooth Counter
Yes
9
IN
Shooter
Kicker High Position Sensor
Yes
10 IN
Intake
Intake "Ball On Bumper" Sensor
Yes
11 OUT Intakte/Shooter - RED Control line for Indicator lights Yes
12 OUT

Intakte/Shooter - GREEN

Control line for Indicator lights

Yes
13 OUT

Intakte/Shooter - BLUE

Control line for Indicator lights

Yes
14 OUT

Camera

Control line for camera light Yes


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