Shopping Cart

Your cart is empty.

Your cart is empty.

PS2 Joystick Axis Sensor Module Game Controller Joystick Breakout Module for Arduino(Pack of 10)

Free shipping on orders over $29.99

$15.83

$ 7 .19 $7.19

In Stock

About this item

  • You will get 10pcs Joystick sensor
  • Tutorial link: https://www.youtube.com/watch?v=t7ihO6sjySs
  • Simply connect to two analog inputs, the robot is at your commands with X,Y control
  • The joystick is a combination of 2 analoog potentiometer and a digital switch
  • How to email us? Please click “Wishiot”(you can find "Sold by Wishiot" under Buy Now button), in the new page, click “Ask a question” to email us


Lots of robot projects need joystick. This module provides a affordable solution to that. Simply connect to two analog inputs, the robot is at your commands with X,Y control. It also has a switch that is connected to a digital pin. This joystick module can be easily connect to (for) Arduino by normal IO Expansion Shield with supplied cables.
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
// For more info
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 PS2 Game Joystick Axis Sensor Module


Christian Pedrigal
Reviewed in the United States on January 16, 2024
Tested 5 joystick modules consecutively. Two critical issues found for all of them:(1) X-values jump to maximum values when pointing joystick towards bottom and top, so X axis is non-linear.(2) The operating range is only near within 10 degrees of the center so you will have very jumpy feedback when performing anything.Would not recommend at all.
Ara
Reviewed in the United States on July 19, 2023
The middle accuracy is off, i.e instead of 512 its 507 or other values depending on which device you pick! I don't see a way on device itself to calibrate for this. You have to adjust your code for each individual device.Also the switch won't work unless you populate the R1 with some +25K resistor. Is this expected? It seems the switch is floating and not correctly wired.
iRambes
Reviewed in the United States on May 5, 2023
I purchased these joysticks for a project. I am using them to replace basic potentiometers from a remote control car so it uses joysticks instead of a trigger and wheel. My only complaint is that the resolution with these potentiometers is very low. They do have some modulation but the dead zone is large, very touchy, and almost seem like on and off. With very little input, the output is a lot. But what can you expect from cheap modules. I will probably try out some more expensive sticks meant for game console controllers to see if they have better resolution
Tara P.
Reviewed in the United States on February 27, 2023
The switch on these are wired to the ground plane instead of 5V. No signal will be sent to your micro controller because you are essentially connecting ground to ground. The only way to fix it is to cut into the board separating the switch from the ground plane and solder a wire to the switch to 5v.
Ben
Reviewed in the United States on January 23, 2022
One of the three boards that I have checked had the connector not completely soldered.As other reviewer noted the range is about half of the travel.
Ethan Heming
Reviewed in Canada on January 11, 2022
This product only provides useful potentiometer over ~50% of its travel range in both directions before reaching max or min voltage. Very bad.