


Dual Axis XY Joystick Module
- Versatile user input device providing control across two independent axes (X and Y) plus a switch (Z).
- Utilizes two 10kΩ potentiometers to generate Analog Voltage Outputs (VRx, VRy).
- Outputs a centered voltage of approximately 2.5V at rest (with a 5V supply).
- Features a push-button switch (SW) activated by pressing the joystick down (Digital Output).
- Wide compatibility with 3V to 5VDC microcontrollers (e.g., Arduino, ESP32, Raspberry Pi).
- Ideal for robot control, camera pan/tilt control, and graphical user interface navigation.
Product Details
Dual Axis XY Joystick Module - Analog Position Sensor with Push Button Switch
The Dual Axis XY Joystick Module, often referred to as the PS2 Joystick Breakout Sensor (KY-023), is a simple yet effective interface for controlling movement and position in two dimensions. This compact module is constructed with two 10kΩ potentiometers mounted perpendicularly (one for the X-axis and one for the Y-axis), which translate the physical deflection of the joystick stick into corresponding analog voltage signals (VRx and VRy).
When interfaced with a microcontroller’s Analog-to-Digital Converter (ADC), these pins provide proportional voltage readings: approximately 2.5V when the stick is centered, 0V at one extreme, and 5V at the opposite extreme. Furthermore, the joystick includes a push-button switch (SW pin) that activates when the stick is pressed down, providing a critical third dimension of digital input (Z-axis). Its auto-return-to-center feature and straightforward 5-pin interface make it an immediate choice for robotics and gaming-style controls in DIY projects.
🔧 Key Features
- Input Type: Dual-Axis Analog Position (X and Y) and Single Digital Input (SW).
- Sensing Elements: Two 10kΩ Potentiometers (Voltage Dividers).
- Analog Output: VRx and VRy pins output 0V to 5V (2.5V centered with 5V supply).
- Digital Output: SW pin toggles LOW when the stick is pressed (with pull-up enabled).
- Design: Automatically returns to center position when released.
- Compatibility: Works with microcontrollers operating at 5V or 3.3V.
💡 Applications
- Remote control of RC vehicles, rovers, and drone systems.
- Pan and Tilt control for cameras and robotic arms.
- Interface device for custom Game Controllers and simulators.
- Navigation control for menus on LCD or OLED displays.
⚙️ Technical Specifications Summary
| Potentiometer Resistance | 10kΩ (for X and Y Axes) |
| Operating Voltage | 3V to 5VDC (VCC) |
| Output Channels | 2 Analog (VRx,VRy) and 1 Digital (SW) |
| Output Voltage Range | 0V to VCC (Centered at VCC/2) |
| Switch (SW) Action | Connects to GND (Active Low) when pushed |
| 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









