2012:Controls IO Pinout: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 111: Line 111:
{| style="width: 500px" border="1" cellspacing="1" cellpadding="1"
{| style="width: 500px" border="1" cellspacing="1" cellpadding="1"
|-
|-
| width="150" height="18" align="LEFT" | <u>Control</u>
| height="18" width="150" align="left" | <u>Control</u>
| width="86" align="LEFT" | <u>Hardware</u>
| width="86" align="left" | <u>Hardware</u>
| width="86" align="LEFT" | <u>Type</u>
| width="86" align="left" | <u>Type</u>
| width="86" align="LEFT" | <u>Mapped To</u>
| width="86" align="left" | <u>Mapped To</u>
|-
|-
| height="18" align="LEFT" | Bridge Actuator Brkn
| height="18" align="left" | Bridge Actuator Brkn
| align="LEFT" | Toggle
| align="left" | Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D1
| align="left" | D1
|-
|-
| height="18" align="LEFT" | Turret Angle Brkn
| height="18" align="left" | Turret Angle Brkn
| align="LEFT" | Toggle
| align="left" | Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D2
| align="left" | D2
|-
|-
| height="18" align="LEFT" | Shooter Speed Brkn
| height="18" align="left" | Shooter Speed Brkn
| align="LEFT" | Toggle
| align="left" | Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D3
| align="left" | D3
|-
|-
| height="18" align="LEFT" | Extra Brkn 1
| height="18" align="left" | Extra Brkn 1
| align="LEFT" | Toggle
| align="left" | Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D4
| align="left" | D4
|-
|-
| height="18" align="LEFT" | Extra Brkn 2
| height="18" align="left" | Extra Brkn 2
| align="LEFT" | Toggle
| align="left" | Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D5
| align="left" | D5
|-
|-
| height="18" align="LEFT" | Extra Brkn 3
| height="18" align="left" | Extra Brkn 3
| align="LEFT" | Toggle
| align="left" | Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D6
| align="left" | D6
|-
|-
| height="18" align="LEFT" | Conveyor Brkn
| height="18" align="left" | Conveyor Brkn
| align="LEFT" | Toggle
| align="left" | Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D7
| align="left" | D7
|-
|-
| height="18" align="LEFT" | Extra Brkn 4
| height="18" align="left" | Extra Brkn 4
| align="LEFT" | Toggle
| align="left" | Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D8
| align="left" | D8
|-
|-
| height="18" align="LEFT" | Ball Collection Dir. Sw.
| height="18" align="left" | Ball Collection Dir. Sw.
| align="LEFT" | 3 Pos Toggle
| align="left" | 3 Pos Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D9,D10
| align="left" | D9,D10
|-
|-
| height="18" align="LEFT" | Shoot Height Sw
| height="18" align="left" | Shoot Height Sw
| align="LEFT" | 3 Pos Toggle
| align="left" | 3 Pos Toggle
| align="LEFT" | Digital
| align="left" | Digital
| align="LEFT" | D11,D12
| align="left" | D11,D12
|-
|-
| height="18" align="LEFT" | Turret Yaw
| height="18" align="left" | Turret Yaw
| align="LEFT" | Pot
| align="left" | Pot
| align="LEFT" | Analog
| align="left" | Analog
| align="LEFT" | A1 (X)
| align="left" | A1 (X)
|-
|-
| height="18" align="LEFT" | Shooter Power
| height="18" align="left" | Shooter Power
| align="LEFT" | Linear Pot
| align="left" | Linear Pot
| align="LEFT" | Analog
| align="left" | Analog
| align="LEFT" | A2 (Y)
| align="left" | A2 (Y)
|-
|-
| height="18" align="LEFT" | Extra Pot 1
| height="18" align="left" | Extra Pot 1
| align="LEFT" | Pot
| align="left" | Pot
| align="LEFT" | Analog
| align="left" | Analog
| align="LEFT" | A3 (Z)
| align="left" | A3 (Z)
|-
|-
| height="18" align="LEFT" | Extra Pot 2
| height="18" align="left" | Extra Pot 2
| align="LEFT" | Pot
| align="left" | Pot
| align="LEFT" | Analog
| align="left" | Analog
| align="LEFT" | A4 (Rx)
| align="left" | A4 (Rx)
|-
|-
| height="18" align="LEFT" | <br/>
| height="18" align="left" | <br/>
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | '''''A5 (Ry)'''''
| align="left" | '''''A5 (Ry)'''''
|-
|-
| height="18" align="LEFT" | Segment 1 Bit 0
| height="18" align="left" | NONE
| align="LEFT" | A
| align="left" | NONE
| align="LEFT" | Analog Bit
| align="left" | NONE
| align="LEFT" | A5 B0
| align="left" | A5 B0
|-
|-
| height="18" align="LEFT" | Segment 1 Bit 1
| height="18" align="left" | Segment 1 Bit 0
| align="LEFT" | FOUR
| align="left" | A TWO
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A5 B1
| align="left" | A5 B1
|-
|-
| height="18" align="LEFT" | Segment 1 Bit 2
| height="18" align="left" | Segment 1 Bit 1
| align="LEFT" | BIT
| align="left" | BIT NUMBER
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A5 B2
| align="left" | A5 B2
|-
|-
| height="18" align="LEFT" | Segment 1 Bit 3
| height="18" align="left" | Segment 2 Bit 0
| align="LEFT" | NUMBER
| align="left" | A
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A5 B3
| align="left" | A5 B3
|-
|-
| height="18" align="LEFT" | Segment 2 Bit 0
| height="18" align="left" | Segment 2 Bit 1
| align="LEFT" | A
| align="left" | FOUR
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A5 B4
| align="left" | A5 B4
|-
|-
| height="18" align="LEFT" | Segment 2 Bit 1
| height="18" align="left" | Segment 2 Bit 2
| align="LEFT" | FOUR
| align="left" | BIT
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A5 B5
| align="left" | A5 B5
|-
|-
| height="18" align="LEFT" | Segment 2 Bit 2
| height="18" align="left" | Segment 2 Bit 3
| align="LEFT" | BIT
| align="left" | NUMBER
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A5 B6
| align="left" | A5 B6
|-
|-
| height="18" align="LEFT" | Segment 2 Bit 3
| height="18" align="left" | NONE
| align="LEFT" | NUMBER
| align="left" | NONE
| align="LEFT" | Analog Bit
| align="left" | NONE
| align="LEFT" | A5 B7
| align="left" | A5 B7
|-
|-
| height="18" align="LEFT" | <br/>
| height="18" align="left" | <br/>
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | '''''A6 (Rz)'''''
| align="left" | '''''A6 (Rz)'''''
|-
|-
| height="18" align="LEFT" | Segment 3 Bit 0
| height="18" align="left" | NONE
| align="LEFT" | A
| align="left" | NONE
| align="LEFT" | Analog Bit
| align="left" | NONE
| align="LEFT" | A6 B0
| align="left" | A6 B0
|-
|-
| height="18" align="LEFT" | Segment 3 Bit 1
| height="18" align="left" | Segment 3 Bit 0
| align="LEFT" | FOUR
| align="left" | A
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A6 B1
| align="left" | A6 B1
|-
|-
| height="18" align="LEFT" | Segment 3 Bit 2
| height="18" align="left" | Segment 3 Bit 1
| align="LEFT" | BIT
| align="left" | FOUR
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A6 B2
| align="left" | A6 B2
|-
|-
| height="18" align="LEFT" | Segment 3 Bit 3
| height="18" align="left" | Segment 3 Bit 2
| align="LEFT" | NUMBER
| align="left" | BIT
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A6 B3
| align="left" | A6 B3
|-
|-
| height="18" align="LEFT" | Fire Btn
| height="18" align="left" | Segment 3 Bit 3
| align="LEFT" | Button
| align="left" | NUMBER
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A6 B4
| align="left" | A6 B4
|-
|-
| height="18" align="LEFT" | Auto Aim Btn
| height="18" align="left" | Fire Btn
| align="LEFT" | Button
| align="left" | Button
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A6 B5
| align="left" | A6 B5
|-
|-
| height="18" align="LEFT" | Autonomous Select Btn
| height="18" align="left" | Auto Aim Btn
| align="LEFT" | Button
| align="left" | Button
| align="LEFT" | Analog Bit
| align="left" | Analog Bit
| align="LEFT" | A6 B6
| align="left" | A6 B6
|-
|-
| height="18" align="LEFT" | NONE
| height="18" align="left" | NONE
| align="LEFT" | NONE
| align="left" | NONE
| align="LEFT" | NONE
| align="left" | NONE
| align="LEFT" | A6 B7
| align="left" | A6 B7
|}
|}


