{"id":21679,"date":"2021-02-14T16:20:00","date_gmt":"2021-02-14T12:50:00","guid":{"rendered":"https:\/\/thecaferobot.com\/learn\/?p=21679"},"modified":"2024-06-11T10:59:35","modified_gmt":"2024-06-11T06:29:35","slug":"interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino","status":"publish","type":"post","link":"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"21679\" class=\"elementor elementor-21679\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9a1b689 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9a1b689\" data-element_type=\"section\">\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\r\n\t\t\t\t\t\t\t\t<div class=\"elementor-row\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-43bf171\" data-id=\"43bf171\" data-element_type=\"column\">\r\n\r\n\t\t\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\r\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-48a3ca4e elementor-widget elementor-widget-heading\" data-id=\"48a3ca4e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-428e0f98 elementor-widget elementor-widget-text-editor\" data-id=\"428e0f98\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0634\u0627\u0645\u0644 \u062f\u0648 \u0639\u062f\u062f \u062c\u0648\u06cc\u200c\u0627\u0633\u062a\u06cc\u06a9 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u062f\u0648 \u06a9\u0644\u06cc\u062f \u0645\u062c\u0632\u0627 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u06cc\u06a9 \u0642\u0637\u0639\u0647 \u0628\u0633\u06cc\u0627\u0631 \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f \u062f\u0631 \u0631\u0628\u0627\u062a\u06cc\u06a9 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0647\u0631 \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc\u200c\u0627\u0633\u062a\u06cc\u06a9 \u0628\u0647 \u0637\u0648\u0631 \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u062f\u0627\u0631\u0627\u06cc 2 \u067e\u062a\u0627\u0646\u0633\u06cc\u0648\u0645\u062a\u0631 \u062f\u0631 \u062f\u0648 \u062c\u0647\u062a X \u0648 Y \u0648 \u06cc\u06a9 \u0633\u0648\u0626\u06cc\u0686 \u0641\u0634\u0627\u0631\u06cc \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u0627\u0644\u0648\u06af \u0648 \u06cc\u06a9 \u062e\u0631\u0648\u062c\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644 \u0627\u0633\u062a. \u062f\u0631 \u0631\u0628\u0627\u062a\u06cc\u06a9 \u0627\u0632 \u0627\u06cc\u0646 \u0642\u0637\u0639\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0642\u0637\u0639\u0627\u062a \u0645\u062a\u062d\u0631\u06a9 \u0648 \u0645\u0648\u062a\u0648\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f.\u00a0<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5f4b3349 elementor-widget elementor-widget-image\" data-id=\"5f4b3349\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Module-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"YwRobot-PS2-Joystick-Module\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE2ODksInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1l3Um9ib3QtUFMyLUpveXN0aWNrLU1vZHVsZS0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Module-1.jpg\" class=\"attachment-large size-large\" alt=\"\u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3258a648 elementor-widget elementor-widget-heading\" data-id=\"3258a648\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0646\u062d\u0648\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ac17422 elementor-widget elementor-widget-text-editor\" data-id=\"ac17422\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u0639\u062f\u062f \u067e\u062a\u0627\u0646\u0633\u06cc\u0648\u0645\u062a\u0631 \u062f\u0631 \u062f\u0648 \u062c\u0647\u062a X \u0648 Y \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0645\u0627\u0646\u0646\u062f \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u062f\u0631 \u062d\u0627\u0644\u062a \u0646\u0631\u0645\u0627\u0644\u060c \u062c\u0648\u06cc\u200c\u0627\u0633\u062a\u06cc\u06a9 \u062f\u0631 \u062d\u0627\u0644\u062a \u0648\u0633\u0637 \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f \u0648 \u0647\u0631 \u062f\u0648 \u067e\u062a\u0627\u0646\u0633\u06cc\u0648\u0645\u062a\u0631 \u0645\u0642\u062f\u0627\u0631 2.5 \u0648\u0644\u062a \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u0627\u0644\u0648\u06af \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f. \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0628\u062f\u06cc\u0644 \u0622\u0646\u0627\u0644\u0648\u06af \u0628\u0647 \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644(AD) \u0627\u06cc\u0646 \u0645\u0642\u062f\u0627\u0631 \u062f\u0631 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0628\u0647 \u0639\u062f\u062f 512 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0627\u06af\u0631 \u062c\u0648\u06cc\u200c\u0627\u0633\u062a\u06cc\u06a9 \u0631\u0627 \u062f\u0631 \u062c\u0647\u062a \u0645\u062d\u0648\u0631 X \u062c\u0627\u0628\u0647\u200c\u062c\u0627 \u06a9\u0646\u06cc\u0645\u060c \u0627\u06cc\u0646 \u0645\u0642\u062f\u0627\u0631 \u0627\u0632 512 \u062a\u0627 1023 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0627\u06af\u0631 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u062e\u0644\u0627\u0641 \u062c\u0647\u062a \u0645\u062d\u0648\u0631 X \u062c\u0627\u0628\u0647\u200c\u062c\u0627 \u06a9\u0646\u06cc\u0645\u060c \u0627\u0632 512 \u062a\u0627 0 \u06a9\u0627\u0647\u0634 \u0645\u06cc\u200c\u06cc\u0627\u0628\u062f. \u0648 \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628 \u0628\u0631\u0627\u06cc \u0645\u062d\u0648\u0631 Y \u0646\u06cc\u0632 \u0647\u0645\u06cc\u0646 \u0627\u062a\u0641\u0627\u0642 \u0645\u06cc \u0627\u0641\u062a\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-329d419 elementor-widget elementor-widget-image\" data-id=\"329d419\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Interface.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"YwRobot-PS2-Joystick-Interface.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE2ODQsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1l3Um9ib3QtUFMyLUpveXN0aWNrLUludGVyZmFjZS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"712\" height=\"538\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Interface.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-615dad7e elementor-widget elementor-widget-heading\" data-id=\"615dad7e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0645\u0639\u0631\u0641\u06cc \u067e\u0627\u06cc\u0647 \u0647\u0627\u06cc (Pinout) \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-38323b3b elementor-widget elementor-widget-text-editor\" data-id=\"38323b3b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u0631\u0627\u06cc 10 \u067e\u0627\u06cc\u0647 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p><ul><li><strong>S-X1<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u0627\u0644\u0648\u06af \u062f\u0631 \u0645\u062d\u0648\u0631 X &#8211; \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u0627\u0648\u0644<\/li><li><strong>S-Y1<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u0627\u0644\u0648\u06af \u062f\u0631 \u0645\u062d\u0648\u0631 Y &#8211; \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u0627\u0648\u0644<\/li><li><strong>S-K1<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u062e\u0631\u0648\u062c\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644 \u0633\u0648\u0626\u06cc\u0686 &#8211; \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u0627\u0648\u0644<\/li><li><strong>S-X2<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u0627\u0644\u0648\u06af \u062f\u0631 \u0645\u062d\u0648\u0631 X &#8211; \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u062f\u0648\u0645<\/li><li><strong>S-Y2<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u0627\u0644\u0648\u06af \u062f\u0631 \u0645\u062d\u0648\u0631 Y &#8211; \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u062f\u0648\u0645<\/li><li><strong>S-K2<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u062e\u0631\u0648\u062c\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644 \u0633\u0648\u0626\u06cc\u0686 &#8211; \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u062f\u0648\u0645<\/li><li><strong>SWA<\/strong><strong>:<\/strong> \u0633\u0648\u0626\u06cc\u0686 \u0645\u062c\u0632\u0627\u06cc A<\/li><li><strong>SWB<\/strong><strong>:<\/strong> \u0633\u0648\u0626\u06cc\u0686 \u0645\u062c\u0632\u0627\u06cc B<\/li><li><strong>VCC<\/strong><strong>:<\/strong> \u062a\u063a\u0630\u06cc\u0647 \u0645\u0627\u0698\u0648\u0644<\/li><li><strong>GND<\/strong><strong>:<\/strong> \u0632\u0645\u06cc\u0646<\/li><\/ul><p>\u067e\u06cc\u0646 \u0627\u0648\u062a (Pinout) \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-25fa866 elementor-widget elementor-widget-image\" data-id=\"25fa866\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Pinout-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"YwRobot-PS2-Joystick-Pinout\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE2OTAsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1l3Um9ib3QtUFMyLUpveXN0aWNrLVBpbm91dC0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Pinout-1.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-591a7f51 elementor-widget elementor-widget-heading\" data-id=\"591a7f51\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0644\u0648\u0627\u0632\u0645\u06cc \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u0627\u062d\u062a\u06cc\u0627\u062c \u062f\u0627\u0631\u06cc\u062f<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1f086d7c elementor-widget elementor-widget-image\" data-id=\"1f086d7c\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Required-Materials.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"YwRobot-PS2-Joystick-Required-Materials.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE2ODYsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1l3Um9ib3QtUFMyLUpveXN0aWNrLVJlcXVpcmVkLU1hdGVyaWFscy5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"500\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Required-Materials.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-39957f22 elementor-widget elementor-widget-heading\" data-id=\"39957f22\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0642\u0637\u0639\u0627\u062a \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 <\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-77284f86 elementor-widget elementor-widget-html\" data-id=\"77284f86\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"70%\">\u0622\u0631\u062f\u0648\u06cc\u0646\u0648 UNO R3 \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"http:\/\/thecaferobot.com\/store\/arduino-uno-r3\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u062a\u0648\u0644\u06cc\u062f YwRobot \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/thecaferobot.com\/store\/dual-ps2-game-joystick-button-module\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0633\u06cc\u0645 \u062c\u0627\u0645\u067e\u0631 \u0646\u0631\u06cc-\u0645\u0627\u062f\u06af\u06cc\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/thecaferobot.com\/store\/40p-male-female-10cm-jumper-wire\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-14698d5 elementor-widget elementor-widget-heading\" data-id=\"14698d5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-385f45a8 elementor-widget elementor-widget-html\" data-id=\"385f45a8\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"90%\">\u0622\u0631\u062f\u0648\u06cc\u0646\u0648 IDE<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\"><i class=\"fa fa-info\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n\r\n\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3b7934e7 elementor-widget elementor-widget-heading\" data-id=\"3b7934e7\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u062a\u0648\u0644\u06cc\u062f YwRobot \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2618c6ce elementor-widget elementor-widget-heading\" data-id=\"2618c6ce\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u0627\u0648\u0644: \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6d8294dd elementor-widget elementor-widget-text-editor\" data-id=\"6d8294dd\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0645\u0637\u0627\u0628\u0642 \u0645\u062f\u0627\u0631 \u0632\u06cc\u0631\u060c\u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0648\u0635\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-77321aae elementor-widget elementor-widget-image\" data-id=\"77321aae\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Circuit-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"YwRobot-PS2-Joystick-Circuit\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE2OTEsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1l3Um9ib3QtUFMyLUpveXN0aWNrLUNpcmN1aXQtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"500\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Circuit-1.jpg\" class=\"attachment-large size-large\" alt=\"\u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc \u0645\u062f\u0627\u0631 \u0627\u062a\u0635\u0627\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1f39cde6 elementor-widget elementor-widget-heading\" data-id=\"1f39cde6\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u062f\u0648\u0645 : \u06a9\u062f<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2ecc7831 elementor-widget elementor-widget-text-editor\" data-id=\"2ecc7831\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0631\u0648\u06cc \u0628\u0631\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0622\u067e\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3f8c344a elementor-widget elementor-widget-html\" data-id=\"3f8c344a\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<pre class=\"line-numbers lang-arduino\"><code>    \/*\r\n  YwRobot-PS2-Joystick-Module\r\n  made on 16 Nov 2020\r\n  by Amir Mohammad Shojaee @ Electropeak\r\n  https:\/\/electropeak.com\/learn\/\r\n\r\n*\/\r\n\r\n#define x1 A0\r\n#define y1 A1\r\n#define k1 2\r\n#define swa 3\r\n\r\n#define x2 A4\r\n#define y2 A5\r\n#define k2 6\r\n#define swb 7\r\n\r\nvoid setup() {\r\n  pinMode(k1,OUTPUT);\r\n  pinMode(k2,OUTPUT);\r\n  pinMode(swa,OUTPUT);\r\n  pinMode(swb,OUTPUT);\r\n  \r\n  Serial.begin(9600);\r\n}\r\n\r\nvoid loop() {\r\n  int x1_axis=analogRead(x1);\r\n  int y1_axis=analogRead(y1);\r\n  int x2_axis=analogRead(x2);\r\n  int y2_axis=analogRead(y2);\r\n  \r\n  Serial.print(&quot;x1_axis: &quot;);\r\n  Serial.print(x1_axis);\r\n  Serial.print(&quot;  y1_axis: &quot;);\r\n  Serial.print(y1_axis);\r\n  \r\n  Serial.print(&quot;  x2_axis: &quot;);\r\n  Serial.print(x2_axis);\r\n  Serial.print(&quot;  y2_axis: &quot;);\r\n  Serial.println(y2_axis);\r\n\r\n  if(digitalRead(k1)==HIGH){\r\n    Serial.println(&quot;  k1 pressed &quot;);\r\n    while(digitalRead(k1)==HIGH){}\r\n  }\r\n  if(digitalRead(swa)==HIGH){\r\n    Serial.println(&quot;  swa pressed &quot;);\r\n    while(digitalRead(swa)==HIGH){}\r\n  }\r\n  if(digitalRead(k2)==HIGH){\r\n    Serial.println(&quot;  k2 pressed &quot;);\r\n    while(digitalRead(k2)==HIGH){}\r\n  }\r\n  \r\n  if(digitalRead(swb)==HIGH){\r\n    Serial.println(&quot;  swb pressed &quot;);\r\n    while(digitalRead(swb)==HIGH){}\r\n  }\r\n  delay(200);\r\n}\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-20009dba elementor-widget elementor-widget-text-editor\" data-id=\"20009dba\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u062f\u0631 \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0639\u0645\u0644\u06a9\u0631\u062f \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f. \u0645\u0642\u0627\u062f\u06cc\u0631 \u0686\u0647\u0627\u0631 \u062c\u0647\u062a X1\u060c Y1\u060c X2 \u0648 Y2 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0642\u0627\u0628\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u0627\u0633\u062a. \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u0648\u0636\u0639\u06cc\u062a \u062c\u0648\u06cc\u200c\u0627\u0633\u062a\u06cc\u06a9 \u0647\u0627\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0642\u0627\u062f\u06cc\u0631 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0636\u0645\u0646 \u0628\u0627 \u0641\u0634\u0627\u0631 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0647\u0627\u060c \u0641\u0634\u0627\u0631 \u062f\u0627\u062f\u0646 \u0622\u0646 \u06a9\u0644\u06cc\u062f \u062f\u0631 \u062e\u0631\u0648\u062c\u06cc \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0627\u0639\u0644\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<p>\u0628\u0647 \u0639\u06a9\u0633 \u0632\u06cc\u0631 \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0647\u0631 \u062f\u0648 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u0631\u0627 \u0627\u0628\u062a\u062f\u0627 \u062f\u0631 \u062e\u0644\u0627\u0641 \u062c\u0647\u062a \u0645\u062d\u0648\u0631 Y \u062d\u0631\u06a9\u062a \u062f\u0627\u062f\u0647\u200c\u0627\u06cc\u0645 \u0648 \u0633\u067e\u0633 \u0633\u0648\u0626\u06cc\u0686 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0631\u0627 \u0641\u0634\u0627\u0631 \u062f\u0627\u062f\u06cc\u0645.&nbsp;<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-43e0344f elementor-widget elementor-widget-image\" data-id=\"43e0344f\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Result.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"YwRobot-PS2-Joystick-Result.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE2ODgsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1l3Um9ib3QtUFMyLUpveXN0aWNrLVJlc3VsdC5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"426\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/YwRobot-PS2-Joystick-Result.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0634\u0627\u0645\u0644 \u062f\u0648 \u0639\u062f\u062f \u062c\u0648\u06cc\u200c\u0627\u0633\u062a\u06cc\u06a9 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u062f\u0648 \u06a9\u0644\u06cc\u062f \u0645\u062c\u0632\u0627 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 \u06cc\u06a9 \u0642\u0637\u0639\u0647 \u0628\u0633\u06cc\u0627\u0631 \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f \u062f\u0631 \u0631\u0628\u0627\u062a\u06cc\u06a9 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0647\u0631 \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc\u200c\u0627\u0633\u062a\u06cc\u06a9 \u0628\u0647 \u0637\u0648\u0631 \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u062f\u0627\u0631\u0627\u06cc 2 \u067e\u062a\u0627\u0646\u0633\u06cc\u0648\u0645\u062a\u0631 \u062f\u0631 \u062f\u0648 \u062c\u0647\u062a X \u0648 Y \u0648 \u06cc\u06a9 \u0633\u0648\u0626\u06cc\u0686 \u0641\u0634\u0627\u0631\u06cc \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646\u0627\u0644\u0648\u06af \u0648 \u06cc\u06a9 [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":21681,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[932],"tags":[4613],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[4181],"featured_image_src":{"landsacpe":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-2.jpg",1200,900,false],"list":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-2.jpg",1200,900,false],"medium":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-2.jpg",533,400,false],"full":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-2.jpg",1200,900,false]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v14.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u062a\u0648\u0644\u06cc\u062f YwRobot \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a<\/title>\n<meta name=\"description\" content=\"\u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647\u060c \u0645\u062b\u0627\u0644\u060c \u06a9\u062f\u060c \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\" \/>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u062a\u0648\u0644\u06cc\u062f YwRobot \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"og:description\" content=\"\u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 \u062c\u0648\u06cc \u0627\u0633\u062a\u06cc\u06a9 PS2 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647\u060c \u0645\u062b\u0627\u0644\u060c \u06a9\u062f\u060c \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"\u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-14T12:50:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-11T06:29:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\",\"name\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"url\":\"https:\/\/thecaferobot.com\/learn\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#logo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2018\/08\/Logo-small.png\",\"width\":250,\"height\":250,\"caption\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\",\"url\":\"https:\/\/thecaferobot.com\/learn\/\",\"name\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"description\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0627\\u0644\\u06a9\\u062a\\u0631\\u0648\\u0646\\u06cc\\u06a9\\u060c \\u0631\\u0628\\u0627\\u062a\\u06cc\\u06a9\\u060c \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u0648 \\u0631\\u0633\\u067e\\u0628\\u0631\\u06cc \\u067e\\u0627\\u06cc\",\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/thecaferobot.com\/learn\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-2.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/#webpage\",\"url\":\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/\",\"name\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 \\u062c\\u0648\\u06cc \\u0627\\u0633\\u062a\\u06cc\\u06a9 PS2 \\u062a\\u0648\\u0644\\u06cc\\u062f YwRobot \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 - \\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/#primaryimage\"},\"datePublished\":\"2021-02-14T12:50:00+00:00\",\"dateModified\":\"2024-06-11T06:29:35+00:00\",\"description\":\"\\u062f\\u0631 \\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 \\u062c\\u0648\\u06cc \\u0627\\u0633\\u062a\\u06cc\\u06a9 PS2 \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u06cc\\u0627\\u062f \\u0645\\u06cc\\u200c\\u06af\\u06cc\\u0631\\u06cc\\u062f \\u0686\\u06af\\u0648\\u0646\\u0647 \\u0627\\u0632 \\u0645\\u0627\\u0698\\u0648\\u0644 \\u062c\\u0648\\u06cc \\u0627\\u0633\\u062a\\u06cc\\u06a9 PS2 \\u0627\\u0633\\u062a\\u0641\\u0627\\u062f\\u0647 \\u06a9\\u0646\\u06cc\\u062f \\u0628\\u0647 \\u0647\\u0645\\u0631\\u0627\\u0647\\u060c \\u0645\\u062b\\u0627\\u0644\\u060c \\u06a9\\u062f\\u060c \\u06a9\\u062a\\u0627\\u0628\\u062e\\u0627\\u0646\\u0647\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/#webpage\"},\"author\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/b6791ba5e680550ef96ffd3dc0deef0c\"},\"headline\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 \\u062c\\u0648\\u06cc \\u0627\\u0633\\u062a\\u06cc\\u06a9 PS2 \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"datePublished\":\"2021-02-14T12:50:00+00:00\",\"dateModified\":\"2024-06-11T06:29:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/#primaryimage\"},\"keywords\":\"\\u06a9\\u0644\\u06cc\\u062f\",\"articleSection\":\"\\u0633\\u0646\\u0633\\u0648\\u0631\\u0647\\u0627\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-joystick-2-axis-2-channel-ps2-module-with-arduino\/#respond\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/b6791ba5e680550ef96ffd3dc0deef0c\",\"name\":\"\\u0627\\u0645\\u06cc\\u0631 \\u0645\\u062d\\u0645\\u062f \\u0634\\u062c\\u0627\\u0639\\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a179973280bc72da373a553a314a2593?s=96&d=mm&r=g\",\"caption\":\"\\u0627\\u0645\\u06cc\\u0631 \\u0645\\u062d\\u0645\\u062f \\u0634\\u062c\\u0627\\u0639\\u06cc\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/21679"}],"collection":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/comments?post=21679"}],"version-history":[{"count":8,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/21679\/revisions"}],"predecessor-version":[{"id":32015,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/21679\/revisions\/32015"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media\/21681"}],"wp:attachment":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media?parent=21679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/categories?post=21679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/tags?post=21679"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/platform?post=21679"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/bytype?post=21679"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/difficulty?post=21679"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/related_products?post=21679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}