The Joystick Module Breakout Sensor HW-504 controls X and Y axis movement through two independent 10kΩ potentiometers, with a spring auto-center return mechanism, 2.54mm pin pitch for breadboard use, operating from 5V DC. The Joystick Module works by mechanically linking a spring-loaded stick to both potentiometers — tilting the stick in any direction simultaneously changes resistance on the X-axis pot, Y-axis pot, or both, depending on the direction and angle of movement.
The joystick module arduino reads each axis as a separate analog voltage on two analog pins — when the stick rests at center, both readings sit near the mid-point of the ADC range, and moving the stick toward any edge shifts the corresponding axis reading toward its minimum or maximum value. The joystick sensor’s spring auto-center mechanism is a key usability feature: releasing the stick after movement automatically returns it (and both readings) back to the resting center position, without needing the user to manually recenter it.
the joystick module breakout sensor relies on mechanical potentiometers, repeated heavy use over time can introduce minor wear-related drift in the center resting value, so periodic recalibration in code helps maintain consistent directional accuracy. Well-suited for makers, this HW-504 joystick module available at StemVolt enables robotics, interactive systems, and microcontroller projects using responsive X-Y axis input and push-button functionality.
Related Product:
Features:
- Dual 10kΩ potentiometers provide independent X and Y axis readings
- Spring auto-center automatically returns stick to default resting position
- Two analog outputs for direct connection to Arduino analog pins
- 2.54mm pin pitch fits standard breadboards and jumper wires
- 5V DC compatible with standard Arduino and similar boards
Pin Diagram of HW-504 Joystick Module:

Technical specifications:
| Specification | Details |
|---|---|
| Operating Voltage | 5V DC |
| Potentiometer Value | 10kΩ |
| Axis Control | X and Y Axis |
| Interface Pitch | 2.54mm Pins |
| Return Mechanism | Spring Auto-Center |
Applications:
- Joystick Module used for Arduino game controller direction input build
- Robot uses joystick sensor for India remote-controlled steering build
- Camera gimbal uses joystick module breakout sensor for pan-tilt control
- Robotic arm uses joystick module for manual position adjustment input
Package includes:
- 1 x Joystick Module














Ishita Mukherjee –
Suitable for remote control systems, gaming interfaces, and educational electronics projects requiring accurate joystick-based input control
Kabir Deshpande –
Delivered in 3 days
Vihaan Menon –
Highly recommended product
Aryan Chawla –
Secure packaging and cash on delivery options ensured a smooth purchasing experience, while responsive support helped with project-related queries
Hrithik Verma –
Trusted store quality
Avani Kulkarni –
Received this joystick module in excellent condition, response was smooth and accurate, making it perfect for my IoT control project.
Navya Pillai –
Precise X-Y axis control and button input, making it ideal for arduino projects, robotics applications, and IoT development