1/3/5PCS KY-023 Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor Module for Arduino

1/3/5PCS KY-023 Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor Module for Arduino

5PCS
$22.82
Sale price  $22.82 Regular price  $0.00
Skip to product information
1/3/5PCS KY-023 Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor Module for Arduino
1/3/5PCS KY-023 Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor Module for Arduino
$22.82
Sale price  $22.82 Regular price  $0.00
Color
Description

SPECIFICATIONS

Application: Computer,Remote control, interactive projects, game joystick, DIY electronics

Brand Name: XYCJJCXL

Choice: yes

Compatibility: Arduino sensor expansion board and standard interfaces

Condition: New

Default Voltage: X and Y about 2.5V

Function: Combination of potentiometer and button

High-concerned chemical: none

Input Voltage: DC 3.3V to 5V

Model: KY-023

Origin: Mainland China

Output Signal: X and Y analog output, Z digital output

Package: SMD

Potentiometer Resistance: 10K ohm bi-directional

Product Name: Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor

Supply Voltage: DC 3.3V to 5V

Test Program: Supports Arduino IDE programming with serial monitor output

Type: Module

Voltage Range: 0V to 5V depending on direction

semi_Choice: yes

✨ 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 Arduino 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 arduino 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 ARDUINO special line really plug into the expansion board.

⚡ Product Performance

  • 1. Input voltage range: DC 3.3V to 5V

  • 2. Output signal: the module special two-way analog output and a digital output interface, the output value corresponding to (X, Y) biaxial offset, the type of analog; keys that the user press the Z axis, Its type is digital switch.

  • 3. Arduino controller can be programmed, the sensor expansion board plug, complete with creative remote interactive works.

  • 4. Cross joystick is a bi-directional 10K resistor, with the rocker in different directions, the tap resistance with the change.
    This module uses 5V power supply, the original state of X, Y read voltage of 2.5V or so,
    when pressed with the arrow direction, the read voltage value increases with the maximum to 5V;
    arrows in the opposite direction to press, read the voltage decreases, the minimum is 0V.

📘 Tutorial

In the introduction of how to use, we first look at how it works, which we use it very helpful,
there is a function of the following diagram:



🔄 Module Explanation

In fact, this module is a potentiometer. The X, Y dimensional data output ports read out analog voltage.
The Z-dimensional data output is not shown in the figure above, Z-dimensional output only 0 and 1, which can be achieved by a button.
All in all, it is a combination of potentiometer and button.

In Arduino usage: X and Y dimensions are connected to two analog ports to read their values,
while the Z dimension is connected to a digital port, plus 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
}

Void loop () {
int x, y, z;
y = analogRead (JoyStick_Y);
z = digitalRead (JoyStick_Z);

Serial.print (x, DEC);
Serial.print ( ",");
Serial.print (y, DEC);
Serial.print ( ",");
Serial.println (z, DEC);
}

📌 Notes

  • X and Y give continuous analog values between 0V and 5V.

  • Z is a digital switch, outputting 0 or 1 depending on button press.

  • Ensure stable 5V power supply for accurate readings.

Free Shipping Over $199
  • Standard Shipping: Standard Shipping (12–18 Business Days)
  • Express Shipping: Expedited Shipping (5–9 Business Days)
  • Free Shipping: Orders over $199 qualify automatically
  • Tracking: Full tracking number provided for all orders
30-Day Return Policy
  • Returns: 30-day hassle-free return window
  • Condition: Items must be unused and in original packaging
  • Refund: Full refund processed within 3-5 business days
Why Choose Us?
  • Factory Direct: ISO/TS 16949 certified manufacturer
  • Quality: 100% electrical continuity tested before shipment
  • Experience: 15+ years in automotive connector industry
  • Support: Professional technical support available
Secure Payment Latest encryption technology
Money-Back Guarantee 30-day hassle-free returns
Quality Assured Factory certified products
Global Fast Shipping Worldwide express delivery

You may also like

Contact us

Subscribe to our emails

Be the first to know about new collections and special offers.