Difference between revisions of "Connector:Analogue joystick (CPC Plus only)"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
Line 4: Line 4:
 
* 5V and GND are exchanged with each other, and,  
 
* 5V and GND are exchanged with each other, and,  
 
* on CPC+ the buttons must be connected to a "select" line (instead of to GND).
 
* on CPC+ the buttons must be connected to a "select" line (instead of to GND).
   Pin CPC+             PC
+
 
   1  GND (Pot common) +5V
+
   Pin CPC+                   PC                     ________________________
   2  /Fire 1          Player 1 Fire 1
+
   1  GND (Pot common)       +5V (Pot common)      |                        |
   3  Pot X1           Player 1 X (lt/rt)
+
   2  /Fire1                  Player1.Fire1          | 8  7  6  5  4  3  2  1 |
   4  /Joystick 1      GND
+
   3  X1                     Player1.PotX (lt/rt)   \ 15 14 13 12 11 10  9 /
   5  +5V               GND
+
   4  /Stick1 (button common) GND (button common)      \____________________/
   6  Pot Y1           Player 1 Y (up/dn)
+
   5  +5V                     GND
   7  /Fire 2          Player 1 Fire 2
+
   6  Y1                     Player1.PotY (up/dn)
   8  GND (Pot common) +5V (Soundblaster: GND)
+
   7  /Fire2                  Player1.Fire2
   9  GND (Pot common) +5V
+
   8  GND (Pot common)       +5V (Soundblaster: GND)
   10  /Fire 1          Player 2 Fire 1
+
   9  GND (Pot common)       +5V
   11  Pot X2           Player 2 X (lt/rt)
+
   10  /Fire1                  Player2.Fire 1
   12  /Joystick 2      GND (Soundblaster: Midi TxD)
+
   11  X2                     Player2.PotX (lt/rt)
   13  Pot Y2           Player 2 Y (up/dn)
+
   12  /Stick2 (button common) GND (Soundblaster: Midi TxD)
   14  /Fire 2          Player 2 Fire 2
+
   13  Y2                     Player2.PotY (up/dn)
   15  GND (Pot common) +5V (Soundblaster: Midi RxD)
+
   14  /Fire2                  Player2.Fire 2
 +
   15  GND (Pot common)       +5V (Soundblaster: Midi RxD)
 +
 
 
* Two analogue joysticks could be connected by using an Y-cable. The Fire signals are the same as for the normal (digital) joystick port. Joystick 1 buttons should be connected to Pin 2,4,6, and joystick 2 buttons to Pin 10,12,14. Like the digital [[Joystick Y-cables]] the analog Y-cable should have '''diodes''' in the button lines.
 
* Two analogue joysticks could be connected by using an Y-cable. The Fire signals are the same as for the normal (digital) joystick port. Joystick 1 buttons should be connected to Pin 2,4,6, and joystick 2 buttons to Pin 10,12,14. Like the digital [[Joystick Y-cables]] the analog Y-cable should have '''diodes''' in the button lines.
 
* The A/D inputs have an input range of 0V (data = 00) to 2.5V (data = 3Fh), and an input impedance of 180k to Vcc.
 
* The A/D inputs have an input range of 0V (data = 00) to 2.5V (data = 3Fh), and an input impedance of 180k to Vcc.
* Not sure if the POTs on the CPCs analog X/Y inputs are to be wired to 5V or GND (or to both)? And, how they are wired on PCs accordingly?
 
  
 
==Softwares using Analog Joystick==
 
==Softwares using Analog Joystick==

Revision as of 00:52, 3 February 2010

Analogue Joystick Port (15 Pin SUB-D, female) (CPC Plus only)

The Analogue CPC+ Joystick port is somewhat similar to standard PC Joystick ports - with two important differences:

  • 5V and GND are exchanged with each other, and,
  • on CPC+ the buttons must be connected to a "select" line (instead of to GND).
 Pin CPC+                    PC                      ________________________
 1   GND (Pot common)        +5V (Pot common)       |                        |
 2   /Fire1                  Player1.Fire1          | 8  7  6  5  4  3  2  1 |
 3   X1                      Player1.PotX (lt/rt)    \ 15 14 13 12 11 10  9 /
 4   /Stick1 (button common) GND (button common)      \____________________/
 5   +5V                     GND
 6   Y1                      Player1.PotY (up/dn)
 7   /Fire2                  Player1.Fire2
 8   GND (Pot common)        +5V (Soundblaster: GND)
 9   GND (Pot common)        +5V
 10  /Fire1                  Player2.Fire 1
 11  X2                      Player2.PotX (lt/rt)
 12  /Stick2 (button common) GND (Soundblaster: Midi TxD)
 13  Y2                      Player2.PotY (up/dn)
 14  /Fire2                  Player2.Fire 2
 15  GND (Pot common)        +5V (Soundblaster: Midi RxD)
  • Two analogue joysticks could be connected by using an Y-cable. The Fire signals are the same as for the normal (digital) joystick port. Joystick 1 buttons should be connected to Pin 2,4,6, and joystick 2 buttons to Pin 10,12,14. Like the digital Joystick Y-cables the analog Y-cable should have diodes in the button lines.
  • The A/D inputs have an input range of 0V (data = 00) to 2.5V (data = 3Fh), and an input impedance of 180k to Vcc.

Softwares using Analog Joystick

Tennis Cup 2 ( Cartridge ) allows player 2 to use Analog port.