Line 355: Line 355:
{| style="width: 500px" border="1" cellspacing="1" cellpadding="1"
{| style="width: 500px" border="1" cellspacing="1" cellpadding="1"
|-
|-
| width="86" height="18" align="LEFT" | Pin #
| height="18" width="86" align="left" | Pin #
| width="86" align="LEFT" | <br/>
| width="86" align="left" | <br/>
| width="178" align="LEFT" | Usage
| width="178" align="left" | Usage
| width="86" align="LEFT" | Pin Name
| width="86" align="left" | Pin Name
| width="86" align="LEFT" | GPIO Mux
| width="86" align="left" | GPIO Mux
| width="86" align="LEFT" | GPIO #
| width="86" align="left" | GPIO #
| width="86" align="LEFT" | HID Map
| width="86" align="left" | HID Map
|-
|-
| height="18" align="RIGHT" | 9
| height="18" align="right" | 9
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Ball Collection Sw 1
| align="left" | Ball Collection Sw 1
| align="LEFT" | PTE4
| align="left" | PTE4
| align="LEFT" | E
| align="left" | E
| align="RIGHT" | 4
| align="right" | 4
| align="LEFT" | Dig 9
| align="left" | Dig 9
|-
|-
| height="18" align="RIGHT" | 10
| height="18" align="right" | 10
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Ball Collection Sw 2
| align="left" | Ball Collection Sw 2
| align="LEFT" | PTE1
| align="left" | PTE1
| align="LEFT" | E
| align="left" | E
| align="RIGHT" | 1
| align="right" | 1
| align="LEFT" | Dig 10
| align="left" | Dig 10
|-
|-
| height="18" align="RIGHT" | 11
| height="18" align="right" | 11
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Shoot Height Sw 1
| align="left" | Shoot Height Sw 1
| align="LEFT" | PTE3
| align="left" | PTE3
| align="LEFT" | E
| align="left" | E
| align="RIGHT" | 3
| align="right" | 3
| align="LEFT" | Dig 11
| align="left" | Dig 11
|-
|-
| height="18" align="RIGHT" | 23
| height="18" align="right" | 23
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Bridge Articulator Broken
| align="left" | Bridge Articulator Broken
| align="LEFT" | PTE28
| align="left" | PTE28
| align="LEFT" | E
| align="left" | E
| align="RIGHT" | 28
| align="right" | 28
| align="LEFT" | Dig 1
| align="left" | Dig 1
|-
|-
| height="18" align="RIGHT" | 25
| height="18" align="right" | 25
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Turret Angle Broken
| align="left" | Turret Angle Broken
| align="LEFT" | PTE26
| align="left" | PTE26
| align="LEFT" | E
| align="left" | E
| align="RIGHT" | 26
| align="right" | 26
| align="LEFT" | Dig 2
| align="left" | Dig 2
|-
|-
| height="18" align="RIGHT" | 27
| height="18" align="right" | 27
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Shooter Speed Brkn
| align="left" | Shooter Speed Brkn
| align="LEFT" | PTB7
| align="left" | PTB7
| align="LEFT" | B
| align="left" | B
| align="RIGHT" | 7
| align="right" | 7
| align="LEFT" | Dig 3
| align="left" | Dig 3
|-
|-
| height="18" align="RIGHT" | 28
| height="18" align="right" | 28
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Extra Brkn 1
| align="left" | Extra Brkn 1
| align="LEFT" | PTB6
| align="left" | PTB6
| align="LEFT" | B
| align="left" | B
| align="RIGHT" | 6
| align="right" | 6
| align="LEFT" | Dig 4
| align="left" | Dig 4
|-
|-
| height="18" align="RIGHT" | 29
| height="18" align="right" | 29
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Extra Brkn 2
| align="left" | Extra Brkn 2
| align="LEFT" | PTB5
| align="left" | PTB5
| align="LEFT" | B
| align="left" | B
| align="RIGHT" | 5
| align="right" | 5
| align="LEFT" | Dig 5
| align="left" | Dig 5
|-
|-
| height="18" align="RIGHT" | 30
| height="18" align="right" | 30
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Extra Brkn 3
| align="left" | Extra Brkn 3
| align="LEFT" | PTB4
| align="left" | PTB4
| align="LEFT" | B
| align="left" | B
| align="RIGHT" | 4
| align="right" | 4
| align="LEFT" | Dig 6
| align="left" | Dig 6
|-
|-
| height="18" align="RIGHT" | 34
| height="18" align="right" | 34
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Auto. Select Btn
| align="left" | Auto. Select Btn
| align="LEFT" | PTD6
| align="left" | PTD6
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 6
| align="right" | 6
| align="LEFT" | A6 B6
| align="left" | A6 B6
|-
|-
| height="18" align="RIGHT" | 37
| height="18" align="right" | 37
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Auto Aim Btn LED
| align="left" | Auto Aim Btn LED
| align="LEFT" | PTA2
| align="left" | PTA2
| align="LEFT" | A
| align="left" | A
| align="RIGHT" | 2
| align="right" | 2
| align="LEFT" | N/A
| align="left" | N/A
|-
|-
| height="18" align="RIGHT" | 38
| height="18" align="right" | 38
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Auto Select Btn LED
| align="left" | Auto Select Btn LED
| align="LEFT" | PTA1
| align="left" | PTA1
| align="LEFT" | A
| align="left" | A
| align="RIGHT" | 1
| align="right" | 1
| align="LEFT" | N/A
| align="left" | N/A
|-
|-
| height="18" align="RIGHT" | 40
| height="18" align="right" | 40
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Fire Btn LED
| align="left" | Fire Btn LED
| align="LEFT" | PTA7
| align="left" | PTA7
| align="LEFT" | A
| align="left" | A
| align="RIGHT" | 7
| align="right" | 7
| align="LEFT" | N/A
| align="left" | N/A
|-
|-
| height="18" align="RIGHT" | 44
| height="18" align="right" | 44
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 1 Bit 0
| align="left" | Segment 1 Bit 0
| align="LEFT" | PTD14
| align="left" | PTD14
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 14
| align="right" | 14
| align="LEFT" | A5 B0
| align="left" | A5 B0
|-
|-
| height="18" align="RIGHT" | 45
| height="18" align="right" | 45
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 1 Bit 1
| align="left" | Segment 1 Bit 1
| align="LEFT" | PTD13
| align="left" | PTD13
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 13
| align="right" | 13
| align="LEFT" | A5 B1
| align="left" | A5 B1
|-
|-
| height="18" align="RIGHT" | 46
| height="18" align="right" | 46
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 1 Bit 2
| align="left" | Segment 1 Bit 2
| align="LEFT" | PTD11
| align="left" | PTD11
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 11
| align="right" | 11
| align="LEFT" | A5 B2
| align="left" | A5 B2
|-
|-
| height="18" align="RIGHT" | 47
| height="18" align="right" | 47
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 1 Bit 3
| align="left" | Segment 1 Bit 3
| align="LEFT" | PTD15
| align="left" | PTD15
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 15
| align="right" | 15
| align="LEFT" | A5 B3
| align="left" | A5 B3
|-
|-
| height="18" align="RIGHT" | 48
| height="18" align="right" | 48
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 2 Bit 0
| align="left" | Segment 2 Bit 0
| align="LEFT" | PTD12
| align="left" | PTD12
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 12
| align="right" | 12
| align="LEFT" | A5 B4
| align="left" | A5 B4
|-
|-
| height="18" align="RIGHT" | 50
| height="18" align="right" | 50
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 2 Bit 1
| align="left" | Segment 2 Bit 1
| align="LEFT" | PTD8
| align="left" | PTD8
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 8
| align="right" | 8
| align="LEFT" | A5 B5
| align="left" | A5 B5
|-
|-
| height="18" align="RIGHT" | 51
| height="18" align="right" | 51
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 2 Bit 2
| align="left" | Segment 2 Bit 2
| align="LEFT" | PTD9
| align="left" | PTD9
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 9
| align="right" | 9
| align="LEFT" | A5 B6
| align="left" | A5 B6
|-
|-
| height="18" align="RIGHT" | 52
| height="18" align="right" | 52
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 2 Bit 3
| align="left" | Segment 2 Bit 3
| align="LEFT" | PTE28
| align="left" | PTE28
| align="LEFT" | E
| align="left" | E
| align="RIGHT" | 28
| align="right" | 28
| align="LEFT" | A5 B7
| align="left" | A5 B7
|-
|-
| height="18" align="RIGHT" | 56
| height="18" align="right" | 56
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 3 Bit 0
| align="left" | Segment 3 Bit 0
| align="LEFT" | PTA24
| align="left" | PTA24
| align="LEFT" | A
| align="left" | A
| align="RIGHT" | 24
| align="right" | 24
| align="LEFT" | A6 B0
| align="left" | A6 B0
|-
|-
| height="18" align="RIGHT" | 58
| height="18" align="right" | 58
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 3 Bit 1
| align="left" | Segment 3 Bit 1
| align="LEFT" | PTA25
| align="left" | PTA25
| align="LEFT" | A
| align="left" | A
| align="RIGHT" | 25
| align="right" | 25
| align="LEFT" | A6 B1
| align="left" | A6 B1
|-
|-
| height="18" align="RIGHT" | 60
| height="18" align="right" | 60
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 3 Bit 2
| align="left" | Segment 3 Bit 2
| align="LEFT" | PTA26
| align="left" | PTA26
| align="LEFT" | A
| align="left" | A
| align="RIGHT" | 26
| align="right" | 26
| align="LEFT" | A6 B2
| align="left" | A6 B2
|-
|-
| height="18" align="RIGHT" | 62
| height="18" align="right" | 62
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Segment 3 Bit 3
| align="left" | Segment 3 Bit 3
| align="LEFT" | PTA27
| align="left" | PTA27
| align="LEFT" | A
| align="left" | A
| align="RIGHT" | 27
| align="right" | 27
| align="LEFT" | A6 B3
| align="left" | A6 B3
|-
|-
| height="18" align="RIGHT" | 63
| height="18" align="right" | 63
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Fire Btn
| align="left" | Fire Btn
| align="LEFT" | PTD0
| align="left" | PTD0
| align="LEFT" | D
| align="left" | D
| align="RIGHT" | 0
| align="right" | 0
| align="LEFT" | A6 B4
| align="left" | A6 B4
|-
|-
| height="18" align="RIGHT" | 66
| height="18" align="right" | 66
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Conveyor Brkn
| align="left" | Conveyor Brkn
| align="LEFT" | PTB18
| align="left" | PTB18
| align="LEFT" | B
| align="left" | B
| align="RIGHT" | 18
| align="right" | 18
| align="LEFT" | Dig 7
| align="left" | Dig 7
|-
|-
| height="18" align="RIGHT" | 67
| height="18" align="right" | 67
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Extra Brkn 4
| align="left" | Extra Brkn 4
| align="LEFT" | PTB17
| align="left" | PTB17
| align="LEFT" | B
| align="left" | B
| align="RIGHT" | 17
| align="right" | 17
| align="LEFT" | Dig 8
| align="left" | Dig 8
|-
|-
| height="18" align="RIGHT" | 68
| height="18" align="right" | 68
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Auto Aim Btn
| align="left" | Auto Aim Btn
| align="LEFT" | PTB16
| align="left" | PTB16
| align="LEFT" | B
| align="left" | B
| align="RIGHT" | 16
| align="right" | 16
| align="LEFT" | A6 B5
| align="left" | A6 B5
|-
|-
| height="18" align="RIGHT" | 69
| height="18" align="right" | 69
| align="LEFT" | <br/>
| align="left" | <br/>
| align="LEFT" | Shoot Height Sw 2
| align="left" | Shoot Height Sw 2
| align="LEFT" | PTB11
| align="left" | PTB11
| align="LEFT" | B
| align="left" | B
| align="RIGHT" | 11
| align="right" | 11
| align="LEFT" | Dig 12
| align="left" | Dig 12
|}
|}

