• Part: KY-023
  • Description: Joystick module
  • Manufacturer: Joy-IT
  • Size: 696.65 KB
Download KY-023 Datasheet PDF
Joy-IT
KY-023
KY-023 is Joystick module manufactured by Joy-IT.
- Part of the KY-023-Joy comparator family.
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 -> 2,5V. If one of the axis changes, like the x-axis for example, the values of the resistors will change - e.g. value of resistor 1 will raise than the value of resistor 2 will fall or the value of resistor 1 will fall and the value of resistor 2 will raise. According to the division of the resistor values, you can measure a specific voltage value between the resistors and locate the position of the axis. Export: 16.06.2017 Copyright by Joy-IT - Published under CC BY-NC-SA 3.0 Page 99 of...
KY-023 reference image

Representative KY-023 image (package may vary by manufacturer)