Dual-axis XY Joystick Module KY-023
Dual-axis XY Joystick Module KY-023
Dual-axis XY Joystick Module KY-023
Dual-axis XY Joystick Module KY-023
Dual-axis XY Joystick Module KY-023
Dual-axis XY Joystick Module KY-023

Dual-axis XY Joystick Module KY-023

Keypads
DET573
Part.No: KY-023
€2.75
Out of Stock
KY-023 Dual-Axis XY Joystick Module — PS2-style analog joystick with two 10 kΩ potentiometers (X/Y axes) and a built-in push-button switch. Works with Arduino, ESP32, and Raspberry Pi. Plug-and-play, no libraries needed.

 

The KY-023 Dual-Axis XY Joystick Module (MPN: KY-023) is a compact PS2-style analog joystick sensor that gives your project full two-dimensional control. Two 10 kΩ potentiometers translate stick movement into analog voltage on the VRx and VRy pins, while a built-in push-button fires a digital signal when you press the stick straight down. With a 5-pin connector and no special libraries required, it is one of the most beginner-friendly input modules in any Arduino starter kit.

Key Features

  • Dual-axis analog output (VRx / VRy): Two 10 kΩ potentiometers output a voltage proportional to stick position → smooth, continuous positional data on both X and Y axes
  • Built-in push-button (SW): Activates (reads LOW) when the stick is pressed down → adds a Z-axis click action without extra components
  • Wide supply voltage (3.3 V – 5 V): Compatible with both 5 V and 3.3 V microcontrollers → no level-shifting needed for most platforms
  • No libraries required: Standard analogRead() and digitalRead() calls are all you need → zero setup overhead, ideal for beginners
  • PS2 joystick design: Familiar thumb-stick feel, sturdy mechanical construction → reliable for games, robots, and RC projects

Pinout & Wiring

PinSymbolDescription
1GNDGround — connect to MCU GND
2+5V (VCC)Power supply — 3.3 V or 5 V DC
3VRxAnalog output — voltage proportional to X-axis position
4VRyAnalog output — voltage proportional to Y-axis position
5SWPush-button output — reads LOW when stick is pressed

Wiring note: Connect VCC to your MCU's 5 V (or 3.3 V) pin and GND to ground. Route VRx and VRy to two analog input pins, and SW to a digital input pin with INPUT_PULLUP enabled — no external resistor needed for the button.

Compatibility

  • Arduino UNO / Nano / Mega (5 V): Direct connection — VRx and VRy output a 0–5 V range, perfectly matched to the 10-bit ADC
  • ESP32 / ESP8266 (3.3 V): Power from the 3.3 V pin; analog output will be 0–3.3 V, within the safe ADC input range of these boards
  • Raspberry Pi (3.3 V): Power from 3.3 V; use an external ADC (e.g. MCP3008) since the Raspberry Pi has no built-in ADC

Typical Applications

  • RC robot control: Map VRx/VRy directly to motor speed and direction for a two-wheeled or tank-drive robot
  • DIY game controllers: Build retro-style arcade or handheld games using Arduino and an OLED or TFT display
  • Camera/gimbal pan-tilt: Drive two servo motors to pan and tilt a camera mount with intuitive thumb-stick precision
  • Drone / RC car prototyping: Quickly prototype a custom transmitter before committing to dedicated RF hardware
  • Menu navigation: Use X/Y axes to scroll through UI menus and SW to confirm selections on embedded displays

Technical Specifications

Interface2× Analog output (VRx, VRy) + 1× Digital button (SW)
Operating Voltage3.3 V – 5 V DC
Analog Output Range0 V – VCC (varies with supply voltage)
Potentiometers2× 10 kΩ (X-axis and Y-axis)
Push-button logicActive LOW (reads LOW when pressed)
Connector5-pin: +5V · GND · VRx · VRy · SW
Dimensions40 × 26 × 32 mm
MPNKY-023

FAQ

Q: Do I need a special library to use the KY-023?
A: No. Both axes are standard analog signals read with analogRead(), and the button is read with digitalRead(). Any Arduino sketch can use it out of the box.

Q: Can I use the KY-023 with a 3.3 V board like the ESP32?
A: Yes. Power the module from the 3.3 V pin; the analog outputs will swing 0–3.3 V, which is within the safe input range of the ESP32's ADC.

Package contents: 1× KY-023 Dual-Axis XY Joystick Module.
⚠ Note: Connecting VCC to 5 V on a 3.3 V-only board (e.g. Raspberry Pi GPIO) may damage the board. Always match the supply voltage to your microcontroller's logic level.
5 other products in the same category:
Product added to wishlist
Product added to compare.