Revision as of 10:05, 4 February 2012

Joystick Controls

Left Stick

X Axis None
Y Axis Left Speed
Throttle
Trigger Turbo
Button 2 Slow

Button 3

Wings Down
Button 4 WIngs Down (Broken)
Button 5 WIngs Up (Broken)
Button 6
Button 7
Button 8
Button 9

Button 10

Button 11

Right Stick

X Axis None
Y Axis Right Speed
Throttle
Trigger Turbo
Button 2 Slow

Button 3

WIngs Down
Button 4 WIngs Down (Broken)
Button 5 Wings Up (Broken)
Button 6
Button 7
Button 8
Button 9

Button 10

Button 11

Secondary Controls

Emulated Joystick

HID supports 6 axes and X digital buttons

Control Hardware Type Mapped To
Bridge Actuator Brkn Toggle Digital D1
Turret Angle Brkn Toggle Digital D2
Shooter Speed Brkn Toggle Digital D3
Extra Brkn 1 Toggle Digital D4
Extra Brkn 2 Toggle Digital D5
Extra Brkn 3 Toggle Digital D6
Conveyor Brkn Toggle Digital D7
Extra Brkn 4 Toggle Digital D8
Ball Collection Dir. Sw. 3 Pos Toggle Digital D9,D10
Shoot Height Sw 3 Pos Toggle Digital D11,D12
Turret Yaw Pot Analog A1 (X)
Shooter Power Linear Pot Analog A2 (Y)
Extra Pot 1 Pot Analog A3 (Z)
Extra Pot 2 Pot Analog A4 (Rx)



