The KY023 Dualaxis XY Joystick Module is a highquality PS2style joystick providing precise 2axis analog control with builtin push-button functionality. Featuring dual 10K potentiometers and a digital switch, this module offers smooth, reliable directional input for robotics, gaming controllers, and interactive projects [citation:1][citation:4].
| Parameter | Value |
|---|---|
| Supply Voltage | 3.3V - 5V DC [citation:5][citation:8] |
| Potentiometer Resistance | 10K (X and Y axes) [citation:4][citation:6] |
| Output Type | Analog (VRx, VRy) + Digital (SW) [citation:1][citation:12] |
| ADC Range | 01023 (10bit) [citation:6][citation:9] |
| Center Voltage | ~2.5V (at 5V supply) [citation:4][citation:6] |
| Dimensions | ~34 x 39 x 26 mm [citation:5][citation:11] |
| Weight | ~12g [citation:5][citation:11] |
| Connections | 5-pin (GND, +5V, VRx, VRy, SW) |
= Key Features =
Precise Control - Dual 10K potentiometers for smooth X/Y analog output [citation:4]
PushButton Function Builtin Zaxis switch (active low when pressed) [citation:5][citation:6]
Wide Voltage Range - Works with 3.3V and 5V systems [citation:8][citation:10]
Standard PS2 Format - Compatible with game controller style applications
No Library Required - Direct analog reading for simple integration [citation:6]
Easy Wiring 5pin interface with standard connections [citation:5]
| KY-023 Pin | Arduino Pin | Description [citation:6][citation:9] |
|---|---|---|
| GND | GND | Ground connection |
| +5V | 5V | Power supply (3.3V for ESP32) [citation:5] |
| VRx | A0 | X-axis analog output |
| VRy | A1 | Y-axis analog output |
| SW | D2 | Digital switch (active low) |
> Connect VRx and VRy to analog input pins for position reading [citation:6]
const int SW_pin = 2;
const int X_pin = 0;
const int Y_pin = 1;
void setup() {
Serial.begin(9600);
pinMode(SWpin, INPUTPULLUP);
}
void loop() {
int xValue = analogRead(X_pin);
int yValue = analogRead(Y_pin);
int button = digitalRead(SW_pin);
Serial.print("X: ");
Serial.print(xValue);
Serial.print(" Y: ");
Serial.print(yValue);
Serial.print(" Button: ");
Serial.println(button);
delay(100);
}
| Position | X/Y Voltage (5V) | ADC Value (10-bit) |
|---|---|---|
| Center | ~2.5V | ~512 [citation:6] |
| Full Deflection | 5V | 1023 [citation:4] |
| Opposite Direction | 0V | 0 [citation:4] |
> Moving joystick in arrow direction increases voltage reading [citation:1]
√ Works with Arduino, ESP32, Raspberry Pi, and PIC microcontrollers [citation:10]
√ No additional libraries needed - direct ADC reading
√ Built-in push button adds functionality
√ Standard 2.54mm pin pitch for breadboard use
√ Ideal for robotics, games, and automation projects
## What's Included
The KY023 Dualaxis Joystick Module delivers precise, reliable directional control for your Arduino and robotics projects. Simple to use and highly responsive, it's the perfect choice for remote controls, game interfaces, and automation applications.
JOYSTICK KY023 PS2JOYSTICK DUALAXIS ARDUINO ROBOTICS GAMECONTROLLER SENSOR POTENTIOMETER DIY #REMOTECONTROL New Best Seller KY-023