{"id":20995,"date":"2021-02-08T18:16:41","date_gmt":"2021-02-08T14:46:41","guid":{"rendered":"https:\/\/thecaferobot.com\/learn\/?p=20995"},"modified":"2021-06-20T10:26:59","modified_gmt":"2021-06-20T05:56:59","slug":"interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino","status":"publish","type":"post","link":"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0633\u0646\u0633\u0648\u0631 \u0644\u0631\u0632\u0634 \u0648 \u0634\u06cc\u0628 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"20995\" class=\"elementor elementor-20995\">\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-6dd25ff elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6dd25ff\" 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-de17b1a\" data-id=\"de17b1a\" 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-4664050a elementor-widget elementor-widget-heading\" data-id=\"4664050a\" 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 \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D <\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-33a77aff elementor-widget elementor-widget-text-editor\" data-id=\"33a77aff\" 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>\u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 SW-520D \u062c\u0647\u062a \u0633\u0646\u062c\u0634 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u062f\u0631\u0648\u0646 \u0627\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631 \u062f\u0648 \u06af\u0648\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0627 \u062c\u0627\u0628\u0647\u200c\u062c\u0627\u06cc\u06cc \u0622\u0646\u0647\u0627\u060c \u0633\u0646\u0633\u0648\u0631 \u0645\u0627\u0646\u0646\u062f \u0633\u0648\u0626\u06cc\u0686 \u0639\u0645\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062d\u0633\u0627\u0633\u06cc\u062a \u0622\u0646 \u062f\u0631 \u062d\u0627\u0644\u062a \u0627\u0641\u0642\u06cc \u0634\u06cc\u0628 10 \u062f\u0631\u062c\u0647 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<br \/>\u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u067e\u06cc\u0646 \u062e\u0631\u0648\u062c\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644\u060c \u0628\u0631\u0627\u06cc \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u062f\u0648 \u0645\u0633\u06cc\u0631 \u0622\u0646 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0632\u0645\u0627\u0646 \u0644\u0631\u0632\u0634 \u0648 \u0634\u06cc\u0628 \u0628\u06cc\u0634\u062a\u0631 \u0627\u0632 10 \u062f\u0631\u062c\u0647 \u062e\u0631\u0648\u062c\u06cc \u0647\u0627 \u062f\u0631 \u062d\u0627\u0644\u062a LOW \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\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-4850ef74 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4850ef74\" 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-264f7f46\" data-id=\"264f7f46\" 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-5304b52a elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"5304b52a\" 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=\"far fa-lightbulb\"><\/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-6a4bf7b7 elementor-widget elementor-widget-heading\" data-id=\"6a4bf7b7\" 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\">\u062a\u0648\u062c\u0647<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-39b0fad8 elementor-widget elementor-widget-text-editor\" data-id=\"39b0fad8\" 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\u062f \u062e\u0631\u0648\u062c\u06cc \u0627\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631 \u062f\u0631 \u0648\u0636\u0639\u06cc\u062a \u062a\u0631\u06cc\u06af\u0631 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u00a0<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\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-647c4e0d elementor-widget elementor-widget-image\" data-id=\"647c4e0d\" 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\/2020\/12\/SW-520D-Angle-Sensor-Module.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SW-520D-Angle-Sensor-Module.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA5OTgsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL1NXLTUyMEQtQW5nbGUtU2Vuc29yLU1vZHVsZS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/SW-520D-Angle-Sensor-Module.jpg\" class=\"attachment-large size-large\" alt=\"\u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0648 \u0645\u0633\u06cc\u0631SW-520D\" 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-60f0e928 elementor-widget elementor-widget-text-editor\" data-id=\"60f0e928\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u062f\u06cc\u062a\u0627\u0634\u06cc\u062a \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 SW-520D \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646\u062c\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/p><p><div class='w3eden'><!-- WPDM Link Template: Default Template -->\n\n<div class=\"link-template-default card mb-2\">\n    <div class=\"card-body\">\n        <div class=\"media\">\n            <div class=\"mr-3 img-48\"><img class=\"wpdm_icon\" alt=\"Icon\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/plugins\/download-manager\/assets\/file-type-icons\/pdf.svg\" \/><\/div>\n            <div class=\"media-body\">\n                <h3 class=\"package-title\"><a href='https:\/\/thecaferobot.com\/learn\/download\/sw-520d-tilt-sensor-datasheet\/'>SW-520D Tilt Sensor Datasheet<\/a><\/h3>\n                <div class=\"text-muted text-small\"><i class=\"fas fa-copy\"><\/i> 1 file(s) <i class=\"fas fa-hdd ml-3\"><\/i> 102.88 KB<\/div>\n            <\/div>\n            <div class=\"ml-3\">\n                <a class='wpdm-download-link download-on-click btn btn-primary ' rel='nofollow' href='#' data-downloadurl=\"https:\/\/thecaferobot.com\/learn\/download\/sw-520d-tilt-sensor-datasheet\/?wpdmdl=21003&#038;refresh=6a23632fe88ac1780704047\">Download<\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<\/div><\/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-5d6bd5d6 elementor-widget elementor-widget-heading\" data-id=\"5d6bd5d6\" 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) \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-78dbe508 elementor-widget elementor-widget-text-editor\" data-id=\"78dbe508\" 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>\u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D \u062f\u0627\u0631\u0627\u06cc 4 \u067e\u0627\u06cc\u0647 \u0627\u0633\u062a. \u06a9\u0627\u0631\u0628\u0631\u062f \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647 \u0647\u0627 \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 \u062a\u0627 12 \u0648\u0644\u062a<\/li><li><strong>GND<\/strong><strong>:<\/strong> \u0632\u0645\u06cc\u0646<\/li><li><strong>D01<\/strong><strong>:<\/strong> \u062e\u0631\u0648\u062c\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644 \u0627\u0648\u0644 \u0633\u0646\u0633\u0648\u0631<\/li><li><strong>D02<\/strong><strong>:<\/strong> \u062e\u0631\u0648\u062c\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644 \u062f\u0648\u0645 \u0633\u0646\u0633\u0648\u0631<\/li><\/ul><p>\u067e\u06cc\u0646 \u0627\u0648\u062a (Pinout) \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-51a75a94 elementor-widget elementor-widget-image\" data-id=\"51a75a94\" 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\/2020\/12\/SW-520D-Angle-Sensor-Pinout.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SW-520D-Angle-Sensor-Pinout.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjA5OTksInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL1NXLTUyMEQtQW5nbGUtU2Vuc29yLVBpbm91dC5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/SW-520D-Angle-Sensor-Pinout.jpg\" class=\"attachment-large size-large\" alt=\"\u067e\u06cc\u0646 \u0627\u0648\u062a Pinout \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 SW-520D\" 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-b9621ae elementor-widget elementor-widget-heading\" data-id=\"b9621ae\" 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-25ffc286 elementor-widget elementor-widget-image\" data-id=\"25ffc286\" 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\/2020\/12\/SW-520D-Angle-Sensor-Required-Materials.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SW-520D-Angle-Sensor-Required-Materials.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjEwMDAsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL1NXLTUyMEQtQW5nbGUtU2Vuc29yLVJlcXVpcmVkLU1hdGVyaWFscy5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"667\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/SW-520D-Angle-Sensor-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-2d45dc66 elementor-widget elementor-widget-heading\" data-id=\"2d45dc66\" 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-2a4d2125 elementor-widget elementor-widget-html\" data-id=\"2a4d2125\" 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\"><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-r3l\" 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 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D\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\/2way-angle-tilt-switch-module-sw-520d \" 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=\"https:\/\/thecaferobot.com\/store\/40p-male-female-10cm-jumper-wire\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cd50e20 elementor-widget elementor-widget-heading\" data-id=\"cd50e20\" 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-5c719ef9 elementor-widget elementor-widget-html\" data-id=\"5c719ef9\" 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-7c22de06 elementor-widget elementor-widget-heading\" data-id=\"7c22de06\" 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 \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4de302a3 elementor-widget elementor-widget-heading\" data-id=\"4de302a3\" 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-160e70a3 elementor-widget elementor-widget-text-editor\" data-id=\"160e70a3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0645\u0637\u0627\u0628\u0642 \u0645\u062f\u0627\u0631 \u0632\u06cc\u0631\u060c \u0633\u0646\u0633\u0648\u0631 \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-5e69b0e4 elementor-widget elementor-widget-image\" data-id=\"5e69b0e4\" 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\/2020\/12\/SW-520D-Angle-Sensor-Circuit.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SW-520D-Angle-Sensor-Circuit.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjEwMDEsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL1NXLTUyMEQtQW5nbGUtU2Vuc29yLUNpcmN1aXQuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"529\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/SW-520D-Angle-Sensor-Circuit.jpg\" class=\"attachment-large size-large\" alt=\"\u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc \u0645\u062f\u0627\u0631 \u0627\u062a\u0635\u0627\u0644 \u0633\u0646\u0633\u0648\u0631 SW-520D\u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-296e3314 elementor-widget elementor-widget-heading\" data-id=\"296e3314\" 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-69b04115 elementor-widget elementor-widget-text-editor\" data-id=\"69b04115\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0631\u0648\u06cc \u0628\u0631\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0622\u067e\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6e67b89c elementor-widget elementor-widget-html\" data-id=\"6e67b89c\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<pre class=\"line-numbers lang-arduino\"><code>    \/*\r\n  SW-520D-2-Way-Angle-Sensor\r\n  made on 20 oct 2020\r\n  by Amir Mohammad Shojaee @ Electropeak\r\n  https:\/\/electropeak.com\/learn\/\r\n\r\n*\/\r\nconst int DO1=2;\r\n \r\nvoid setup() {\r\n    pinMode(DO1, INPUT);\r\n    Serial.begin(9600);\r\n}\r\n \r\nvoid loop() {\r\n    int sensorValue = digitalRead(DO1);\r\n    if(sensorValue==LOW){ \r\n        Serial.println(\"DO1 more than 10 degree\");\r\n        delay(1000);\r\n        while(sensorValue==HIGH){}\r\n   }\r\n    else{\r\n        Serial.println(\"DO1 less than 10 degree\");\r\n        delay(1000);\r\n    }\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-846e995 elementor-widget elementor-widget-text-editor\" data-id=\"846e995\" 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>\u0628\u0631\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0628\u0627\u0644\u0627 \u0627\u0632 \u062e\u0631\u0648\u062c\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644 \u0627\u0648\u0644 \u062c\u0647\u062a \u0633\u0646\u062c\u0634 \u0634\u06cc\u0628 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u06cc\u0645. \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0634\u06cc\u0628 \u06a9\u0645\u062a\u0631 \u0627\u0632 10 \u062f\u0631\u062c\u0647 \u0627\u0633\u062a \u06a9\u0644\u0645\u0647 &#8221; DO1 less than 10 degree &#8221; \u060c \u0648 \u062f\u0631 \u0634\u06cc\u0628 \u0647\u0627\u06cc \u0628\u06cc\u0634\u062a\u0631 \u0627\u0632 10 \u062f\u0631\u062c\u0647 \u06a9\u0644\u0645\u0647 &#8221; DO1 more than 10 degree &#8221; \u0628\u0631 \u0631\u0648\u06cc Serial Monitor \u00a0\u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f. \u062f\u0631 \u0636\u0645\u0646 \u0633\u0646\u062c\u0634 \u0634\u06cc\u0628 \u062f\u0631 \u0628\u0627\u0632\u0647 \u0647\u0627\u06cc \u06cc\u06a9 \u062b\u0627\u0646\u06cc\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p><p>\u062e\u0631\u0648\u062c\u06cc \u06a9\u062f \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0627\u0633\u062a. \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f \u0634\u06cc\u0628 \u0633\u0646\u0633\u0648\u0631 \u062f\u0631 \u0645\u062f\u062a 5 \u062b\u0627\u0646\u06cc\u0647 \u0628\u06cc\u0634\u062a\u0631 \u0627\u0632 10 \u062f\u0631\u062c\u0647 \u0628\u0648\u062f\u0647 \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-5878d542 elementor-widget elementor-widget-image\" data-id=\"5878d542\" 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\/2020\/12\/SW-520D-Angle-Sensor-Result.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"SW-520D-Angle-Sensor-Result.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjEwMDIsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMTJcL1NXLTUyMEQtQW5nbGUtU2Vuc29yLVJlc3VsdC5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"586\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/SW-520D-Angle-Sensor-Result.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 SW-520D \u062c\u0647\u062a \u0633\u0646\u062c\u0634 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u062f\u0631\u0648\u0646 \u0627\u06cc\u0646 \u0633\u0646\u0633\u0648\u0631 \u062f\u0648 \u06af\u0648\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0627 \u062c\u0627\u0628\u0647\u200c\u062c\u0627\u06cc\u06cc \u0622\u0646\u0647\u0627\u060c \u0633\u0646\u0633\u0648\u0631 \u0645\u0627\u0646\u0646\u062f \u0633\u0648\u0626\u06cc\u0686 \u0639\u0645\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062d\u0633\u0627\u0633\u06cc\u062a \u0622\u0646 \u062f\u0631 \u062d\u0627\u0644\u062a \u0627\u0641\u0642\u06cc \u0634\u06cc\u0628 10 \u062f\u0631\u062c\u0647 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.\u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u067e\u06cc\u0646 \u062e\u0631\u0648\u062c\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644\u060c \u0628\u0631\u0627\u06cc \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u062f\u0648 [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":20996,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[932],"tags":[4628,4633],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[4045],"featured_image_src":{"landsacpe":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/sen-24-008-teaser.jpg",1200,900,false],"list":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/sen-24-008-teaser.jpg",1200,900,false],"medium":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/sen-24-008-teaser.jpg",533,400,false],"full":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/sen-24-008-teaser.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 \u0633\u0646\u0633\u0648\u0631 \u0644\u0631\u0632\u0634 \u0648 \u0634\u06cc\u0628 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D \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 \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D \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 \u0633\u0646\u0633\u0648\u0631 SW-520D \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647\u060c \u0645\u062b\u0627\u0644\u060c \u0646\u0645\u0648\u0646\u0647\u060c \u06a9\u062f\" \/>\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-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0633\u0646\u0633\u0648\u0631 \u0644\u0631\u0632\u0634 \u0648 \u0634\u06cc\u0628 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D \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 \u0633\u0646\u0633\u0648\u0631 \u0634\u06cc\u0628 \u0648 \u0644\u0631\u0632\u0634 \u062f\u0648 \u0645\u0633\u06cc\u0631 SW-520D \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 \u0633\u0646\u0633\u0648\u0631 SW-520D \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647\u060c \u0645\u062b\u0627\u0644\u060c \u0646\u0645\u0648\u0646\u0647\u060c \u06a9\u062f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"\u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-08T14:46:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-20T05:56:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/sen-24-008-teaser.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-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/12\/sen-24-008-teaser.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/#webpage\",\"url\":\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/\",\"name\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 \\u0633\\u0646\\u0633\\u0648\\u0631 \\u0644\\u0631\\u0632\\u0634 \\u0648 \\u0634\\u06cc\\u0628 \\u062f\\u0648 \\u0645\\u0633\\u06cc\\u0631 SW-520D \\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-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/#primaryimage\"},\"datePublished\":\"2021-02-08T14:46:41+00:00\",\"dateModified\":\"2021-06-20T05:56:59+00:00\",\"description\":\"\\u062f\\u0631 \\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0633\\u0646\\u0633\\u0648\\u0631 \\u0634\\u06cc\\u0628 \\u0648 \\u0644\\u0631\\u0632\\u0634 \\u062f\\u0648 \\u0645\\u0633\\u06cc\\u0631 SW-520D \\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 \\u0633\\u0646\\u0633\\u0648\\u0631 SW-520D \\u0627\\u0633\\u062a\\u0641\\u0627\\u062f\\u0647 \\u06a9\\u0646\\u06cc\\u062f \\u0628\\u0647 \\u0647\\u0645\\u0631\\u0627\\u0647\\u060c \\u0645\\u062b\\u0627\\u0644\\u060c \\u0646\\u0645\\u0648\\u0646\\u0647\\u060c \\u06a9\\u062f\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/#webpage\"},\"author\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/b6791ba5e680550ef96ffd3dc0deef0c\"},\"headline\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 \\u0633\\u0646\\u0633\\u0648\\u0631 \\u0644\\u0631\\u0632\\u0634 \\u0648 \\u0634\\u06cc\\u0628 \\u062f\\u0648 \\u0645\\u0633\\u06cc\\u0631 SW-520D \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"datePublished\":\"2021-02-08T14:46:41+00:00\",\"dateModified\":\"2021-06-20T05:56:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/#webpage\"},\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/#primaryimage\"},\"keywords\":\"\\u0632\\u0627\\u0648\\u06cc\\u0647,\\u0644\\u0631\\u0632\\u0634\",\"articleSection\":\"\\u0633\\u0646\\u0633\\u0648\\u0631\\u0647\\u0627\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-sw-520d-2-way-angle-tilt-sensor-module-with-arduino\/#respond\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/b6791ba5e680550ef96ffd3dc0deef0c\",\"name\":\"\\u0627\\u0645\\u06cc\\u0631 \\u0645\\u062d\\u0645\\u062f \\u0634\\u062c\\u0627\\u0639\\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a179973280bc72da373a553a314a2593?s=96&d=mm&r=g\",\"caption\":\"\\u0627\\u0645\\u06cc\\u0631 \\u0645\\u062d\\u0645\\u062f \\u0634\\u062c\\u0627\\u0639\\u06cc\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/20995"}],"collection":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/comments?post=20995"}],"version-history":[{"count":6,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/20995\/revisions"}],"predecessor-version":[{"id":22816,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/20995\/revisions\/22816"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media\/20996"}],"wp:attachment":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media?parent=20995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/categories?post=20995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/tags?post=20995"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/platform?post=20995"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/bytype?post=20995"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/difficulty?post=20995"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/related_products?post=20995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}