A5 (Ry)
NONE NONE NONE A5 B0
Segment 1 Bit 0 A TWO Analog Bit A5 B1
Segment 1 Bit 1 BIT NUMBER Analog Bit A5 B2
Segment 2 Bit 0 A Analog Bit A5 B3
Segment 2 Bit 1 FOUR Analog Bit A5 B4
Segment 2 Bit 2 BIT Analog Bit A5 B5
Segment 2 Bit 3 NUMBER Analog Bit A5 B6
NONE NONE NONE A5 B7



A6 (Rz)
NONE NONE NONE A6 B0
Segment 3 Bit 0 A Analog Bit A6 B1
Segment 3 Bit 1 FOUR Analog Bit A6 B2
Segment 3 Bit 2 BIT Analog Bit A6 B3
Segment 3 Bit 3 NUMBER Analog Bit A6 B4
Fire Btn Button Analog Bit A6 B5
Auto Aim Btn Button Analog Bit A6 B6
NONE NONE NONE A6 B7



Emulated Joystick Pinout Reference

Pin # Type Usage Pin Name ADC Name Code ID ADC Assigned Channel # Joy Axis Output
Pin 2 N/A Ground N/A N/A N/A N/A N/A
Pin 3 N/A 3.3V N/A N/A N/A N/A N/A
Pin 7 Analog Turret Yaw PTE2 ADC1_SE6a ADC1_SOURCE_AD6A 1 X Axis
Pin 22 Analog Shooter Power PTE0 ADC1_SE4a ADC1_SOURCE_AD4A 2 Y Axis
Pin 39 Analog Debug Pot PTD5 ADC0_SE6b ADC0_SOURCE_AD6B 1 Z Axis
Pin 64 Analog Debug Pot PTD1 ADC0_SE5b ADC0_SOURCE_AD5B 2 Rx Axis

