{"product_id":"1-3-5pcs-ky-023-dual-axis-xy-joystick-module-ps2-joystick-control-lever-sensor-module-for-arduino","title":"1\/3\/5PCS KY-023 Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor Module for Arduino","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eApplication\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eComputer,Remote control, interactive projects, game joystick, DIY electronics\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eXYCJJCXL\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eChoice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCompatibility\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eArduino sensor expansion board and standard interfaces\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eDefault Voltage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eX and Y about 2.5V\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eFunction\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eCombination of potentiometer and button\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003enone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eInput Voltage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eDC 3.3V to 5V\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eModel\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKY-023\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOutput Signal\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eX and Y analog output, Z digital output\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003ePackage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSMD\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003ePotentiometer Resistance\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e10K ohm bi-directional\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eProduct Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eDual-axis XY Joystick Module PS2 Joystick Control Lever Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eSupply Voltage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eDC 3.3V to 5V\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eTest Program\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSupports Arduino IDE programming with serial monitor output\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eModule\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eVoltage Range\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e0V to 5V depending on direction\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003esemi_Choice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv style=\"font-family:Arial, Helvetica, sans-serif;line-height:1.6;color:rgb(34, 34, 34)\"\u003e\n\u003ch2 style=\"color:rgb(230, 57, 70)\"\u003e✨ Description\u003c\/h2\u003e\n\u003cp\u003eTwo-axis key joystick sensor module by the use of PS2 rocker potentiometer, with (X, Y) 2-axis analog output, (Z) 1 button digital output.\u003cbr\u003eWith the Arduino sensor expansion board can produce remote control and other interactive works.\u003cbr\u003eIn addition, this product in order to allow customers to more easily with the arduino expansion board and other standard interfaces,\u003cbr\u003ein the design of the X, Y, Z axis of the circuit are separate leads, the user can use 3-pin ARDUINO special line really plug into the expansion board.\u003c\/p\u003e\n\u003ch2 style=\"color:rgb(29, 120, 116)\"\u003e⚡ Product Performance\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cp\u003e1. Input voltage range: DC 3.3V to 5V\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e2. Output signal: the module special two-way analog output and a digital output interface, the output value corresponding to (X, Y) biaxial offset, the type of analog; keys that the user press the Z axis, Its type is digital switch.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e3. Arduino controller can be programmed, the sensor expansion board plug, complete with creative remote interactive works.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e4. Cross joystick is a bi-directional 10K resistor, with the rocker in different directions, the tap resistance with the change.\u003cbr\u003eThis module uses 5V power supply, the original state of X, Y read voltage of 2.5V or so,\u003cbr\u003ewhen pressed with the arrow direction, the read voltage value increases with the maximum to 5V;\u003cbr\u003earrows in the opposite direction to press, read the voltage decreases, the minimum is 0V.\u003c\/p\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 style=\"color:rgb(21, 88, 214)\"\u003e📘 Tutorial\u003c\/h2\u003e\n\u003cp\u003eIn the introduction of how to use, we first look at how it works, which we use it very helpful,\u003cbr\u003ethere is a function of the following diagram:\u003c\/p\u003e\n\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003cimg width=\"750\" height=\"auto\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sb684973b29c34448b056584a29a7ca419.png\" slate-data-type=\"image\"\u003e\u003cbr\u003e\u003c\/p\u003e\u003cdiv style=\"font-family:Arial, Helvetica, sans-serif;line-height:1.6;color:rgb(34, 34, 34)\"\u003e\n\u003ch2 style=\"color:rgb(230, 57, 70)\"\u003e🔄 Module Explanation\u003c\/h2\u003e\n\u003cp\u003eIn fact, this module is a potentiometer. The X, Y dimensional data output ports read out analog voltage.\u003cbr\u003eThe Z-dimensional data output is not shown in the figure above, Z-dimensional output only 0 and 1, which can be achieved by a button.\u003cbr\u003eAll in all, it is a combination of potentiometer and button.\u003c\/p\u003e\n\u003cp\u003eIn Arduino usage: X and Y dimensions are connected to two analog ports to read their values,\u003cbr\u003ewhile the Z dimension is connected to a digital port, plus power and ground.\u003c\/p\u003e\n\u003ch2 style=\"color:rgb(29, 120, 116)\"\u003e💻 Test Program\u003c\/h2\u003e\n\u003cdiv\u003eInt JoyStick_X = 0; \/\/ x\u003cbr\u003eInt JoyStick_Y = 1; \/\/ y\u003cbr\u003eInt JoyStick_Z = 3; \/\/ key\u003cbr\u003e\u003cbr\u003eVoid setup () {\u003cbr\u003epinMode (JoyStick_X, INPUT);\u003cbr\u003epinMode (JoyStick_Y, INPUT);\u003cbr\u003epinMode (JoyStick_Z, INPUT);\u003cbr\u003eSerial.begin (9600); \/\/ 9600 bps\u003cbr\u003e}\u003cbr\u003e\u003cbr\u003eVoid loop () {\u003cbr\u003eint x, y, z;\u003cbr\u003ey = analogRead (JoyStick_Y);\u003cbr\u003ez = digitalRead (JoyStick_Z);\u003cbr\u003e\u003cbr\u003eSerial.print (x, DEC);\u003cbr\u003eSerial.print ( \",\");\u003cbr\u003eSerial.print (y, DEC);\u003cbr\u003eSerial.print ( \",\");\u003cbr\u003eSerial.println (z, DEC);\u003cbr\u003e}\u003c\/div\u003e\n\u003ch2 style=\"color:rgb(21, 88, 214)\"\u003e📌 Notes\u003c\/h2\u003e\n\u003cul style=\"margin:6px 0px 10px;margin-bottom:10px;margin-top:6px;margin-left:0px;margin-right:0px;padding-left:18px\"\u003e\n\u003cli\u003e\u003cp\u003eX and Y give continuous analog values between 0V and 5V.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003eZ is a digital switch, outputting 0 or 1 depending on button press.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003eEnsure stable 5V power supply for accurate readings.\u003c\/p\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\u003cp\u003e\u003cimg src=\"https:\/\/ae-pic-a1.aliexpress-media.com\/kf\/Se1dab7b576ad41bc9e83ccb7dacc79dbL.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae-pic-a1.aliexpress-media.com\/kf\/Sfb343862793e48b2b00a1f31b9f08139S.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae-pic-a1.aliexpress-media.com\/kf\/S52b6b2e3a67f4ee0bffd7ba505cde573a.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae-pic-a1.aliexpress-media.com\/kf\/S4452b6e8cb4e4e1ea425ac580c02faedw.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae-pic-a1.aliexpress-media.com\/kf\/S2353f7d32b174d058f159f7df88da224R.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae-pic-a1.aliexpress-media.com\/kf\/S5da6942a2768466ca9a8aac0636886fc7.jpg\" slate-data-type=\"image\"\u003e\u003c\/p\u003e","brand":"Yoeruyo","offers":[{"title":"5PCS","offer_id":55421267673387,"sku":"14:351074#5PCS","price":22.82,"currency_code":"USD","in_stock":true},{"title":"3PCS","offer_id":55421267706155,"sku":"14:350852#3PCS","price":16.47,"currency_code":"USD","in_stock":true},{"title":"1PCS","offer_id":55421267738923,"sku":"14:1202#1PCS","price":9.95,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1000\/5744\/8747\/files\/Sbcc530cd733b4482b4ee301573d75ae1F.webp?v=1788513082","url":"https:\/\/yoeruyo.com\/products\/1-3-5pcs-ky-023-dual-axis-xy-joystick-module-ps2-joystick-control-lever-sensor-module-for-arduino","provider":"Yoeruyo","version":"1.0","type":"link"}