2012:Controls IO Pinout

From 1511Wookiee
Revision as of 17:35, 2 February 2012 by ElectricalControls (talk | contribs)
Jump to navigationJump to search

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)
Segment 1 Bit 0 A Analog Bit A5 B0
Segment 1 Bit 1 FOUR Analog Bit A5 B1
Segment 1 Bit 2 BIT Analog Bit A5 B2
Segment 1 Bit 3 NUMBER Analog Bit A5 B3
Segment 2 Bit 0 A Analog Bit A5 B4
Segment 2 Bit 1 FOUR Analog Bit A5 B5
Segment 2 Bit 2 BIT Analog Bit A5 B6
Segment 2 Bit 3 NUMBER Analog Bit A5 B7



A6 (Rz)
Segment 3 Bit 0 A Analog Bit A6 B0
Segment 3 Bit 1 FOUR Analog Bit A6 B1
Segment 3 Bit 2 BIT Analog Bit A6 B2
Segment 3 Bit 3 NUMBER Analog Bit A6 B3
Fire Btn Button Analog Bit A6 B4
Auto Aim Btn Button Analog Bit A6 B5
Autonomous Select 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

 http://penfieldrobotics.com/wiki/images/f/fd/Freescale_pinmap.PNG