Starter Guide

www.adeept.com
- 97 -
Lesson 27 PS2 joystick
Introduction
In this lesson, lets learn to use PS2 joystick.
What is PS2 joystick?
The PS2 Joystick Module is an input device. It consists of a station and the
control knobonside. It functions by sending angle or direction signals to the
device controlled. The button on the module can also be recognized by the
microcontroller. The module supports two-channel analog output, namely, x-
and y-axis offset, and one-channel digital output which indicates whether
the user has pressed the button at z-axis or not. The Joystick Module can be
used to easily control the object to move in a three-dimensional space. For
example, it can be applied to control crane, truck, electronic games, robots,
etc.
Pin definition
X
Analog output
X
Y
Analog output
Y
Z
Digital key output
+
VCC
-
GND