Enhance your projects with the KY-023 Dual Axis Joystick Module! This versatile module features analog X and Y readings and an integrated push-button switch for easy control. Ideal for Arduino, AVR, and PIC applications, it offers precise movement for robotics and gaming. Compact and user-friendly, it connects effortlessly. Enjoy quick shipping and hands-on usability in your DIY electronics!
Electronics for IoT, Prototyping & DIY
Enhance your projects with the KY-023 Dual Axis Joystick Module! This versatile module features analog X and Y readings and an integrated push-button switch for easy control. Ideal for Arduino, AVR, and PIC applications, it offers precise movement for robotics and gaming. Compact and user-friendly, it connects effortlessly. Enjoy quick shipping and hands-on usability in your DIY electronics! 2 Pieces KY-023 Dual Axis XY Joystick Module -- Analog X/Y + Push Button Switch, 3.3V/5V, Arduino Compatible
Add intuitive directional control to your project with the KY-023 Dual Axis XY Joystick Module. This thumb-stick controller provides analog X and Y axis output (0–5V) for smooth, proportional movement control, plus an integrated push-button switch for mode selection or action triggers. The self-centering spring mechanism returns the stick to center when released -- just like a game controller. Connect three wires to your microcontroller\'s analog and digital inputs, upload a few lines of code, and you have full 2D directional control with a button. No libraries required.
🔧 How It Works
The module contains two 10KΩ potentiometers mounted at 90° to each other, connected to a thumb-stick via a gimbal mechanism. Each potentiometer acts as a voltage divider:
- Center position: Both VRx and VRy output ~2.5V (analog reading ~512 on Arduino\'s 10-bit ADC).
- Full left / full down: Output drops toward 0V (analog reading ~0).
- Full right / full up: Output rises toward 5V (analog reading ~1023).
- Button press: Pressing the stick down closes the SW switch, pulling the pin to GND (reads LOW with pull-up enabled).
Pinout:
PinLabelConnect ToFunction1VCCArduino 5V (or 3.3V)Power supply2GNDArduino GNDGround3VRxAnalog pin (e.g., A0)X-axis analog output (0–5V)4VRyAnalog pin (e.g., A1)Y-axis analog output (0–5V)5SWDigital pin (e.g., D2)Push-button switch (active LOW, needs pull-up)⚡ Key Features
- Dual-Axis Analog Output: Two 10KΩ potentiometers provide smooth, proportional X and Y axis readings (0V–5V range, ~2.5V at center).
- Integrated Push-Button Switch: Press the joystick down for a digital input -- perfect for mode switching, menu selection, or action triggers. Pulls to ground when pressed.
- Self-Centering: Spring-loaded mechanism returns the stick to center position when released.
- 3.3V and 5V Compatible: Works with both 3.3V and 5V microcontrollers (5V recommended for full analog range).
- Simple 5-Pin Interface: Clearly labeled VCC, GND, VRx, VRy, and SW pins -- connect directly with jumper wires.
- No Libraries Needed: Uses standard analogRead() and digitalRead() functions -- works immediately with basic Arduino code.
- Compact: Just 34mm × 26mm × 32mm -- fits easily on breadboards and inside project enclosures.
📐 SpecificationsModelKY-023AxesX and Y (analog output)SwitchPush-button (digital, active LOW)Operating Voltage3.3V – 5V DCPotentiometer Type10KΩ ±20%, linear taperAnalog Output Range0V to VCC (proportional to stick position)Center Output~VCC/2 (~2.5V at 5V supply)Switch ActivationPulls to ground when pressed (requires pull-up resistor)Interface5-pin header (VCC, GND, VRx, VRy, SW)Dimensions34 × 26 × 32mm (1.3\" × 1.0\" × 1.3\")📦 What\'s in the Box
- 2x KY-023 Dual Axis XY Joystick Module
Jumper wires, Arduino board, and breadboard are not included.
🛒 What You\'ll Need
- Microcontroller -- Arduino Uno/Mega/Nano, ESP32, or any board with at least 2 analog inputs and 1 digital input
- Jumper wires -- 5 female-to-male (or male-to-male with a breadboard)
- Breadboard -- optional, for prototyping
- USB cable -- to program your Arduino and view serial output
🔌 Compatible With
- Arduino Uno, Mega, Nano, Leonardo, and all compatible boards
- ESP32, ESP8266 (use 3.3V supply; note: ESP32 ADC is 12-bit, 0–4095 range)
- Raspberry Pi (requires external ADC -- Pi has no built-in analog inputs)
- STM32, AVR, PIC, and other microcontrollers with analog inputs
- Any 3.3V or 5V system with at least 2 analog input pins and 1 digital input pin
🎯 Typical Applications
- Robotics control -- drive motors proportionally for smooth robot movement, control robotic arms and grippers
- RC vehicles and drones -- build custom transmitters with proportional throttle and steering
- Game controllers -- create custom game pads for PC, retro gaming, or arcade cabinets
- Camera pan/tilt -- control servo-driven camera gimbals and pan-tilt mechanisms
- Menu navigation -- scroll through menus on OLED/LCD displays with intuitive stick control
- IoT and home automation -- manual override control for smart home devices
- STEM education -- teach analog input, voltage dividers, and human-machine interfaces
💡 Tip: Full documentation including Arduino wiring, example code, calibration, dead zone implementation, switch debouncing, and troubleshooting is available on the Envistia Mall product support website. Search for \"KY-023 User Guide\".
⚠️ Important Notes
- Orientation matters: For correct X-Y orientation (X horizontal, Y vertical), mount the module with the pins facing to the left.
- Pull-up resistor required for SW pin: Enable the internal pull-up in your code (INPUT_PULLUP on Arduino) or add an external 10KΩ pull-up resistor.
- Center position may not be exact: The joystick may not read exactly 512 at rest. Calibrate in your code by reading the resting values and applying an offset.
- Implement dead zones: Add a small dead zone around center in your code to prevent jitter and unintended movement when the stick is at rest.
- Raspberry Pi users: The Pi has no built-in analog inputs. You will need an external ADC (such as an ADS1115 or MCP3008) to read the VRx and VRy outputs.
- Operating voltage: 3.3V to 5V DC. Do not exceed 5V.
- Disconnect power before making wiring changes.
🏪 About Envistia Mall
Envistia Mall is a US-based electronics retailer specializing in development boards, sensors, modules, and components for makers, engineers, and educators. We ship from the United States with fast handling times. Product documentation and technical support are available at our dedicated support site.
📦 Fast Free US Shipping | 🔄 Hassle-Free Returns | 📧 Responsive Customer Support
Visit our store for Arduino boards, sensors, servo motors, OLED displays, jumper wires, breadboards, and more components for your robotics and IoT projects.
Featured Products
100uF 50V Low ESR Electrolytic Capacitor 105C Radial High Freq 5pk 10pk 25pk
$6.89
650nm 5mW Red Laser Diode Module 5V 6mm Brass Focusable Pre-Wired 5pk / 10pk
$7.49
HC-SR501 PIR Motion Detector Sensor Module Infrared Arduino ESP32 Raspberry Pi
$6.89
Red Mini Rocker Switch SPST ON/OFF 2-Pin 125VAC/6A KCD117S Miniature 2/5/10 Pk
$6.59
Black Mini Rocker Switch SPST ON/OFF 2-Pin 125VAC/6A KCD117S Miniature 2/5/10 Pk
$6.59
YX5300 UART TTL Serial MP3 WAV Music Player Module - Arduino Compatible - USA
$8.19
KY-023 Dual Axis XY Joystick Module Analog Thumb Stick Arduino ESP32 3.3V / 5V
$7.29
2 Pcs HC-SR501 PIR Motion Detector Sensor Module Infrared Arduino ESP32 Rasp Pi
$9.29 Add suggested items to your listings - Check it out on 3Dsellers.com
· All Rights Reserved to My Store ·
listing template by 3Dsellers.com - Try for Free!
When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.