Help with analog joystick interface
Help with analog joystick interface
(OP)
Does anyone know where to find the specs for the standard game port interface? This is the analog interface for joysticks, etc. I have a project with components that are very much like a joystick, so for development I want to test it out on the game port of my PC. Specifics that I am looking for are:
1) The max current draw from the interface. (Will this be a variable between different manufacturers of game ports?)
2) Details of the pushbutton interface. (is there pullup or pulldown resistors involved? Is there debouncing in the game controller or on the joystick?)
3) The limits of the analog signal. (What are the normal ranges for this signal... I would expect a range of 0 to 5V. Is that correct?)
4) Defining a generic joystick in Windows. Can this be done without any special drivers?
Any help here would be greatly appreciated.
1) The max current draw from the interface. (Will this be a variable between different manufacturers of game ports?)
2) Details of the pushbutton interface. (is there pullup or pulldown resistors involved? Is there debouncing in the game controller or on the joystick?)
3) The limits of the analog signal. (What are the normal ranges for this signal... I would expect a range of 0 to 5V. Is that correct?)
4) Defining a generic joystick in Windows. Can this be done without any special drivers?
Any help here would be greatly appreciated.





RE: Help with analog joystick interface
there it is:
http://www.epanorama.net/documents/joystick/pc_joy...
RE: Help with analog joystick interface
anyone?
thanks again!
RE: Help with analog joystick interface
The buttons are logic inputs with pullups at 5 volts.
The joystick inputs are analog circuitry, running about in the 1.5 to 3.5V range. Do you want to use these inputs?
RE: Help with analog joystick interface
Any help here would be greatly appreciated.
RE: Help with analog joystick interface
So you want to connect to a standard joystick port? Well, with a 10K pot, you will only get ten percent of the range of the standard joystick. Nothing else that you can do about it, unless you want to add some active circuitry to your joystick to make it send one tenth of the current that it controls.
If you have control over the interface circuit as well, then you can change the 2.2K resistor to 220 ohms, and increase the capacitance tenfold, to a 0.1uF. This would provide the same range as the regular joystick.
RE: Help with analog joystick interface
I think I understand the port interface pretty well now. With the game controller interface in windows I can simply connect my 10K "joystick" to the port and re-calibrate it. This gives it the full range of motion I would expect, at the cost of a little accuracy. However, since my project really only needs this interface as a testbench, it has served me well. But now my interest is getting the better of me. Who came up with the game port interface? Its the principal of the thing now... :)