{"id":27662,"date":"2023-05-15T14:53:36","date_gmt":"2023-05-15T10:23:36","guid":{"rendered":"https:\/\/thecaferobot.com\/learn\/?p=27662"},"modified":"2023-05-21T16:37:14","modified_gmt":"2023-05-21T12:07:14","slug":"esp32-deep-sleep-and-its-wake-up-sources","status":"publish","type":"post","link":"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/","title":{"rendered":"\u0628\u0631\u0631\u0633\u06cc \u062d\u0627\u0644\u062a Deep Sleep \u062f\u0631 \u0628\u0631\u062f ESP32 \u0648 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"27662\" class=\"elementor elementor-27662\">\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-b0347b9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b0347b9\" 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-4688634\" data-id=\"4688634\" 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-8a8aa34 elementor-widget elementor-widget-heading\" data-id=\"8a8aa34\" 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\u0642\u062f\u0645\u0647<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-035bb36 elementor-widget elementor-widget-text-editor\" data-id=\"035bb36\" 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>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc\u200c\u062f\u0627\u0646\u06cc\u062f\u060c \u0627\u0645\u0631\u0648\u0632\u0647 \u0628\u0631\u062f ESP32 \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc \u0634\u06af\u0641\u062a\u200c\u0627\u0646\u06af\u06cc\u0632\u06cc \u06a9\u0647 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f\u060c \u0628\u0633\u06cc\u0627\u0631 \u0645\u0648\u0631\u062f \u062a\u0648\u062c\u0647 \u0648 \u0627\u0633\u062a\u0642\u0628\u0627\u0644 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc\u06cc \u0647\u0645\u0686\u0648\u0646 \u0628\u0644\u0648\u062a\u0648\u062b \u0648 \u0648\u0627\u06cc\u200c\u0641\u0627\u06cc \u0628\u0647 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u060c \u0627\u06cc\u0646 \u0628\u0631\u062f \u0631\u0627 \u0628\u0647 \u06af\u0632\u06cc\u0646\u0647\u200c\u0627\u06cc \u0639\u0627\u0644\u06cc \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u0646\u0648\u0627\u0639 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0627\u0634\u06cc\u0627 (Internet of Things \u06cc\u0627 \u0628\u0647 \u0627\u062e\u062a\u0635\u0627\u0631 IoT) \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a. \u0627\u0644\u0628\u062a\u0647 \u0648\u0627\u0636\u062d \u0627\u0633\u062a \u06a9\u0647 \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc \u062c\u0630\u0627\u0628 ESP32 \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u0647\u0632\u06cc\u0646\u0647\u200c\u0627\u06cc \u0647\u0645\u0631\u0627\u0647 \u062e\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0648 \u0622\u0646 \u0647\u0632\u06cc\u0646\u0647 \u062f\u0631 \u0648\u0627\u0642\u0639 \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc \u0628\u0627\u0644\u0627\u0633\u062a. \u0633\u0627\u0632\u0646\u062f\u06af\u0627\u0646 ESP32 \u0628\u0631\u0627\u06cc \u062d\u0644 \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644\u060c \u0631\u0627\u0647\u200c\u062d\u0644\u06cc \u062f\u0631 \u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0647\u200c\u0627\u0646\u062f \u0648 \u0622\u0646 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 ESP32 \u062f\u0631 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646 Sleep \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0645\u0627 \u0628\u0647 \u06a9\u0627\u0645\u0644\u200c\u062a\u0631\u06cc\u0646 \u062d\u0627\u0644\u062a Sleep \u062f\u0631 \u0628\u0631\u062f ESP32 \u06cc\u0639\u0646\u06cc \u062d\u0627\u0644\u062a Deep Sleep \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645.<\/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-d79da78 elementor-widget elementor-widget-heading\" data-id=\"d79da78\" 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\">\u0622\u0646\u0686\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u06cc\u0627\u062f \u0645\u06cc \u06af\u06cc\u0631\u06cc\u062f<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-092dbb4 elementor-widget elementor-widget-text-editor\" data-id=\"092dbb4\" 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<ul><li>\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0645\u0635\u0631\u0641 \u06a9\u0646\u0646\u062f\u0647 \u0627\u0646\u0631\u0698\u06cc \u062f\u0631 \u0628\u0631\u062f ESP32<\/li><li>\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646 Sleep \u062f\u0631 \u0628\u0631\u062f ESP32<\/li><li>\u0622\u0634\u0646\u0627\u06cc\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0627 \u062d\u0627\u0644\u062a Deep Sleep \u062f\u0631 \u0628\u0631\u062f ESP32 \u0648 \u0627\u0646\u0648\u0627\u0639 \u062d\u0627\u0644\u0627\u062a \u0622\u0646<\/li><\/ul>\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-8daff4a elementor-widget elementor-widget-image\" data-id=\"8daff4a\" 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=\"792\" height=\"512\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Sleep.jpg\" class=\"attachment-large size-large\" alt=\"ESP32 Deep Sleep\" loading=\"lazy\" srcset=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Sleep.jpg 792w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Sleep-600x388.jpg 600w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Sleep-768x496.jpg 768w\" sizes=\"(max-width: 792px) 100vw, 792px\" \/>\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-be5c6a7 elementor-widget elementor-widget-heading\" data-id=\"be5c6a7\" 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\">\u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 Sleep \u062f\u0631 \u0628\u0631\u062f ESP32<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a7c2b36 elementor-widget elementor-widget-text-editor\" data-id=\"a7c2b36\" 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\u06af\u0631 \u062f\u0631 \u067e\u0631\u0648\u0698\u0647\u200c\u062a\u0627\u0646\u060c \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u0627\u0632 \u06cc\u06a9 \u0622\u062f\u0627\u067e\u062a\u0648\u0631 \u062f\u06cc\u0648\u0627\u0631\u06cc \u06cc\u0627 \u0686\u06cc\u0632\u06cc \u0634\u0628\u06cc\u0647 \u0628\u0647 \u0622\u0646 \u0628\u0631\u0627\u06cc \u062a\u0627\u0645\u06cc\u0646 \u0627\u0646\u0631\u0698\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u062f\u06cc\u06af\u0631 \u0646\u06af\u0631\u0627\u0646 \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc \u0646\u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0648\u062f. \u0627\u0645\u0627 \u0627\u06af\u0631 \u0642\u0635\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u0628\u0627\u062a\u0631\u06cc \u0631\u0627 \u062f\u0627\u0631\u06cc\u062f\u060c \u062d\u062a\u0645\u0627 \u0645\u06cc\u0632\u0627\u0646 \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u062a\u0627\u0646 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f. ESP32 \u0628\u0647 \u062f\u0644\u06cc\u0644 \u062f\u0627\u0631\u0627 \u0628\u0648\u062f\u0646 \u0648\u0627\u06cc\u200c\u0641\u0627\u06cc \u0648 \u0628\u0644\u0648\u062a\u0648\u062b\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u062d\u062f\u0627\u06a9\u062b\u0631 \u062a\u0627 260mA \u062c\u0631\u06cc\u0627\u0646 \u0628\u06a9\u0634\u062f \u0648 \u0628\u0647 \u0647\u0645\u06cc\u0646 \u0639\u0644\u062a \u0628\u0627\u062a\u0631\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0633\u0631\u0639\u062a \u062a\u0645\u0627\u0645 \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f! \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0645\u0642\u062f\u0645\u0647 \u06af\u0641\u062a\u0647 \u0634\u062f \u0637\u0631\u0627\u062d\u0627\u0646 ESP32 \u0628\u0631\u0627\u06cc \u062d\u0644 \u0627\u06cc\u0646 \u0645\u0633\u0627\u0644\u0647 \u0631\u0627\u0647\u200c\u062d\u0644\u06cc \u062f\u0631 \u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0647\u200c\u0627\u0646\u062f \u0648 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ESP32 \u062f\u0631 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646 Sleep \u0627\u0633\u062a.<\/p><p>\u062f\u0631 \u062d\u0627\u0644\u062a \u06a9\u0644\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 ESP32 \u0631\u0627 \u0628\u0647 7 \u0642\u0633\u0645\u062a \u0645\u062e\u062a\u0644\u0641 \u0627\u0632 \u0646\u0638\u0631 \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc \u062a\u0642\u0633\u06cc\u0645 \u06a9\u0631\u062f. \u0627\u06cc\u0646 7 \u0642\u0633\u0645\u062a \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a.<\/p><ul><li>\u0648\u0627\u06cc\u200c\u0641\u0627\u06cc<\/li><li>\u0628\u0644\u0648\u062a\u0648\u062b<\/li><li>\u0631\u0627\u062f\u06cc\u0648<\/li><li>\u0647\u0633\u062a\u0647 \u0627\u0635\u0644\u06cc ESP32<\/li><li>\u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u062c\u0627\u0646\u0628\u06cc \u06a9\u0645 \u0645\u0635\u0631\u0641 (ULP Coprocessor)<\/li><li>\u0642\u0637\u0639\u0627\u062a \u062c\u0627\u0646\u0628\u06cc (Peripherals)<\/li><li>\u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC)<\/li><\/ul>\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-5c9932d elementor-widget elementor-widget-image\" data-id=\"5c9932d\" 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=\"724\" height=\"378\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_ConsumingParts.jpg\" class=\"attachment-large size-large\" alt=\"Consuming Parts\" loading=\"lazy\" srcset=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_ConsumingParts.jpg 724w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_ConsumingParts-600x313.jpg 600w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/>\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-19fda55 elementor-widget elementor-widget-text-editor\" data-id=\"19fda55\" 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 \u062d\u0627\u0644\u062a \u0639\u0627\u062f\u06cc \u0648 \u0641\u0639\u0627\u0644 \u0628\u0648\u062f\u0646 \u06a9\u0627\u0645\u0644 \u0628\u0631\u062f ESP32\u060c \u062a\u0645\u0627\u0645\u06cc \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0628\u0627\u0644\u0627 \u0645\u0634\u063a\u0648\u0644 \u0628\u0647 \u06a9\u0627\u0631 \u0647\u0633\u062a\u0646\u062f. \u0627\u0645\u0627 \u0628\u0631\u0627\u06cc \u0635\u0631\u0641\u0647\u200c\u062c\u0648\u06cc\u06cc \u062f\u0631 \u0627\u0646\u0631\u0698\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0628\u0631\u062f ESP32 \u062f\u0631 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 Sleep\u060c \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646 \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc \u0631\u0627 \u0628\u0647\u06cc\u0646\u0647 \u06a9\u0631\u062f. \u062f\u0631 \u0632\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0631\u062f ESP32 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u062f\u0631 \u0622\u0646\u200c\u0647\u0627 \u0642\u0631\u0627\u0631 \u0628\u06af\u06cc\u0631\u062f\u060c \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p><ul><li>\u062d\u0627\u0644\u062a \u0641\u0639\u0627\u0644<\/li><li>\u062d\u0627\u0644\u062a Modem Sleep<\/li><li>\u062d\u0627\u0644\u062a Light Sleep<\/li><li>\u062d\u0627\u0644\u062a Deep Sleep<\/li><li>\u062d\u0627\u0644\u062a Hibernation<\/li><\/ul>\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-8524c98 elementor-widget elementor-widget-image\" data-id=\"8524c98\" 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=\"800\" height=\"458\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_SleepingModes.jpg\" class=\"attachment-large size-large\" alt=\"Sleep Modes\" loading=\"lazy\" srcset=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_SleepingModes.jpg 800w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_SleepingModes-600x344.jpg 600w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_SleepingModes-768x440.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\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-ba599ca elementor-widget elementor-widget-text-editor\" data-id=\"ba599ca\" 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 \u062d\u0627\u0644\u062a \u0641\u0639\u0627\u0644 \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u06af\u0641\u062a\u0647 \u0634\u062f \u062a\u0645\u0627\u0645\u06cc \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc ESP32 \u0641\u0639\u0627\u0644 \u0628\u0648\u062f\u0647 \u0648 \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc \u062f\u0631 \u062d\u0627\u0644\u062a \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0633\u062a. \u062f\u0631 \u062d\u0627\u0644\u062a Hibernation\u060c \u0628\u0631 \u0639\u06a9\u0633 \u062d\u0627\u0644\u062a \u0641\u0639\u0627\u0644\u060c \u062a\u0645\u0627\u0645\u06cc \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc ESP32 \u0627\u0632 \u06a9\u0627\u0631 \u0627\u0641\u062a\u0627\u062f\u0647 \u0648 \u062a\u0646\u0647\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0631\u06cc\u0633\u062a \u06a9\u0631\u062f\u0646\u060c \u0628\u0631\u062f \u0628\u0647 \u062d\u0627\u0644\u062a \u0639\u0627\u062f\u06cc \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u062f. \u0628\u0631\u0627\u06cc \u0635\u0631\u0641\u0647\u200c\u062c\u0648\u06cc\u06cc \u062f\u0631 \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0628\u0631\u062f ESP32 \u062f\u0631 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 Sleep \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f \u06a9\u0647 \u0628\u0647\u06cc\u0646\u0647\u200c\u062a\u0631\u06cc\u0646 \u0622\u0646\u200c\u0647\u0627 \u062d\u0627\u0644\u062a Deep Sleep \u06cc\u0627 \u0647\u0645\u0627\u0646 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0647 \u0622\u0646 \u067e\u0631\u062f\u0627\u062e\u062a\u0647 \u0645\u06cc\u200c\u0634\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<div class=\"elementor-element elementor-element-bdef378 elementor-widget elementor-widget-heading\" data-id=\"bdef378\" 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\">\u062d\u0627\u0644\u062a Deep Sleep \u062f\u0631 ESP32 \u0648 \u0627\u0646\u0648\u0627\u0639 \u0622\u0646<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6796b70 elementor-widget elementor-widget-text-editor\" data-id=\"6796b70\" 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>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u067e\u06cc\u0634\u062a\u0631 \u0627\u0634\u0627\u0631\u0647 \u0634\u062f\u060c \u0628\u0631\u0627\u06cc \u0635\u0631\u0641\u0647\u200c\u062c\u0648\u06cc\u06cc \u062f\u0631 \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 ESP32 \u062f\u0631 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc Sleep\u060c \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0622\u0646 \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f. \u0628\u0647\u06cc\u0646\u0647\u200c\u062a\u0631\u06cc\u0646 \u062d\u0627\u0644\u062a Sleep \u062f\u0631 ESP32 \u062d\u0627\u0644\u062a Deep Sleep \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u062a\u0646\u0647\u0627 2 \u0642\u0633\u0645\u062a \u0627\u0632 7 \u0642\u0633\u0645\u062a \u0627\u0635\u0644\u06cc ESP32 \u0641\u0639\u0627\u0644 \u0645\u0627\u0646\u062f\u0647 \u0648 \u0645\u0627\u0628\u0642\u06cc \u0642\u0633\u0645\u062a\u200c\u0647\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/p><p>\u0627\u06cc\u0646 2 \u0642\u0633\u0645\u062a \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632:<\/p><ul><li>\u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u062c\u0627\u0646\u0628\u06cc \u06a9\u0645\u200c\u0645\u0635\u0631\u0641 (ULP Coprocessor)<\/li><li>\u0648 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC)<\/li><\/ul>\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-272c151 elementor-widget elementor-widget-image\" data-id=\"272c151\" 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=\"724\" height=\"378\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_DeepSleepConsumingParts.jpg\" class=\"attachment-large size-large\" alt=\"Deep Sleep Consuming Parts\" loading=\"lazy\" srcset=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_DeepSleepConsumingParts.jpg 724w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_DeepSleepConsumingParts-600x313.jpg 600w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/>\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-0766fe6 elementor-widget elementor-widget-text-editor\" data-id=\"0766fe6\" 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\u0633\u0627\u0644\u0647\u200c\u0627\u06cc \u06a9\u0647 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062a\u0627 \u06a9\u0646\u0648\u0646 \u0646\u06cc\u0632 \u0628\u0647 \u0622\u0646 \u0641\u06a9\u0631 \u06a9\u0631\u062f\u0647\u200c \u0628\u0627\u0634\u06cc\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0639\u062f \u0627\u0632 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0646 ESP32 \u062f\u0631 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u06cc\u0627 \u0647\u0645\u0627\u0646 Deep Sleep \u0686\u0647 \u0627\u062a\u0641\u0627\u0642\u06cc \u0645\u06cc\u200c\u0627\u0641\u062a\u062f\u061f \u0686\u06af\u0648\u0646\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0646\u06cc\u0627\u0632 \u0622\u0646 \u0631\u0627 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0646\u06cc\u0645\u061f \u0628\u0631\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 ESP32 \u0627\u0632 Deep Sleep \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646\u06cc \u062a\u0648\u0633\u0637 \u0637\u0631\u0627\u062d\u0627\u0646 \u0622\u0646 \u062f\u0631 \u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0631\u0648\u0634\u200c\u0647\u0627 \u062f\u0631 \u06cc\u06a9 \u0646\u06af\u0627\u0647 \u0627\u062c\u0645\u0627\u0644\u06cc \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p><ul><li>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Timer \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 ESP32 \u0627\u0632 \u062e\u0648\u0627\u0628 \u062f\u0631 \u062f\u0648\u0631\u0647\u200c\u0647\u0627\u06cc \u0632\u0645\u0627\u0646\u06cc \u062e\u0627\u0635 (\u0645\u062b\u0644\u0627 \u0647\u0631 2 \u0633\u0627\u0639\u062a\u060c \u0647\u0631 \u06cc\u06a9 \u0631\u0648\u0632\u060c &#8230;)<\/li><li>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u062d\u0633\u06af\u0631 \u0644\u0645\u0633\u06cc (Touch Pins)<\/li><li>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0631\u0648\u0634 External Wake-up<\/li><li>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u062c\u0627\u0646\u0628\u06cc \u06a9\u0645\u200c\u0645\u0635\u0631\u0641 (ULP Coprocessor)\u00a0<\/li><\/ul><p>\u0631\u0648\u0634 \u0622\u062e\u0631 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u062d\u062b \u0646\u0645\u06cc\u200c\u0634\u0648\u062f. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647\u060c 3 \u0631\u0648\u0634 \u0627\u0628\u062a\u062f\u0627\u06cc\u06cc \u0628\u0647 \u0635\u0648\u0631\u062a \u06a9\u0627\u0645\u0644 \u0645\u0648\u0631\u062f \u0628\u0631\u0631\u0633\u06cc \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<div class=\"elementor-element elementor-element-241d0c2 elementor-widget elementor-widget-heading\" data-id=\"241d0c2\" 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\">\u062a\u062c\u0647\u06cc\u0632\u0627\u062a \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-19e5501 elementor-widget elementor-widget-heading\" data-id=\"19e5501\" 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-1186f84 elementor-widget elementor-widget-html\" data-id=\"1186f84\" 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 NodeMCU \u2013 ESP32 Edition\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\/node-mcu-esp32-edition-wifi-module\r\n\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\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-413ad9b elementor-widget elementor-widget-heading\" data-id=\"413ad9b\" 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-126e165 elementor-widget elementor-widget-html\" data-id=\"126e165\" 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%\">Arduino 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-6c2497b elementor-widget elementor-widget-text-editor\" data-id=\"6c2497b\" 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\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645\u060c \u0628\u0631\u062f NodeMCU \u2013 ESP32S Edition \u0627\u0633\u062a. \u0627\u0645\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0627\u0632 \u0628\u0631\u062f\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 ESP32 \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u0647\u0645\u0686\u0646\u0627\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631 \u0627\u0633\u0627\u0633 \u0647\u0645\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0648 \u06a9\u062f\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0622\u0646 \u0639\u0645\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-e7d4a38 elementor-widget elementor-widget-heading\" data-id=\"e7d4a38\" 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\">\u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 Deep Sleep \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0627 \u0631\u0648\u0634 Timer<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e91b4f0 elementor-widget elementor-widget-text-editor\" data-id=\"e91b4f0\" 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\u0627\u062f\u0647\u200c\u062a\u0631\u06cc\u0646 \u0631\u0648\u0634 \u0628\u0631\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Timer \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u0627\u0628\u062a\u062f\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0686\u0647 \u0645\u062f\u062a \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 ESP32 \u062f\u0631 \u062e\u0648\u0627\u0628 \u0628\u0645\u0627\u0646\u062f \u0648 \u0633\u067e\u0633 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u062e\u0648\u0627\u0628 \u0645\u06cc\u200c\u0628\u0631\u06cc\u0645. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647\u060c \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u062c\u0627\u0646\u0628\u06cc \u0648 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c \u06a9\u0647 \u0647\u0645\u0686\u0646\u0627\u0646 \u0641\u0639\u0627\u0644\u200c\u0627\u0646\u062f\u060c \u062f\u0631 \u0645\u0648\u0642\u0639 \u0645\u0642\u0631\u0631\u060c ESP32 \u0631\u0627 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0628\u06cc\u062f\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\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<div class=\"elementor-element elementor-element-09a035d elementor-widget elementor-widget-heading\" data-id=\"09a035d\" 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\">\u06a9\u062f<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c9c38fb elementor-widget elementor-widget-text-editor\" data-id=\"c9c38fb\" 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\u062f\u0646 ESP32 \u0628\u0647 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0627 Timer\u060c \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc ESP32 \u062e\u0648\u062f \u0622\u067e\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.\u00a0<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-87e6a65 elementor-widget elementor-widget-html\" data-id=\"87e6a65\" 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\/* \r\nModified on Jul 12, 2021\r\nModified by MehranMaleki from Arduino Examples\r\nhttps:\/\/electropeak.com\/learn\/\r\n*\/\r\n\r\n\r\n#define uS_TO_S_FACTOR 1000000 \/* Conversion factor for micro seconds to seconds *\/\r\n#define TIME_TO_SLEEP 5 \/* Time ESP32 will go to sleep (in seconds) *\/\r\n\r\n\r\nRTC_DATA_ATTR int bootCount = 0;\r\n\r\n\r\n\/\/Function for printing the reason by which ESP32 has been awakened from sleep\r\nvoid print_wakeup_reason(){\r\n esp_sleep_wakeup_cause_t wakeup_reason;\r\n \r\n wakeup_reason = esp_sleep_get_wakeup_cause();\r\n switch(wakeup_reason)\r\n {\r\n case ESP_SLEEP_WAKEUP_EXT0 : Serial.println(\"Wakeup caused by external signal using RTC_IO\"); break;\r\n case ESP_SLEEP_WAKEUP_EXT1 : Serial.println(\"Wakeup caused by external signal using RTC_CNTL\"); break;\r\n case ESP_SLEEP_WAKEUP_TIMER : Serial.println(\"Wakeup caused by timer\"); break;\r\n case ESP_SLEEP_WAKEUP_TOUCHPAD : Serial.println(\"Wakeup caused by touchpad\"); break;\r\n case ESP_SLEEP_WAKEUP_ULP : Serial.println(\"Wakeup caused by ULP program\"); break;\r\n default : Serial.printf(\"Wakeup was not caused by deep sleep: %d\\n\",wakeup_reason); break;\r\n }\r\n}\r\n\r\nvoid setup(){\r\n Serial.begin(115200);\r\n delay(500);\r\n\r\n \/\/Increment boot number and print it every reboot\r\n bootCount++;\r\n Serial.println(\"Boot number: \" + String(bootCount));\r\n\r\n \/\/Print the wakeup reason for ESP32\r\n print_wakeup_reason();\r\n\r\n \/*\r\n 1st Step: we should configure the wake up source:\r\n We set our ESP32 to use \"Timer\" to wake up every 5 seconds\r\n *\/\r\n esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);\r\n Serial.println(\"Setup ESP32 to sleep for every \" + String(TIME_TO_SLEEP) + \" Seconds\");\r\n\r\n\r\n \/*\r\n 2nd Step: we can decide what peripherals to shut down or keep on.\r\n By default, ESP32 will automatically power down all peripherals\r\n not needed by the wakeup source. But if you want to configure peripherals on your own, read the details in the API docs:\r\n http:\/\/esp-idf.readthedocs.io\/en\/latest\/api-reference\/system\/deep_sleep.html\r\n The comment line below is an example of how to configure peripherals. It turns off all RTC peripherals in deep sleep mode. You can leave that comment.\r\n *\/\r\n \/\/esp_deep_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF);\r\n\r\n\r\n \/*\r\n 3rd Step: Now that we have setup a wake cause, and if needed, setup the peripherals state in deep sleep mode, we can now start going to deep sleep.\r\n If you have provided no wake up sources but the deep\r\n sleep has been started, it will sleep forever unless hardware\r\n reset occurs.\r\n *\/\r\n Serial.println(\"Going to sleep now\");\r\n delay(500);\r\n esp_deep_sleep_start();\r\n Serial.println(\"This will never be printed\");\r\n}\r\n\r\nvoid loop(){\r\n \/\/This will not be used in Deep Sleep mode.\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-4d84221 elementor-widget elementor-widget-text-editor\" data-id=\"4d84221\" 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\u0627 \u067e\u0631\u0648\u06af\u0631\u0645 \u06a9\u0631\u062f\u0646 \u0628\u0631\u062f ESP32 \u0628\u0627 \u06a9\u062f \u0628\u0627\u0644\u0627\u060c \u0627\u06cc\u0646 \u0628\u0631\u062f \u0628\u0647 \u062d\u0627\u0644\u062a Deep Sleep \u0631\u0641\u062a\u0647 \u0648 \u0647\u0631 5 \u062b\u0627\u0646\u06cc\u0647 \u06cc\u06a9 \u0628\u0627\u0631 \u062a\u0648\u0633\u0637 Timer \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0647 \u0648 \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0647 \u062e\u0648\u0627\u0628 \u0645\u06cc\u200c\u0631\u0648\u062f. \u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u062f\u0631 Serial Monitor \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-edfc818 elementor-widget elementor-widget-image\" data-id=\"edfc818\" 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=\"800\" height=\"500\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Timer1.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Timer1.jpg 800w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Timer1-600x375.jpg 600w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Timer1-768x480.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\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-9e5fae2 elementor-widget elementor-widget-text-editor\" data-id=\"9e5fae2\" 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 class=\"MsoNormal\" dir=\"RTL\"><span lang=\"FA\">\u062f\u0631 \u0627\u062f\u0627\u0645\u0647\u060c \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u06a9\u062f \u0631\u0627 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/span><\/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-81d45f9 elementor-widget elementor-widget-html\" data-id=\"81d45f9\" 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#define uS_TO_S_FACTOR 1000000  \/* Conversion factor for micro seconds to seconds *\/\r\n#define TIME_TO_SLEEP  5        \/* Time ESP32 will go to sleep (in seconds) *\/\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3bf68fd elementor-widget elementor-widget-text-editor\" data-id=\"3bf68fd\" 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\u0628\u062a\u062f\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u060c \u062f\u0648 \u0639\u062f\u062f \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647\u200c\u0627\u0646\u062f. \u0645\u062f\u062a \u0632\u0645\u0627\u0646 \u062f\u0631 \u062e\u0648\u0627\u0628 \u0645\u0627\u0646\u062f\u0646 ESP32 \u0628\u0627\u06cc\u062f \u0628\u0631 \u062d\u0633\u0628 \u0645\u06cc\u06a9\u0631\u0648\u062b\u0627\u0646\u06cc\u0647 \u0628\u0631\u0627\u06cc \u0622\u0646 \u062a\u0646\u0638\u06cc\u0645 \u0634\u0648\u062f. \u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u0628\u0631 \u0627\u0633\u0627\u0633 \u062b\u0627\u0646\u06cc\u0647 \u06a9\u0627\u0631 \u06a9\u0646\u06cc\u0645\u060c \u0628\u0631\u0627\u06cc \u0631\u0627\u062d\u062a\u200c\u062a\u0631 \u0634\u062f\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc\u060c \u0627\u06cc\u0646 \u062f\u0648 \u0639\u062f\u062f \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645. \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0645\u062f\u062a \u0632\u0645\u0627\u0646 \u062f\u0631 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0628\u0648\u062f\u0646 ESP32\u060c \u062a\u0646\u0647\u0627 \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0627\u0639\u0645\u0627\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-43a8abd elementor-widget elementor-widget-html\" data-id=\"43a8abd\" 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\nRTC_DATA_ATTR int bootCount = 0;\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-87d2831 elementor-widget elementor-widget-text-editor\" data-id=\"87d2831\" 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\u06cc\u06a9 \u0645\u062a\u063a\u06cc\u0631 \u0628\u0627 \u0641\u0631\u0645\u062a int \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC) \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u0645\u062a\u063a\u06cc\u0631 \u062a\u0639\u062f\u0627\u062f \u0628\u0648\u062a \u0634\u062f\u0646 ESP32 \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u062f\u0631 \u0648\u0627\u0642\u0639 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 ESP32 \u062a\u0627 \u0628\u0647 \u062d\u0627\u0644 \u0686\u0646\u062f \u0628\u0627\u0631 \u0628\u0647 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0628\u0631\u062f\u0647 \u0634\u062f\u0647 \u0648 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0642\u0628\u0644 \u062a\u0627\u06a9\u06cc\u062f \u0634\u062f\u060c \u062f\u0631 \u062d\u0627\u0644\u062a Deep Sleep \u062a\u0645\u0627\u0645\u06cc \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc ESP32 \u0628\u0647 \u063a\u06cc\u0631 \u0627\u0632 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC) \u0648 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u062c\u0627\u0646\u0628\u06cc \u06a9\u0645\u200c\u0645\u0635\u0631\u0641 (ULP Coprocessor) \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0627\u06a9\u062b\u0631 \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u06a9\u0647 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 ESP32 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0646\u06cc\u0632 \u067e\u0627\u06a9 \u0645\u06cc\u200c\u0634\u0648\u062f. \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0628\u062e\u0648\u0627\u0647\u06cc\u0645 \u0645\u062a\u063a\u06cc\u0631\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0632\u0645\u0627\u0646 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 ESP32 \u0647\u0645 \u0630\u062e\u06cc\u0631\u0647 \u0634\u062f\u0647 \u0628\u0627\u0642\u06cc \u0628\u0645\u0627\u0646\u062f \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0622\u0646 \u0645\u062a\u063a\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC) \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062a\u0646\u0647\u0627 \u06a9\u0627\u0641\u06cc\u200c\u0633\u062a \u0645\u0637\u0627\u0628\u0642 \u06a9\u062f \u0628\u0627\u0644\u0627\u060c \u0627\u0632 \u067e\u06cc\u0634\u0648\u0646\u062f <code>RTC_DATA_ATTR<\/code> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645.\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-7242e81 elementor-widget elementor-widget-html\" data-id=\"7242e81\" 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\/\/Function for printing the reason by which ESP32 has been awakened from sleep\r\nvoid print_wakeup_reason(){\r\n  esp_sleep_wakeup_cause_t wakeup_reason;\r\n  \r\n  wakeup_reason = esp_sleep_get_wakeup_cause();\r\n  switch(wakeup_reason)\r\n  {\r\n    case ESP_SLEEP_WAKEUP_EXT0 : Serial.println(\"Wakeup caused by external signal using RTC_IO\"); break;\r\n    case ESP_SLEEP_WAKEUP_EXT1 : Serial.println(\"Wakeup caused by external signal using RTC_CNTL\"); break;\r\n    case ESP_SLEEP_WAKEUP_TIMER : Serial.println(\"Wakeup caused by timer\"); break;\r\n    case ESP_SLEEP_WAKEUP_TOUCHPAD : Serial.println(\"Wakeup caused by touchpad\"); break;\r\n    case ESP_SLEEP_WAKEUP_ULP : Serial.println(\"Wakeup caused by ULP program\"); break;\r\n    default : Serial.printf(\"Wakeup was not caused by deep sleep: %d\\n\",wakeup_reason); break;\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-43e201d elementor-widget elementor-widget-text-editor\" data-id=\"43e201d\" 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>\u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u060c \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0639\u062f \u0627\u0632 \u0647\u0631 \u0628\u0627\u0631 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32\u060c \u0639\u0644\u062a \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 \u0631\u0627 \u062f\u0631 Serial Monitor \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u06cc\u0645. \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u06a9\u062f \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0627\u06cc\u0646 \u062f\u0644\u0627\u06cc\u0644 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc EXT0 \u060cEXT1 \u060cTIMER \u060cTOUCHPAD \u0648 \u06cc\u0627 ULP \u0628\u0627\u0634\u062f. \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u0631\u0627 \u062f\u0631 \u0645\u0631\u0627\u062d\u0644 \u0628\u0639\u062f \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \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<div class=\"elementor-element elementor-element-63dae28 elementor-widget elementor-widget-html\" data-id=\"63dae28\" 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\nvoid setup(){\r\n  Serial.begin(115200);\r\n  delay(500);\r\n\r\n  \/\/Increment boot number and print it every reboot\r\n  bootCount++;\r\n  Serial.println(\"Boot number: \" + String(bootCount));\r\n\r\n  \/\/Print the wakeup reason for ESP32\r\n  print_wakeup_reason();\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f2cc03b elementor-widget elementor-widget-text-editor\" data-id=\"f2cc03b\" 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\u0633 \u0627\u0632 \u062a\u0639\u0631\u06cc\u0641 \u062a\u0627\u0628\u0639 \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0642\u0628\u0644\u060c \u0648\u0627\u0631\u062f \u0642\u0633\u0645\u062a setup \u0628\u0631\u0646\u0627\u0645\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u0634\u062f. \u062f\u0631 \u062d\u0627\u0644\u062a Deep Sleep \u062a\u0646\u0647\u0627 \u0642\u0633\u0645\u062a setup \u0631\u0627 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u0634\u062a \u0648 \u062a\u0645\u0627\u0645\u06cc \u06a9\u062f \u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0642\u0631\u0627\u0631 \u062e\u0648\u0627\u0647\u062f \u06af\u0631\u0641\u062a. \u062f\u0631 \u0648\u0627\u0642\u0639 \u062f\u0631 \u067e\u0627\u06cc\u0627\u0646 setup\u060c \u0628\u0631\u0646\u0627\u0645\u0647 \u0628\u0647 \u062d\u0627\u0644\u062a Deep Sleep \u0645\u06cc\u200c\u0631\u0648\u062f \u0648 \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0647\u06cc\u0686\u0648\u0642\u062a \u0648\u0627\u0631\u062f \u0642\u0633\u0645\u062a loop \u0646\u062e\u0648\u0627\u0647\u06cc\u0645 \u0634\u062f. \u062f\u0631 \u0642\u0633\u0645\u062a setup \u0627\u0628\u062a\u062f\u0627 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062f\u0631 Serial Monitor \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645. \u0647\u0631 \u0628\u0627\u0631 \u0631\u0633\u06cc\u062f\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0628\u0647 \u0627\u0628\u062a\u062f\u0627\u06cc setup \u0628\u0647 \u0645\u0639\u0646\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u0627\u0633\u062a\u060c \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0645\u062a\u063a\u06cc\u0631 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c \u0631\u0627 \u06cc\u06a9\u06cc \u0627\u0641\u0632\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0648 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0639\u0644\u062a \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0631\u0627 \u062f\u0631 Serial Monitor \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/p><p>\u062f\u0631 \u0627\u062f\u0627\u0645\u0647\u060c \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0627\u0635\u0644\u06cc \u06a9\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0628\u0631\u0627\u06cc \u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 Deep Sleep \u0627\u0633\u062a \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u062a\u0648\u0636\u06cc\u062d \u06a9\u0627\u0645\u0644 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u060c \u06cc\u06a9 \u06a9\u0627\u0645\u0646\u062a \u0646\u06cc\u0632 \u0642\u0628\u0644 \u0627\u0632 \u0647\u0631 \u0645\u0631\u062d\u0644\u0647 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\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-4216489 elementor-widget elementor-widget-html\" data-id=\"4216489\" 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  \/*\r\n  1st Step: we should configure the wake up source:\r\n  We set our ESP32 to use \"Timer\" to wake up every 5 seconds\r\n  *\/\r\n  esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);\r\n  Serial.println(\"Setup ESP32 to sleep for every \" + String(TIME_TO_SLEEP) + \" Seconds\");\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c1d013e elementor-widget elementor-widget-text-editor\" data-id=\"c1d013e\" 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\u062f\u0646 ESP32 \u0628\u0647 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642\u060c \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u06a9\u0647 \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0646\u0645\u0627\u06cc\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0627\u0632 \u0622\u0645\u0648\u0632\u0634\u060c \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u06a9\u0647 \u0628\u0627 \u0631\u0648\u0634 Timer \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645. \u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 Timer \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0627\u0632 Deep Sleep \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0632 \u062a\u0627\u0628\u0639 esp_sleep_enable_timer_wakeup(time in us) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u0632\u0645\u0627\u0646 \u0631\u0627 \u0628\u0631 \u062d\u0633\u0628 \u0645\u06cc\u06a9\u0631\u0648\u062b\u0627\u0646\u06cc\u0647 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f \u0648 \u0631\u0648\u0634 Timer \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u0646\u0628\u0639 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 ESP32 \u0627\u0632 Deep Sleep \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\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-c5b7f10 elementor-widget elementor-widget-html\" data-id=\"c5b7f10\" 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  \/*\r\n  2nd Step: we can decide what peripherals to shut down or keep on.\r\n  By default, ESP32 will automatically power down all peripherals\r\n  not needed by the wakeup source. But if you want to configure peripherals on your own, read the details in the API docs:\r\n  http:\/\/esp-idf.readthedocs.io\/en\/latest\/api-reference\/system\/deep_sleep.html\r\n  The comment line below is an example of how to configure peripherals. It\r\n  turns off all RTC peripherals in deep sleep mode. You can leave that comment.\r\n  *\/\r\n  \/\/esp_deep_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF);\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2ac0ca4 elementor-widget elementor-widget-text-editor\" data-id=\"2ac0ca4\" 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 \u0645\u0631\u062d\u0644\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645\u060c \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc\u06cc \u0627\u0632 ESP32 \u0631\u0627 \u06a9\u0647 \u062f\u0631 \u062d\u0627\u0644\u062a Deep Sleep \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u0645. ESP32 \u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636\u060c \u062a\u0645\u0627\u0645\u06cc \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 \u0628\u0647 \u0631\u0648\u0634\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0642\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645 \u0645\u0634\u06a9\u0644\u06cc \u0628\u0647 \u0648\u062c\u0648\u062f \u0646\u0645\u06cc\u200c\u0622\u0648\u0631\u062f \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u06af\u0630\u0631 \u06a9\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-5f81f92 elementor-widget elementor-widget-html\" data-id=\"5f81f92\" 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  \/*\r\n  3rd Step: Now that we have set up a wake cause, and if needed, setup the\r\n  peripherals state in deep sleep mode, we can now start going to\r\n  deep sleep.\r\n  If you have provided no wake up sources but the deep\r\n  sleep has been started, it will sleep forever unless hardware\r\n  reset occurs.\r\n  *\/\r\n  Serial.println(\"Going to sleep now\");\r\n  delay(500);\r\n  esp_deep_sleep_start();\r\n  Serial.println(\"This will never be printed\");\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-85c1e4c elementor-widget elementor-widget-text-editor\" data-id=\"85c1e4c\" 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 \u0645\u0631\u062d\u0644\u0647 \u06a9\u0647 \u0645\u0631\u062d\u0644\u0647 \u0646\u0647\u0627\u06cc\u06cc\u200c\u0633\u062a\u060c \u067e\u0633 \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0646\u062c\u0627\u0645 \u0634\u062f\u0647 \u062f\u0631 \u0645\u0631\u0627\u062d\u0644 \u0642\u0628\u0644\u060c \u06cc\u0639\u0646\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 \u0648 \u062a\u0646\u0638\u06cc\u0645 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0631\u062f ESP32 \u0631\u0627 \u062f\u0631 \u062d\u0627\u0644\u062a Deep Sleep \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 esp_deep_sleep_start() \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645. \u0628\u0627 \u0627\u06cc\u0646 \u062e\u0637 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u060c \u0628\u0631\u062f ESP32 \u0628\u0647 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0645\u06cc\u200c\u0631\u0648\u062f \u0648 \u062a\u0627 \u0645\u062f\u062a \u0632\u0645\u0627\u0646 \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u062f\u0631 \u062e\u0648\u0627\u0628 \u0645\u06cc\u200c\u0645\u0627\u0646\u062f. \u067e\u0633 \u0627\u0632 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0646\u06cc\u0632 \u0642\u0633\u0645\u062a setup \u0627\u0632 \u0627\u0628\u062a\u062f\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0634\u0648\u062f. \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u067e\u06cc\u0634\u062a\u0631 \u0646\u06cc\u0632 \u06af\u0641\u062a\u0647 \u0634\u062f\u060c \u06a9\u062f \u0647\u06cc\u0686\u200c\u06af\u0627\u0647 \u0628\u0647 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0628\u0639\u062f \u0627\u0632 \u062e\u0637 \u062f\u0633\u062a\u0648\u0631 esp_deep_sleep_start() \u0646\u0645\u06cc\u200c\u0631\u0633\u062f.<\/p><p>\u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a\u060c \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0628\u0647 \u0646\u062d\u0648\u0647 \u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 \u062d\u0627\u0644\u062a Deep Sleep \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0647 \u06a9\u0645\u06a9 Timer \u067e\u0631\u062f\u0627\u062e\u062a\u06cc\u0645. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647\u060c \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/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-f4cff23 elementor-widget elementor-widget-heading\" data-id=\"f4cff23\" 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\">\u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 Deep Sleep \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0627 \u0631\u0648\u0634 \u067e\u0627\u06cc\u0647 \u0647\u0627\u06cc \u062d\u0633\u06af\u0631 \u0644\u0645\u0633\u06cc  (Touch)<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f050a64 elementor-widget elementor-widget-text-editor\" data-id=\"f050a64\" 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>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc\u200c\u062f\u0627\u0646\u06cc\u062f\u060c \u0628\u0631\u062f ESP32 \u062f\u0627\u0631\u0627\u06cc \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u062d\u0633\u06af\u0631 \u0644\u0645\u0633\u06cc (Touch) \u0639\u0645\u0644 \u06a9\u0646\u0646\u062f. \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627 \u062f\u0631 \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 ESP-WROOM-32 \u06a9\u0647 \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 \u0627\u0635\u0644\u06cc \u062f\u0631 \u0627\u06a9\u062b\u0631 \u0628\u0631\u062f\u0647\u0627\u06cc ESP32 \u0627\u0633\u062a\u060c \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632:<\/p><ul><li>T0 (GPIO 4)<\/li><li>T1 (GPIO 0)<\/li><li>T2 (GPIO 2)<\/li><li>T3 (GPIO 15)<\/li><li>T4 (GPIO 13)<\/li><li>T5 (GPIO 12)<\/li><li>T6 (GPIO 14)<\/li><li>T7 (GPIO 27)<\/li><li>T8 (GPIO 33)<\/li><li>T9 (GPIO 32)<\/li><\/ul>\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-63b2f26 elementor-widget elementor-widget-image\" data-id=\"63b2f26\" 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=\"751\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep-Touchpins.jpg\" class=\"attachment-large size-large\" alt=\"Touch Pins\" loading=\"lazy\" srcset=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep-Touchpins.jpg 751w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep-Touchpins-501x400.jpg 501w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/>\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-a9adca2 elementor-widget elementor-widget-text-editor\" data-id=\"a9adca2\" 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 \u0627\u0637\u0644\u0627\u0639 \u06a9\u0627\u0645\u0644 \u0627\u0632 \u0627\u0646\u0648\u0627\u0639 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 ESP32 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0644\u06cc\u0646\u06a9 \u0632\u06cc\u0631 \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f.<\/p><p><a href=\"https:\/\/thecaferobot.com\/learn\/full-guide-to-esp32-pinout-reference-what-gpio-pins-should-we-use\/\">\u0622\u0645\u0648\u0632\u0634 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 ESP32<\/a><\/p><p>\u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u06a9\u0627\u0631\u0628\u0631\u062f \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0633\u0646\u0633\u0648\u0631 \u0644\u0645\u0633\u06cc\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0628\u0631\u062f ESP32 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0647\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0627 \u0644\u0645\u0633 \u06a9\u062f\u0627\u0645 \u06cc\u06a9 \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0644\u0645\u0633\u06cc\u060c \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u0628\u06cc\u062f\u0627\u0631 \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u0628\u0631\u062f \u0628\u0647 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0631\u0641\u062a\u0647 \u0648 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u062c\u0627\u0646\u0628\u06cc \u06a9\u0645\u200c\u0645\u0635\u0631\u0641 \u0648 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c \u06a9\u0647 \u0647\u0646\u0648\u0632 \u0641\u0639\u0627\u0644\u200c\u0627\u0646\u062f \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0644\u0645\u0633\u06cc \u067e\u0631\u062f\u0627\u062e\u062a\u0647 \u0648 \u0628\u0627 \u0644\u0645\u0633 \u067e\u0627\u06cc\u0647 \u0645\u0648\u0631\u062f \u0646\u0638\u0631\u060c \u0628\u0631\u062f ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u0628\u06cc\u062f\u0627\u0631 \u0645\u06cc\u200c\u0634\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<div class=\"elementor-element elementor-element-5a0851a elementor-widget elementor-widget-heading\" data-id=\"5a0851a\" 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\">\u06a9\u062f<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c06debd elementor-widget elementor-widget-text-editor\" data-id=\"c06debd\" 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\u062f\u0646 ESP32 \u0628\u0647 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0627 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0644\u0645\u0633\u06cc\u060c \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc ESP32 \u062e\u0648\u062f \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-8c4ea8d elementor-widget elementor-widget-html\" data-id=\"8c4ea8d\" 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\/* \r\nModified on Jul 12, 2021\r\nModified by MehranMaleki from Arduino Examples\r\nhttps:\/\/electropeak.com\/learn\/\r\n*\/\r\n\r\n\r\n#define Threshold 40 \/* Greater the value, more the sensitivity *\/\r\n\r\n\r\nRTC_DATA_ATTR int bootCount = 0;\r\n\r\n\r\n\/\/Function for printing the reason by which ESP32 has been awakened from sleep\r\nvoid print_wakeup_reason(){\r\n esp_sleep_wakeup_cause_t wakeup_reason;\r\n\r\n wakeup_reason = esp_sleep_get_wakeup_cause();\r\n\r\n switch(wakeup_reason)\r\n {\r\n case ESP_SLEEP_WAKEUP_EXT0 : Serial.println(\"Wakeup caused by external signal using RTC_IO\"); break;\r\n case ESP_SLEEP_WAKEUP_EXT1 : Serial.println(\"Wakeup caused by external signal using RTC_CNTL\"); break;\r\n case ESP_SLEEP_WAKEUP_TIMER : Serial.println(\"Wakeup caused by timer\"); break;\r\n case ESP_SLEEP_WAKEUP_TOUCHPAD : Serial.println(\"Wakeup caused by touchpad\"); break;\r\n case ESP_SLEEP_WAKEUP_ULP : Serial.println(\"Wakeup caused by ULP program\"); break;\r\n default : Serial.printf(\"Wakeup was not caused by deep sleep: %d\\n\",wakeup_reason); break;\r\n }\r\n}\r\n\r\n\r\n\/\/Function for printing the touchpad by which ESP32 has been awakened from sleep\r\nvoid print_wakeup_touchpad(){\r\n touch_pad_t touchPin;\r\n touchPin = esp_sleep_get_touchpad_wakeup_status();\r\n\r\n switch(touchPin)\r\n {\r\n case 0 : Serial.println(\"Touch detected on GPIO 4\"); break;\r\n case 1 : Serial.println(\"Touch detected on GPIO 0\"); break;\r\n case 2 : Serial.println(\"Touch detected on GPIO 2\"); break;\r\n case 3 : Serial.println(\"Touch detected on GPIO 15\"); break;\r\n case 4 : Serial.println(\"Touch detected on GPIO 13\"); break;\r\n case 5 : Serial.println(\"Touch detected on GPIO 12\"); break;\r\n case 6 : Serial.println(\"Touch detected on GPIO 14\"); break;\r\n case 7 : Serial.println(\"Touch detected on GPIO 27\"); break;\r\n case 8 : Serial.println(\"Touch detected on GPIO 33\"); break;\r\n case 9 : Serial.println(\"Touch detected on GPIO 32\"); break;\r\n default : Serial.println(\"Wakeup not by touchpad\"); break;\r\n }\r\n}\r\n\r\nvoid callback(){\r\n \/\/write instructions you want to be performed when the ESP32 wakes up\r\n}\r\n\r\nvoid setup(){\r\n Serial.begin(115200);\r\n delay(500);\r\n\r\n \/\/Increment boot number and print it every reboot\r\n bootCount++;\r\n Serial.println(\"Boot number: \" + String(bootCount));\r\n\r\n \/\/Print the wakeup reason for ESP32 and aslo the touchpad\r\n print_wakeup_reason();\r\n print_wakeup_touchpad();\r\n\r\n\r\n \/*\r\n 1st Step: we should configure the wake up source:\r\n We set our ESP32 to use \"TouchPad 3 (GPIO15)\" to wake up\r\n To do that, we first need to setup interrupt on one of\r\n the touch pins -in our case \"Touch Pad 3\"- and then,\r\n configure \"Touchpad\" as the wakeup source.\r\n *\/\r\n \/\/Setup interrupt on Touch Pad 3 (GPIO15)\r\n touchAttachInterrupt(T3, callback, Threshold);\r\n \/\/Configure Touchpad as wakeup source\r\n esp_sleep_enable_touchpad_wakeup();\r\n\r\n \r\n \/*\r\n 2nd Step: we can decide what peripherals to shut down or keep on.\r\n By default, ESP32 will automatically power down all peripherals\r\n not needed by the wakeup source. But if you want to configure peripherals\r\n on your own, read the details in the API docs:\r\n http:\/\/esp-idf.readthedocs.io\/en\/latest\/api-reference\/system\/deep_sleep.html\r\n The comment line below is an example of how to configure peripherals. It\r\n turns off all RTC peripherals in deep sleep mode. You can leave that comment.\r\n *\/\r\n \/\/esp_deep_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF);\r\n\r\n\r\n \/*\r\n 3rd Step: Now that we have set up a wake cause, and if needed, setup the\r\n peripherals state in deep sleep mode, we can now start going to\r\n deep sleep.\r\n If you have provided no wake up sources but the deep\r\n sleep has been started, it will sleep forever unless hardware\r\n reset occurs.\r\n *\/\r\n Serial.println(\"Going to sleep now\");\r\n delay(500);\r\n esp_deep_sleep_start();\r\n Serial.println(\"This will never be printed\");\r\n}\r\n\r\nvoid loop(){\r\n \/\/This will not be used in Deep Sleep mode.\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-283f580 elementor-widget elementor-widget-text-editor\" data-id=\"283f580\" 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\u0627 \u067e\u0631\u0648\u06af\u0631\u0645 \u06a9\u0631\u062f\u0646 \u0628\u0631\u062f ESP32 \u062e\u0648\u062f \u0628\u0627 \u06a9\u062f \u0628\u0627\u0644\u0627\u060c \u0627\u06cc\u0646 \u0628\u0631\u062f \u0628\u0647 \u062d\u0627\u0644\u062a Deep Sleep \u0631\u0641\u062a\u0647 \u0648 \u0628\u0627 \u0644\u0645\u0633 \u067e\u0627\u06cc\u0647 3 \u0644\u0645\u0633\u06cc T3 \u06a9\u0647 \u0645\u0639\u0627\u062f\u0644 GPIO15 \u0627\u0633\u062a\u060c \u0627\u0632 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0647 \u0648 \u067e\u0633 \u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u0648\u0638\u0627\u06cc\u0641 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647\u060c \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0647 \u062e\u0648\u0627\u0628 \u0645\u06cc\u200c\u0631\u0648\u062f. \u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u062f\u0631 Serial Monitor \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-22c9644 elementor-widget elementor-widget-image\" data-id=\"22c9644\" 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=\"771\" height=\"534\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Touch1.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Touch1.jpg 771w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Touch1-578x400.jpg 578w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep_Touch1-768x532.jpg 768w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/>\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-3601b6c elementor-widget elementor-widget-text-editor\" data-id=\"3601b6c\" 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\u062f\u0627\u0645\u0647\u060c \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u06a9\u062f \u0631\u0627 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/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-19a8240 elementor-widget elementor-widget-html\" data-id=\"19a8240\" 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 #define Threshold 40 \/* Greater the value, more the sensitivity *\/\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b27fde elementor-widget elementor-widget-text-editor\" data-id=\"4b27fde\" 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\u0628\u062a\u062f\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0639\u062f\u062f\u06cc \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 Threshold \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a. \u062f\u0631 \u0648\u0627\u0642\u0639 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0644\u0645\u0633\u06cc ESP32\u060c \u06cc\u06a9 \u067e\u0627\u06cc\u0647 \u0622\u0646\u0627\u0644\u0648\u06af \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0639\u062f\u062f\u06cc \u0628\u06cc\u0646 0 \u062a\u0627 4095 \u0631\u0627 \u0628\u0647 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u062f\u0627\u062e\u0644\u06cc \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u0646\u062f. \u0646\u062d\u0648\u0647 \u06a9\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0644\u0645\u0633\u06cc \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0644\u0645\u0633 \u0634\u062f\u0646\u060c \u0639\u062f\u062f\u06cc \u06a9\u0647 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u0646\u062f \u0639\u062f\u062f \u06a9\u0648\u0686\u06a9\u200c\u062a\u0631\u06cc \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f. \u0645\u0639\u0645\u0648\u0644\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0644\u0645\u0633\u060c \u0639\u062f\u062f\u06cc \u06a9\u0647 \u067e\u0627\u06cc\u0647 \u0644\u0645\u0633\u06cc \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u062d\u062f\u0648\u062f\u0627 \u067e\u0627\u06cc\u06cc\u0646 \u062a\u0631 \u0627\u0632 80 \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647\u060c \u0645\u0642\u062f\u0627\u0631\u06cc \u0631\u0627 \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u0646\u0634\u0627\u0646\u200c\u062f\u0647\u0646\u062f\u0647 \u0644\u0645\u0633 \u0634\u062f\u0646 \u067e\u0627\u06cc\u0647 \u0644\u0645\u0633\u06cc \u0628\u0627\u0634\u062f\u060c \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0648\u0627\u0636\u062d \u0627\u0633\u062a \u06a9\u0647 \u0647\u0631 \u0686\u0647 \u0645\u0642\u062f\u0627\u0631 \u0639\u062f\u062f \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0628\u06cc\u0634\u062a\u0631 \u0628\u0627\u0634\u062f\u060c \u062d\u0633\u0627\u0633\u06cc\u062a \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc\u200c\u06cc\u0627\u0628\u062f.<\/p><p>\u00a0<\/p><p>\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0646\u06cc\u0632 \u0647\u0645\u0627\u0646\u0646\u062f \u0631\u0648\u0634 \u0642\u0628\u0644\u060c \u06cc\u06a9 \u0645\u062a\u063a\u06cc\u0631 \u0628\u0627 \u0641\u0631\u0645\u062a int \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC) \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0627\u06cc\u0646 \u0645\u062a\u063a\u06cc\u0631 \u062a\u0639\u062f\u0627\u062f \u0628\u0648\u062a \u0634\u062f\u0646 ESP32 \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p><p>\u067e\u0633 \u0627\u0632 \u0622\u0646\u060c \u0645\u0634\u0627\u0628\u0647 \u0631\u0648\u0634 \u0642\u0628\u0644\u060c \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0639\u062f \u0627\u0632 \u0647\u0631 \u0628\u0627\u0631 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32\u060c \u0639\u0644\u062a \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 \u0631\u0627 \u062f\u0631 Serial Monitor \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u06cc\u0645.<\/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-67da066 elementor-widget elementor-widget-html\" data-id=\"67da066\" 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\/\/Function for printing the touchpad by which ESP32 has been awakened from sleep\r\nvoid print_wakeup_touchpad(){\r\n  touch_pad_t touchPin;\r\n  touchPin = esp_sleep_get_touchpad_wakeup_status();\r\n\r\n  switch(touchPin)\r\n  {\r\n    case 0  : Serial.println(\"Touch detected on GPIO 4\"); break;\r\n    case 1  : Serial.println(\"Touch detected on GPIO 0\"); break;\r\n    case 2  : Serial.println(\"Touch detected on GPIO 2\"); break;\r\n    case 3  : Serial.println(\"Touch detected on GPIO 15\"); break;\r\n    case 4  : Serial.println(\"Touch detected on GPIO 13\"); break;\r\n    case 5  : Serial.println(\"Touch detected on GPIO 12\"); break;\r\n    case 6  : Serial.println(\"Touch detected on GPIO 14\"); break;\r\n    case 7  : Serial.println(\"Touch detected on GPIO 27\"); break;\r\n    case 8  : Serial.println(\"Touch detected on GPIO 33\"); break;\r\n    case 9  : Serial.println(\"Touch detected on GPIO 32\"); break;\r\n    default : Serial.println(\"Wakeup not by touchpad\"); break;\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-7fdf22e elementor-widget elementor-widget-text-editor\" data-id=\"7fdf22e\" 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>\u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0639\u0644\u062a \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642\u060c \u0644\u0645\u0633 \u0634\u062f\u0646 \u067e\u0627\u06cc\u0647 \u0644\u0645\u0633\u06cc \u0628\u0627\u0634\u062f\u060c \u0647\u0645\u0627\u0646 \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc \u0631\u0627 \u06a9\u0647 \u0644\u0645\u0633 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062f\u0631 Serial Monitor \u0646\u0645\u0627\u06cc\u0634 \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-8b349e7 elementor-widget elementor-widget-html\" data-id=\"8b349e7\" 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>void callback(){\r\n  \/\/write instructions you want to be performed when the ESP32 wakes up\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-f55e689 elementor-widget elementor-widget-text-editor\" data-id=\"f55e689\" 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>\u062a\u0627\u0628\u0639\u06cc \u0628\u0627 \u0646\u0627\u0645 callback() \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u06a9\u0627\u0645\u0646\u062a \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u06a9\u062f \u0647\u0645 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0648\u0638\u0627\u06cc\u0641\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 ESP32 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u067e\u0633 \u0627\u0632 \u0647\u0631 \u0628\u0627\u0631 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 \u062a\u0648\u0633\u0637 \u0644\u0645\u0633 \u067e\u0627\u06cc\u0647 \u0644\u0645\u0633\u06cc\u060c \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f. \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u062f\u0631 \u06a9\u062f \u0645\u0627 \u062e\u0627\u0644\u06cc \u0627\u0633\u062a \u0648 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0648\u0638\u0627\u06cc\u0641\u06cc \u0631\u0627 \u0645\u0637\u0627\u0628\u0642 \u062f\u0644\u062e\u0648\u0627\u0647 \u062e\u0648\u062f \u062f\u0631 \u0622\u0646 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. (\u0645\u062b\u0644\u0627 \u06cc\u06a9 \u0648\u0638\u06cc\u0641\u0647 \u0633\u0627\u062f\u0647 \u0645\u062b\u0644 \u0631\u0648\u0634\u0646 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 LED \u06cc\u0627 \u0647\u0631 \u0686\u06cc\u0632 \u062f\u06cc\u06af\u0631)<\/p><p>\u00a0<\/p><p>\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0648\u0627\u0631\u062f \u0642\u0633\u0645\u062a setup \u0628\u0631\u0646\u0627\u0645\u0647 \u0645\u06cc\u200c\u0634\u0648\u06cc\u0645. \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0648\u0644\u06cc\u0647 \u0628\u0631\u0627\u06cc Serial \u0631\u0627 \u0645\u0634\u0627\u0628\u0647 \u0631\u0648\u0634 \u0642\u0628\u0644 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u0648 \u0645\u062a\u063a\u06cc\u0631 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC) \u0631\u0627 \u0647\u0645 \u0622\u067e\u062f\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p><p>\u067e\u0633 \u0627\u0632 \u0637\u06cc \u0645\u0631\u0627\u062d\u0644 \u0628\u0627\u0644\u0627\u060c \u0645\u0634\u0627\u0628\u0647 \u0631\u0648\u0634 \u0642\u0628\u0644\u060c \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc \u0627\u0635\u0644\u06cc \u06a9\u062f \u0631\u0627 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0628\u0631\u0627\u06cc \u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 Deep Sleep \u0627\u0633\u062a \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u062a\u0648\u0636\u06cc\u062d \u06a9\u0627\u0645\u0644 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u060c \u06cc\u06a9 \u06a9\u0627\u0645\u0646\u062a \u0646\u06cc\u0632 \u0642\u0628\u0644 \u0627\u0632 \u0647\u0631 \u0645\u0631\u062d\u0644\u0647 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\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-c236066 elementor-widget elementor-widget-html\" data-id=\"c236066\" 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  1st Step: we should configure the wake up source:\r\n  We set our ESP32 to use \"TouchPad 3 (GPIO15)\" to wake up\r\n  To do that, we first need to set up interrupt on one of\r\n  the touch pins -in our case \"Touch Pad 3\"- and then,\r\n  configure \"Touchpad\" as the wakeup source.\r\n  *\/\r\n  \/\/Setup interrupt on Touch Pad 3 (GPIO15)\r\n  touchAttachInterrupt(T3, callback, Threshold);\r\n  \/\/Configure Touchpad as wakeup source\r\n  esp_sleep_enable_touchpad_wakeup();\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-49ada40 elementor-widget elementor-widget-text-editor\" data-id=\"49ada40\" 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>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0642\u0628\u0644\u0627 \u0627\u0634\u0627\u0631\u0647 \u0634\u062f\u060c \u0628\u0631\u0627\u06cc \u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 \u062d\u0627\u0644 Deep Sleep\u060c \u0627\u0628\u062a\u062f\u0627 \u0644\u0627\u0632\u0645 \u06a9\u0647 \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u06a9\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0627 \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0644\u0645\u0633\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u062f\u0642\u06cc\u0642 \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc \u0631\u0627 \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0631 \u0635\u0648\u0631\u062a \u0644\u0645\u0633\u060c ESP32 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0628\u06cc\u062f\u0627\u0631 \u0634\u0648\u062f \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u06cc\u062f \u0622\u0646 \u067e\u0627\u06cc\u0647 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0648\u0642\u0641\u0647 \u062e\u0627\u0631\u062c\u06cc (Interrup) \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0627\u0632 \u062a\u0627\u0628\u0639 touchAttachInterrupt(Pin, Function, Threshold) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u0633\u0647 \u0648\u0631\u0648\u062f\u06cc \u062f\u0627\u0631\u062f:<\/p><ul><li>Pin: \u067e\u0627\u06cc\u0647 \u0644\u0645\u0633\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u0648\u0642\u0641\u0647 \u0631\u0648\u06cc \u0622\u0646 \u062a\u0646\u0638\u06cc\u0645 \u0634\u0648\u062f. (\u062f\u0631 \u06a9\u062f \u0645\u0627 T3)<\/li><li>Function: \u062a\u0627\u0628\u0639\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0631 \u0635\u0648\u0631\u062a \u0631\u062e \u062f\u0627\u062f\u0646 \u0648\u0642\u0641\u0647 \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f. (\u062f\u0631 \u06a9\u062f \u0645\u0627 \u062a\u0627\u0628\u0639 callback)<\/li><li>Threshold: \u0645\u0642\u062f\u0627\u0631 \u0639\u062f\u062f\u06cc \u06a9\u0647 \u0646\u0634\u0627\u0646 \u062f\u0647\u0646\u062f\u0647 \u0645\u06cc\u0632\u0627\u0646 \u062d\u0633\u0627\u0633\u06cc\u062a \u067e\u0627\u06cc\u0647 \u0644\u0645\u0633\u06cc \u0627\u0633\u062a. (\u062f\u0631 \u06a9\u062f \u0645\u0627 \u062f\u0631 \u0647\u0645\u0627\u0646 \u0627\u0628\u062a\u062f\u0627 \u0622\u0646 \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 Threshold \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645.)<\/li><\/ul><p>\u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0631\u0627\u06cc \u0628\u06cc\u0634 \u0627\u0632 \u06cc\u06a9 \u067e\u0627\u06cc\u0647 \u0644\u0645\u0633\u06cc \u0647\u0645 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645. \u062f\u0631 \u0622\u0646 \u0635\u0648\u0631\u062a \u0628\u0627 \u0644\u0645\u0633 \u0647\u0645 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u0622\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647\u060c \u0648\u0638\u06cc\u0641\u0647 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0647\u0645\u0627\u0646 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p><p>\u0628\u0639\u062f \u0627\u0632 \u0622\u0646\u060c \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 esp_sleep_enable_touchpad() \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p><p>\u062f\u0648 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f \u0639\u06cc\u0646\u0627 \u0645\u0634\u0627\u0628\u0647 \u0631\u0648\u0634 Timer \u0627\u0633\u062a. \u0627\u0628\u062a\u062f\u0627 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc\u06cc \u0631\u0627 \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0631 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0628\u0627\u0634\u0646\u062f \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0648 \u0633\u067e\u0633 ESP32 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 esp_deep_sleep_start() \u062f\u0631 \u062d\u0627\u0644\u062a Deep Sleep \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u06cc\u0645. \u067e\u0633 \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u060c ESP32 \u0628\u0647 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0631\u0641\u062a\u0647 \u0648 \u0628\u0627 \u0644\u0645\u0633 \u067e\u0627\u06cc\u0647 (\u0648 \u06cc\u0627 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc) \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u062e\u0627\u0631\u062c \u0634\u062f\u0647 \u0648 \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u0648\u0638\u0627\u06cc\u0641 \u0645\u0631\u0628\u0648\u0637\u0647 \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0647 \u062d\u0627\u0644\u062a Deep Sleep \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u062f.<\/p><p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647\u060c \u0646\u062d\u0648\u0647 \u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 \u062d\u0627\u0644\u062a Deep Sleep \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0647 \u06a9\u0645\u06a9 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0644\u0645\u0633\u06cc ESP32 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0631\u062f\u06cc\u0645. \u062f\u0631 \u0642\u0633\u0645\u062a \u0628\u0639\u062f\u060c \u0622\u062e\u0631\u06cc\u0646 \u0631\u0648\u0634 \u0628\u0631\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 ESP32 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0631\u0627 \u0646\u06cc\u0632 \u0628\u0631\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\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-c86e5b9 elementor-widget elementor-widget-heading\" data-id=\"c86e5b9\" 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\">\u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 Deep Sleep \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0627 \u0631\u0648\u0634 External Wake-up<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f89968 elementor-widget elementor-widget-text-editor\" data-id=\"7f89968\" 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\u06af\u0631 <a href=\"https:\/\/thecaferobot.com\/learn\/full-guide-to-esp32-pinout-reference-what-gpio-pins-should-we-use\/\">\u0622\u0645\u0648\u0632\u0634 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 ESP32<\/a> \u0631\u0627 \u062e\u0648\u0627\u0646\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u062d\u062a\u0645\u0627 \u062f\u0631 \u0628\u0631\u0631\u0633\u06cc \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc RTC \u0628\u0627 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u0631\u062e\u0648\u0631\u062f \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f \u06a9\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc RTC\u060c \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u0627\u0633\u062a.<\/p><p>\u062f\u0631 \u0648\u0627\u0642\u0639 \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0628\u0631\u062f ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642\u060c \u0628\u0647 \u06a9\u0645\u06a9 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc RTC \u0627\u0633\u062a. \u0627\u06cc\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627 \u062f\u0631 \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 ESP-WROOM-32 \u06a9\u0647 \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 \u0627\u0635\u0644\u06cc \u062f\u0631 \u0627\u06a9\u062b\u0631 \u0628\u0631\u062f\u0647\u0627\u06cc ESP32 \u0627\u0633\u062a\u060c \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632:<\/p><ul><li>RTC_GPIO0 (GPIO 36)<\/li><li>RTC_GPIO3 (GPIO 39)<\/li><li>RTC_GPIO4 (GPIO 34)<\/li><li>RTC_GPIO5 (GPIO 35)<\/li><li>RTC_GPIO6 (GPIO 25)<\/li><li>RTC_GPIO7 (GPIO 26)<\/li><li>RTC_GPIO8 (GPIO 33)<\/li><li>RTC_GPIO9 (GPIO 32)<\/li><li>RTC_GPIO10 (GPIO 4)<\/li><li>RTC_GPIO11 (GPIO 0)<\/li><li>RTC_GPIO12 (GPIO 2)<\/li><li>RTC_GPIO13 (GPIO 15)<\/li><li>RTC_GPIO14 (GPIO 13)<\/li><li>RTC_GPIO15 (GPIO 12)<\/li><li>RTC_GPIO16 (GPIO 14)<\/li><li>RTC_GPIO17 (GPIO 27)<\/li><\/ul>\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-366e7fa elementor-widget elementor-widget-image\" data-id=\"366e7fa\" 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=\"751\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep-RTCpins.jpg\" class=\"attachment-large size-large\" alt=\"RTC Pins\" loading=\"lazy\" srcset=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep-RTCpins.jpg 751w, https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/ESP32DeepSleep-RTCpins-501x400.jpg 501w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/>\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-2118555 elementor-widget elementor-widget-text-editor\" data-id=\"2118555\" 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\u062f\u0646 ESP32 \u0628\u0647 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0647 \u0631\u0648\u0634 External Wake-up \u062f\u0648 \u062d\u0627\u0644\u062a \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f:<\/p><ul><li><strong>ext0<\/strong><strong>: <\/strong>\u06cc\u06a9 \u067e\u0627\u06cc\u0647 \u0645\u062e\u0635\u0648\u0635 ESP32 \u0631\u0627 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u0628\u06cc\u062f\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/li><li><strong>ext1<\/strong><strong>:<\/strong>\u00a0\u0686\u0646\u062f\u06cc\u0646 \u067e\u0627\u06cc\u0647 ESP32 \u0631\u0627 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u0628\u06cc\u062f\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/li><\/ul><p>\u0627\u06cc\u0646 \u062f\u0648 \u0645\u0648\u0631\u062f \u0628\u0633\u06cc\u0627\u0631 \u0634\u0628\u06cc\u0647 \u0628\u0647 \u0647\u0645 \u0647\u0633\u062a\u0646\u062f\u060c \u0627\u0645\u0627 \u0628\u0631\u0627\u06cc \u0641\u0647\u0645 \u0628\u0647\u062a\u0631\u060c \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0631\u0627 \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p><p><strong>\u0631\u0648\u0634 <\/strong><strong>ext0:<\/strong><\/p><p>\u062f\u0631 \u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0627\u0634\u0627\u0631\u0647 \u0634\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u067e\u0627\u06cc\u0647\u060c ESP32 \u0631\u0627 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0628\u06cc\u062f\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc RTC \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0631\u062f\u0647 \u0648 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0627 LOW \u0648 \u06cc\u0627 HIGH \u0634\u062f\u0646 \u0622\u0646 \u067e\u0627\u06cc\u0647\u060c ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u062e\u0627\u0631\u062c \u0634\u0648\u062f.<\/p><p><strong>\u0631\u0648\u0634 <\/strong><strong>ext1:<\/strong><\/p><p>\u062f\u0631 \u0627\u06cc\u0646 \u0631\u0648\u0634 \u062a\u0639\u062f\u0627\u062f\u06cc \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc RTC \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0631\u062f\u0647\u060c \u0648 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0686\u0647 \u0635\u0648\u0631\u062a\u06cc \u0628\u0631\u062f ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a Deep Sleep \u062e\u0627\u0631\u062c \u0634\u0648\u062f. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062f\u0648 \u062d\u0627\u0644\u062a \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a:<\/p><ul><li>\u062a\u0645\u0627\u0645\u06cc \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647 LOW \u0634\u0648\u0646\u062f. (ESP_EXT1_WAKEUP_ALL_LOW)<\/li><li>\u062d\u062f\u0627\u0642\u0644 \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647 HIGH \u0634\u0648\u062f. (ESP_EXT1_WAKEUP_ANY_HIGH)<\/li><\/ul>\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-a1b7df7 elementor-widget elementor-widget-alert\" data-id=\"a1b7df7\" data-element_type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-alert elementor-alert-info\" role=\"alert\">\n\t\t\t<span class=\"elementor-alert-title\">\u0646\u06a9\u062a\u0647<\/span>\n\t\t\t\t\t\t\t<span class=\"elementor-alert-description\">\u0627\u0632 \u0622\u0646 \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u0628\u0627 HIGH \u0648 LOW \u0634\u062f\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627 \u0645\u0648\u0627\u062c\u0647\u200c\u0627\u06cc\u0645\u060c \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062a\u0627\u062b\u06cc\u0631 \u0646\u0648\u06cc\u0632\u060c \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u06a9\u0647 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628\u06cc \u0631\u0627 \u062d\u062a\u0645\u0627 \u062a\u0648\u0633\u0637 \u06cc\u06a9 \u0645\u0642\u0627\u0648\u0645\u062a\u060c PULL_UP \u0648 \u06cc\u0627 PULL_DOWN \u06a9\u0646\u06cc\u0645.<br>\n\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0642\u0631\u0627\u0631 \u0627\u0633\u062a LOW \u0634\u062f\u0646 \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0647\u06cc\u0645\u060c \u0622\u0646 \u067e\u0627\u06cc\u0647 \u0631\u0627 PULL_UP \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<br>\n\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0642\u0631\u0627\u0631 \u0627\u0633\u062a HIGH \u0634\u062f\u0646 \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0647\u06cc\u0645\u060c \u0622\u0646 \u067e\u0627\u06cc\u0647 \u0631\u0627 PULL_DOWN \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<br>\n\u0627\u0646\u062f\u0627\u0632\u0647 \u0645\u0642\u0627\u0648\u0645\u062a \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u06cc\u0646 1 \u06a9\u06cc\u0644\u0648\u0627\u0647\u0645 \u062a\u0627 100 \u06a9\u06cc\u0644\u0648\u0627\u0647\u0645 \u0628\u0627\u0634\u062f.<\/span>\n\t\t\t\t\t\t\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-d7f221d elementor-widget elementor-widget-heading\" data-id=\"d7f221d\" 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\">\u06a9\u062f<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-95ca22c elementor-widget elementor-widget-text-editor\" data-id=\"95ca22c\" 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\u0647 \u062f\u0644\u06cc\u0644 \u0634\u0628\u0627\u0647\u062a \u0631\u0648\u0634\u200c\u0647\u0627\u06cc ext0 \u0648 ext1\u060c \u06a9\u062f \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0622\u0646\u200c\u0647\u0627 \u062f\u0631 \u06cc\u06a9 \u06a9\u062f \u06cc\u06a9\u0633\u0627\u0646 \u062a\u0647\u06cc\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u062a\u0646\u0647\u0627 \u062a\u0641\u0627\u0648\u062a \u06a9\u062f \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 ext0 \u0648 ext1 \u062f\u0648 \u062e\u0637 \u0628\u0648\u062f\u0647 \u06a9\u0647 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0647\u0631 \u0631\u0648\u0634 \u0627\u0632 \u06a9\u062f\u0627\u0645 2 \u062e\u0637 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f.<\/p><p>\u0628\u0631\u0627\u06cc \u0628\u0631\u062f\u0646 ESP32 \u0628\u0647 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0628\u0647 \u0631\u0648\u0634 External Wake-up \u0648 \u0628\u0627 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc RTC\u060c \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc ESP32 \u062e\u0648\u062f \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-bcbfdc8 elementor-widget elementor-widget-html\" data-id=\"bcbfdc8\" 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\/* \r\nModified on Jul 12, 2021\r\nModified by MehranMaleki from Arduino Examples\r\nhttps:\/\/electropeak.com\/learn\/\r\n*\/\r\n\r\n#include \"driver\/rtc_io.h\"\r\n\r\n\r\nRTC_DATA_ATTR int bootCount = 0;\r\n\r\n\r\n\/\/Function for printing the reason by which ESP32 has been awakened from sleep\r\nvoid print_wakeup_reason(){\r\n esp_sleep_wakeup_cause_t wakeup_reason;\r\n\r\n wakeup_reason = esp_sleep_get_wakeup_cause();\r\n\r\n switch(wakeup_reason)\r\n {\r\n case ESP_SLEEP_WAKEUP_EXT0 : Serial.println(\"Wakeup caused by external signal using RTC_IO\"); break;\r\n case ESP_SLEEP_WAKEUP_EXT1 : Serial.println(\"Wakeup caused by external signal using RTC_CNTL\"); break;\r\n case ESP_SLEEP_WAKEUP_TIMER : Serial.println(\"Wakeup caused by timer\"); break;\r\n case ESP_SLEEP_WAKEUP_TOUCHPAD : Serial.println(\"Wakeup caused by touchpad\"); break;\r\n case ESP_SLEEP_WAKEUP_ULP : Serial.println(\"Wakeup caused by ULP program\"); break;\r\n default : Serial.printf(\"Wakeup was not caused by deep sleep: %d\\n\",wakeup_reason); break;\r\n }\r\n}\r\n\r\nvoid setup(){\r\n Serial.begin(115200);\r\n delay(500);\r\n\r\n \/\/Increment boot number and print it every reboot\r\n bootCount++;\r\n Serial.println(\"Boot number: \" + String(bootCount));\r\n\r\n \/\/Print the wakeup reason for ESP32\r\n print_wakeup_reason();\r\n\r\n\r\n \/*\r\n 1st Step: we should configure the wake up source:\r\n We set our ESP32 to use \"ext0 OR ext1\" to wake up\r\n *\/\r\n \/\/lines of code used for ext0\r\n \/\/rtc_gpio_pulldown_en(GPIO_NUM_33);\r\n \/\/esp_sleep_enable_ext0_wakeup(GPIO_NUM_33,1); \/\/1 = High, 0 = Low\r\n\r\n\r\n \/\/lines of code used for ext1\r\n #define BUTTON_PIN_BITMASK 0x300000000\r\n esp_sleep_enable_ext1_wakeup(BUTTON_PIN_BITMASK,ESP_EXT1_WAKEUP_ANY_HIGH);\r\n\r\n \/*\r\n 2nd step: After setting up a wake cause,\r\n we can now start going to deep sleep.\r\n *\/\r\n Serial.println(\"Going to sleep now\");\r\n delay(500);\r\n esp_deep_sleep_start();\r\n Serial.println(\"This will never be printed\");\r\n}\r\n\r\nvoid loop(){\r\n \/\/This will not be used in Deep Sleep mode.\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-4ba1a75 elementor-widget elementor-widget-text-editor\" data-id=\"4ba1a75\" 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\u0627 \u067e\u0631\u0648\u06af\u0631\u0645 \u06a9\u0631\u062f\u0646 \u0628\u0631\u062f ESP32 \u062e\u0648\u062f \u0628\u0627 \u06a9\u062f \u0628\u0627\u0644\u0627\u060c \u0627\u06cc\u0646 \u0628\u0631\u062f \u0628\u0647 \u062d\u0627\u0644\u062a Deep Sleep \u0631\u0641\u062a\u0647 \u0648<\/p><ul><li>\u0628\u0627 HIGH \u0634\u062f\u0646 \u067e\u0627\u06cc\u0647 RTC_GPIO8 \u06a9\u0647 \u0645\u0639\u0627\u062f\u0644 GPIO33 \u0627\u0633\u062a (\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0628\u0647 \u0631\u0648\u0634 ext0 \u0639\u0645\u0644 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u0645)\u060c \u0648 \u06cc\u0627<\/li><li>\u0628\u0627 HIGH \u0634\u062f\u0646 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc RTC_GPIO8 \u0648 RTC_GPIO9 \u06a9\u0647 \u0645\u0639\u0627\u062f\u0644 GPIO33 \u0648 GPIO32 \u0647\u0633\u062a\u0646\u062f (\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0628\u0647 \u0631\u0648\u0634 ext1 \u0639\u0645\u0644 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u0645)\u060c<\/li><\/ul><p>\u0627\u0632 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0628\u06cc\u062f\u0627\u0631 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p><p>\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0628\u0647 \u062a\u0648\u0636\u06cc\u062d \u06a9\u0627\u0645\u0644 \u06a9\u062f \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645. (\u062f\u0631 \u0627\u06cc\u0646 \u06a9\u062f\u060c \u0628\u0631\u0627\u06cc \u0633\u0627\u062f\u06af\u06cc \u0628\u06cc\u0634\u062a\u0631\u060c \u0645\u0631\u062d\u0644\u0647 2 \u0631\u0627 \u06a9\u0647 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0627\u0646\u062a\u062e\u0627\u0628 \u0642\u0633\u0645\u062a\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u062d\u0630\u0641 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645.)<\/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-30e4816 elementor-widget elementor-widget-html\" data-id=\"30e4816\" 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#include \"driver\/rtc_io.h\"\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bd05931 elementor-widget elementor-widget-text-editor\" data-id=\"bd05931\" 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\u0628\u062a\u062f\u0627\u06cc \u06a9\u062f\u060c \u201cdriver\/rtc_io.h\u201d \u0631\u0627 \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645. \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u067e\u06cc\u0634\u062a\u0631 \u062a\u0627\u06a9\u06cc\u062f \u0634\u062f\u060c \u062f\u0631 \u0631\u0648\u0634 External Wake-up \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u06a9\u0647 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062d\u062a\u0645\u0627 PULLUP \u0648 \u06cc\u0627 PULLDOWN \u0634\u0648\u0646\u062f. \u062f\u0631 ESP32\u060c \u0645\u0642\u0627\u0648\u0645\u062a\u200c\u0647\u0627\u06cc \u062f\u0627\u062e\u0644\u06cc \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0645\u0646\u0638\u0648\u0631 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u06cc\u0639\u0646\u06cc \u0628\u0627 \u062a\u0646\u0638\u06cc\u0645 \u067e\u0627\u06cc\u0647 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 \u06a9\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0622\u0646 \u0631\u0627 PULLDOWN \u0648 \u06cc\u0627 PULLUP \u06a9\u0631\u062f. \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u06a9\u0647 \u062e\u0637 \u201cinclude \u201cdriver\/rtc_io.h\u201d \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0636\u0627\u0641\u0647 \u0634\u0648\u062f. \u0646\u062d\u0648\u0647 PULLUP \u0648 \u06cc\u0627 PULLDOWN \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u067e\u0627\u06cc\u0647\u060c \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u06af\u0641\u062a\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\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-96cfb43 elementor-widget elementor-widget-alert\" data-id=\"96cfb43\" data-element_type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-alert elementor-alert-info\" role=\"alert\">\n\t\t\t<span class=\"elementor-alert-title\">\u0646\u06a9\u062a\u0647<\/span>\n\t\t\t\t\t\t\t<span class=\"elementor-alert-description\">\u0644\u0627\u0632\u0645 \u0628\u0647 \u0630\u06a9\u0631 \u0627\u0633\u062a \u06a9\u0647 PULLUP \u0648 PULLDOWN \u062a\u0648\u0633\u0637 \u0645\u0642\u0627\u0648\u0645\u062a\u200c\u0647\u0627\u06cc \u062f\u0627\u062e\u0644\u06cc\u060c \u062a\u0646\u0647\u0627 \u062f\u0631 \u062d\u0627\u0644\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0631\u0648\u0634 ext0 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a. \u062f\u0631 \u062d\u0627\u0644\u062a ext1 \u06a9\u0647 \u06a9\u0645\u200c\u0645\u0635\u0631\u0641\u200c\u062a\u0631\u06cc\u0646 \u062d\u0627\u0644\u062a Deep Sleep \u062f\u0631 ESP32 \u0627\u0633\u062a\u060c \u062a\u0645\u0627\u0645 \u0642\u0633\u0645\u062a \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC) \u0641\u0639\u0627\u0644 \u0646\u0645\u06cc\u200c\u0645\u0627\u0646\u062f! \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u062a\u0646\u0647\u0627 \u0642\u0633\u0645\u062a \u06a9\u0646\u062a\u0631\u0644\u0631 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC Controller) \u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u0645\u0627\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u0642\u0627\u0648\u0645\u062a\u200c\u0647\u0627\u06cc \u062f\u0627\u062e\u0644\u06cc \u0628\u0631\u0627\u06cc PULLUP \u0648 PULLDOWN \u0645\u0645\u06a9\u0646 \u0646\u06cc\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u0628\u0627\u06cc\u062f \u062e\u0648\u062f\u062a\u0627\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u062a\u0648\u0633\u0637 \u0645\u0642\u0627\u0648\u0645\u062a PULLUP \u0648 \u06cc\u0627 PULLDOWN \u06a9\u0646\u06cc\u062f.<\/span>\n\t\t\t\t\t\t\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-614a63a elementor-widget elementor-widget-text-editor\" data-id=\"614a63a\" 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\u062f\u0627\u0645\u0647 \u06a9\u062f\u060c \u0647\u0645\u0627\u0646\u0646\u062f \u0631\u0648\u0634\u200c\u200c\u0647\u0627\u06cc \u0642\u0628\u0644\u060c \u06cc\u06a9 \u0645\u062a\u063a\u06cc\u0631 \u0628\u0627 \u0641\u0631\u0645\u062a int \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u0632\u0645\u0627\u0646\u200c\u0633\u0646\u062c (RTC) \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0633\u067e\u0633\u060c \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0639\u062f \u0627\u0632 \u0647\u0631 \u0628\u0627\u0631 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32\u060c \u0639\u0644\u062a \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 \u0631\u0627 \u062f\u0631 Serial Monitor \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u06cc\u0645. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0646\u06cc\u0632 \u062f\u0631 \u0642\u0633\u0645\u062a setup \u0627\u0628\u062a\u062f\u0627 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062f\u0631 Serial Monitor \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/p><p>\u067e\u0633 \u0627\u0632 \u0637\u06cc \u0645\u0631\u0627\u062d\u0644 \u0628\u0627\u0644\u0627\u060c \u0622\u0645\u0627\u062f\u0647 \u0646\u0648\u0634\u062a\u0646 \u06a9\u062f \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0628\u0631\u062f\u0646 \u0628\u0631\u062f ESP32 \u0628\u0647 \u062d\u0627\u0644\u062a Deep Sleep \u0648 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u062a\u0648\u0633\u0637 \u0631\u0648\u0634 External Wake-up \u0647\u0633\u062a\u06cc\u0645.<\/p><p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0627\u0648\u0644 \u0628\u0627\u06cc\u062f \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u0645. \u06a9\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc ext0 \u0648 ext1 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0632\u06cc\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/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-5d5b28a elementor-widget elementor-widget-html\" data-id=\"5d5b28a\" 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\/*\r\n  1st Step: we should configure the wake up source:\r\n  We set our ESP32 to use \"ext0 OR ext1\" to wake up\r\n  *\/\r\n  lines of code used for ext0\r\n  rtc_gpio_pulldown_en(GPIO_NUM_33);\r\n  esp_sleep_enable_ext0_wakeup(GPIO_NUM_33,1); \/\/1 = High, 0 = Low\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2aa8797 elementor-widget elementor-widget-text-editor\" data-id=\"2aa8797\" 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 \u062d\u0627\u0644\u062a ext0 \u0628\u0627\u06cc\u062f \u0627\u0632 \u062e\u0637 \u062f\u0633\u062a\u0648\u0631 esp_sleep_enable_ext0_wakeup(GPIO_NUM_X, mode) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u062f\u0631 \u0648\u0631\u0648\u062f\u06cc \u0627\u0648\u0644 \u0634\u0645\u0627\u0631\u0647 \u067e\u0627\u06cc\u0647 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0648 \u062f\u0631 \u0648\u0631\u0648\u062f\u06cc \u062f\u0648\u0645 \u062d\u0627\u0644\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0627\u0639\u062b \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0627\u0632 Deep Sleep \u0627\u0633\u062a \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f. \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u0627\u0648\u0644\u060c \u0634\u0645\u0627\u0631\u0647 \u067e\u0627\u06cc\u0647 \u0645\u0648\u0631\u062f \u0646\u0638\u0631\u062a\u0627\u0646 \u0631\u0627 \u062c\u0627\u06cc X \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. \u0648\u0631\u0648\u062f\u06cc mode \u0646\u06cc\u0632 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f HIGH \u0648 \u06cc\u0627 LOW \u0628\u0627\u0634\u062f.<\/p><p>\u0628\u0631\u0627\u06cc PULLUP \u0648 \u06cc\u0627 PULLDOWN \u0628\u0627 \u0645\u0642\u0627\u0648\u0645\u062a \u062f\u0627\u062e\u0644\u06cc \u0646\u06cc\u0632 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0632 \u062e\u0637 \u062f\u0633\u062a\u0648\u0631 rtc_gpio_pullup_en(GPIO_NUM_X) \u0648 rtc_gpio_pulldown_en(GPIO_NUM_X) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\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-6389ede elementor-widget elementor-widget-html\" data-id=\"6389ede\" 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 \/\/lines of code used for ext1\r\n  #define BUTTON_PIN_BITMASK 0x300000000\r\n  esp_sleep_enable_ext1_wakeup(BUTTON_PIN_BITMASK,ESP_EXT1_WAKEUP_ANY_HIGH);\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4f27555 elementor-widget elementor-widget-text-editor\" data-id=\"4f27555\" 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 \u062d\u0627\u0644\u062a ext1\u060c \u0627\u0628\u062a\u062f\u0627 \u0644\u0627\u0632\u0645 \u0628\u0647 \u0630\u06a9\u0631 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627\u06cc\u062f PULLUP \u0648 PULLDOWN \u06a9\u0631\u062f\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631\u062a\u0627\u0646 \u0631\u0627 \u062e\u0648\u062f\u062a\u0627\u0646 \u062a\u0648\u0633\u0637 \u0645\u0642\u0627\u0648\u0645\u062a \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f \u0648 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0647 \u06a9\u0645\u06a9 \u0645\u0642\u0627\u0648\u0645\u062a\u200c\u0647\u0627\u06cc \u062f\u0627\u062e\u0644\u06cc ESP32 \u0645\u0645\u06a9\u0646 \u0646\u06cc\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 \u0627\u0632 Deep Sleep \u0628\u0627\u06cc\u062f \u0627\u0632 \u062e\u0637 \u062f\u0633\u062a\u0648\u0631 esp_sleep_enable_ext1_wakeup(BUTTON_PIN_BITMASK, mode) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u062f\u0631 \u0648\u0631\u0648\u062f\u06cc \u0627\u0648\u0644 \u06cc\u06a9 \u0639\u062f\u062f \u0628\u0647 \u0635\u0648\u0631\u062a hex \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0646\u0634\u0627\u0646\u200c\u062f\u0647\u0646\u062f\u0647 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0627\u0633\u062a. \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u06cc\u0646 \u0631\u0627\u0647 \u0628\u0631\u0627\u06cc \u0641\u0647\u0645 \u0646\u062d\u0648\u0647 \u0633\u0627\u062e\u062a \u0627\u06cc\u0646 \u0639\u062f\u062f \u0646\u0648\u0634\u062a\u0646 \u0622\u0646 \u0628\u0647 \u0635\u0648\u0631\u062a \u0628\u0627\u06cc\u0646\u0631\u06cc \u0627\u0633\u062a. \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631:<\/p><p>0000 0011 0000 0000 0000 0000 0000 0000 0000 0000<\/p><p>\u0647\u0631 \u0631\u0642\u0645 \u0627\u06cc\u0646 \u0639\u062f\u062f \u0628\u0627\u06cc\u0646\u0631\u06cc 40 \u0631\u0642\u0645\u06cc\u060c \u0646\u0645\u0627\u06cc\u0646\u062f\u0647 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc GIPO0 \u062a\u0627 GPIO39 \u0627\u0633\u062a. \u0628\u0627 \u06cc\u06a9 \u06a9\u0631\u062f\u0646 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u0627\u06cc\u0646 \u0639\u062f\u062f\u0647\u0627\u060c \u062f\u0631 \u0648\u0627\u0642\u0639 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u06a9\u0647 \u0622\u0646 \u067e\u0627\u06cc\u0647 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc \u0628\u0631\u0627\u06cc \u0631\u0648\u0634 ext1 \u062f\u0631 \u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u06cc\u0645. \u0633\u067e\u0633 \u0639\u062f\u062f \u0628\u0627\u06cc\u0646\u0631\u06cc \u0628\u062f\u0633\u062a \u0622\u0645\u062f\u0647 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a hex \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0631\u062f\u0647 \u0648 \u062f\u0631 \u06a9\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0645\u062b\u0627\u0644 \u0645\u0627\u060c \u0627\u06cc\u0646 \u0639\u062f\u062f 0x30000000 \u0628\u0648\u062f\u0647 \u0627\u0633\u062a. (GPIO32 \u0648 GPIO33)<\/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-fa299af elementor-widget elementor-widget-alert\" data-id=\"fa299af\" data-element_type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-alert elementor-alert-info\" role=\"alert\">\n\t\t\t<span class=\"elementor-alert-title\">\u0646\u06a9\u062a\u0647<\/span>\n\t\t\t\t\t\t\t<span class=\"elementor-alert-description\">\u062f\u0642\u062a \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628\u06cc \u062d\u062a\u0645\u0627 \u0627\u0632 \u0628\u06cc\u0646 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc RTC \u0628\u0627\u0634\u0646\u062f.<\/span>\n\t\t\t\t\t\t\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-218f4f0 elementor-widget elementor-widget-text-editor\" data-id=\"218f4f0\" 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>\u0648\u0631\u0648\u062f\u06cc \u062f\u0648\u0645 \u062f\u0633\u062a\u0648\u0631 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0646\u06cc\u0632 mode \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f ESP_EXT1_WAKEUP_ALL_LOW \u0648 \u06cc\u0627 ESP_EXT1_WAKEUP_ANY_HIGH \u0628\u0627\u0634\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-b218622 elementor-widget elementor-widget-html\" data-id=\"b218622\" 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\/*\r\n  2nd step: After setting up a wake cause,\r\n  we can now start going to deep sleep.\r\n  *\/\r\n  Serial.println(\"Going to sleep now\");\r\n  delay(500);\r\n  esp_deep_sleep_start();\r\n  Serial.println(\"This will never be printed\");\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-79d09f0 elementor-widget elementor-widget-text-editor\" data-id=\"79d09f0\" 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\u0633 \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0627\u0645\u0644 \u0631\u0648\u0634 \u0628\u06cc\u062f\u0627\u0631 \u0634\u062f\u0646 ESP32 \u0627\u0632 \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u062d\u0627\u0644\u062a Deep Sleep \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0646\u06cc\u0632 \u0639\u06cc\u0646\u0627 \u0645\u0634\u0627\u0628\u0647 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0642\u0628\u0644 \u0639\u0645\u0644 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p><p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646 Deep Sleep \u062f\u0631 \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 ESP32 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0631\u062f\u06cc\u0645 \u0648 \u0627\u0632\u06cc\u0646 \u067e\u0633 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a\u060c \u0628\u0647 \u0628\u0647\u06cc\u0646\u0647\u200c\u062a\u0631\u06cc\u0646 \u0634\u06a9\u0644 \u0645\u0645\u06a9\u0646\u060c \u0645\u0635\u0631\u0641 \u0627\u0646\u0631\u0698\u06cc \u062f\u0631 \u0627\u06cc\u0646 \u0645\u06cc\u06a9\u0631\u0648\u06a9\u0646\u062a\u0631\u0644\u0631 \u0631\u0627 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u06cc\u0645.<\/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-100eac4 elementor-widget elementor-widget-heading\" data-id=\"100eac4\" 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\">\u06cc\u06a9 \u06af\u0627\u0645 \u062c\u0644\u0648\u062a\u0631<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-23e4188 elementor-widget elementor-widget-text-editor\" data-id=\"23e4188\" 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\u0627 \u0627\u062a\u0635\u0627\u0644 \u06cc\u06a9 \u0633\u0646\u0633\u0648\u0631 \u062f\u0645\u0627 \u0648 \u0645\u0627\u0698\u0648\u0644 SD card \u0628\u0647 \u06cc\u06a9 \u0628\u0631\u062f \u00a0ESP32\u060c \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0627\u06cc \u0637\u0631\u0627\u062d\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0647\u0631 6 \u0633\u0627\u0639\u062a \u06cc\u06a9 \u0628\u0627\u0631 ESP32 \u0627\u0632 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0628\u06cc\u062f\u0627\u0631 \u0634\u0648\u062f. \u062f\u0645\u0627\u06cc \u0647\u0648\u0627 \u0631\u0627 \u062e\u0648\u0627\u0646\u062f\u0647\u060c \u0622\u0646 \u0631\u0627 \u062f\u0631 SD card \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u062f \u0648 \u0633\u067e\u0633 \u0628\u0647 \u062d\u0627\u0644\u062a \u062e\u0648\u0627\u0628 \u0639\u0645\u06cc\u0642 \u0628\u0631\u06af\u0631\u062f\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\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>\u0645\u0642\u062f\u0645\u0647 \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc\u200c\u062f\u0627\u0646\u06cc\u062f\u060c \u0627\u0645\u0631\u0648\u0632\u0647 \u0628\u0631\u062f ESP32 \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc \u0634\u06af\u0641\u062a\u200c\u0627\u0646\u06af\u06cc\u0632\u06cc \u06a9\u0647 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f\u060c \u0628\u0633\u06cc\u0627\u0631 \u0645\u0648\u0631\u062f \u062a\u0648\u062c\u0647 \u0648 \u0627\u0633\u062a\u0642\u0628\u0627\u0644 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc\u06cc \u0647\u0645\u0686\u0648\u0646 \u0628\u0644\u0648\u062a\u0648\u062b \u0648 \u0648\u0627\u06cc\u200c\u0641\u0627\u06cc \u0628\u0647 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u060c \u0627\u06cc\u0646 \u0628\u0631\u062f \u0631\u0627 \u0628\u0647 \u06af\u0632\u06cc\u0646\u0647\u200c\u0627\u06cc \u0639\u0627\u0644\u06cc \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u0646\u0648\u0627\u0639 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0627\u0634\u06cc\u0627 (Internet of Things \u06cc\u0627 \u0628\u0647 \u0627\u062e\u062a\u0635\u0627\u0631 IoT) \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0631\u062f\u0647 [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":27783,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4753],"tags":[4815,4814],"platform":[2732],"bytype":[1076],"difficulty":[1077],"related_products":[3676,3283,3677,3678,4734,3681,3679,3680,4736,4731,4735],"featured_image_src":{"landsacpe":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/Demo.jpg",1200,895,false],"list":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/Demo.jpg",1200,895,false],"medium":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/Demo-536x400.jpg",536,400,true],"full":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/Demo.jpg",1200,895,false]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v14.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0628\u0631\u0631\u0633\u06cc \u062d\u0627\u0644\u062a Deep Sleep \u062f\u0631 \u0628\u0631\u062f ESP32 \u0648 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 - \u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a<\/title>\n<meta name=\"description\" content=\"\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u06cc\u0627\u062f \u0645\u06cc \u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 ESP32 \u0631\u0627 \u0628\u0627 \u0633\u0647 \u0631\u0648\u0634 \u0645\u062e\u062a\u0644\u0641 \u062f\u0631 \u062d\u0627\u0644\u062a Deep Sleep \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f \u0648 \u0686\u06af\u0648\u0646\u0647 \u0622\u0646 \u0631\u0627 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0646\u06cc\u062f. \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u0633\u0647 \u067e\u06cc\u0646 \u0627\u0648\u062a \u0648 \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\/esp32-deep-sleep-and-its-wake-up-sources\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0628\u0631\u0631\u0633\u06cc \u062d\u0627\u0644\u062a Deep Sleep \u062f\u0631 \u0628\u0631\u062f ESP32 \u0648 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0622\u0646 - \u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"og:description\" content=\"\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u06cc\u0627\u062f \u0645\u06cc \u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 ESP32 \u0631\u0627 \u0628\u0627 \u0633\u0647 \u0631\u0648\u0634 \u0645\u062e\u062a\u0644\u0641 \u062f\u0631 \u062d\u0627\u0644\u062a Deep Sleep \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f \u0648 \u0686\u06af\u0648\u0646\u0647 \u0622\u0646 \u0631\u0627 \u0628\u06cc\u062f\u0627\u0631 \u06a9\u0646\u06cc\u062f. \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u0633\u0647 \u067e\u06cc\u0646 \u0627\u0648\u062a \u0648 \u06a9\u062f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/\" \/>\n<meta property=\"og:site_name\" content=\"\u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-15T10:23:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-21T12:07:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/Demo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"895\" \/>\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\/esp32-deep-sleep-and-its-wake-up-sources\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2023\/05\/Demo.jpg\",\"width\":1200,\"height\":895},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/#webpage\",\"url\":\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/\",\"name\":\"\\u0628\\u0631\\u0631\\u0633\\u06cc \\u062d\\u0627\\u0644\\u062a Deep Sleep \\u062f\\u0631 \\u0628\\u0631\\u062f ESP32 \\u0648 \\u0631\\u0648\\u0634\\u200c\\u0647\\u0627\\u06cc \\u0628\\u06cc\\u062f\\u0627\\u0631 \\u06a9\\u0631\\u062f\\u0646 \\u0622\\u0646 - \\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/#primaryimage\"},\"datePublished\":\"2023-05-15T10:23:36+00:00\",\"dateModified\":\"2023-05-21T12:07:14+00:00\",\"description\":\"\\u062f\\u0631 \\u0627\\u06cc\\u0646 \\u0622\\u0645\\u0648\\u0632\\u0634\\u060c \\u06cc\\u0627\\u062f \\u0645\\u06cc \\u06af\\u06cc\\u0631\\u06cc\\u062f \\u0686\\u06af\\u0648\\u0646\\u0647 ESP32 \\u0631\\u0627 \\u0628\\u0627 \\u0633\\u0647 \\u0631\\u0648\\u0634 \\u0645\\u062e\\u062a\\u0644\\u0641 \\u062f\\u0631 \\u062d\\u0627\\u0644\\u062a Deep Sleep \\u0642\\u0631\\u0627\\u0631 \\u062f\\u0647\\u06cc\\u062f \\u0648 \\u0686\\u06af\\u0648\\u0646\\u0647 \\u0622\\u0646 \\u0631\\u0627 \\u0628\\u06cc\\u062f\\u0627\\u0631 \\u06a9\\u0646\\u06cc\\u062f. \\u0647\\u0645\\u0631\\u0627\\u0647 \\u0628\\u0627 \\u0633\\u0647 \\u067e\\u06cc\\u0646 \\u0627\\u0648\\u062a \\u0648 \\u06a9\\u062f\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/#webpage\"},\"author\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/66714d7ed628304044d2655e23cc2f51\"},\"headline\":\"\\u0628\\u0631\\u0631\\u0633\\u06cc \\u062d\\u0627\\u0644\\u062a Deep Sleep \\u062f\\u0631 \\u0628\\u0631\\u062f ESP32 \\u0648 \\u0631\\u0648\\u0634\\u200c\\u0647\\u0627\\u06cc \\u0628\\u06cc\\u062f\\u0627\\u0631 \\u06a9\\u0631\\u062f\\u0646 \\u0622\\u0646\",\"datePublished\":\"2023-05-15T10:23:36+00:00\",\"dateModified\":\"2023-05-21T12:07:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/#primaryimage\"},\"keywords\":\"Deep Sleep,ESP32\",\"articleSection\":\"\\u0622\\u0645\\u0648\\u0632\\u0634\\u200c\\u0647\\u0627\\u06cc \\u067e\\u0627\\u06cc\\u0647\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/esp32-deep-sleep-and-its-wake-up-sources\/#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\/27662"}],"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=27662"}],"version-history":[{"count":98,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/27662\/revisions"}],"predecessor-version":[{"id":27966,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/27662\/revisions\/27966"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media\/27783"}],"wp:attachment":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media?parent=27662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/categories?post=27662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/tags?post=27662"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/platform?post=27662"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/bytype?post=27662"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/difficulty?post=27662"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/related_products?post=27662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}