-40%
10pcs/lot Joystick Axis Sensor Breakout Game Controller Module for Arduino
$ 5.67
- Description
- Size Guide
Description
Store categorySign Up Now !
You may also like
10pcs/lot Joystick Axis Sensor Breakout Game Controller Module for Arduino
Product Description
10pcs/lot Joystick Axis Sensor Breakout Game Controller Module for Arduino
Description:
The company produces PS2 game joystick axis sensor module consists of using original quality metal PS2 joystick potentiometer system For the (X, Y) a 2-axis analog output and for (Z) 1 digital output channel button.
The joystick is a combination of 2 analoog potentiometer and a digital switch.
Test:
For Arduino controller × 1
USB data cable × 1
PS2 Game sensor module × 1
Connection for Arduino and Joystick module:
GND --> Module pin -
+5V --> Module pin +5V
Analoog 0 --> Module VRx
Analoog 1 --> Module VRy
Example Code:
// Module KY023
int JoyStick_X = A0; // x
int JoyStick_Y = A1; // y
int JoyStick_Z = 3; // key
void setup ()
{
pinMode (JoyStick_X, INPUT);
pinMode (JoyStick_Y, INPUT);
pinMode (JoyStick_Z, INPUT);
Serial.begin (9600); // 9600 bps
}
void loop ()
{
int x, y, z;
x = analogRead (JoyStick_X);
y = analogRead (JoyStick_Y);
z = digitalRead (JoyStick_Z);
Serial.print (x, DEC);
Serial.print (",");
Serial.print (y, DEC);
Serial.print (",");
Serial.println (z, DEC);
delay (100);
}
Package Included:
10pcs Joystick Sensor Module
Payment
Shipping
Delivery time
Return Policy
Contact us
Payment
1.We accept Paypal payment only , you can use credit card through PayPal.
2.Please make payment asap,then we can arrange shipment for you asap.
Shipping
If total amount ≥ 7usd ,We Provide with a tracking number for
you.
Delivery time
normally it will arrive in 10-30days when your order amount is more than 7usd.
And 30-60days when amount is less than 7usd.
Return Policy
1.All our products are eligible for 30-days money back guarantee.
2.All returns should be guided by us,please contact us for detail before you return anything.
Contact us
We request that you contact us immediately BEFORE you give us neutral or negative feedback, so that we can satisfactorily address your concerns.
Description: The company produces PS2 game joystick axis sensor module consists of using original quality metal PS2 joystick potentiometer system For the (X, Y) a 2-axis analog output and for (Z) 1 digital output channel button. The joystick is a combination of 2 analoog potentiometer and a digital switch. Test: For Arduino controller × 1 USB data cable × 1 PS2 Game sensor module × 1 Connection for Arduino and Joystick module: GND --> Module pin - +5V --> Module pin +5V Analoog 0 --> Module VRx Analoog 1 --> Module VRy Package Included: 10Pcs Joystick Sensor Module