Code Mercenaries JoyWarrior24 GP 32, JoyWarrior24 A8-8, JoyWarrior24 A8-16, Jo Warrior24A8L, JoyWarrior24A8L User guide

...
Code Mercenaries
1
JJ
JJ
oo
oo
yy
WW
WW
aa
aarrrrrrrriiii
oo
oorrrr
1.0 Features
• USB interface
• Full USB V1.1/2.0 compliance
• Full USB HID 1.1 compliance
• Available for analog and digital sticks
• Support for up to 8, 16, or 32 buttons
• Compatible with standard system drivers, no special drivers necessary
• Digital outputs available on some models
• Single +5V power supply
• Available in 24 pin DIL, or 24 pin SOIC
1.1 Variants
JoyWarrior is available in a number of standard variants. Customized versions are possible.
JoyWarrior24 GP32
• Gamepad style controller, supports four switches for directions
• Supports up to 32 buttons, arranged in a 8x4 matrix, or up to 12 buttons direct connected
• Minimal external component count (1C, 1R)
JoyWarrior24 A8-8
• Three analog potentiometer axes with 8 bit resolution each
• Supports up to 8 buttons, direct connected to the chip
• Autocalibration and autocentering
• Minimal external component count (2C, 1R)
• Low cost yet high quality solution
• Fully assembled modules available
JoyWarrior24 A8-16
• Three analog potentiometer axes with 8 bit resolution each
• Supports up to 16 buttons, arranged in a 4x4 matrix
• Autocalibration and autocentering
• Minimal external component count (2C, 1R)
• Low cost yet high quality solution
• Fully assembled modules available
JoyWarrior24A8L
• Four analog axes with 8 bit resolution each via external A/D
• Supports 8 direct connected buttons or 16 buttons in a 4x4 matrix (pin selectable)
• Four auxiliary outputs capable of direct driving LEDs, supporting flashing modes
JoyWarrior24A10L
• Three analog axes with 10 bit resolution each via external A/D
• Supports 8 direct connected buttons or 16 buttons in a 4x4 matrix (pin selectable)
• Four auxiliary outputs capable of direct driving LEDs, supporting flashing modes
JoyWarrior24 RC
• Adapts model RC teacher/student interface as a USB joystick
• See separate data sheet supplement for details
MouseWarrior24J8
• Mouse/Joystick hybrid low cost controller
• See separate data sheet supplement for details
MouseWarrior24H8
• Mouse/Joystick hybrid controller
• Compatible with hall sensors
• See separate data sheet supplement for details
JoyWarrior24F8/F14
• Three axis acceleration sensor
• See separate data sheet supplement for details
MouseWarrior24F8
• Acceleration sensor based mouse controller
• See separate data sheet supplement for details
1.2 Custom variants
Custom adaptions are available on request. Special function modifications, like controllers for pedals, steering wheels etc. are available on request.
1.3 Obsolete variants
The JoyWarrior20 variants have been discontinued. To replace the JW20 chips use the following active products:
JW20GP8 - use JW24GP32 JW20A8-8 - use JW24A8L JW20A8-16 - use JW24A8L JW20A10-8 - use JW24A10L JW20A10-16 - use JW24A10L
For details on the JW20 chips please refer to the data sheet V1.0.8.
V 1.1.0, July 1st 2010 for Chip Revision V1.0.4.0 and up
Universal joystick and gamepad controller chips
Code Mercenaries
2
JJ
JJ
oo
oo
yy
WW
WW
aa
aarrrrrrrriiii
oo
oorrrr
2.0 Functional overview
The JoyWarrior family of joystick controllers allows to build USB compatible input devices without the need to acquire USB know how. Mostly only electro-mechanical components need
to be added to the JoyWarrior chips. With the wide variety of controller versions most industrial and game control devices can be built very easily.
2.1 Product selection matrix
Typ e
JoyWarrior 24 GP32 JoyWarrior 24 A8-8
Analog Digital
-
­JoyWarrior 24 A8-16 JoyWarrior 24 A8L JoyWarrior 24 A10L
√ √
-
-
-
A/D Axes
-
internal-3
Bit/Axis Buttons
n.a.
8
32
8
internal MAX111334 MAX1249 3
8 8168 or 16
10 8 or 16
Matrix Outputs
8x4 or 12--
-
DIL24 SOIC24
√ √
√ √
4x4
4x4 or 8
-
4
4x4 or 8 4
√ √
√ √
√√
V 1.1.0, July 1st 2010 for Chip Revision V1.0.4.0 and up
Code Mercenaries
3
JJ
JJ
oo
oo
yy
WW
WW
aa
aarrrrrrrriiii
oo
oorrrr
3.0 Pin Configurations (TOP VIEW!)
JoyWarrior24A8-8
24 Pin PDIP or 24 Pin SOIC
JoyWarrior24 GP32-P/S
24 Pin DIL or 24 Pin SOIC
JoyWarrior24A8-16
24 Pin PDIP or 24 Pin SOIC
JoyWarrior24A8L-P/S
JoyWarrior24A10L-P/S
24 Pin DIL or 24 Pin SOIC
1 2 3 4 5 6 7 8 9 10 11 12 13
14
15
16
17
18
19
20
AAAA00
00
AAAA11
11
XXXXRRRR11
11
ZZZZRRRR11
11
XXXXRRRR22
22
BBBB00
00
BBBB44
44
BBBB11
11
BBBB22
22
BBBB33
33
GGGGNN
NNDDDD
DDDD++
++
PPPPuuuullllllllTTTTooooGGGGNNNNDD
DD
DDDD--
--
VVVVRRRREEEEGG
GG
VVVVcccccc
cc
RRRRAAAAWW
WW
NNNNC
C
CC
YYYYRRRR22
22
YYYYRRRR11
11
21
22
23
24
BBBB66
66
BBBB77
77
ZZZZRRRR22
22
BBBB55
55
1 2 3 4 5 6 7 8 9 10 11 12 13
14
15
16
17
18
19
20
XXXX0000////BBBB00
00
XXXX1111////BBBB11
11
XXXX2222////BBBB22
22
XXXX6666////BBBB66
66
XXXX3333////BBBB33
33
RRRRiiiigggghhhhtt
tt
YYYY0000////BBBB88
88
LLLLeeeefffftt
tt
DDDDoooowwwwnn
nn
UUUUpp
pp
GGGGNNNNDD
DD
DDDD++
++
PPPPuuuullllllllTTTTooooGGGGNNNNDD
DD
DDDD--
--
VVVVrrrreeeegg
gg
VVVVcccccc
cc
DDDDiiiirrrreeeecccctt
tt
NNNNCC
CC
XXXX5555////BBBB55
55
XXXX4444////BBBB44
44
21
22
23
24
YYYY2222////BBBB111100
00
YYYY3333////BBBB111111
11
XXXX7777////BBBB77
77
YYYY1111////BBBB99
99
1 2 3 4 5 6 7 8 9 10 11 12 13
14
15
16
17
18
19
20
AAAA00
00
AAAA11
11
XXXXRRRR11
11
ZZZZRRRR11
11
XXXXRRRR22
22
XXXX00
00
YYYY00
00
XXXX11
11
XXXX22
22
XXXX33
33
GGGGNN
NNDDDD
DDDD++
++
PPPPuuuullllllllTTTTooooGGGGNNNNDD
DD
DDDD--
--
VVVVRRRREEEEGG
GG
VVVVcccccc
cc
RRRRAAAAWW
WW
NNNNC
C
CC
YYYYRRRR22
22
YYYYRRRR11
11
21
22
23
24
YYYY22
22
YYYY33
33
ZZZZRRRR22
22
YYYY11
11
1 2 3 4 5 6 7 8 9 10 11 12 13
14
15
16
17
18
19
20
XXXX0000////BBBB00
00
XXXX1111////BBBB11
11
XXXX2222////BBBB22
22
YYYY2222////BBBB66
66
XXXX3333////BBBB33
33
////CCCCSS
SS
AAAAuuuuxxxx00
00
SSSSCCCCLLLLKK
KK
DDDDiiiinn
nn
DDDDoooouuuutt
tt
GGGGNNNNDD
DD
DDDD++
++
PPPPuu
uu
llllllllTTTTooooGGGGNNNNDD
DD
DDDD--
--
VVVVRRRREEEEGG
GG
VVVVcccccc
cc
DDDDiiiirrrreeeecccctt
tt
NNNNCC
CC
YYYY11
11
////BBBB55
55
YYYY0000////BBBB44
44
21
22
23
24
AAAAuuuuxxxx22
22
AAAAuuuuxxxx33
33
YYYY3333////BBBB77
77
AAAAuuuuxxxx11
11
V 1.1.0, July 1st 2010 for Chip Revision V1.0.4.0 and up
Code Mercenaries
4
JJ
JJ
oo
oo
yy
WW
WW
aa
aarrrrrrrriiii
oo
oorrrr
4.0 Pin Descriptions JoyWarrior24 GP 32
* See application circuit for external circuitry.
4.1 Pin Descriptions JoyWarrior24 A 8-8
* See application circuit for external circuitry.
Name
I/O
Type
Pins
Description
D+, D-
X0/B0, X1/B1, X2/B2, X3/B3, X4/B4, X5/B5, X6/B6, X7/B7
I/OIspecial
input, internal pull up
16,15
1, 2, 3, 4, 24, 23, 22, 21
USB differential data lines
Button row inputs, active low for matrix mode, direct button inputs 0..7 for direct connection, active low
Y0/B8, Y1/B9, Y2/B10, Y3/ B11
Right
Left
Down
I or O
I
output, open drain, or input, internal pull up input, internal pull up
IIinput, internal pull up
input, internal pull up
7, 18, 8, 17
5
Button column outputs, periodically pulled low for matrix mode, direct button inputs 8..11 for direction connection mode, active low
Input for right direction switch, active low
206Input for left direction switch, active low
Input for down direction switch, active low
Up
VREG
PullToGND
GND
IOinput, internal pull up
special *
I
power supply
Vcc
Direct NCIpower supply
input, internal pull down
unused
1911Input for up direction switch, active low
Power for USB D- pull up resistor
109Used during manufacturing, connect to GND
Ground
1412Supply voltage
Pull high to enable 12 direct connected buttons instead of 4x8 matrix
13
Do not connect
Name
I/O
Type
Pins
Description
D+, D-
B0, B1, B2, B3, B4, B5. B6, B7
I/OIspecial
input, internal pull up
16,15
5, 20, 6, 19, 7, 18, 8, 17 USB differential data lines
Button inputs, active low
A0, A1
XR1, XR2
YR1, YR2
ZR1, ZR2
I/OOspecial *
special *
OOspecial *
special *
1, 2
3, 4
Connect center taps of pots here
Connections for X pot
24, 23
22, 21
Connections for Y pot
Connections for Z pot
VREG
PullToGND
GND
VccOI
special *
power supply
power supply
RAW NC
I
input, internal pull down
unused
11
10
Power for USB D- pull up resistor
Used during manufacturing, connect to GND
914Ground
Supply voltage
1213Pull to Vcc to disable auto calibration and centering Do not connect
V 1.1.0, July 1st 2010 for Chip Revision V1.0.4.0 and up
Code Mercenaries
5
JJ
JJ
oo
oo
yy
WW
WW
aa
aarrrrrrrriiii
oo
oorrrr
4.2 Pin Descriptions JoyWarrior24 A 8-16
* See application circuit for external circuitry.
4.3 Pin Descriptions JoyWarrior24A8L and JoyWarrior24A10L
* See application circuit for external circuitry.
Name
I/O
Type
Pins
Description
D+, D-
X0, X1, X2, X3
I/OIspecial
input, internal pull up 16,15
5, 20, 6, 19 USB differential data lines
Button row inputs, active low
Y0, Y1, Y2, Y3
A0, A1
XR1, XR2
YR1, YR2
O I/O
output, open drain, internal pull up
special *
OOspecial *
special *
7, 18, 8, 17 1, 2
Button column outputs, periodically pulled low Connect center taps of pots here
3, 4
24, 23
Connections for X pot
Connections for Y pot
ZR1, ZR2
VREG
PullToGND
GND
OOspecial *
special *
I
power supply
Vcc
RAW NCIpower supply
input, internal pull down
unused
22, 21
11
Connections for Z pot
Power for USB D- pull up resistor
109Used during manufacturing, connect to GND
Ground
1412Supply voltage
Pull to Vcc to disable auto calibration and centering 13
Do not connect
Name
I/O
Type
Pins
Description
D+, D-
X0/B0, X1/B1, X2/B2, X3/B3, Y0/B4, Y1/B5. Y2/B6, Y3/B7
I/O
I or O
special
input or output, internal pull up
16,15
1, 2, 3, 4, 24, 23, 22, 21
USB differential data lines
Button inputs, active low for direct connection mode, row and column lines for matrix mode /CS, Din, Dout, SCLK
Aux0, Aux1, Aux2, Aux3
VREG
PullToGND
I/OOinput or output
output, high and low drive
O
I
special *
5, 6, 19, 20
7, 18, 8, 17
Connect to external A/D converter
Auxiliary outputs, capable of sinking up to 50mA (70ma total for all combined)
11
10
Power for USB D- pull up resistor
Used during manufacturing, connect to GND
GND
Vcc
Direct NC
power supply
power supply
I
input, internal pull down
unused
914Ground
Supply voltage
1213Pull to Vcc to enable direct connected buttons Do not connect
V 1.1.0, July 1st 2010 for Chip Revision V1.0.4.0 and up
Code Mercenaries
6
JJ
JJ
oo
oo
yy
WW
WW
aa
aarrrrrrrriiii
oo
oorrrr
4.4 Pin descriptions
D+, D-
Differential data lines of USB. Connect these signals direct to a USB cable. D- requires a pull up resistor connecting to VREG, see application circuits for details.
VREG
Supplies 3.3V for the USB D- pull up resistor. Don't use this pin to supply power to external circuitry, it does only supply sufficient current for the pull up resistor.
B0..B7 (JoyWarrior24A8-8)
Inputs for the buttons. Connect contacts closing to ground. Internal pull up resistors.
X0/B0..X3/B3 or X0/B0..X7/B7
Matrix row inputs for the buttons. In direct mode these pins work as direct button inputs, active low, use contacts closing to ground. Internal pull up resistors.
Y0/B4..Y3/B7 or Y0/B8..Y3/B11
Matrix column outputs or button inputs for direct mode. In matrix mode these pins are periodically pulled low to determine the status of the buttons. In matrix mode all buttons must be decoupled with diodes, see application circuit for details. In direct mode these pins act as active low inputs, connect contacts closing to ground. Open drain outputs or inputs with internal pull up resistor.
Left, Right, Up, Down (JoyWarrior24GP32)
Inputs for the direction pad. Connect contacts closing to ground. Internal pull up resistors.
/CS, SCLK, Din, Dout (JoyWarrior24A8L/ A10L)
Signals to connect to the external A/D converter. JoyWarrior 24A10L requires an external Maxim MAX1249 A/D converter, JoyWarrior24A8L requires a Maxim MAX1113. Internal pull up resistors.
/Pull to GND
This pin is used during production of the JoyWarrior chips, connect to GND.
A0, A1 (JoyWarrior24A8-x)
The center taps of the pots and a capacitor are connected to these two pins. The pins are used to charge the capacitor and measure the time it takes to discharge the capacitor via the pots. See application circuits for details.
XR1, XR2, YR1, YR2, ZR1, ZR2 (JoyWarrior24A8-x)
These outputs connect to the outer taps of the pots. One of them is pulled low at a time to measure how long it takes to discharge the capacitor via the pot. Axis values get smaller when the pot center tap gets closer to the tap connected to the nR1 pin, i.e. resistance between nR1 and A0, A1 gets smaller.
RAW (JoyWarrior24A8-x)
Pulling this pin to Vcc disables the autocalibration and autocentering function. The chip will then report the raw axis data. This can be useful during design test or for applications that can't accept the autocalibration or autocentering feature. Internal weak pull down resistor.
Direct (all except JoyWarrior24A8-x)
Pulling this pin high disables the matrix scanning for the buttons and instead uses all button pins as as direct button inputs for up to 8 or 12 (JW24GP32) buttons pulling to GND. All button input pins have internal pull ups.
Aux0..Aux3 (JoyWarrior24A8L/A10L)
Auxiliary outputs, active low. Each pin is capable to sink up to 50mA (70mA combined for all pins). Push-Pull outputs.
GND
Power supply ground.
Vcc
Supply voltage.
V 1.1.0, July 1st 2010 for Chip Revision V1.0.4.0 and up
Loading...
+ 14 hidden pages