


Dual Axis XY Joystick Module
- Versatile user-input module offering precise control along two independent axes (X and Y) with an integrated push-button (Z-axis).
- Uses dual 10 kΩ potentiometers to generate smooth analog voltage outputs (VRx, VRy).
- Outputs a centered voltage of approximately 2.5 V at the neutral position when powered at 5 V.
- Includes a built-in momentary push-button switch (SW), activated by pressing the joystick.
- Fully compatible with 3 V–5 V microcontrollers such as Arduino, ESP32, and Raspberry Pi.
- Ideal for robot navigation, camera pan-tilt systems, and menu or UI control applications.
Product Details
Dual Axis XY Joystick Module – Analog Position Sensor with Push Button (KY-023)
The Dual Axis XY Joystick Module, commonly known as the PS2 Joystick or KY-023 module, is a compact and reliable input device designed for two-dimensional motion control. It integrates two perpendicular 10 kΩ potentiometers to measure movement along the X-axis and Y-axis, converting physical joystick deflection into proportional analog voltage signals (VRx and VRy).
When connected to a microcontroller’s Analog-to-Digital Converter (ADC), the joystick outputs a centered voltage of approximately VCC/2 (≈2.5 V at 5 V supply), scaling smoothly from 0 V to VCC as the joystick is moved to its extremes. In addition, the module includes an integrated momentary push-button switch (SW) that activates when the joystick is pressed downward, providing a convenient third digital input (Z-axis). The self-centering spring mechanism ensures automatic return to the neutral position when released.
🔧 Key Features
- Input Type: Dual-axis analog position sensing (X and Y) with a digital push-button (Z-axis).
- Sensing Elements: Two 10 kΩ potentiometers configured as voltage dividers.
- Analog Outputs:VRx and VRy provide 0 V to VCC output (centered at VCC/2).
- Digital Output:SW pin is active-LOW when the joystick is pressed.
- Mechanical Design: Spring-loaded auto-return to center for precise control.
- Wide Compatibility: Operates reliably with both 3.3 V and 5 V logic systems.
💡 Applications
- Remote control for robots, rovers, and RC vehicles.
- Pan-tilt camera control and robotic arm positioning.
- Custom game controllers and simulation interfaces.
- User navigation for LCD, OLED, and GUI-based menus.
⚙️ Technical Specifications
| Potentiometer Resistance | 10 kΩ (X-axis and Y-axis) |
| Operating Voltage | 3 V – 5 V DC |
| Output Channels | 2 × Analog (VRx, VRy), 1 × Digital (SW) |
| Output Voltage Range | 0 V to VCC (Centered at VCC/2) |
| Switch Operation | Active-LOW (Connects to GND when pressed) |
| Operating Temperature | 0 °C to 70 °C |
| Interface | 5-Pin Header (VCC, GND, VRx, VRy, SW) |
📦 Package Includes
- 1 × Dual Axis XY Joystick Module (KY-023 type)
Specifications
- TypeJoystick Module
- Operating Voltage3.3V – 5V
- Temperature Range0°C – 50°C
- Output TypeAnalog voltage
- Sampling RateProgrammable/Variable
- InterfaceAnalog input
















