
DKARDU 6 pcs Dual-axis XY Joystick Module PS2 Module Game Joystick Control Lever Sensor KY-023 XY Dual-axis Joystick Breakout Module with Dupont Cable for Arduino
Amazon Price as of 03/06/2025 23:30 GMT+00:00
$8.89
Deal Detector and Price History
We analyze price history to spot good deals

Include Prime Price
Bad Deal
average price $8.8
$0.09 higher than average
$8.62
$8.87
Product Description
Product Description
Two-axis key joystick sensor module by the use of PS2 rocker potentiometer, with (X, Y) 2-axis analog output, (Z) 1 button digital output.
With the A-rd-ui-no sensor expansion board can produce remote control and other interactive works.
In addition, this product in order to allow customers to more easily with the a-rd-ui-no expansion board and other standard interfaces, in the design of the X, Y, Z axis of the circuit are separate leads, the user can use 3-pin a-rd-ui-no special line really plug into the expansion board .
Tutorial:
In fact, this module is a potentiometer, x, y-dimensional data output port is read out the analog voltage. This figure does not draw the above z-dimensional data output, z-dimensional output only 0 and 1, can be achieved by a button. All in all, it is a combination of potentiometer and button. In the a-rd-ui-no use it, x, y dimension we received two analog ports to read their values, while the z-dimensional we are connected to the digital port, connected to the power and ground.
Test Program:
Int JoyStick_X = 0; // x
Int JoyStick_Y = 1; // 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}
Y = analogRead (JoyStick_Y); z = digitalRead (JoyStick_Z); void loop ()
{int x, y, z;
Serial.print (x, DEC); Serial.print ( ",");
Serial.print (y, DEC); Serial.print ( ",");
Serial.println (z, DEC);
Package includes:
6 x Dual-axis XY Joystick Module
1 x 30-pin Male and female DuPont cable
• Voltage:The module uses DC 3.3V-5V power supply, and the original state reading voltage of X and Y is 2.5V. In the direction of the arrow, the voltage increases, the maximum value is 5V, and in the opposite direction of the arrow , the voltage value decreases, and the minimum value is 0V
• Composition:The joystick is a combination of 2 analog potentiometers and a digital switch, just connect to the two analog inputs and the robot can listen to your commands with X,Y control.
• Output:The DO port is used for digital output, and the AO port is used for analog output
• Resistor: Cross joystick is a bi-directional 10K resistor, with the rocker in different directions, the tap resistance with the change.
• Composition:The joystick is a combination of 2 analog potentiometers and a digital switch, just connect to the two analog inputs and the robot can listen to your commands with X,Y control.
Reviews
Review AI Summary
Related Products