Pinmap for Freescale: http://penfieldrobotics.com/wiki/images/5/52/Side_expansion_port_B_primary_elevator.png


Pin #
Usage Pin Name GPIO Mux GPIO # HID Map
9
Ball Collection Sw 1 PTE4 E 4 Dig 9
10
Ball Collection Sw 2 PTE1 E 1 Dig 10
11
Shoot Height Sw 1 PTE3 E 3 Dig 11
23
Bridge Articulator Broken PTE28 E 28 Dig 1
25
Turret Angle Broken PTE26 E 26 Dig 2
27
Shooter Speed Brkn PTB7 B 7 Dig 3
28
Extra Brkn 1 PTB6 B 6 Dig 4
29
Extra Brkn 2 PTB5 B 5 Dig 5
30
Extra Brkn 3 PTB4 B 4 Dig 6
34
Auto. Select Btn PTD6 D 6 A6 B6
37
Auto Aim Btn LED PTA2 A 2 N/A
38
Auto Select Btn LED PTA1 A 1 N/A
40
Fire Btn LED PTA7 A 7 N/A
44
Segment 1 Bit 0 PTD14 D 14 A5 B0
45
Segment 1 Bit 1 PTD13 D 13 A5 B1
46
Segment 1 Bit 2 PTD11 D 11 A5 B2
47
Segment 1 Bit 3 PTD15 D 15 A5 B3
48
Segment 2 Bit 0 PTD12 D 12 A5 B4
50
Segment 2 Bit 1 PTD8 D 8 A5 B5
51
Segment 2 Bit 2 PTD9 D 9 A5 B6
52
Segment 2 Bit 3 PTE28 E 28 A5 B7
56
Segment 3 Bit 0 PTA24 A 24 A6 B0
58
Segment 3 Bit 1 PTA25 A 25 A6 B1
60
Segment 3 Bit 2 PTA26 A 26 A6 B2
62
Segment 3 Bit 3 PTA27 A 27 A6 B3
63
Fire Btn PTD0 D 0 A6 B4
66
Conveyor Brkn PTB18 B 18 Dig 7
67
Extra Brkn 4 PTB17 B 17 Dig 8
68
Auto Aim Btn PTB16 B 16 A6 B5
69
Shoot Height Sw 2 PTB11 B 11 Dig 12