{"product_id":"ps2-joystick-module-breakout-sensor","title":"PS2 Joystick Module Breakout Sensor","description":"\u003ch4\u003eDescription\u003c\/h4\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch2 class=\"sing--sub-heading\"\u003e\u003cspan\u003ePS2 Joystick Module Breakout Sensor\u003c\/span\u003e\u003c\/h2\u003e\n\u003cstrong\u003eThis is PS2 Joystick Module\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eBreakout Sensor very similar to the ‘analog’ joysticks on\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003ePS2 (PlayStation 2)\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003econtrollers. Directional movements are simply two potentiometers – one for each axis. Pots are ~10k each. This joystick also has a select button that is actuated when the joystick is press down.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eWith the help of this Joystick Module,\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eyou 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.\u003cbr\u003e\u003cbr\u003eThe X and Y axes are two 10k potentiometers which control\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003e2D movement by generating analog signals.\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eWhen 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.\n\u003cdiv\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eTechnical Details\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003eOperating Voltage: 5V\u003c\/li\u003e\n\u003cli\u003eXY Signal: 2x Analog\u003c\/li\u003e\n\u003cli\u003eButton: 1x Digital (Requires Pull-Up Resistor on Arduino)\u003c\/li\u003e\n\u003cli\u003eDimensions: 34 x 34 x 15 (LxWxH) mm.\u003c\/li\u003e\n\u003cli\u003e2.54mm pin interface leads.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eFeatures\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003e2.54mm Pin Interface Leads\u003c\/li\u003e\n\u003cli\u003eLong Service Life and Stable Performance\u003c\/li\u003e\n\u003cli\u003eStandard Interface for Electronic Building Blocks\u003c\/li\u003e\n\u003cli\u003eWidely Used in Arduino DIY Projects\u003c\/li\u003e\n\u003cli\u003eCross Rocker with Two-Way 10K Resistor\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eFrequency Display Example:\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003e\"100\" Indicates PWM Output Pulse of 100Hz\u003c\/li\u003e\n\u003cli\u003e\"54.1\" Indicates PWM Output Pulse of 54.1KHz\u003c\/li\u003e\n\u003cli\u003e\"1.2.4.\" Indicates PWM Output Pulse of 124KHz\u003c\/li\u003e\n\u003cli\u003eDuty Cycle Range: 0 to 100\u003c\/li\u003e\n\u003cli\u003eThree Frequencies Have the Same Duty Cycle, All Parameters Non-Volatile\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eModule Description:\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003eXXX (No Decimal Point): Smallest Unit is 1Hz, Range 1Hz-999Hz\u003c\/li\u003e\n\u003cli\u003eXX.X (Decimal Point in Tenths): Smallest Unit is 0.1KHz, Range 0.1KHz-99.9KHz\u003c\/li\u003e\n\u003cli\u003eX.X.X (Three Decimal Points): Smallest Unit is 1KHz, Range 1KHz-150KHz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003ePin Description:\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003e1: Gnd - Ground Terminal of Module\u003c\/li\u003e\n\u003cli\u003e2: +5V - Positive Supply Terminal of Module\u003c\/li\u003e\n\u003cli\u003e3: VRx - Voltage Proportional to X Axis\u003c\/li\u003e\n\u003cli\u003e4: VRy - Voltage Proportional to Y Axis\u003c\/li\u003e\n\u003cli\u003e5: SW - Switch\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch2 class=\"sing--sub-heading\"\u003e\u003cspan\u003eApplications :\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eGaming Controllers:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eUsed in video game consoles and custom controllers.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRobotics:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eControls robot movement or functions (e.g., steering, arm control).\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVirtual Reality (VR):\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eEnables input in VR environments for navigation or interaction.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRemote Control Systems:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eUsed for controlling devices such as drones, cars, or boats.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSimulators:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eFor flight, driving, or other simulation setups requiring movement control.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAssistive Devices:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eUsed in devices for individuals with disabilities to interact with technology.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCustom Projects:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eIntegrated into DIY electronics projects for human-machine interfaces.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eArduino Projects:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eCommon in DIY projects for controlling motors or servos.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eEmbedded Systems:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eUsed in portable or embedded systems for control interfaces.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eHome Automation:\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eControls smart home systems, such as adjusting lights or appliances.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eIntegration with Arduino of PS2 game joystick module\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e \u003cimg alt=\"Integration with Arduino\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0587\/2130\/4757\/files\/thumb_joystick_cppYU8XC7l.jpg?v=1691149590\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003eSample Code\u003c\/h3\u003e\n\u003cdiv id=\"gist112520290\" class=\"gist\"\u003e\n\u003cdiv class=\"gist-file\" translate=\"no\"\u003e\n\u003cdiv class=\"gist-data\"\u003e\n\u003cdiv class=\"js-gist-file-update-container js-task-list-container\"\u003e\n\u003cdiv id=\"file-joy-stick-module-ino\" class=\"file my-2\"\u003e\n\u003cdiv itemprop=\"text\" class=\"Box-body p-0 blob-wrapper data type-c\" role=\"region\" tabindex=\"0\"\u003e\n\u003cdiv class=\"js-check-hidden-unicode js-blob-code-container blob-code-content\"\u003e\n\u003ctable class=\"highlight tab-size js-file-line-container\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC1\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cspan class=\"pl-k\"\u003eint\u003c\/span\u003e xValue = \u003cspan class=\"pl-c1\"\u003e0\u003c\/span\u003e ;\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC2\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cspan class=\"pl-k\"\u003eint\u003c\/span\u003e yValue = \u003cspan class=\"pl-c1\"\u003e0\u003c\/span\u003e ;\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC3\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cspan class=\"pl-k\"\u003eint\u003c\/span\u003e bValue = \u003cspan class=\"pl-c1\"\u003e0\u003c\/span\u003e ;\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC4\" class=\"blob-code blob-code-inner js-file-line\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC5\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cspan class=\"pl-k\"\u003evoid\u003c\/span\u003e \u003cspan class=\"pl-en\"\u003esetup\u003c\/span\u003e()\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC6\" class=\"blob-code blob-code-inner js-file-line\"\u003e{\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC7\" class=\"blob-code blob-code-inner js-file-line\"\u003eSerial.\u003cspan class=\"pl-c1\"\u003ebegin\u003c\/span\u003e(\u003cspan class=\"pl-c1\"\u003e9600\u003c\/span\u003e) ;\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC8\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cspan class=\"pl-c1\"\u003epinMode\u003c\/span\u003e(\u003cspan class=\"pl-c1\"\u003e8\u003c\/span\u003e,\u003cspan class=\"pl-c1\"\u003eINPUT\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC9\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cspan class=\"pl-c1\"\u003edigitalWrite\u003c\/span\u003e(\u003cspan class=\"pl-c1\"\u003e8\u003c\/span\u003e,\u003cspan class=\"pl-c1\"\u003eHIGH\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC10\" class=\"blob-code blob-code-inner js-file-line\"\u003e}\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC11\" class=\"blob-code blob-code-inner js-file-line\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC12\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cspan class=\"pl-k\"\u003evoid\u003c\/span\u003e \u003cspan class=\"pl-en\"\u003eloop\u003c\/span\u003e()\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC13\" class=\"blob-code blob-code-inner js-file-line\"\u003e{\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC14\" class=\"blob-code blob-code-inner js-file-line\"\u003exValue = \u003cspan class=\"pl-c1\"\u003eanalogRead\u003c\/span\u003e(\u003cspan class=\"pl-c1\"\u003eA0\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC15\" class=\"blob-code blob-code-inner js-file-line\"\u003eyValue = \u003cspan class=\"pl-c1\"\u003eanalogRead\u003c\/span\u003e(\u003cspan class=\"pl-c1\"\u003eA1\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC16\" class=\"blob-code blob-code-inner js-file-line\"\u003ebValue = \u003cspan class=\"pl-c1\"\u003edigitalRead\u003c\/span\u003e(\u003cspan class=\"pl-c1\"\u003e8\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC17\" class=\"blob-code blob-code-inner js-file-line\"\u003eSerial.\u003cspan class=\"pl-c1\"\u003eprint\u003c\/span\u003e(xValue,\u003cspan class=\"pl-c1\"\u003eDEC\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC18\" class=\"blob-code blob-code-inner js-file-line\"\u003eSerial.\u003cspan class=\"pl-c1\"\u003eprint\u003c\/span\u003e(\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c\/span\u003e,\u003cspan class=\"pl-pds\"\u003e\"\u003c\/span\u003e\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC19\" class=\"blob-code blob-code-inner js-file-line\"\u003eSerial.\u003cspan class=\"pl-c1\"\u003eprint\u003c\/span\u003e(yValue,\u003cspan class=\"pl-c1\"\u003eDEC\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC20\" class=\"blob-code blob-code-inner js-file-line\"\u003eSerial.\u003cspan class=\"pl-c1\"\u003eprint\u003c\/span\u003e(\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c\/span\u003e,\u003cspan class=\"pl-pds\"\u003e\"\u003c\/span\u003e\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC21\" class=\"blob-code blob-code-inner js-file-line\"\u003eSerial.\u003cspan class=\"pl-c1\"\u003eprint\u003c\/span\u003e(!bValue);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC22\" class=\"blob-code blob-code-inner js-file-line\"\u003eSerial.\u003cspan class=\"pl-c1\"\u003eprint\u003c\/span\u003e(\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c\/span\u003e\u003cspan class=\"pl-cce\"\u003e\\n\u003c\/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c\/span\u003e\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC23\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cspan class=\"pl-c1\"\u003edelay\u003c\/span\u003e(\u003cspan class=\"pl-c1\"\u003e10\u003c\/span\u003e);\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd id=\"file-joy-stick-module-ino-LC24\" class=\"blob-code blob-code-inner js-file-line\"\u003e\n\u003cp\u003e}\u003c\/p\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003ePhysical Attributes of ps2 game joystick module\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds\"\u003e\n\u003cli\u003eDimensions: 34 x 34 x 15 (LxWxH) mm.\u003c\/li\u003e\n\u003cli\u003eWeight (gm): 11\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"product_info\"\u003e\n\u003ch3 class=\"sing--sub-heading\"\u003ePackage Includes\u003c\/h3\u003e\n\u003cdiv id=\"p_info\"\u003e\n\u003cul class=\"pro-ds ls-n\"\u003e\n\u003cli\u003e1 x PS2 Joystick Module Breakout Sensor\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"SIPRO ELECTRONICS","offers":[{"title":"Default Title","offer_id":54648330322242,"sku":"SE016","price":55.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1008\/3808\/0834\/files\/joy-stick-component_720x_d24c86a0-b9dd-40ea-aade-59c7fe5c0a47.webp?v=1781844598","url":"https:\/\/siproelectronic.com\/products\/ps2-joystick-module-breakout-sensor","provider":"SIPRO ELECTRONICS","version":"1.0","type":"link"}