{"id":17663,"date":"2021-10-28T14:32:43","date_gmt":"2021-10-28T15:32:43","guid":{"rendered":"https:\/\/roboeq.ir\/blog\/?p=17663"},"modified":"2021-10-30T06:39:54","modified_gmt":"2021-10-30T07:39:54","slug":"%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f","status":"publish","type":"post","link":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},"content":{"rendered":"\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u0647\u062f\u0641 \u0645\u0627 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0646\u062d\u0648\u0647\u200c\u06cc \u06a9\u0627\u0631 \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0622\u0646 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u06cc\u0627\u062f \u0628\u06af\u06cc\u0631\u06cc\u062f \u0648 \u0628\u0627 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647\u200c\u0627\u06cc\u0645\u060c \u06a9\u0627\u0631 \u0628\u0627 \u0627\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631 \u0631\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f. \u067e\u0633 \u062a\u0627 \u0627\u0646\u062a\u0647\u0627\u06cc \u0645\u0642\u0627\u0644\u0647 \u0631\u0627 \u062d\u062a\u0645\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 GP2Y0A21YK0F \u0686\u06cc\u0633\u062a\u061f <\/h2>\n\n\n\n<p>\u062d\u062a\u0645\u0627 \u0634\u0645\u0627 \u0647\u0645 \u0631\u0628\u0627\u062a\u200c\u0647\u0627\u06cc \u062e\u0648\u062f\u0631\u0627\u0646\u06cc \u0631\u0627 \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0628\u062f\u0648\u0646 \u0628\u0631\u062e\u0648\u0631\u062f \u0628\u0647 \u0627\u0634\u06cc\u0627\u0621 \u0645\u062d\u06cc\u0637 \u062d\u0631\u06a9\u062a \u06a9\u0646\u0646\u062f\u060c \u062f\u06cc\u062f\u0647\u200e\u200c\u0627\u06cc\u062f. \u0627\u0645\u0627 \u0641\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0647\u0645\u0686\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a\u06cc \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0647 \u06cc\u06a9 \u0631\u0628\u0627\u062a \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645\u061f<\/p>\n\n\n\n<p>\u062c\u0648\u0627\u0628 \u0627\u06cc\u0646 \u0633\u0648\u0627\u0644 \u0633\u0646\u0633\u0648\u0631 \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0627\u0633\u062a. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u0633\u0646\u0633\u0648\u0631 \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u060c \u06cc\u06a9 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0628\u0627 \u0628\u0631\u062f 10 \u2013 80 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0628\u0633\u06cc\u0627\u0631 \u0622\u0633\u0627\u0646 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<\/p><\/blockquote>\n\n\n\n<p>\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc\u200c\u06a9\u0647 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u06cc\u06a9 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647\u200c\u0633\u0646\u062c \u0645\u0642\u0631\u0648\u0646 \u0628\u0647 \u0635\u0631\u0641\u0647\u200c\u062a\u0631 \u06cc\u0627 \u0636\u062f \u0622\u0628 \u0647\u0633\u062a\u06cc\u062f \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0622\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 HC-SR04\u00a0 \u06cc\u0627\u00a0 \u0633\u0646\u0633\u0648\u0631 JSN-SR04T \u0631\u0627 \u0646\u06cc\u0632 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f. \u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0627 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0622\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 HC-SR04 \u0647\u0645 \u0628\u06cc\u0634\u062a\u0631 \u0622\u0634\u0646\u0627 \u0634\u0648\u06cc\u062f\u060c \u062d\u062a\u0645\u0627 \u0645\u0642\u0627\u0644\u0647 \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0637\u0627\u0644\u0639\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Screenshot-2021-10-28-at-18-03-58-\u0631\u0627\u0647-\u0627\u0646\u062f\u0627\u0632\u06cc-\u0633\u0646\u0633\u0648\u0631-\u0622\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9-SR04-\u0628\u0627-\u0622\u0631\u062f\u0648\u06cc\u0646\u0648.png\" alt=\"\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0622\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SR04 \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0622\u0646 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" class=\"wp-image-17667\" width=\"193\" height=\"148\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Screenshot-2021-10-28-at-18-03-58-\u0631\u0627\u0647-\u0627\u0646\u062f\u0627\u0632\u06cc-\u0633\u0646\u0633\u0648\u0631-\u0622\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9-SR04-\u0628\u0627-\u0622\u0631\u062f\u0648\u06cc\u0646\u0648.png 461w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Screenshot-2021-10-28-at-18-03-58-\u0631\u0627\u0647-\u0627\u0646\u062f\u0627\u0632\u06cc-\u0633\u0646\u0633\u0648\u0631-\u0622\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9-SR04-\u0628\u0627-\u0622\u0631\u062f\u0648\u06cc\u0646\u0648-300x231.png 300w\" sizes=\"auto, (max-width: 193px) 100vw, 193px\" \/><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-center\" style=\"font-size:17px\"><strong><a href=\"https:\/\/roboeq.ir\/blog\/%D8%B1%D8%A7%D9%87-%D8%A7%D9%86%D8%AF%D8%A7%D8%B2%DB%8C-%D8%B3%D9%86%D8%B3%D9%88%D8%B1-%D8%A2%D9%84%D8%AA%D8%B1%D8%A7%D8%B3%D9%88%D9%86%DB%8C%DA%A9-sr04\/\">\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0622\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SR04 \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0622\u0646 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\"><strong>\u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/strong><\/h2>\n\n\n\n<p>\u06cc\u06a9 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0628\u0631\u0627\u06cc \u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06af\u06cc\u0631\u06cc \u0641\u0627\u0635\u0644\u0647\u200c\u06cc \u06cc\u06a9 \u062c\u0633\u0645\u060c \u06cc\u06a9 \u067e\u0631\u062a\u0648 \u0646\u0648\u0631 \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0627\u0632 \u067e\u0631\u062a\u0648 \u0628\u0627\u0632\u062a\u0627\u0628 \u0634\u062f\u0647 \u0627\u0632 \u062c\u0633\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f \u062a\u0627 \u0641\u0627\u0635\u0644\u0647 \u0622\u0646 \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0647\u062f. \u0641\u0627\u0635\u0644\u0647 \u062c\u0633\u0645 \u0628\u0627 \u062a\u0634\u06a9\u06cc\u0644 \u0645\u062b\u0644\u062b\u06cc \u0627\u0632 \u067e\u0631\u062a\u0648 \u0646\u0648\u0631 \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. <\/p>\n\n\n\n<p>\u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0645\u062a\u0634\u06a9\u0644 \u0627\u0632 \u06cc\u06a9 \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 (IR LED) \u0648 \u06cc\u06a9 \u0622\u0634\u06a9\u0627\u0631\u0633\u0627\u0632 \u0646\u0648\u0631 \u06cc\u0627 PSD (\u062f\u0633\u062a\u06af\u0627\u0647 \u062d\u0633\u06af\u0631 \u0645\u0648\u0642\u0639\u06cc\u062a) \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u067e\u0631\u062a\u0648 \u0646\u0648\u0631 \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u062a\u0648\u0633\u0637 \u06cc\u06a9 \u062c\u0633\u0645 \u0628\u0627\u0632\u062a\u0627\u0628 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u067e\u0631\u062a\u0648 \u0628\u0627\u0632\u062a\u0627\u0628 \u0634\u062f\u0647 \u0628\u0647 \u0622\u0634\u06a9\u0627\u0631\u0633\u0627\u0632 \u0646\u0648\u0631 \u062e\u0648\u0627\u0647\u062f \u0631\u0633\u06cc\u062f \u0648 \u0627\u0635\u0637\u0644\u0627\u062d\u0627\u064b \u06cc\u06a9 &#8220;\u0646\u0642\u0637\u0647\u200c\u06cc \u0646\u0648\u0631\u06cc&#8221; \u0628\u0631 \u0631\u0648\u06cc PSD \u062a\u0634\u06a9\u06cc\u0644 \u062e\u0648\u0627\u0647\u062f \u0634\u062f. \u00a0<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-an-IR-distance-sensor-works-light-emitter-and-detector-PSD.png\" alt=\"\u0627\u062c\u0632\u0627\u06cc \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u06a9\u0647 \u0634\u0627\u0645\u0644 \u06cc\u06a9 LED \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0648 \u06cc\u06a9 \u0622\u0634\u06a9\u0627\u0631\u0633\u0627\u0632 \u0646\u0648\u0631 \u0627\u0633\u062a. \" class=\"wp-image-17679\" width=\"666\" height=\"295\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-an-IR-distance-sensor-works-light-emitter-and-detector-PSD.png 954w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-an-IR-distance-sensor-works-light-emitter-and-detector-PSD-300x133.png 300w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/figure><\/div>\n\n\n\n<p>\u0632\u0645\u0627\u0646\u06cc\u200c\u06a9\u0647 \u0645\u0648\u0642\u0639\u06cc\u062a \u062c\u0633\u0645 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0632\u0627\u0648\u06cc\u0647\u200c\u06cc \u067e\u0631\u062a\u0648 \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0628\u0627\u0632\u062a\u0627\u0628 \u0634\u062f\u0647 \u0648 \u0645\u0648\u0642\u0639\u06cc\u062a \u0646\u0642\u0637\u0647\u200c\u06cc \u0631\u0648\u06cc PSD \u0646\u06cc\u0632 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0628\u0647 \u0646\u0642\u0627\u0637 A \u0648 B \u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u062f\u0642\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-an-IR-distance-sensor-works-1024x859.jpg\" alt=\"\u0646\u0645\u0648\u062f\u0627\u0631 \u062a\u063a\u06cc\u06cc\u0631 \u0632\u0627\u0648\u06cc\u0647\u200c\u06cc \u0628\u0627\u0632\u062a\u0627\u0628 \u0634\u062f\u0647 \u067e\u0631\u062a\u0648 \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0648 \u0645\u0648\u0642\u0639\u06cc\u062a \u0646\u0642\u0637\u0647 \u0628\u0631 \u0631\u0648\u06cc PSD \" class=\"wp-image-17680\" width=\"580\" height=\"486\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-an-IR-distance-sensor-works-1024x859.jpg 1024w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-an-IR-distance-sensor-works-300x252.jpg 300w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-an-IR-distance-sensor-works.jpg 1200w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><figcaption><br>\u0628\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u0632\u0627\u0648\u06cc\u0647\u200c\u06cc \u067e\u0631\u062a\u0648 \u0628\u0627\u0632\u062a\u0627\u0628 \u0634\u062f\u0647 \u0648 \u0645\u0648\u0642\u0639\u06cc\u062a \u0646\u0642\u0637\u0647\u200c\u06cc \u0646\u0648\u0631\u06cc \u0631\u0648\u06cc PSD \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f.<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632\u060c \u06cc\u06a9 \u0645\u062f\u0627\u0631 \u067e\u0631\u062f\u0627\u0632\u0634\u06af\u0631 \u0633\u06cc\u06af\u0646\u0627\u0644 \u062f\u0631\u0648\u0646\u06cc \u062f\u0627\u0631\u062f. \u0627\u06cc\u0646 \u0645\u062f\u0627\u0631 \u0645\u0648\u0642\u0639\u06cc\u062a \u0646\u0642\u0637\u0647\u200c\u06cc \u0646\u0648\u0631\u06cc \u0631\u0648\u06cc PSD \u0631\u0627 \u067e\u0631\u062f\u0627\u0632\u0634 \u0645\u06cc\u200c\u06a9\u0646\u062f \u062a\u0627 \u0645\u0648\u0642\u0639\u06cc\u062a (\u0641\u0627\u0635\u0644\u0647) \u0627\u0632 \u062c\u0633\u0645 \u0628\u0627\u0632\u062a\u0627\u0628\u0646\u062f\u0647 \u0631\u0627 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u062f. \u062f\u0631 \u0648\u0627\u0642\u0639 \u0627\u06cc\u0646 \u0645\u062f\u0627\u0631 \u06cc\u06a9 \u0633\u06cc\u06af\u0646\u0627\u0644 \u0622\u0646\u0627\u0644\u0648\u06af \u0631\u0627 \u06a9\u0647 \u0628\u0647 \u0645\u0648\u0642\u0639\u06cc\u062a \u062c\u0633\u0645 \u0645\u0642\u0627\u0628\u0644 \u0633\u0646\u0633\u0648\u0631 \u0628\u0633\u062a\u06af\u06cc \u062f\u0627\u0631\u062f\u060c \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062e\u0631\u0648\u062c\u06cc \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n\n\n\n<p>\u062f\u0631 \u0628\u062e\u0634 \u0628\u0639\u062f\u06cc \u0686\u06af\u0648\u0646\u06af\u06cc \u062e\u0648\u0627\u0646\u062f\u0646 \u0633\u0646\u0633\u0648\u0631 \u0631\u0627 \u06cc\u0627\u062f \u062e\u0648\u0627\u0647\u06cc\u062f \u06af\u0631\u0641\u062a. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0686\u06af\u0648\u0646\u0647 \u062e\u0631\u0648\u062c\u06cc \u06cc\u06a9 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647\u200c\u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u0645\u061f<\/strong><\/h2>\n\n\n\n<p>\u062e\u0631\u0648\u062c\u06cc \u0633\u0646\u0633\u0648\u0631\u0647\u0627\u06cc \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632\u060c \u06cc\u06a9 \u0633\u06cc\u06af\u0646\u0627\u0644 \u0622\u0646\u0627\u0644\u0648\u06af \u0627\u0633\u062a \u06a9\u0647 \u0628\u0633\u062a\u0647 \u0628\u0647 \u0641\u0627\u0635\u0644\u0647\u200c\u06cc \u0645\u06cc\u0627\u0646 \u0633\u0646\u0633\u0648\u0631 \u0648 \u062c\u0633\u0645 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0648\u0644\u062a\u0627\u0698 \u062e\u0631\u0648\u062c\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u062f\u06cc\u062a\u0627\u0634\u06cc\u062a \u0622\u0646 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u0648\u0644\u062a\u0627\u0698 \u0627\u0632 2.3 \u0648\u0644\u062a\u060c \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u06cc\u06a9 \u062c\u0633\u0645 \u062f\u0631 \u0641\u0627\u0635\u0644\u0647\u200c\u06cc 10 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f \u062a\u0627 0.4 \u0648\u0644\u062a\u060c \u0632\u0645\u0627\u0646\u06cc\u200c\u06a9\u0647 \u062c\u0633\u0645 \u062f\u0631 \u0641\u0627\u0635\u0644\u0647\u200c\u06cc 80 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f\u060c \u0645\u062a\u063a\u06cc\u0631 \u0627\u0633\u062a.<\/p>\n\n\n\n<p>\u062f\u0631 \u0646\u0645\u0648\u062f\u0627\u0631 \u0632\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u0686\u0631\u0627 \u0645\u062d\u062f\u0648\u062f\u0647\u200c\u06cc \u062a\u0634\u062e\u06cc\u0635 \u0633\u0646\u0633\u0648\u0631 \u0627\u0632 10 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631 \u0622\u063a\u0627\u0632 \u0645\u06cc\u200c\u0634\u0648\u062f. \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0648\u0644\u062a\u0627\u0698 \u062e\u0631\u0648\u062c\u06cc \u062c\u0633\u0645\u06cc \u06a9\u0647 \u062f\u0631 \u0641\u0627\u0635\u0644\u0647\u200c\u06cc 2 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f\u060c \u0645\u0634\u0627\u0628\u0647 \u0648\u0644\u062a\u0627\u0698 \u062e\u0631\u0648\u062c\u06cc \u062c\u0633\u0645\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0641\u0627\u0635\u0644\u0647\u200c\u06cc 28 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646\u060c \u0646\u0627\u062d\u06cc\u0647\u200c\u06cc \u062a\u0634\u062e\u06cc\u0635 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647\u060c \u062a\u0642\u0631\u06cc\u0628\u0627\u064b \u067e\u0633 \u0627\u0632 \u0642\u0644\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u060c \u062f\u0631 10 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631\u06cc \u06cc\u0627 2.3 \u0648\u0644\u062a \u0622\u063a\u0627\u0632 \u0645\u06cc\u200c\u0634\u0648\u062f. &nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/GP2Y0A21YK0F-Output-Characteristics-diagram-1024x801.png\" alt=\"\u0646\u0645\u0648\u062f\u0627\u0631 \u0646\u0633\u0628\u062a \u0648\u0644\u062a\u0627\u0698 \u062e\u0631\u0648\u062c\u06cc \u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0645\u06cc\u0627\u0646 \u0633\u0646\u0633\u0648\u0631 \u0648 \u062c\u0633\u0645 \" class=\"wp-image-17681\" width=\"587\" height=\"459\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/GP2Y0A21YK0F-Output-Characteristics-diagram-1024x801.png 1024w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/GP2Y0A21YK0F-Output-Characteristics-diagram-300x235.png 300w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/GP2Y0A21YK0F-Output-Characteristics-diagram.png 1200w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><figcaption><br>\u0645\u0634\u062e\u0635\u0627\u062a \u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06af\u06cc\u0631\u06cc \u0648\u0644\u062a\u0627\u0698 (\u062e\u0631\u0648\u062c\u06cc)<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0645\u0648\u0631\u062f \u0630\u06a9\u0631 \u0634\u062f\u0647\u060c \u0646\u0645\u0648\u062f\u0627\u0631 \u0628\u0627\u0644\u0627 \u0645\u0634\u06a9\u0644 \u0627\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631\u0647\u0627 \u0631\u0627 \u0646\u06cc\u0632 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f. \u0645\u0634\u06a9\u0644 \u0627\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631\u0647\u0627\u060c \u067e\u0627\u0633\u062e \u063a\u06cc\u0631\u062e\u0637\u06cc \u0622\u0646\u200c\u0647\u0627 \u0627\u0633\u062a\u060c \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0639\u0646\u0627 \u06a9\u0647 \u06cc\u06a9 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u0632\u0631\u06af \u062f\u0631 \u0648\u0644\u062a\u0627\u0698 \u062e\u0631\u0648\u062c\u06cc\u060c \u0647\u0645\u0648\u0627\u0631\u0647 \u0628\u0627\u0639\u062b \u06cc\u06a9 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u0632\u0631\u06af \u062f\u0631 \u0631\u0646\u062c \u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06af\u06cc\u0631\u06cc \u0646\u0645\u06cc\u200c\u0634\u0648\u062f. \u0628\u0631\u0627\u06cc \u062a\u0639\u06cc\u06cc\u0646 \u0641\u0627\u0635\u0644\u0647\u200c\u06cc \u0628\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631 \u0648 \u06cc\u06a9 \u062c\u0633\u0645\u060c \u0628\u0627\u06cc\u062f \u062a\u0627\u0628\u0639\u06cc \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0648\u0644\u062a\u0627\u0698 \u062e\u0631\u0648\u062c\u06cc \u0631\u0627 \u0628\u0647 \u0628\u0631\u062f \u0633\u0646\u0633\u0648\u0631 \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0646\u062f.<\/p>\n\n\n\n<p class=\"has-text-align-center\" style=\"font-size:25px\"><strong>Distance (cm) = 29.988 X POW(Volt , -1.173)<\/strong><\/p>\n\n\n\n<p>\u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u062f\u0631 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u06cc SharpIR \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u062a\u0646\u0647\u0627 \u0628\u0631\u0627\u0633\u0627\u0633 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062f\u06cc\u062a\u0627\u0634\u06cc\u062a SHARP \u0627\u0633\u062a. \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u062e\u0631\u0648\u062c\u06cc \u0633\u0646\u0633\u0648\u0631 \u062f\u0631 \u0627\u0646\u0648\u0627\u0639 \u0645\u062e\u062a\u0644\u0641 \u0622\u0646\u060c \u06a9\u0645\u06cc \u0645\u062a\u0641\u0627\u0648\u062a \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f\u060c \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644\u060c \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0646\u0627\u062f\u0631\u0633\u062a\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<p>\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0642\u062a \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc\u062a\u0627\u0646 \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u062f\u0647\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06af\u06cc\u0631\u06cc \u0648 \u0631\u0633\u0645 \u0646\u0642\u0627\u0637 \u062f\u0627\u062f\u0647\u200c\u06cc \u0628\u0633\u06cc\u0627\u0631\u06cc \u0631\u0627 \u062f\u0631 \u0627\u06a9\u0633\u0644 \u0627\u0645\u062a\u062d\u0627\u0646 \u06a9\u0646\u06cc\u062f \u0648 \u06cc\u06a9 \u0645\u0646\u062d\u0646\u06cc \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0627\u06cc\u0646 \u0646\u0642\u0627\u0637 \u0628\u0647\u200c\u062f\u0633\u062a \u0622\u0648\u0631\u06cc\u062f. \u0632\u0645\u0627\u0646\u06cc\u200c\u06a9\u0647 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062c\u062f\u06cc\u062f \u0628\u0631\u0627\u06cc \u0633\u0646\u0633\u0648\u0631 \u062e\u0648\u062f\u062a\u0627\u0646 \u0628\u0647 \u062f\u0633\u062a \u0622\u0648\u0631\u062f\u06cc\u062f\u060c \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u062a\u0627 \u0641\u0631\u0645\u0648\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644 SharpIR.cpp \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>\u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0634\u0627\u0631\u067e GP2Y0A21YK0F<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td> 4.5to 5.5 V<\/td><td>Operating voltage<\/td><\/tr><tr><td>30mA<\/td><td>Operating current<\/td><\/tr><tr><td>80 to 10 cm<\/td><td>Measuring range<\/td><\/tr><tr><td>Analog<\/td><td>Output type<\/td><\/tr><tr><td>29.5x 13 x 13.5 mm<\/td><td>Dimensions<\/td><\/tr><tr><td>2x 3.2 mm, 37 mm spacing<\/td><td>Mounting holes<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc \u2013 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/strong><\/h2>\n\n\n\n<p>\u062a\u0627 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0627\u06cc\u062f \u0628\u0647\u200c\u062e\u0648\u0628\u06cc \u0628\u0627 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e \u0622\u0634\u0646\u0627 \u0634\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f. \u0627\u06af\u0631 \u0627\u06cc\u0646 \u0686\u0646\u06cc\u0646 \u0627\u0633\u062a\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0622\u0646 \u0631\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u0645.<\/p>\n\n\n\n<p style=\"font-size:17px\"><strong>\u0642\u0637\u0639\u0627\u062a \u0633\u062e\u062a\u200c\u0627\u0641\u0632\u0627\u0631\u06cc \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u067e\u0631\u0648\u0698\u0647:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 SHARP GP2Y0A21YK0F<\/li><li><a href=\"https:\/\/roboeq.ir\/products\/detail\/2201001\/%D9%85%D8%A7%DA%98%D9%88%D9%84-%D8%A2%D8%B1%D8%AF%D9%88%DB%8C%D9%86%D9%88-UNO\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0628\u0631\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 UNO<\/a><\/li><li><a href=\"https:\/\/roboeq.ir\/products\/detail\/1802007\/%D8%A8%D8%B1%D8%AF-%D8%A8%D9%88%D8%B1%D8%AF-GL\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0628\u0631\u062f\u0628\u0648\u0631\u062f 840 \u0633\u0648\u0631\u0627\u062e <\/a><\/li><li><a href=\"https:\/\/roboeq.ir\/products\/detail\/1301110\/%D8%B3%DB%8C%D9%85-%D8%AC%D8%A7%D9%85%D9%BE%D8%B1-%D9%86%D8%B1%DB%8C-%D9%86%D8%B1%DB%8C-40-%D8%B1%D8%B4%D8%AA%D9%87-20-%D8%B3%D8%A7%D9%86%D8%AA%DB%8C-%D9%85%D8%AA%D8%B1\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0633\u06cc\u0645\u200c\u0647\u0627\u06cc \u062c\u0627\u0645\u067e\u0631 20\u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631\u06cc<\/a> (10 \u0639\u062f\u062f)<\/li><li><a href=\"https:\/\/roboeq.ir\/products\/detail\/0301050\/%D8%AE%D8%A7%D8%B2%D9%86-220-%D9%85%DB%8C%DA%A9%D8%B1%D9%88-%D9%81%D8%A7%D8%B1%D8%A7%D8%AF-35-%D9%88%D9%84%D8%AA\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u062e\u0627\u0632\u0646 220 \u0645\u06cc\u06a9\u0631\u0648\u0641\u0627\u0631\u0627\u062f<\/a> ( \u06cc\u0627 \u0628\u06cc\u0634\u062a\u0631)<\/li><li><a href=\"https:\/\/roboeq.ir\/products\/detail\/1303024\/%DA%A9%D8%A7%D8%A8%D9%84-USB-%D9%86%D8%B1%DB%8C-%D8%A8%D9%87-USB-%D9%86%D8%B1%DB%8C-%D9%86%D9%88%D8%B9-A-%D8%A8%D9%87-B-30-%D8%B3%D8%A7%D9%86%D8%AA%DB%8C-%D9%85%D8%AA%D8%B1%DB%8C\/\">\u06a9\u0627\u0628\u0644 USB \u0646\u0648\u0639 A\/B<\/a><\/li><\/ul>\n\n\n\n<p style=\"font-size:17px\"><strong>\u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0627\u06cc\u0646 \u067e\u0631\u0648\u0698\u0647:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Arduino IDE <\/li><\/ul>\n\n\n\n<p>\u0628\u0647 \u06a9\u0645\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"410\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Connecting-SHARP-GP2Y0A21YK0F_to-arduino-1024x410.png\" alt=\"\u0646\u062d\u0648\u0647 \u0627\u062a\u0635\u0627\u0644 \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" class=\"wp-image-17682\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Connecting-SHARP-GP2Y0A21YK0F_to-arduino-1024x410.png 1024w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Connecting-SHARP-GP2Y0A21YK0F_to-arduino-300x120.png 300w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Connecting-SHARP-GP2Y0A21YK0F_to-arduino.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><br>\u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc \u0633\u0646\u0633\u0648\u0631 GP2Y0A21YK0F \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u0645\u0627\u0646\u0646\u062f \u062a\u0635\u0648\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f. &nbsp;<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u0627\u06cc\u0646 \u0646\u0648\u0639 \u0633\u0646\u0633\u0648\u0631\u0647\u0627\u06cc \u0641\u0627\u0635\u0644\u0647\u060c \u06a9\u0645\u06cc \u0646\u0648\u06cc\u0632 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062a\u0648\u0635\u06cc\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0628\u06cc\u0646 VCC \u0648 GND \u06cc\u06a9 \u062e\u0627\u0632\u0646 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. \u062f\u0631 \u062f\u06cc\u062a\u0627\u0634\u06cc\u062a \u0627\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631\u0647\u0627\u060c \u06cc\u06a9 \u062e\u0627\u0632\u0646 10 \u0645\u06cc\u06a9\u0631\u0648\u0641\u0627\u0631\u0627\u062f \u06cc\u0627 \u0628\u06cc\u0634\u062a\u0631 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0634\u062f\u0647 \u0627\u0633\u062a (\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0627\u0632 220 \u0645\u06cc\u06a9\u0631\u0648\u0641\u0627\u0631\u0627\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u06cc\u0645).<\/p>\n\n\n\n<p>\u0647\u0645\u0627\u0646\u200c\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0634\u06a9\u0644 \u0628\u0627\u0644\u0627 \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u067e\u0627\u06cc\u0647\u200c\u06cc \u0645\u062b\u0628\u062a \u062e\u0627\u0632\u0646 \u0631\u0627 \u0628\u0647 Vcc \u0648 \u067e\u0627\u06cc\u0647\u200c\u06cc \u0645\u0646\u0641\u06cc \u0622\u0646 \u0631\u0627 \u0628\u0647 GND \u0645\u062a\u0635\u0644 \u06a9\u0646\u06cc\u062f. \u0645\u0639\u0645\u0648\u0644\u0627 \u0628\u0631\u0631\u0648\u06cc \u062e\u0627\u0632\u0646\u200c\u0647\u0627\u06cc \u0627\u0644\u06a9\u062a\u0631\u0648\u0644\u06cc\u062a\u06cc \u062e\u0637\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u067e\u0627\u06cc\u0647 \u0645\u0646\u0641\u06cc \u0631\u0627 \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u067e\u0627\u06cc\u0647\u200c\u06cc \u0645\u062b\u0628\u062a \u0646\u06cc\u0632 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0644\u0646\u062f\u062a\u0631 \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u06cc \u0645\u0646\u0641\u06cc \u0627\u0633\u062a. <\/p>\n\n\n\n<p><strong>\u0627\u062a\u0635\u0627\u0644\u0627\u062a \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>GP2Y0A21YK0F<\/th><th>Arduino<\/th><\/tr><\/thead><tbody><tr><td>A0<\/td><td>1 (Yellow)<\/td><\/tr><tr><td>GND<\/td><td>2 (Black)<\/td><\/tr><tr><td>5V<\/td><td>3 (Red)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u0627\u06af\u0631 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0645\u0627 \u062f\u0627\u0631\u0627\u06cc \u0633\u06cc\u0645\u200c\u0647\u0627\u06cc\u06cc \u0628\u0627 \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u0645\u062a\u0641\u0627\u0648\u062a \u0627\u0633\u062a\u060c \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0622\u0646 \u0631\u0627 \u0628\u0627 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u062a\u0637\u0628\u06cc\u0642 \u062f\u0647\u06cc\u062f. \u067e\u0627\u06cc\u0647\u200c V0 \u0628\u0647 \u067e\u0627\u06cc\u0647\u200c\u06cc \u0622\u0646\u0627\u0644\u0648\u06af \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0645\u062a\u0635\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f. &nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/SHARP-GP2Y0A21YK0F-Pinout.png\" alt=\"\u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0634\u0627\u0631\u067e GP2Y0A21YK0F \" class=\"wp-image-17683\" width=\"769\" height=\"183\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/SHARP-GP2Y0A21YK0F-Pinout.png 879w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/SHARP-GP2Y0A21YK0F-Pinout-300x72.png 300w\" sizes=\"auto, (max-width: 769px) 100vw, 769px\" \/><\/figure><\/div>\n\n\n\n<p><br>\u067e\u0633 \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc \u0633\u0646\u0633\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f\u06cc\u062f\u060c \u0632\u0645\u0627\u0646 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u06a9\u062f \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u06cc \u0631\u0627 \u0628\u0627\u0647\u0645 \u0628\u0631\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u06cc \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 <\/strong><strong>SharoIR<\/strong><\/h2>\n\n\n\n<p>\u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 SharpIR \u06a9\u0647 \u062a\u0648\u0633\u0637 Guillaume Rico \u0648 Thibaut Mauon \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647\u060c \u06a9\u0627\u0631 \u0628\u0627 \u0633\u0646\u0633\u0648\u0631\u0647\u0627\u06cc \u0641\u0627\u0635\u0644\u0647\u200c\u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 SHARP &nbsp;\u0631\u0627 \u0622\u0633\u0627\u0646\u200c\u062a\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0634\u0627\u0645\u0644 \u0641\u0631\u0645\u0648\u0644\u200c\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u062a\u0628\u062f\u06cc\u0644 \u0648\u0644\u062a\u0627\u0698 \u062e\u0631\u0648\u062c\u06cc \u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06af\u06cc\u0631\u06cc \u0634\u062f\u0647 \u0628\u0647 \u0641\u0627\u0635\u0644\u0647 \u0628\u0631\u062d\u0633\u0628 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631 \u0627\u06cc\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0627\u0632 \u0633\u0646\u0633\u0648\u0631\u0647\u0627\u06cc \u0632\u06cc\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f:<\/p>\n\n\n\n<p class=\"has-text-align-left\">GP2Y0A0YK0F , GP2Y0A21YK0F , GP2Y0A710K0F \u0648 GP2YA41SK0F .<\/p>\n\n\n\n<p>\u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0644\u06cc\u0646\u06a9 \u0632\u06cc\u0631 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<!DOCTYPE html>\n<html>\n  <head>\n    <title>Title of the document<\/title>\n    <style>\n      .button {\n        background-color: #0097a7;\n        border: ;\n        color: white;\n        padding: 12px 30px;\n        text-align: center;\n        text-decoration: none;\n        display: inline-block;\n        font-size: 18px;\n        margin: 4px 2px;\n        cursor: pointer;\n        border-radius:6px;\n        \n        \n\n      }\n.button:hover {\n          color: white !important;\n          background-color: #05808d;\n\n        } \n\n    <\/style>\n  <\/head>\n  <body>\n    <a href=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/SharpIR-master.zip\" class=\"button\"><strong>\u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 SharpIR\u00a0<\/strong><\/a>\n  <\/body>\n<\/html>\n\n\n\n<p><br>\u067e\u0633 \u0627\u0632 \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u060c \u0627\u0632 \u0645\u0633\u06cc\u0631 Sketch &gt; Include Library &gt; Add .ZIP Library &nbsp;\u062f\u0631 Arduino IDE&nbsp; \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0646\u0635\u0628 \u0646\u0645\u0627\u0626\u06cc\u062f.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Installing-an-Arduino-library-ZIP.png\" alt=\"\u0645\u0633\u06cc\u0631 \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 SharpIR \u062f\u0631 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \" class=\"wp-image-17684\" width=\"676\" height=\"422\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Installing-an-Arduino-library-ZIP.png 869w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/Installing-an-Arduino-library-ZIP-300x187.png 300w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/figure><\/div>\n\n\n\n<p>\u0646\u0648\u06cc\u0633\u0646\u062f\u0647\u200c\u06cc \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0627\u0638\u0647\u0627\u0631 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0633\u0646\u0633\u0648\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u062a\u0627 \u062d\u062f\u0648\u062f\u06cc \u0646\u0648\u0633\u0627\u0646 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0631\u0627 \u0628\u0627 \u06af\u0631\u0641\u062a\u0646 \u0686\u0646\u062f\u06cc\u0646 \u062f\u0627\u062f\u0647 \u067e\u0634\u062a \u0633\u0631 \u0647\u0645\u060c \u062d\u0630\u0641 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u067e\u0631\u062a \u0648 \u0645\u062d\u0627\u0633\u0628\u0647\u200c\u06cc \u0645\u06cc\u0627\u0646\u06af\u06cc\u0646 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0628\u0627\u0642\u06cc\u200c\u0645\u0627\u0646\u062f\u0647 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u06cc\u0627\u0628\u06cc \u0628\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u067e\u0627\u06cc\u062f\u0627\u0631\u062a\u0631 \u062d\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631\u060c \u0627\u06cc\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0645\u06cc\u0627\u0646\u06af\u06cc\u0646 25 \u062f\u0627\u062f\u0647 \u0631\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u062d\u062f\u0648\u062f\u0627\u064b 53 \u0645\u06cc\u0644\u06cc\u200c\u062b\u0627\u0646\u06cc\u0647 \u0637\u0648\u0644 \u0645\u06cc\u200c\u06a9\u0634\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u06a9\u062f \u0646\u0645\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/strong> <\/h2>\n\n\n\n<p>\u0627\u0632 \u06a9\u062f \u0632\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u0633\u0646\u0633\u0648\u0631 \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0641\u0627\u0635\u0644\u0647\u200c\u06cc \u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06af\u06cc\u0631\u06cc \u0634\u062f\u0647 \u0631\u0627 \u0628\u0631 \u062d\u0633\u0628 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631 \u062f\u0631 \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n\/*SHARP GP2Y0A21YK0F IR distance sensor with Arduino and SharpIR library example code. More info: https:\/\/www.makerguides.com *\/\n\n\/\/ Include the library:\n#include &lt;SharpIR.h&gt;\n\n\/\/ Define model and input pin:\n#define IRPin A0\n#define model 1080\n\n\/\/ Create variable to store the distance:\nint distance_cm;\n\n\/* Model :\n  GP2Y0A02YK0F --&gt; 20150\n  GP2Y0A21YK0F --&gt; 1080\n  GP2Y0A710K0F --&gt; 100500\n  GP2YA41SK0F --&gt; 430\n*\/\n\n\/\/ Create a new instance of the SharpIR class:\nSharpIR mySensor = SharpIR(IRPin, model);\n\nvoid setup() {\n  \/\/ Begin serial communication at a baudrate of 9600:\n  Serial.begin(9600);\n}\n\nvoid loop() {\n  \/\/ Get a distance measurement and store it as distance_cm:\n  distance_cm = mySensor.distance();\n\n  \/\/ Print the measured distance to the serial monitor:\n  Serial.print(&quot;Mean distance: &quot;);\n  Serial.print(distance_cm);\n  Serial.println(&quot; cm&quot;);\n\n  delay(1000);\n}\n<\/pre><\/div>\n\n\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u062b\u0627\u0644\u060c \u0633\u0646\u0633\u0648\u0631 \u0631\u0627 \u2018mySensor\u2019&nbsp; \u0646\u0627\u0645\u06cc\u062f\u0647\u200c\u0627\u06cc\u0645. \u0627\u06af\u0631 \u0642\u0635\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0686\u0646\u062f\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632 \u0631\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0634\u06cc\u0621 \u062f\u06cc\u06af\u0631\u06cc\u060c \u0628\u0627 \u0646\u0627\u0645 \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u0628\u0631\u0627\u06cc \u0633\u0646\u0633\u0648\u0631 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u062f. \u0645\u0627\u0646\u0646\u062f: <\/p>\n\n\n\n<p class=\"has-text-align-left\"><code>SharpIR mySensor2 = SharpIR(IRPin2, model);<\/code><\/p>\n\n\n\n<p>\u0644\u0627\u0632\u0645 \u0628\u0647 \u0630\u06a9\u0631 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a\u060c \u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u06cc \u0648\u0631\u0648\u062f\u06cc \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u0628\u0631\u0627\u06cc \u062f\u0648\u0645\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<p>\u0627\u06a9\u0646\u0648\u0646 \u0628\u0627\u06cc\u062f \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f. (\u0628\u0631\u0627\u06cc \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc \u062a\u0631\u06a9\u06cc\u0628\u06cc Ctrl+Shift+M \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"424\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/SHARP-GP2Y0A21YK0F-serial-monitor-output--1024x424.png\" alt=\"\u062e\u0631\u0648\u062c\u06cc \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631  \" class=\"wp-image-17685\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/SHARP-GP2Y0A21YK0F-serial-monitor-output--1024x424.png 1024w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/SHARP-GP2Y0A21YK0F-serial-monitor-output--300x124.png 300w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/SHARP-GP2Y0A21YK0F-serial-monitor-output-.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u062d\u0631\u0641 \u0622\u062e\u0631<\/strong><\/h2>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u0646\u062d\u0648\u0647\u200c\u06cc \u0639\u0645\u0644\u06a9\u0631\u062f \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0648 \u0646\u062d\u0648\u0647\u200c\u06cc \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0622\u0646 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0634\u0631\u062d \u062f\u0627\u062f\u06cc\u0645. \u0627\u0645\u06cc\u062f\u0648\u0627\u0631\u06cc\u0645 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u062a\u0648\u0627\u0646\u062f \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0622\u0645\u0648\u0632\u0646\u062f\u0647 \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0628\u0627\u0634\u062f.<\/p>\n\n\n\n<p>\u0627\u06af\u0631 \u0627\u06cc\u0646 \u067e\u0631\u0648\u0698\u0647 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f\u06cc\u062f\u060c \u062d\u062a\u0645\u0627 \u0627\u0632 \u062a\u062c\u0631\u0628\u06cc\u0627\u062a \u062e\u0648\u062f \u0628\u0631\u0627\u06cc \u0645\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f \u0648 \u0627\u06af\u0631 \u0628\u0647 \u06a9\u0645\u06a9\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0634\u062a\u06cc\u062f\u060c \u0628\u0627\u0632 \u0647\u0645 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u0628\u062e\u0634 \u062f\u06cc\u062f\u06af\u0627\u0647 \u0622\u0646 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0645\u0627 \u0634\u0631\u062d \u062f\u0647\u06cc\u062f. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u0647\u062f\u0641 \u0645\u0627 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0646\u062d\u0648\u0647\u200c\u06cc \u06a9\u0627\u0631 \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0622\u0646 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u06cc\u0627\u062f \u0628\u06af\u06cc\u0631\u06cc\u062f \u0648 \u0628\u0627 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647\u200c\u0627\u06cc\u0645\u060c \u06a9\u0627\u0631 \u0628\u0627 \u0627\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631 \u0631\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f. \u067e\u0633 \u062a\u0627 \u0627\u0646\u062a\u0647\u0627\u06cc \u0645\u0642\u0627\u0644\u0647 \u0631\u0627 \u062d\u062a\u0645\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f. \u0633\u0646\u0633\u0648\u0631 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0645\u0627\u062f\u0648\u0646 \u0642\u0631\u0645\u0632&#8230;<\/p>\n","protected":false},"author":2,"featured_media":17678,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[],"class_list":["post-17663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-46"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.2 (Yoast SEO v25.2) - 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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648<\/title>\n<meta name=\"description\" content=\"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0627 \u0627\u0631\u0627\u0626\u0647 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u060c \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u0647\u0645\u0631\u0627\u0647 \u0647\u0645 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/roboeq.ir\/blog\/\u0631\u0627\u0647-\u0627\u0646\u062f\u0627\u0632\u06cc-\u0645\u0627\u0698\u0648\u0644-\u0641\u0627\u0635\u0644\u0647-\u0633\u0646\u062c-\u0634\u0627\u0631\u067e-gp2y0a21yk0f\/\" \/>\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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" \/>\n<meta property=\"og:description\" content=\"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0627 \u0627\u0631\u0627\u0626\u0647 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u060c \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u0647\u0645\u0631\u0627\u0647 \u0647\u0645 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/roboeq.ir\/blog\/\u0631\u0627\u0647-\u0627\u0646\u062f\u0627\u0632\u06cc-\u0645\u0627\u0698\u0648\u0644-\u0641\u0627\u0635\u0644\u0647-\u0633\u0646\u062c-\u0634\u0627\u0631\u067e-gp2y0a21yk0f\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-28T15:32:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-30T07:39:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-to-use-a-SHARP-GP2Y0A21YK0F-IR-Distance-Sensor-with-Arduino.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u067e\u0631\u062f\u06cc\u0633 \u06cc\u0627\u0648\u0631\u06cc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u067e\u0631\u062f\u06cc\u0633 \u06cc\u0627\u0648\u0631\u06cc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","description":"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0627 \u0627\u0631\u0627\u0626\u0647 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u060c \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u0647\u0645\u0631\u0627\u0647 \u0647\u0645 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/roboeq.ir\/blog\/\u0631\u0627\u0647-\u0627\u0646\u062f\u0627\u0632\u06cc-\u0645\u0627\u0698\u0648\u0644-\u0641\u0627\u0635\u0644\u0647-\u0633\u0646\u062c-\u0634\u0627\u0631\u067e-gp2y0a21yk0f\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648","og_description":"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0627 \u0627\u0631\u0627\u0626\u0647 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u060c \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u0647\u0645\u0631\u0627\u0647 \u0647\u0645 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f.","og_url":"https:\/\/roboeq.ir\/blog\/\u0631\u0627\u0647-\u0627\u0646\u062f\u0627\u0632\u06cc-\u0645\u0627\u0698\u0648\u0644-\u0641\u0627\u0635\u0644\u0647-\u0633\u0646\u062c-\u0634\u0627\u0631\u067e-gp2y0a21yk0f\/","og_site_name":"\u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","article_published_time":"2021-10-28T15:32:43+00:00","article_modified_time":"2021-10-30T07:39:54+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-to-use-a-SHARP-GP2Y0A21YK0F-IR-Distance-Sensor-with-Arduino.jpg","type":"image\/jpeg"}],"author":"\u067e\u0631\u062f\u06cc\u0633 \u06cc\u0627\u0648\u0631\u06cc","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637":"\u067e\u0631\u062f\u06cc\u0633 \u06cc\u0627\u0648\u0631\u06cc","\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647":"9 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"ScholarlyArticle","@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/#article","isPartOf":{"@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/"},"author":{"name":"\u067e\u0631\u062f\u06cc\u0633 \u06cc\u0627\u0648\u0631\u06cc","@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/person\/49d4f8a8d79dc497267c1d2346339729"},"headline":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648","datePublished":"2021-10-28T15:32:43+00:00","dateModified":"2021-10-30T07:39:54+00:00","mainEntityOfPage":{"@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/"},"wordCount":199,"commentCount":0,"publisher":{"@id":"https:\/\/roboeq.ir\/blog\/#organization"},"image":{"@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/#primaryimage"},"thumbnailUrl":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-to-use-a-SHARP-GP2Y0A21YK0F-IR-Distance-Sensor-with-Arduino.jpg","articleSection":["\u067e\u0631\u0648\u0698\u0647"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/","url":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/","name":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","isPartOf":{"@id":"https:\/\/roboeq.ir\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/#primaryimage"},"image":{"@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/#primaryimage"},"thumbnailUrl":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-to-use-a-SHARP-GP2Y0A21YK0F-IR-Distance-Sensor-with-Arduino.jpg","datePublished":"2021-10-28T15:32:43+00:00","dateModified":"2021-10-30T07:39:54+00:00","description":"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0627 \u0627\u0631\u0627\u0626\u0647 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u060c \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627 \u0647\u0645\u0631\u0627\u0647 \u0647\u0645 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f.","breadcrumb":{"@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/#primaryimage","url":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-to-use-a-SHARP-GP2Y0A21YK0F-IR-Distance-Sensor-with-Arduino.jpg","contentUrl":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2021\/10\/How-to-use-a-SHARP-GP2Y0A21YK0F-IR-Distance-Sensor-with-Arduino.jpg","width":1200,"height":800,"caption":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},{"@type":"BreadcrumbList","@id":"https:\/\/roboeq.ir\/blog\/%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%81%d8%a7%d8%b5%d9%84%d9%87-%d8%b3%d9%86%d8%ac-%d8%b4%d8%a7%d8%b1%d9%be-gp2y0a21yk0f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/roboeq.ir\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0634\u0627\u0631\u067e GP2Y0A21YK0F \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"}]},{"@type":"WebSite","@id":"https:\/\/roboeq.ir\/blog\/#website","url":"https:\/\/roboeq.ir\/blog\/","name":"\u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","description":"\u0648\u0628\u0644\u0627\u06af \u062a\u062e\u0635\u0635\u06cc \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9 \u0648 \u0631\u0628\u0627\u062a\u06cc\u06a9 \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","publisher":{"@id":"https:\/\/roboeq.ir\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/roboeq.ir\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/roboeq.ir\/blog\/#organization","name":"\u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","url":"https:\/\/roboeq.ir\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2022\/01\/logo280.png","contentUrl":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2022\/01\/logo280.png","width":280,"height":55,"caption":"\u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648"},"image":{"@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/person\/49d4f8a8d79dc497267c1d2346339729","name":"\u067e\u0631\u062f\u06cc\u0633 \u06cc\u0627\u0648\u0631\u06cc","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/06896cceb803c21833fb740691e460296add25c0a3484b9aac928d5e6b46a75b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/06896cceb803c21833fb740691e460296add25c0a3484b9aac928d5e6b46a75b?s=96&d=mm&r=g","caption":"\u067e\u0631\u062f\u06cc\u0633 \u06cc\u0627\u0648\u0631\u06cc"},"url":"https:\/\/roboeq.ir\/blog\/author\/pyavari\/"}]}},"_links":{"self":[{"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/posts\/17663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/comments?post=17663"}],"version-history":[{"count":44,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/posts\/17663\/revisions"}],"predecessor-version":[{"id":17732,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/posts\/17663\/revisions\/17732"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/media\/17678"}],"wp:attachment":[{"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/media?parent=17663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/categories?post=17663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/tags?post=17663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}