This is Joystick Module PS2 Breakout Sensor very similar to the ‘analog’ joysticks on PS2 (PlayStation 2) controllers. Directional movements are simply two potentiometers – one for each axis. Pots are ~10k each. This PS2 joystick also has a select button that is actuate when the joystick is press down. With the help of this Joystick Module Arduino, you can measure position coordinates on the X and Y axis by moving the “hat”. It also contains a switch that is press-able by pushing the “hat”. It also contains a switch that is press-able by pushing the “hat” down. Similar to the XBOX controller.
The X and Y axes are two 10k potentiometers which control 2D movement by generating analog signals. When the module is in working mode, it will output two analog values, representing two directions. This module uses the 5V power supply, and value, when reading through analog input, would be about 2.5V, a value will increase with joystick movement and will go up till maximum 5V; the value will decrease when the joystick is moved in other direction till 0V.
Specifications and Features Of Joystick Module:
- Dimensions: 40 x 27 x 15 (LxWxH) mm
- Weight: 10gm (without Hat).
- 2.54mm pin interface leads
- Operating Voltage: 5V.
- Long service life and stable performance
- Standard interface and electronic building blocks
- Widely use in Arduino DIY projects
- Cross rocker as a two-way 10K resistor, with the rocker in a different direction.
1 x Joystick Module PS2 Breakout Sensor
- Sample Code (Arduino)