KY-023 Joystick module (XY-Axis)
KY-023 Joystick module (XY-Axis)
Contents 1 Picture ......................................
KY-023 Joystick module (XY-Axis)
KY-023 Joystick module (XY-Axis)
Contents 1 Picture ................................................................................................................................................................. 1 2 Technical data / Short description ....................................................................................................................... 1 3 Pinout ................................................................................................................................................................... 2 4 Code example Arduino ......................................................................................................................................... 3 5 Code example Raspberry Pi ................................................................................................................................. 4
Picture
Technical data / Short description
X and Y positions of the joystick can be measured as an analog
voltage at the output pin.
In this joystick, the x-axis and the y-axis have their own potentiometer. Together, they build a
voltage devider like the one in the next picture.
Export: 16.06.2017
Copyright by Joy-IT - Published under CC BY-NC-SA 3.0
Page 98 of 214
KY-023 Joystick module (XY-Axis)
Pinout
In the non-operating mode, the potentiometer is in the middle so that resistor1=resistor2, so that the
voltage will equally split to both resistors - e.g. Measurement of +V=5V -> ...