{"id":22469,"date":"2021-02-21T12:38:49","date_gmt":"2021-02-21T09:08:49","guid":{"rendered":"https:\/\/thecaferobot.com\/learn\/?p=22469"},"modified":"2021-06-20T09:40:29","modified_gmt":"2021-06-20T05:10:29","slug":"interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino","status":"publish","type":"post","link":"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/","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 \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"22469\" class=\"elementor elementor-22469\">\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-108e617 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"108e617\" 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-67890fc\" data-id=\"67890fc\" 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-79f4fa26 elementor-widget elementor-widget-heading\" data-id=\"79f4fa26\" 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 \u0641\u0627\u0635\u0644\u0647\u200c\u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2733e331 elementor-widget elementor-widget-text-editor\" data-id=\"2733e331\" 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\u0632 \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \u0645\u06cc\u200c\u00ad\u062a\u0648\u0627\u0646 \u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0648\u0627\u0635\u0644 \u0628\u0627 \u062f\u0642\u062a \u0645\u0646\u0627\u0633\u0628 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u0627\u0633\u0627\u0633 \u06a9\u0627\u0631 \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0627\u0633\u062a \u06a9\u0647 \u06cc\u06a9 \u0645\u0648\u062c \u0635\u0648\u062a\u06cc \u0628\u0627 \u0641\u0631\u06a9\u0627\u0646\u0633 \u0628\u0627\u0644\u0627 \u062a\u0648\u0644\u06cc\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0647 \u0633\u0645\u062a \u0645\u0627\u0646\u0639 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0633\u067e\u0633 \u0645\u0648\u062c \u0628\u0627\u0632\u06af\u0634\u062a\u06cc \u0627\u0632 \u0628\u0631\u062e\u0648\u0631\u062f \u0628\u0627 \u0645\u0627\u0646\u0639 \u062f\u0631 \u0645\u0633\u06cc\u0631 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0633\u067e\u0633 \u0628\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u062f\u062a \u0632\u0645\u0627\u0646 \u0637\u0648\u0644 \u06a9\u0634\u06cc\u062f\u0647 \u0627\u0632 \u0641\u0631\u0633\u062a\u0627\u062f\u0646 \u0645\u0648\u062c \u062a\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0628\u0627\u0632\u062a\u0627\u0628 \u0622\u0646\u060c \u0645\u06cc\u200c\u00ad\u062a\u0648\u0627\u0646 \u0641\u0627\u0635\u0644\u0647 \u0631\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u0646\u0645\u0648\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-74d8d653 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"74d8d653\" 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-inner-column elementor-element elementor-element-eef0d3b\" data-id=\"eef0d3b\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\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-3be07608 elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"3be07608\" data-element_type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-pen\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-71490d14 elementor-widget elementor-widget-heading\" data-id=\"71490d14\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">\u0646\u06a9\u062a\u0647<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-12818af2 elementor-widget elementor-widget-text-editor\" data-id=\"12818af2\" 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<div class=\"mpc-alert mpc-transition mpc-typography--mpc_preset_13 mpc-inited\" data-cookie=\"mpc-alert-15265-0\" data-id=\"mpc_alert-905f330f8226f56\">\n<div class=\"mpc-alert__content\">\n<p><strong>\u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 \u0628\u0627 <\/strong>HIGH<strong> \u0634\u062f\u0646 \u067e\u0627\u06cc\u0647 <\/strong>Trig<strong> \u0645\u0648\u062c \u0635\u0648\u062a\u06cc \u0631\u0627 \u062a\u0648\u0644\u06cc\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0645\u06cc\u00ad\u200c\u0641\u0631\u0633\u062a\u062f. \u0633\u067e\u0633 \u067e\u0627\u06cc\u0647 <\/strong>High&nbsp;<strong>\u060c<\/strong>Echo<strong> \u0634\u062f\u0647 \u0648 \u0628\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u0648\u062c \u0628\u0627\u0632\u06af\u0634\u062a\u06cc\u060c <\/strong>LOW<strong> \u0645\u06cc\u00ad\u200c\u0634\u0648\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628 \u0628\u0627 \u062d\u0633\u0627\u0628 \u06a9\u0631\u062f\u0646 \u0645\u062f\u062a \u0632\u0645\u0627\u0646 <\/strong>HIGH<strong> \u0628\u0648\u062f\u0646 \u067e\u0627\u06cc\u0647 <\/strong>Echo<strong> \u0645\u06cc\u00ad\u200c\u062a\u0648\u0627\u0646 \u0641\u0627\u0635\u0644\u0647 \u0631\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u06a9\u0631\u062f.<\/strong><\/p>\n<\/div>\n<\/div>\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<div class=\"elementor-element elementor-element-71e1e8c3 elementor-widget elementor-widget-image\" data-id=\"71e1e8c3\" 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\/SRF04-Ultrasonic-Sensor-Module-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SRF04-Ultrasonic-Sensor-Module-1\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI0NzgsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1NSRjA0LVVsdHJhc29uaWMtU2Vuc29yLU1vZHVsZS0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"636\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-1.jpg\" class=\"attachment-large size-large\" alt=\"\u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04\" 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-3836c694 elementor-widget elementor-widget-heading\" data-id=\"3836c694\" 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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-68cb0d70 elementor-widget elementor-widget-text-editor\" data-id=\"68cb0d70\" 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\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647\u200c\u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \u062f\u0627\u0631\u0627\u06cc 4 \u067e\u0627\u06cc\u0647 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p><ul><li><strong>VCC<\/strong><strong>:<\/strong> \u062a\u063a\u0630\u06cc\u0647 \u0645\u0627\u0698\u0648\u0644 \u2013 5 \u0648\u0644\u062a<\/li><li><strong>Trig<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0641\u0631\u0633\u062a\u0627\u062f\u0646 \u0645\u0648\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9<\/li><li><strong>Echo<\/strong><strong>:<\/strong> \u067e\u0627\u06cc\u0647 \u0645\u062d\u0627\u0633\u0628\u0647 \u0632\u0645\u0627\u0646 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u0648\u062c \u0628\u0631\u06af\u0634\u062a\u06cc<\/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\u200c\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-1cd2092c elementor-widget elementor-widget-image\" data-id=\"1cd2092c\" 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\/SRF04-Ultrasonic-Sensor-Module-Pinout.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SRF04-Ultrasonic-Sensor-Module-Pinout\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI0NzksInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1NSRjA0LVVsdHJhc29uaWMtU2Vuc29yLU1vZHVsZS1QaW5vdXQuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-Pinout.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-326178e7 elementor-widget elementor-widget-heading\" data-id=\"326178e7\" 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-7ce43843 elementor-widget elementor-widget-image\" data-id=\"7ce43843\" 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\/SRF04-Ultrasonic-Sensor-Module-Required-Materials.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SRF04-Ultrasonic-Sensor-Module-Required-Materials\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI0ODAsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1NSRjA0LVVsdHJhc29uaWMtU2Vuc29yLU1vZHVsZS1SZXF1aXJlZC1NYXRlcmlhbHMuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"500\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-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-585f64c9 elementor-widget elementor-widget-heading\" data-id=\"585f64c9\" 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-137ad0c elementor-widget elementor-widget-html\" data-id=\"137ad0c\" 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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04\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\/srf04-ultrasonic-sensor-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\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\/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-28e889c7 elementor-widget elementor-widget-heading\" data-id=\"28e889c7\" 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-79518c63 elementor-widget elementor-widget-html\" data-id=\"79518c63\" 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-7c848a78 elementor-widget elementor-widget-heading\" data-id=\"7c848a78\" 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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-672bafe elementor-widget elementor-widget-heading\" data-id=\"672bafe\" 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-11d7c2f9 elementor-widget elementor-widget-text-editor\" data-id=\"11d7c2f9\" 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 \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-bf32f elementor-widget elementor-widget-image\" data-id=\"bf32f\" 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\/SRF04-Ultrasonic-Sensor-Module-circuit.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SRF04-Ultrasonic-Sensor-Module-circuit\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI0ODEsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1NSRjA0LVVsdHJhc29uaWMtU2Vuc29yLU1vZHVsZS1jaXJjdWl0LmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-circuit.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-54e220ba elementor-widget elementor-widget-heading\" data-id=\"54e220ba\" 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-768dc27 elementor-widget elementor-widget-text-editor\" data-id=\"768dc27\" 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 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u062e\u0648\u062f \u0622\u067e\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f. \u067e\u0633 \u0627\u0632 \u0622\u067e\u0644\u0648\u062f \u06a9\u062f\u060c \u067e\u0646\u062c\u0631\u0647 Serial Monitor \u0631\u0627 \u0628\u0627\u0632 \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-579a0cf3 elementor-widget elementor-widget-html\" data-id=\"579a0cf3\" 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\nMade on Dec 20, 2020\r\nBy MehranMaleki @ Electropeak\r\nhttps:\/\/electropeak.com\/learn\/\r\n*\/\r\n\r\n#define EchoPin 3\r\n#define TriggerPin 4\r\n\r\n\r\nvoid setup() {\r\npinMode(TriggerPin, OUTPUT); \/\/ Sets the TriggerPin as an Output\r\npinMode(EchoPin, INPUT); \/\/ Sets the EchoPin as an Input\r\nSerial.begin(9600); \/\/ Starts the serial communication\r\n}\r\n\r\n\r\nvoid loop() {\r\nlong duration;\r\nfloat distance;\r\n  \r\ndigitalWrite(TriggerPin, LOW);\r\ndelayMicroseconds(2);\r\n\r\n\/\/Set the TriggerPin on HIGH state for 10 microseconds\r\ndigitalWrite(TriggerPin, HIGH);\r\ndelayMicroseconds(10);\r\ndigitalWrite(TriggerPin, LOW);\r\n\r\n\/\/Read the EchoPin, returning the sound wave travel time in microseconds\r\nduration = pulseIn(EchoPin, HIGH);\r\n\r\n\/\/Calculate the distance\r\ndistance= duration*0.034\/2;\r\n\r\n\/\/Print the distance on the Serial Monitor\r\nSerial.print(\"Distance: \");\r\nSerial.println(distance);\r\n\r\ndelay(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-1d8068e5 elementor-widget elementor-widget-text-editor\" data-id=\"1d8068e5\" 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>\u067e\u0627\u06cc\u0647\u00ad\u200c\u0647\u0627\u06cc Echo \u0648 \u00a0Trig \u0631\u0627 \u0628\u0647 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u067e\u0627\u06cc\u0647\u00ad\u200c\u0647\u0627\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644 \u0628\u0631\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0645\u06cc\u00ad\u200c\u062a\u0648\u0627\u0646 \u0648\u0635\u0644 \u0646\u0645\u0648\u062f. \u062f\u0631 \u06a9\u062f \u0628\u0627\u0644\u0627 \u0627\u06cc\u0646 \u062f\u0648 \u067e\u0627\u06cc\u0647 \u0645\u0627\u0698\u0648\u0644 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0628\u0647 \u067e\u0627\u06cc\u0647\u00ad\u200c\u0647\u0627\u06cc 3 \u0648 4 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0648\u0635\u0644 \u0634\u062f\u0647\u200c\u00ad\u0627\u0646\u062f. \u0628\u0627 HIGH \u06a9\u0631\u062f\u0646 \u067e\u0627\u06cc\u0647 Trig \u0628\u0631\u0627\u06cc 10\u0645\u06cc\u06a9\u0631\u0648\u062b\u0627\u0646\u06cc\u0647\u060c \u0645\u0648\u062c \u0635\u0648\u062a\u06cc \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u00ad\u200c\u0634\u0648\u062f. \u0633\u067e\u0633 \u0628\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u062f\u062a \u0632\u0645\u0627\u0646 HIGH \u0628\u0648\u062f\u0646 \u067e\u0627\u06cc\u0647 Echo\u060c \u0645\u062f\u062a \u0632\u0645\u0627\u0646 \u0637\u0648\u0644 \u06a9\u0634\u06cc\u062f\u0647 \u062a\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0628\u0627\u0632\u062a\u0627\u0628 \u0645\u0648\u062c \u0641\u0631\u0633\u062a\u0627\u062f\u0647 \u0634\u062f\u0647\u060c \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u0641\u0627\u0635\u0644\u0647 \u0645\u062d\u0627\u0633\u0628\u0647 \u0634\u062f\u0647 \u0648 \u0628\u0631 \u0631\u0648\u06cc Serial Monitor \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u00ad\u200c\u0634\u0648\u062f. \u0633\u067e\u0633 \u0628\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u062f\u0633\u062a \u062f\u0631 \u0645\u0642\u0627\u0628\u0644 \u0645\u0627\u0698\u0648\u0644 \u0648 \u062f\u0648\u0631 \u0648 \u0646\u0632\u062f\u06cc\u06a9 \u06a9\u0631\u062f\u0646 \u062f\u0633\u062a\u060c \u0639\u0645\u0644\u06a9\u0631\u062f \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc\u00ad\u200c\u06a9\u0646\u06cc\u0645.<\/p><p>\u062e\u0631\u0648\u062c\u06cc \u06a9\u062f \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0627\u0633\u062a.<\/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-2c157aa0 elementor-widget elementor-widget-image\" data-id=\"2c157aa0\" 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\/SRF04-Ultrasonic-Sensor-Module-Serial.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SRF04-Ultrasonic-Sensor-Module-Serial\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI0ODIsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1NSRjA0LVVsdHJhc29uaWMtU2Vuc29yLU1vZHVsZS1TZXJpYWwuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"477\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-Serial.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 \u0641\u0627\u0635\u0644\u0647\u200c\u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \u0645\u06cc\u200c\u00ad\u062a\u0648\u0627\u0646 \u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0648\u0627\u0635\u0644 \u0628\u0627 \u062f\u0642\u062a \u0645\u0646\u0627\u0633\u0628 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u0627\u0633\u0627\u0633 \u06a9\u0627\u0631 \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0627\u0633\u062a \u06a9\u0647 \u06cc\u06a9 \u0645\u0648\u062c \u0635\u0648\u062a\u06cc \u0628\u0627 \u0641\u0631\u06a9\u0627\u0646\u0633 \u0628\u0627\u0644\u0627 \u062a\u0648\u0644\u06cc\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0647 \u0633\u0645\u062a \u0645\u0627\u0646\u0639 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0633\u067e\u0633 \u0645\u0648\u062c \u0628\u0627\u0632\u06af\u0634\u062a\u06cc \u0627\u0632 \u0628\u0631\u062e\u0648\u0631\u062f \u0628\u0627 \u0645\u0627\u0646\u0639 \u062f\u0631 \u0645\u0633\u06cc\u0631 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":22487,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[932],"tags":[4642],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[3479],"featured_image_src":{"landsacpe":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-Teaser-1.jpg",1200,900,false],"list":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-Teaser-1.jpg",1200,900,false],"medium":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-Teaser-1.jpg",533,400,false],"full":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-Teaser-1.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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \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 SRF04 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u062b\u0627\u0644\u060c \u06a9\u062f\u060c \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc\" \/>\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-hc-sr04-ultrasonic-distance-sensor-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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \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 \u0641\u0627\u0635\u0644\u0647 \u0633\u0646\u062c \u0627\u0644\u062a\u0631\u0627\u0633\u0648\u0646\u06cc\u06a9 SRF04 \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 SRF04 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u062b\u0627\u0644\u060c \u06a9\u062f\u060c \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-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-21T09:08:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-20T05:10:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-Teaser-1.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-hc-sr04-ultrasonic-distance-sensor-with-arduino\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/SRF04-Ultrasonic-Sensor-Module-Teaser-1.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/#webpage\",\"url\":\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/\",\"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 \\u0627\\u0644\\u062a\\u0631\\u0627\\u0633\\u0648\\u0646\\u06cc\\u06a9 SRF04 \\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-hc-sr04-ultrasonic-distance-sensor-with-arduino\/#primaryimage\"},\"datePublished\":\"2021-02-21T09:08:49+00:00\",\"dateModified\":\"2021-06-20T05:10:29+00:00\",\"description\":\"\\u062f\\u0631 \\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 \\u0627\\u0644\\u062a\\u0631\\u0627\\u0633\\u0648\\u0646\\u06cc\\u06a9 SRF04 \\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 SRF04 \\u0627\\u0633\\u062a\\u0641\\u0627\\u062f\\u0647 \\u06a9\\u0646\\u06cc\\u062f \\u0628\\u0647 \\u0647\\u0645\\u0631\\u0627\\u0647 \\u0645\\u062b\\u0627\\u0644\\u060c \\u06a9\\u062f\\u060c \\u0633\\u06cc\\u0645 \\u0628\\u0646\\u062f\\u06cc\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/#webpage\"},\"author\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/66714d7ed628304044d2655e23cc2f51\"},\"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 \\u0627\\u0644\\u062a\\u0631\\u0627\\u0633\\u0648\\u0646\\u06cc\\u06a9 SRF04 \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"datePublished\":\"2021-02-21T09:08:49+00:00\",\"dateModified\":\"2021-06-20T05:10:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/#webpage\"},\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/#primaryimage\"},\"keywords\":\"\\u0641\\u0627\\u0635\\u0644\\u0647\\u200c\\u0633\\u0646\\u062c\",\"articleSection\":\"\\u0633\\u0646\\u0633\\u0648\\u0631\\u0647\\u0627\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-hc-sr04-ultrasonic-distance-sensor-with-arduino\/#respond\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/66714d7ed628304044d2655e23cc2f51\",\"name\":\"\\u0645\\u0647\\u0631\\u0627\\u0646 \\u0645\\u0644\\u06a9\\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8d418c5cb6866bc7f0c1c99429eae296?s=96&d=mm&r=g\",\"caption\":\"\\u0645\\u0647\\u0631\\u0627\\u0646 \\u0645\\u0644\\u06a9\\u06cc\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/22469"}],"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\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/comments?post=22469"}],"version-history":[{"count":11,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/22469\/revisions"}],"predecessor-version":[{"id":23444,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/22469\/revisions\/23444"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media\/22487"}],"wp:attachment":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media?parent=22469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/categories?post=22469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/tags?post=22469"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/platform?post=22469"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/bytype?post=22469"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/difficulty?post=22469"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/related_products?post=22469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}