{"id":18611,"date":"2020-09-22T11:29:21","date_gmt":"2020-09-22T07:59:21","guid":{"rendered":"https:\/\/thecaferobot.com\/learn\/?p=18611"},"modified":"2021-06-20T11:44:51","modified_gmt":"2021-06-20T07:14:51","slug":"interfacing-magnetic-switch-reed-switch-with-arduino","status":"publish","type":"post","link":"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc (Reed Switch) \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"18611\" class=\"elementor elementor-18611\">\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-a16f108 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a16f108\" 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-a772056\" data-id=\"a772056\" 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-40e53e8c elementor-widget elementor-widget-heading\" data-id=\"40e53e8c\" 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\">\u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0686\u06cc\u0633\u062a\u061f<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2477215b elementor-widget elementor-widget-text-editor\" data-id=\"2477215b\" 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>Reed Switch \u06cc\u06a9 \u06a9\u0644\u06cc\u062f \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0627\u0633\u062a \u0648 \u0645\u0634\u0627\u0628\u0647 \u06cc\u06a9 \u0633\u0648\u0626\u06cc\u0686 \u0639\u0627\u062f\u06cc\u060c \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u062d\u0627\u0644\u062a \u0642\u0637\u0639 \u0648 \u0648\u0635\u0644 \u0627\u0633\u062a. \u062f\u0648 \u067e\u0627\u06cc\u0647 \u0627\u06cc\u0646 \u06a9\u0644\u06cc\u062f \u0628\u0627 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0646 \u062f\u0631 \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc (\u0645\u062b\u0644\u0627 \u0646\u0632\u062f\u06cc\u06a9 \u0634\u062f\u0646 \u0628\u0647 \u0622\u0647\u0646 \u0631\u0628\u0627) \u0628\u0647 \u0647\u0645 \u0648\u0635\u0644 \u0634\u062f\u0647 \u0648 \u0628\u0627 \u062e\u0627\u0631\u062c \u0634\u062f\u0646 \u0627\u0632 \u0622\u0646 \u0645\u06cc\u062f\u0627\u0646\u060c \u0627\u0632 \u0647\u0645 \u062c\u062f\u0627 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/p>\n<p>\u0627\u0632 \u0627\u06cc\u0646 \u0633\u0648\u0626\u06cc\u0686 \u0647\u0627 \u062f\u0631 \u0633\u0646\u0633\u0648\u0631\u0647\u0627\u06cc \u062a\u0634\u062e\u06cc\u0635 \u0628\u0627\u0632 \u0648 \u0628\u0633\u062a\u0647 \u0628\u0648\u062f\u0646 \u062f\u0631\u060c \u0633\u0646\u0633\u0648\u0631 \u0628\u0633\u062a\u0647 \u0634\u062f\u0646 \u06a9\u0645\u0631\u0628\u0646\u062f \u0627\u06cc\u0645\u0646\u06cc\u060c \u0633\u0646\u0633\u0648\u0631 \u062a\u0634\u062e\u06cc\u0635 \u0628\u0631\u062e\u0648\u0631\u062f \u0648 &#8230; \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0633\u0627\u062e\u062a YwRobot \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 \u0627\u0645\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0633\u0627\u06cc\u0631 \u062a\u0648\u0644\u06cc\u062f \u06a9\u0646\u0646\u062f\u06af\u0627\u0646 \u0646\u06cc\u0632 \u06a9\u0627\u0645\u0644\u0627 \u0645\u0634\u0627\u0628\u0647 \u0647\u0633\u062a.<\/p>\n<p>\u062a\u0635\u0648\u06cc\u0631 \u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0631\u0627 \u062f\u0631 \u0632\u06cc\u0631 \u0645\u06cc \u0628\u06cc\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-6b152323 elementor-widget elementor-widget-image\" data-id=\"6b152323\" 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\/09\/ReedSwitch-Arduino-Module.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"\u0627\u0698\u0648\u0644 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTg2MTQsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMDlcL1JlZWRTd2l0Y2gtQXJkdWluby1Nb2R1bGUuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/ReedSwitch-Arduino-Module.jpg\" class=\"attachment-large size-large\" alt=\"\u0645\u0627\u0698\u0648\u0644 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc\" 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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-39c7faf5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"39c7faf5\" 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-4fb6843\" data-id=\"4fb6843\" 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-555b0657 elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"555b0657\" 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-7915f7dd elementor-widget elementor-widget-heading\" data-id=\"7915f7dd\" 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-3b35edd6 elementor-widget elementor-widget-text-editor\" data-id=\"3b35edd6\" 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\u0639\u0636\u06cc \u0627\u0632 \u0633\u0648\u0626\u06cc\u0686 \u0647\u0627\u06cc \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0628\u0647 \u0635\u0648\u0631\u062a Normally close \u0647\u0633\u062a\u0646\u062f. \u06cc\u0639\u0646\u06cc \u0648\u0642\u062a\u06cc \u062f\u0631 \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0642\u0631\u0627\u0631 \u0646\u06af\u0631\u0641\u062a\u0647 \u0627\u0646\u062f\u060c \u062f\u0648 \u067e\u0627\u06cc\u0647 \u0622\u0646 \u0647\u0627 \u0628\u0647 \u0647\u0645 \u0648\u0635\u0644 \u0627\u0633\u062a \u0648 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u0646\u062f\u060c \u06a9\u0644\u06cc\u062f \u0642\u0637\u0639 \u0634\u062f\u0647 \u0648 \u062f\u0648 \u067e\u0627\u06cc\u0647 \u0627\u0632 \u0647\u0645 \u062c\u062f\u0627 \u0645\u06cc \u0634\u0648\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\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-3e7a8af1 elementor-widget elementor-widget-text-editor\" data-id=\"3e7a8af1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0627 \u0646\u062d\u0648\u0647 \u06cc \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0622\u0634\u0646\u0627 \u0645\u06cc \u0634\u0648\u06cc\u062f.<\/p><p>\u0645\u0627\u0698\u0648\u0644 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0642\u0631\u0627\u0631 \u0628\u06af\u06cc\u0631\u062f\u060c \u067e\u0627\u06cc\u0647 OUT \u0645\u0642\u062f\u0627\u0631 \u201c0\u201d \u0648 \u062f\u0631 \u063a\u06cc\u0631 \u0627\u0632 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a\u060c \u0645\u0642\u062f\u0627\u0631 \u201c1\u201d \u0645\u0646\u0637\u0642\u06cc \u0631\u0627 \u062f\u0627\u0631\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-ec7e23d elementor-widget elementor-widget-heading\" data-id=\"ec7e23d\" 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 (Pinout) \u0645\u0627\u0698\u0648\u0644 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-12dbd3a4 elementor-widget elementor-widget-text-editor\" data-id=\"12dbd3a4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u0631\u0627\u06cc 3 \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 3.3 \u062a\u0627 5 \u0648\u0644\u062a<\/li><li><strong>GND<\/strong><strong>:<\/strong> \u0632\u0645\u06cc\u0646<\/li><li><strong>OUT<\/strong><strong>:<\/strong> \u062e\u0631\u0648\u062c\u06cc<\/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-6d80f65d elementor-widget elementor-widget-image\" data-id=\"6d80f65d\" 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\/09\/ReedSwitch-Arduino-Pinoutt.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"ReedSwitch-Arduino-Pinoutt.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTg2MTUsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMDlcL1JlZWRTd2l0Y2gtQXJkdWluby1QaW5vdXR0LmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/ReedSwitch-Arduino-Pinoutt.jpg\" class=\"attachment-large size-large\" alt=\"\u067e\u06cc\u0646 \u0627\u0648\u062a (Pinout) \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc\" 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-35ef383d elementor-widget elementor-widget-heading\" data-id=\"35ef383d\" 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-3a180872 elementor-widget elementor-widget-image\" data-id=\"3a180872\" 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<img width=\"600\" height=\"500\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/Required-Materials-1.jpg\" class=\"attachment-large size-large\" alt=\"\u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0648 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" loading=\"lazy\" \/>\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-36d97991 elementor-widget elementor-widget-heading\" data-id=\"36d97991\" 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-7624f3cc elementor-widget elementor-widget-html\" data-id=\"7624f3cc\" 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%\">\u0628\u0631\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 Uno \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%\">\u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"http:\/\/thecaferobot.com\/store\/ywrobot-arduino-magnetic-sensor-reed-switch-sen030600\" 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-4ebfb792 elementor-widget elementor-widget-heading\" data-id=\"4ebfb792\" 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\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \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-8d0a5a4 elementor-widget elementor-widget-heading\" data-id=\"8d0a5a4\" 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-7a48d860 elementor-widget elementor-widget-text-editor\" data-id=\"7a48d860\" 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-4796a23b elementor-widget elementor-widget-image\" data-id=\"4796a23b\" 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\/09\/ReedSwitch-Arduino-Circuit.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"ReedSwitch-Arduino-Circuit.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTg2MTcsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMFwvMDlcL1JlZWRTd2l0Y2gtQXJkdWluby1DaXJjdWl0LmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/ReedSwitch-Arduino-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-70470bd0 elementor-widget elementor-widget-heading\" data-id=\"70470bd0\" 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-3605c5a6 elementor-widget elementor-widget-text-editor\" data-id=\"3605c5a6\" 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 \u062e\u0631\u0648\u062c\u06cc \u0645\u0627\u0698\u0648\u0644 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0631\u0627 \u062e\u0648\u0627\u0646\u062f\u0647 \u0648 \u062f\u0631\u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0628\u0627\u0634\u062f (\u0645\u062b\u0644\u0627 \u0622\u0647\u0646\u0631\u0628\u0627 \u0646\u0632\u062f\u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u0628\u0627\u0634\u062f)\u060c \u067e\u06cc\u0627\u0645 &#8220;I feel Magnetic field&#8221; \u0631\u0627 \u062f\u0631 \u067e\u0646\u062c\u0631\u0647 \u06cc \u0633\u0631\u06cc\u0627\u0644 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\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-52d24903 elementor-widget elementor-widget-html\" data-id=\"52d24903\" 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\nReed Switch  \r\nmodified on 31 Aug 2020 \r\nby Mohammad Reza Akbari @ Electropeak \r\nhttps:\/\/electropeak.com\/learn\/ \r\n*\/ \r\nint ledPin = 13; \/\/ LED connected to digital pin 13\r\nint Sensor = 2;   \/\/ Reed Switch\r\nint val = 0;     \/\/ variable to store the read value\r\n\r\nvoid setup()\r\n{\r\n  pinMode(ledPin, OUTPUT);      \/\/ sets the digital pin 13 as output\r\n  pinMode(Sensor, INPUT);      \/\/ sets the digital pin 7 as input\r\n  Serial.begin(9600); \/\/ opens serial port, sets data rate to 9600 bps\r\n}\r\n\r\nvoid loop()\r\n{\r\n  val = digitalRead(Sensor);   \/\/ read the input pin\r\n  \r\n  if(val == LOW){\r\n    Serial.print(\"I feel Magnetic field :)\\n\"); \/\/ print on serial port\r\n    digitalWrite(ledPin, HIGH);\r\n    delay(1000);\r\n  }\r\n  else{\r\n    digitalWrite(ledPin, LOW);\r\n  }\r\n  \r\n}\r\n\r\n<\/code><\/pre>\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>\u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0686\u06cc\u0633\u062a\u061f Reed Switch \u06cc\u06a9 \u06a9\u0644\u06cc\u062f \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc \u0627\u0633\u062a \u0648 \u0645\u0634\u0627\u0628\u0647 \u06cc\u06a9 \u0633\u0648\u0626\u06cc\u0686 \u0639\u0627\u062f\u06cc\u060c \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u062d\u0627\u0644\u062a \u0642\u0637\u0639 \u0648 \u0648\u0635\u0644 \u0627\u0633\u062a. \u062f\u0648 \u067e\u0627\u06cc\u0647 \u0627\u06cc\u0646 \u06a9\u0644\u06cc\u062f \u0628\u0627 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0646 \u062f\u0631 \u0645\u06cc\u062f\u0627\u0646 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc (\u0645\u062b\u0644\u0627 \u0646\u0632\u062f\u06cc\u06a9 \u0634\u062f\u0646 \u0628\u0647 \u0622\u0647\u0646 \u0631\u0628\u0627) \u0628\u0647 \u0647\u0645 \u0648\u0635\u0644 \u0634\u062f\u0647 \u0648 \u0628\u0627 \u062e\u0627\u0631\u062c \u0634\u062f\u0646 \u0627\u0632 \u0622\u0646 \u0645\u06cc\u062f\u0627\u0646\u060c \u0627\u0632 \u0647\u0645 \u062c\u062f\u0627 \u0645\u06cc \u0634\u0648\u0646\u062f. \u0627\u0632 \u0627\u06cc\u0646 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":19841,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[932],"tags":[4613,4629],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[3705],"featured_image_src":{"landsacpe":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/sen-09-022-teaser.jpg",1200,900,false],"list":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/sen-09-022-teaser.jpg",1200,900,false],"medium":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/sen-09-022-teaser.jpg",533,400,false],"full":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/sen-09-022-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 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc (Reed Switch) \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 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u06cc\u0627\u062f \u0645\u06cc \u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc Reed Switch \u0631\u0627 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f. \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0628\u0627 \u06a9\u062f \u0646\u0645\u0648\u0646\u0647 \u0648 \u0645\u062b\u0627\u0644\" \/>\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-magnetic-switch-reed-switch-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 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc (Reed Switch) \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 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u06cc\u0627\u062f \u0645\u06cc \u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0633\u0648\u0626\u06cc\u0686 \u0645\u063a\u0646\u0627\u0637\u06cc\u0633\u06cc Reed Switch \u0631\u0627 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f. \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0628\u0627 \u06a9\u062f \u0646\u0645\u0648\u0646\u0647 \u0648 \u0645\u062b\u0627\u0644\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"\u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-22T07:59:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-20T07:14:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/sen-09-022-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-magnetic-switch-reed-switch-with-arduino\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2020\/09\/sen-09-022-teaser.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/#webpage\",\"url\":\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/\",\"name\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0633\\u0648\\u0626\\u06cc\\u0686 \\u0645\\u063a\\u0646\\u0627\\u0637\\u06cc\\u0633\\u06cc (Reed Switch) \\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-magnetic-switch-reed-switch-with-arduino\/#primaryimage\"},\"datePublished\":\"2020-09-22T07:59:21+00:00\",\"dateModified\":\"2021-06-20T07:14:51+00:00\",\"description\":\"\\u062f\\u0631 \\u0627\\u06cc\\u0646 \\u0622\\u0645\\u0648\\u0632\\u0634 \\u06cc\\u0627\\u062f \\u0645\\u06cc \\u06af\\u06cc\\u0631\\u06cc\\u062f \\u0686\\u06af\\u0648\\u0646\\u0647 \\u0633\\u0648\\u0626\\u06cc\\u0686 \\u0645\\u063a\\u0646\\u0627\\u0637\\u06cc\\u0633\\u06cc Reed Switch \\u0631\\u0627 \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u06a9\\u0646\\u06cc\\u062f. \\u0631\\u0627\\u0647\\u0646\\u0645\\u0627\\u06cc \\u0627\\u062a\\u0635\\u0627\\u0644 \\u0628\\u0647 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u0628\\u0627 \\u06a9\\u062f \\u0646\\u0645\\u0648\\u0646\\u0647 \\u0648 \\u0645\\u062b\\u0627\\u0644\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/#webpage\"},\"author\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/90df17e0df9d3c90563c270ae65ec3fc\"},\"headline\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0633\\u0648\\u0626\\u06cc\\u0686 \\u0645\\u063a\\u0646\\u0627\\u0637\\u06cc\\u0633\\u06cc (Reed Switch) \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"datePublished\":\"2020-09-22T07:59:21+00:00\",\"dateModified\":\"2021-06-20T07:14:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/#primaryimage\"},\"keywords\":\"\\u06a9\\u0644\\u06cc\\u062f,\\u0645\\u06cc\\u062f\\u0627\\u0646 \\u0645\\u063a\\u0646\\u0627\\u0637\\u06cc\\u0633\\u06cc \\u0648 \\u0642\\u0637\\u0628\\u200c\\u0646\\u0645\\u0627\",\"articleSection\":\"\\u0633\\u0646\\u0633\\u0648\\u0631\\u0647\\u0627\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-magnetic-switch-reed-switch-with-arduino\/#respond\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/90df17e0df9d3c90563c270ae65ec3fc\",\"name\":\"\\u0645\\u062d\\u0645\\u062f\\u0631\\u0636\\u0627 \\u0627\\u06a9\\u0628\\u0631\\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a1f89f4484a071b6569e017dc3507ee1?s=96&d=mm&r=g\",\"caption\":\"\\u0645\\u062d\\u0645\\u062f\\u0631\\u0636\\u0627 \\u0627\\u06a9\\u0628\\u0631\\u06cc\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/18611"}],"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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/comments?post=18611"}],"version-history":[{"count":10,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/18611\/revisions"}],"predecessor-version":[{"id":19842,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/18611\/revisions\/19842"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media\/19841"}],"wp:attachment":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media?parent=18611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/categories?post=18611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/tags?post=18611"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/platform?post=18611"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/bytype?post=18611"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/difficulty?post=18611"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/related_products?post=18611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}