First of all, I don't know whether I put the topic in the correct forum or not. If it is not, I am sorry.
I have a Microsoft SideWinder 3D Pro Joystick, and I would like to use it for my robot without a computer. Could you please help me?
It has DA-15 Male connector. This is the website for the pin outs.http://en.wikipedia.org/wiki/Game_port
On the connector, it has only Pin number 1,2,3,4,6,7,10,11,13,14.
According to the link above, I used those pins to get some readings with Multimeter. I got about 50 kohm while it is in its normal position. I moved the joystick, but it didn't change its resistance value.
Pin 1 - 5V
Pin 3 - X axis for joystick 1 (0-100kohm)
Pin 4 - GND
Pin 6 - Y axis for joyistic 1 (0-100kohm)
I also wrote this program to get readings in mVolts. However, the result is the same.
int X = 4;
int Y = 3;
int valX = 0;
int valY = 0;
int vX, vY; //voltage in mV
valX = analogRead(X);
valY = analogRead(Y);
// Serial.print("valX = ");
// Serial.print(" - valY = ");
vX = map(constrain(valX, 0, 1023), 0, 1023, 0, 5000);
vY = map(constrain(valY, 0, 1023), 0, 1023, 0, 5000);
Serial.print("Voltage X = ");
Serial.print(" - Voltage Y = ");
Also this is the information about this joystick.http://en.wikipedia.org/wiki/Microsoft_SideWinder#3D_Pro