
{"id":7129,"date":"2018-04-23T18:18:52","date_gmt":"2018-04-23T09:18:52","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=7129"},"modified":"2018-09-07T14:43:33","modified_gmt":"2018-09-07T05:43:33","slug":"esp8266-esp-restart%e5%95%8f%e9%a1%8c%e3%81%a8%e3%83%87%e3%82%a3%e3%83%bc%e3%83%97%e3%82%b9%e3%83%aa%e3%83%bc%e3%83%97%e5%be%a9%e5%b8%b0%e3%81%ae%e6%a4%9c%e5%87%ba%e3%81%a8wroom-02d","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=7129","title":{"rendered":"ESP8266 ESP.restart()\u554f\u984c\u3068\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u5fa9\u5e30\u306e\u691c\u51fa\u3068WROOM-02D"},"content":{"rendered":"<h1>\u6982\u8981<\/h1>\n<p>ESP-WROOM-02\u3092\u4f7f\u3063\u305f\u6e29\u5ea6\u6e2c\u5b9a\u306e\u4ed5\u7d44\u307f\u3092\u4f5c\u3063\u305f\u308a\u76f4\u3057\u305f\u308a\u3057\u3066\u3044\u308b\u304c\u3001ESP8266 Core for Arduino\u00a0 (2.4.1\u7248)\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u906d\u9047\u3057\u305f\u5c0f\u30cd\u30bf\u3092\u5c11\u3057\u3070\u304b\u308a\u3002<\/p>\n<figure id=\"attachment_7068\" aria-describedby=\"caption-attachment-7068\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/6244a50148e1b747eff5f0a27928aeb5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7068\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/6244a50148e1b747eff5f0a27928aeb5-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7068\" class=\"wp-caption-text\">AE-ESP-WROOM-02 2015\u5e7410\u6708\u8cfc\u5165\u306e\u3082\u306e\u3067\u304f\u305f\u3073\u308c\u6c17\u5473<\/figcaption><\/figure>\n<figure id=\"attachment_7141\" aria-describedby=\"caption-attachment-7141\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/5937e218db0dca8d002dad71614becae.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7141\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/5937e218db0dca8d002dad71614becae-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7141\" class=\"wp-caption-text\">ESP-WROOM-02D 2018\u5e744\u6708\u306b\u8cfc\u5165\u3057\u305f\u3070\u304b\u308a\u3002\u306f\u3093\u3060\u4ed8\u3051\u3059\u308b\u524d<\/figcaption><\/figure>\n<p>\u30cd\u30bf\u3068\u3057\u3066\u306f\u3001<\/p>\n<ul>\n<li>ESPClass::restart() \u3067\u30ea\u30b9\u30bf\u30fc\u30c8\u3057\u306a\u3044\u554f\u984c<\/li>\n<li>\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u4e2d\u306eRST\u30d4\u30f3\u64cd\u4f5c\u3067\u306e\u5fa9\u5e30\u691c\u51fa<\/li>\n<li>EN\u30d4\u30f3\u3092\u30ea\u30bb\u30c3\u30c8\u306b\u4f7f\u3046\u8a71<\/li>\n<li>WROOM-02D\u3092\u306f\u3093\u3060\u4ed8\u3051\u3057\u305f\u8a71<\/li>\n<\/ul>\n<p>\u306a\u3069\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u52d5\u4f5c\u78ba\u8a8d\u306e\u305f\u3081\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u56de\u8def\u3092\u4f7f\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_7134\" aria-describedby=\"caption-attachment-7134\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/WROOM02-TEST.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7134\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/WROOM02-TEST-552x345.png\" alt=\"\" width=\"552\" height=\"345\" \/><\/a><figcaption id=\"caption-attachment-7134\" class=\"wp-caption-text\">AE-ESP-WROOM-02-TEST<\/figcaption><\/figure>\n<p>\u4e0a\u306e\u56de\u8def\u56f3\u306e\u3088\u3046\u306b\u3001ESP-WROOM-02\u3092\u5b9f\u88c5\u6e08\u306e\u79cb\u6708\u96fb\u5b50\u306e\u30d4\u30c3\u30c1\u5909\u63db\u57fa\u677f(AE-ESP-WROOM-02)\u3092\u4e2d\u5fc3\u306b\u3001\u5fc5\u8981\u306a\u62b5\u6297\u3001\u30b3\u30f3\u30c7\u30f3\u30b5\u3001LED\u304a\u3088\u3073\u30bf\u30af\u30c8\u30b9\u30a4\u30c3\u30c1\u3092\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u8f09\u305b\u3001\u96fb\u6e90\u306f\u5916\u90e8\u304b\u3089+3.3V\u3092\u4e0e\u3048\u305f\u3002<\/p>\n<p>\u4eca\u307e\u3067\u8f09\u305b\u305f\u56de\u8def\u3068\u6bd4\u3079\u308b\u3068\u3001EN\u30d4\u30f3\u306b\u30b9\u30a4\u30c3\u30c1(EN-SW)\u3092\u8ffd\u52a0\u3057\u3066\u3044\u308b\u306e\u304c\u5909\u66f4\u70b9\u3067\u3001\u3053\u306e\u30b9\u30a4\u30c3\u30c1\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3059\u308b\u3002<\/p>\n<p><strong>ESP-WROOM-02\u00a0<\/strong><strong>Datasheet (Version2.6)<\/strong>\u00a0\u306e<em>Figure 5-2. ESP-WROOM-02 Peripheral Schematics\u3001<\/em>\u00a0\u304a\u3088\u3073\u3001<strong>ESP8266 System Description (Version 2.2)<\/strong>\u306e<em>1.4.2. Power-on Sequence and Power Reset<\/em> \u306b\u5f93\u3063\u3066\u3001EN\u3068+3.3V\u9593\u306b\u306f0.1\u03bcF\u306e\u30bb\u30e9\u30df\u30c3\u30af\u30b3\u30f3\u30c7\u30f3\u30b5\u3092\u306f\u3055\u3093\u3067RC\u9045\u5ef6\u56de\u8def\u3092\u69cb\u6210\u3057\u3001\u96fb\u6e90\u30aa\u30f3\u304b\u3089EN = H\u3068\u306a\u308b\u307e\u3067\u306b\u82e5\u5e72\u306e\u6642\u9593\u3092\u7a3c\u3044\u3067\u3044\u308b\u3002<\/p>\n<p>\u307e\u305f\u3001GPIO0\u3068GND\u9593\u306bSW1\u3001RST\u3068GND\u9593\u306b\u30ea\u30bb\u30c3\u30c8\u7528\u306eRST-SW\u3092\u914d\u7f6e\u3057\u3066\u304a\u308a\u3001SW1\u3092\u62bc\u3057\u305f\u307e\u307eRST-SW\u3092\u62bc\u3057\u5148\u306bRST-SW\u3092\u96e2\u3057\u3066\u304b\u3089SW1\u3092\u96e2\u3059\u3053\u3068\u3067UART\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30e2\u30fc\u30c9\u3068\u306a\u308b\u3002\u30d6\u30fc\u30c8\u3057\u3066\u3057\u307e\u3048\u3070SW1\u306f\u597d\u304d\u306a\u3088\u3046\u306b\u4f7f\u3048\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u62bc\u4e0b\u691c\u51fa\u7528\u306e\u30b9\u30a4\u30c3\u30c1\u3068\u3057\u3066\u4f7f\u3046\u3002<\/p>\n<h1>ESP.restart() \u554f\u984c<\/h1>\n<p>\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306b\u30b9\u30b1\u30c3\u30c1\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u76f4\u5f8c\u3001ESP.restart() \u3092\u5b9f\u884c\u3057\u3066\u3082\u6b63\u3057\u304f\u52d5\u4f5c\u3057\u306a\u304b\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u305f\u3002\u691c\u7d22\u3057\u3066\u307f\u308b\u3068\u3001<a href=\"https:\/\/github.com\/esp8266\/Arduino\/issues\/1722\" target=\"_blank\" rel=\"noopener\">\u6bd4\u8f03\u7684\u6709\u540d\u306a\u554f\u984c\u70b9<\/a>\u306e\u3088\u3046\u3060\u3063\u305f\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u7528\u306b\u4ee5\u4e0b\u306e\u30b9\u30b1\u30c3\u30c1\u3092\u4f7f\u3063\u305f\u3002setup() \u3067LED1\u3092\u70b9\u706f\u3057\u3001loop() \u3067\u306f200msec\u3054\u3068\u306bSW1\u306e\u691c\u51fa\u3092\u884c\u3046\u3002<em>digitalRead(SW1);<\/em> \u306f\u62bc\u4e0b\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u306b0\u3092\u8fd4\u3059\u306e\u3067\u3001\u305d\u306e\u3068\u304d <em>ESP.restart();<\/em>\u00a0 \u3092\u5b9f\u65bd\u3059\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\">#include &lt;ESP.h&gt;\r\nextern \"C\" {\r\n  #include \"user_interface.h\"\r\n}\r\n#define LED 15\r\n#define SW1  0\r\nvoid setup() {\r\n  pinMode(LED, OUTPUT);\r\n  digitalWrite(LED, 1);\r\n  pinMode(SW1, INPUT);  \r\n  Serial.begin(74880);\r\n  rst_info *prst = ESP.getResetInfoPtr();\r\n  Serial.printf(\"reset reason = %d, %s\\n\", prst-&gt;reason, ESP.getResetReason().c_str());\r\n}\r\nvoid loop() {\r\n  delay(200);\r\n  if (digitalRead(SW1) == 0) {\r\n    ESP.restart();\r\n  \/\/  ESP.deepSleep(2 * 1000 * 1000);\r\n  }\r\n  Serial.print(\".\");\r\n}<\/pre>\n<p>(\u6700\u521d\u306b\u63b2\u8f09\u3057\u305f\u30b9\u30b1\u30c3\u30c1\u3067\u306f\u3001<em>ESP.deepSleep();<\/em> \u306e\u5f15\u6570\u304c2000\u79d2\u9593\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u4fee\u6b63\u3057\u305f)\u3002<\/p>\n<p>\u306a\u304a\u3001\u30d6\u30fc\u30c8\u6642\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u6b8b\u308b\u3088\u3046\u30b7\u30ea\u30a2\u30eb\u30b9\u30d4\u30fc\u30c9\u306f74880bps\u3068\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u30b9\u30b1\u30c3\u30c1\u3092\u30d3\u30eb\u30c9\u3057\u3066WROOM-02\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n<pre class=\"lang:default decode:true\">(\u6587\u5b57\u5316\u3051)reset reason = 6, External System(\u6587\u5b57\u5316\u3051) \r\n.................<\/pre>\n<p>\u30d4\u30ea\u30aa\u30c9\u304c\u9023\u7d9a\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u304b\u3089\u3001loop() \u306f\u56de\u3063\u3066\u3044\u308b\u3060\u308d\u3046\u3002\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b reset reason = 6 \u306f\u30b9\u30b1\u30c3\u30c1\u306b\u3088\u3063\u3066\u51fa\u529b\u3057\u3066\u3044\u308b\u3002<br \/>\n\u3053\u3053\u3067\u3001SW1\u3092\u62bc\u4e0b\u3057\u3066 <em>ESP.restart();<\/em>\u00a0\u3055\u305b\u3066\u307f\u308b\u3068\u4e00\u9023\u306e\u6587\u5b57\u5316\u3051\u304c\u8868\u793a\u3055\u308c\u3057\u3070\u3089\u304f\u3059\u308b\u3068LED\u304c\u6d88\u706f\u3057\u305f\u3002\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u306f\u30ea\u30b9\u30bf\u30fc\u30c8\u6642\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u8868\u793a\u3055\u308c\u305a\u30d4\u30ea\u30aa\u30c9\u3082\u8868\u793a\u3055\u308c\u306a\u3044\u3002\u4f55\u304b\u7570\u5e38\u306a\u72b6\u614b\u306b\u9665\u3063\u305f\u307e\u307e\u30d5\u30ea\u30fc\u30ba\u3057\u305f\u3088\u3046\u306b\u898b\u3048\u308b\u3002<\/p>\n<p>\u3060\u304c\u3001\u4e00\u5ea6RST-SW\u3092\u62bc\u3057\u3066\u3084\u308a\u3001\u305d\u306e\u5f8cSW1\u3092\u62bc\u3059\u3053\u3068\u3092\u7e70\u308a\u8fd4\u3059\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\"> ets Jan  8 2013,rst cause:2, boot mode:(3,6)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 6, External System\r\n......\r\n(\u6587\u5b57\u5316\u3051)reset reason = 4, Software\/System restart\r\n.................\r\n(\u6587\u5b57\u5316\u3051)reset reason = 4, Software\/System restart\r\n......\r\n(\u6587\u5b57\u5316\u3051)reset reason = 4, Software\/System restart\r\n....<\/pre>\n<p>SW1\u3092\u62bc\u4e0b\u3059\u308b\u305f\u3073\u3054\u3068\u306b\u00a0<em>ESP.restart()<\/em> \u306b\u3088\u308b\u518d\u8d77\u52d5\u3092\u7e70\u308a\u8fd4\u3059\u3057\u3001\u30ea\u30b9\u30bf\u30fc\u30c8\u8981\u56e0\u3082 4 \u3092\u8fd4\u3057\u3066\u304f\u308c\u308b\u3002\u3053\u308c\u306f\u610f\u56f3\u901a\u308a\u3002<\/p>\n<p><em>ESP.restart()<\/em> \u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u30d3\u30eb\u30c9\u3057\u305f\u30b9\u30b1\u30c3\u30c1\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5f8c\u306b\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u306a\u308a\u96fb\u6e90\u3092\u5165\u308c\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3060\u3002\u3075\u3064\u3046\u306b\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3070\u30b9\u30b1\u30c3\u30c1\u306e\u6295\u5165\u5f8c\u306b\u30ea\u30bb\u30c3\u30c8\u304b\u96fb\u6e90\u30aa\u30f3\u3092\u884c\u3046\u306f\u305a\u306a\u306e\u3067\u554f\u984c\u306a\u3055\u305d\u3046\u3067\u306f\u3042\u308b\u304c\u3001\u30b9\u30b1\u30c3\u30c1\u306e\u4fee\u6b63\u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u7e70\u308a\u8fd4\u3057\u3001\u306a\u304a\u304b\u3064 <em>ESP.restart();<\/em> \u3092\u542b\u3093\u3060\u30b3\u30fc\u30c9\u3092\u8d70\u3089\u305b\u3066\u3044\u308b\u3068\u3053\u3046\u3044\u3046\u306e\u306b\u906d\u9047\u3057\u305f\u308a\u3059\u308b\u3002\u30d5\u30e9\u30c3\u30b7\u30e5\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u76f4\u5f8c\u306b\u3053\u306e\u3088\u3046\u306a\u6319\u52d5\u3092\u3059\u308b\u7406\u7531\u306f\u5206\u304b\u3089\u306a\u3044\u306e\u3060\u304c\u3001\u30ea\u30bb\u30c3\u30c8\u5fc5\u9808\u3068\u899a\u3048\u3066\u304a\u304f\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n<p><em>\u306a\u304a\u3001ESP.getResetInfoPtr();<\/em> \u3067\u5f97\u3089\u308c\u308b\u30ea\u30b9\u30bf\u30fc\u30c8\u8981\u56e0\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 (\u00a0<strong><em>ESP8266 Non-OS SDK\u00a0<\/em><em>API Reference\u00a0 Version 2.2<\/em> <\/strong>) \u306b\u66f8\u304b\u308c\u3066\u304a\u308a\u3001rst_info\u69cb\u9020\u4f53\u306e reason \u306b\u306f\u30ea\u30b9\u30bf\u30fc\u30c8\u8981\u56e0\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u5024\u304c\u683c\u7d0d\u3055\u308c\u308b\u3068\u306e\u3053\u3068\u3002<\/p>\n<pre class=\"lang:default decode:true\">enum rst_reason {\r\nREANSON_DEFAULT_RST = 0, \/\/ \u30ce\u30fc\u30de\u30eb\u30b9\u30bf\u30fc\u30c8\u3002\u96fb\u6e90\u30aa\u30f3\u306a\u3069\u3002\r\nREANSON_WDT_RST = 1, \/\/ \u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30a6\u30a9\u30c3\u30c1\u30c9\u30c3\u30b0\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8\r\nREANSON_EXCEPTION_RST = 2, \/\/ \u4f8b\u5916\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8\u3002GPIO\u72b6\u614b\u306f\u5909\u5316\u3057\u306a\u3044\r\nREANSON_SOFT_WDT_RST = 3, \/\/ \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a6\u30a9\u30c3\u30c1\u30c9\u30c3\u30b0\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8\u3002GPIO\u72b6\u614b\u306f\u5909\u5316\u3057\u306a\u3044\r\nREANSON_SOFT_RESTART = 4, \/\/ \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8\u3002GPIO\u72b6\u614b\u306f\u5909\u5316\u3057\u306a\u3044\r\nREANSON_DEEP_SLEEP_AWAKE= 5, \/\/ \u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u5fa9\u5e30\r\nREANSON_EXT_SYS_RST = 6, \/\/ \u5916\u90e8\u8981\u56e0(RST\u30d4\u30f3)\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8\u3002\r\n};<\/pre>\n<h1>\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u4e2d\u306e\u30ea\u30b9\u30bf\u30fc\u30c8\u7406\u7531\u306e\u691c\u51fa<\/h1>\n<p>\u4e0a\u8a18\u306e\u30b9\u30b1\u30c3\u30c1\u306e\u4e2d\u306e\u300118\u884c\u76ee( <em>ESP.restart()<\/em> )\u3092\u30b3\u30e1\u30f3\u30c8\u3068\u3057\u3001\u6b21\u306e\u884c\u306e <em>ESP.deepSleep(&#8230;);<\/em> \u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001SW1\u3092\u62bc\u4e0b\u3059\u308b\u305f\u3073\u3054\u3068\u306b2\u79d2\u9593\u306e\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u306b\u5165\u308b\u3088\u3046\u306b\u306a\u308b\u3002\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u4e2d\u306fLED\u304c\u6d88\u706f\u3059\u308b\u306e\u3067\u305d\u308c\u3068\u5206\u304b\u308b\u3002<\/p>\n<p>\u30b9\u30b1\u30c3\u30c1\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5f8c\u3001\u30dc\u30fc\u30c9\u306e\u96fb\u6e90\u3092\u30aa\u30d5\u306b\u3057\u3066\u304b\u3089\u30aa\u30f3\u306b\u3057\u3066\u3084\u308a\u3001\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u958b\u59cb\uff5e\u7d42\u4e86\u306e\u69d8\u5b50\u3092\u898b\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\"> ets Jan  8 2013,rst cause:1, boot mode:(3,0)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 0, Power on\r\n............\r\n ets Jan  8 2013,rst cause:2, boot mode:(3,6)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 5, Deep-Sleep Wake\r\n.........................<\/pre>\n<p>\u307e\u305a\u3001\u96fb\u6e90\u6295\u5165\u306b\u3088\u3063\u3066\u30b9\u30bf\u30fc\u30c8\u3059\u308b(<em> reset reason == 0 , REANSON_DEFAULT_RST<\/em>\u00a0)\u3002\u305d\u3057\u3066\u3001LED\u70b9\u706f\u4e2d( loop() \u304c\u56de\u3063\u3066\u3044\u308b\u72b6\u614b)\u306bSW1\u3092\u62bc\u4e0b\u3059\u308b\u3053\u3068\u3067\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u306b\u5165\u308aLED\u304c\u6d88\u706f\u3059\u308b\u3002\u305d\u306e2\u79d2\u5f8c\u306b\u306f\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u5fa9\u5e30\u3057\u3066\u30ea\u30b9\u30bf\u30fc\u30c8\u3059\u308b\u306e\u3067LED\u304c\u70b9\u706f\u3059\u308b\u3002\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u306f\u3001\u00a0<em>reset reason = 5<\/em>\u00a0(<em>REANSON_DEEP_SLEEP_AWAKE<\/em>) \u304c\u8868\u793a\u3055\u308c\u308b\u3002\u3053\u308c\u306f\u610f\u56f3\u3069\u304a\u308a\u3002<\/p>\n<p>\u3060\u304c\u3001SW1\u3092\u62bc\u3057\u3066\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u306b\u5165\u308c\u3066\u3084\u308aLED\u304c\u6d88\u706f\u3057\u3066\u3044\u308b\u3042\u3044\u3060\u306bRST-SW\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\"> ets Jan  8 2013,rst cause:2, boot mode:(3,6)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 5, Deep-Sleep Wake\r\n............<\/pre>\n<p>RST-SW\u3092\u62bc\u3057\u305f\u306e\u306b\u3001\u30ea\u30b9\u30bf\u30fc\u30c8\u8981\u56e0\u306f\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u306e\u5fa9\u5e30\u3068\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u3057\u3066\u3044\u306a\u3044LED\u70b9\u706f\u4e2d(loop() \u304c\u56de\u3063\u3066\u3044\u308b\u72b6\u614b)\u3067RST-SW\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u3084\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5916\u90e8\u8981\u56e0\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\"> ets Jan  8 2013,rst cause:2, boot mode:(3,6)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 6, External System\r\n...........................<\/pre>\n<p>\u3064\u307e\u308a\u3001\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u4e2d\u306bRST\u30d4\u30f3\u3092L\u306b\u3057\u3066\u3082\u3001\u30b9\u30b1\u30c3\u30c1\u304b\u3089\u306f\u6b63\u3057\u3044\u30ea\u30b9\u30bf\u30fc\u30c8\u8981\u56e0\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3002\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u306e\u81ea\u52d5\u5fa9\u5e30\u6642\u306b\u306fGPIO16\u306bL\u30d1\u30eb\u30b9\u304c\u3067\u308b\u3002\u305d\u308c\u3092\u304d\u3063\u304b\u3051\u306b\u3057\u3066\u30ea\u30b9\u30bf\u30fc\u30c8\u3067\u304d\u308b\u3088\u3046RST\u3068GPIO16\u3092\u76f4\u7d50\u3057\u3066\u3044\u308b\u306e\u3060\u304b\u3089\u3001\u5f53\u7136\u3068\u3044\u3048\u3070\u5f53\u7136\u306a\u306e\u3060\u304c\u3002<\/p>\n<h2>EN\u30d4\u30f3\u3067\u30ea\u30bb\u30c3\u30c8\u3059\u308b<\/h2>\n<p>\u4eca\u56de\u306e\u56de\u8def\u3067EN\u30d4\u30f3\u3068GND\u9593\u306bEN-SW\u3092\u5165\u308c\u305f\u306e\u306f\u3001\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u4e2d\u3067\u3042\u3063\u3066\u3082EN = L\u3068\u3057\u3066\u30ea\u30b9\u30bf\u30fc\u30c8\u3059\u308c\u3070\u3001\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u5fa9\u5e30\u4ee5\u5916\u306e\u8981\u56e0\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3067\u3042\u308b\u3002<\/p>\n<p>\u307e\u305a\u3001\u96fb\u6e90\u3092\u6295\u5165\u3057\u3057\u3070\u3089\u304f\u3057\u3066EN-SW\u3092\u62bc\u3059\u3068\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true \"> ets Jan  8 2013,rst cause:1, boot mode:(3,0)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 0, Power on\r\n.............\r\n ets Jan  8 2013,rst cause:1, boot mode:(3,7)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 0, Power on\r\n..............................<\/pre>\n<p>\u3053\u306e\u4e2d\u306e\u6700\u521d\u306e\u30d6\u30fc\u30c8\u306f\u30d1\u30ef\u30fc\u30aa\u30f3\u306b\u3088\u308b\u3082\u306e\u3067\u3001\u4e8c\u5ea6\u76ee\u306fEN-SW\u3092\u62bc\u4e0b\u3057\u305f\u3053\u3068\u306b\u3088\u308b\u3082\u306e\u306b\u306a\u308b\u3002\u3044\u305a\u308c\u3082 reset reason == 0 (<em>REANSON_DEFAULT_RST<\/em>) \u3068\u306a\u3063\u3066\u3044\u308b\u3057\u3001\u30d6\u30fc\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u5148\u982d\u306e &#8220;rst cause: &#8220;\u30821\u3067\u3042\u308b(1\u306f\u30d1\u30ef\u30fc\u30aa\u30f3\u3001rst cause: 2 \u306fRST\u30d4\u30f3\u306b\u3088\u308b\u30ea\u30b9\u30bf\u30fc\u30c8)\u3002<\/p>\n<p>\u6b21\u306b\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u6642\u306bEN-SW\u3092\u62bc\u4e0b\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\"> ets Jan  8 2013,rst cause:1, boot mode:(3,0)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 0, Power on\r\n...\r\n ets Jan  8 2013,rst cause:1, boot mode:(3,6)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv614f7c32\r\n~ld\r\nreset reason = 0, Power on\r\n..............................<\/pre>\n<p>\u901a\u5e38\u52d5\u4f5c\u6642\u3068\u540c\u3058\u3088\u3046\u306b reset reason == 0 \u304c\u5f97\u3089\u308c\u308b\u3002<\/p>\n<p>\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u4e2d\u306bEN\u30d4\u30f3\u3092L\u306b\u843d\u3068\u3059\u3068\u3001\u96fb\u6e90\u30aa\u30f3\u6642\u3068\u306e\u533a\u5225\u306f\u4ed8\u304b\u306a\u3044\u3082\u306e\u306e\u3001\u5c11\u306a\u304f\u3068\u3082\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u306e\u5fa9\u5e30\u3068\u306f\u533a\u5225\u3067\u304d\u308b\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002<\/p>\n<p>\u4f59\u8ac7\u3060\u304c\u3001boot mode\u306e\u7b2c\u4e8c\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u5207\u308a\u5206\u3051\u3067\u304d\u305d\u3046\u306a\u306e\u3067\u3001<em>ESP.getBootMode();<\/em> \u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u305f\u304c\u3001\u62e1\u5f35\u30d6\u30fc\u30c8\u30e2\u30fc\u30c9\u306b\u95a2\u3059\u308b\u3082\u306e\u3067\u30ea\u30b9\u30bf\u30fc\u30c8\u8981\u56e0\u3068\u306f\u7121\u95a2\u4fc2\u3060\u3063\u305f\u3002<\/p>\n<p><strong>ESP8266 System Description version 2.2<\/strong>\u306e\u3001<em>1.4.2. Power-on Sequence and Power Reset<\/em> \u306b\u3088\u308b\u3068\u3001EN\u30d4\u30f3\u3092200\u03bcsec\u671f\u9593L\u30ec\u30d9\u30eb(0.6V\u4ee5\u4e0b)\u306b\u7dad\u6301\u3059\u308b\u3068\u3001ESP8266EX\u306f\u30d1\u30ef\u30fc\u30aa\u30d5\u3059\u308b\u3068\u66f8\u3044\u3066\u3042\u308b\u304b\u3089\u3001\u96fb\u6e90\u30aa\u30f3\u6642\u3068\u533a\u5225\u304c\u3064\u304b\u306a\u304f\u3066\u5f53\u7136\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<h3>\u30ea\u30bb\u30c3\u30c8\u3068RTC\u30e1\u30e2\u30ea\u3068\u307e\u3068\u3081<\/h3>\n<p>\u4eca\u56de\u30ea\u30b9\u30bf\u30fc\u30c8\u3084\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u306e\u306f\u3001\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u4e2d\u306b512\u30d0\u30a4\u30c8\u306e\u60c5\u5831\u3092\u7dad\u6301\u3067\u304d\u308brtc\u30e1\u30e2\u30ea\u3092\u4f7f\u3044\u3001\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u5fa9\u5e30\u6642\u306e\u6319\u52d5\u3092\u6c7a\u3081\u308b\u3088\u3046\u306a\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u3044\u3066\u3044\u3066\u3001\u624b\u52d5\u3067\u30ea\u30bb\u30c3\u30c8\u3057\u305f\u306e\u304b\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u5fa9\u5e30\u3057\u305f\u306e\u304b\u3092\u5207\u308a\u5206\u3051\u308b\u8981\u56e0\u3092\u660e\u78ba\u306b\u3057\u305f\u304b\u3063\u305f\u304b\u3089\u3060\u3063\u305f\u3002<\/p>\n<p>\u5148\u306b\u7d39\u4ecb\u3057\u305f\u00a0<em>ESP8266 Non-OS SDK\u00a0<\/em><em>API Reference\u00a0 Version 2.2 <\/em>\u306b\u3088\u308c\u3070\u3001rtc\u30e1\u30e2\u30ea\u3082\u30ea\u30b9\u30bf\u30fc\u30c8\u65b9\u6cd5\u306b\u3088\u3063\u3066\u5f71\u97ff\u3092\u53d7\u3051\u308b\u3088\u3046\u3060\u3002\u6982\u7565\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u308b\u3002<\/p>\n<ul>\n<li>\u96fb\u6e90\u6295\u5165\u6642: RTC\u30e1\u30e2\u30ea\u306f\u30e9\u30f3\u30c0\u30e0\u306a\u5185\u5bb9\u3092\u3082\u3064\u3002<\/li>\n<li>EN\u30d4\u30f3\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8: RTC\u30e1\u30e2\u30ea\u306f\u30e9\u30f3\u30c0\u30e0\u306a\u5185\u5bb9\u3092\u3082\u3064\u3002<\/li>\n<li>RST\u30d4\u30f3\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8: RTC\u30e1\u30e2\u30ea\u5185\u5bb9\u306f\u5909\u66f4\u3055\u308c\u306a\u3044\u3002<\/li>\n<li>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306b\u3088\u308b\u30ea\u30b9\u30bf\u30fc\u30c8: RTC\u30e1\u30e2\u30ea\u5185\u5bb9\u306f\u5909\u66f4\u3055\u308c\u306a\u3044\u3002<\/li>\n<li>\u30a6\u30a9\u30c3\u30c1\u30c9\u30c3\u30b0\u306b\u3088\u308b\u30ea\u30bb\u30c3\u30c8: RTC\u30e1\u30e2\u30ea\u5185\u5bb9\u306f\u5909\u66f4\u3055\u308c\u306a\u3044\u3002<\/li>\n<\/ul>\n<p>\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u306e\u5fa9\u5e30\u306fRST\u30d4\u30f3\u306b\u3088\u308b\u30ea\u30b9\u30bf\u30fc\u30c8\u3068\u540c\u3058\u3053\u3068\u306a\u308b\u306e\u3067\u3001RTC\u30e1\u30e2\u30ea\u306e\u5185\u5bb9\u306f\u5909\u66f4\u3055\u308c\u306a\u3044\u3002<\/p>\n<p>\u30dc\u30fc\u30c9\u4e0a\u306b\u7528\u610f\u3057\u305f\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u3092\u62bc\u3057\u305f\u3068\u304d\u306b\u96fb\u6e90\u30aa\u30f3\u6642\u3068\u540c\u69d8\u306b\u52d5\u3044\u3066\u6b32\u3057\u3044\u3068\u304d(\u3064\u307e\u308a\u3001\u4f55\u3082\u304b\u3082\u30ea\u30bb\u30c3\u30c8\u3057\u305f\u3044\u3068\u304d)\u3001EN\u30d4\u30f3\u306b\u3088\u308b\u30ea\u30b9\u30bf\u30fc\u30c8\u306e\u65b9\u304c\u9069\u3057\u3066\u3044\u308b\u3060\u308d\u3046\u3002\u307e\u305f\u3001\u30b9\u30b1\u30c3\u30c1\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3082EN-SW\u3067\u4ee3\u7528\u3067\u304d\u305f\u3002SW1\u3068EN-SW\u3092\u307b\u307c\u540c\u6642\u306b\u62bc\u4e0b\u3057\u3001EN-SW\u3092\u96e2\u3057\u305f\u5f8c\u3067SW1\u3092\u96e2\u3059\u3053\u3068\u3067\u3001Arduino-IDE\u304b\u3089\u306e\u30b9\u30b1\u30c3\u30c1\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3082\u3046\u307e\u304f\u3044\u3063\u305f\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u3053\u3068\u304b\u3089\u3001\u3053\u308c\u304b\u3089\u306f\u57fa\u677f\u4e0a\u306e\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u306fEN\u30d4\u30f3\u306b\u63a5\u7d9a\u3057\u3088\u3046\u3068\u601d\u3063\u3066\u3044\u308b\u3002\u5148\u306b\u63b2\u3052\u305f<strong>ESP8266 System Description version 2.2<\/strong>\u306b\u306f\u3001RST\u30d4\u30f3\u3092\u4f7f\u308f\u306a\u3044\u5834\u5408\u306b\u306f\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u3082\u7701\u7565\u3057\u3066\u3088\u3044\u3068\u66f8\u3044\u3066\u3042\u308b\u304b\u3089\u3001\u307b\u3093\u306e\u308f\u305a\u304b\u90e8\u54c1\u3082\u6e1b\u3063\u3066\u697d\u3082\u3067\u304d\u308b\u3002<\/p>\n<h1>\u3064\u3044\u3067\u306bESP-WROOM-02D\u3067\u3082\u78ba\u8a8d<\/h1>\n<p>Espressif \u793e\u306f\u30012017\u5e74\u306e\u5f8c\u534a\u306bESP-WROOM-02D\u3068\u3044\u3046\u88fd\u54c1\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u3066\u304a\u308a\u3001\u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9\u3067\u8cb7\u3044\u6c42\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<a href=\"https:\/\/www.espressif.com\/sites\/default\/files\/documentation\/esp-wroom-02d_esp-wroom-02u_datasheet_en.pdf\" target=\"_blank\" rel=\"noopener\">\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306e\u6982\u8981<\/a>\u306b\u3088\u308c\u3070RF\u6027\u80fd\u304c\u6700\u9069\u5316\u3055\u308c\u3066\u3044\u308b\u3068\u306e\u3053\u3068\u3060\u304c\u3001WROOM-02\u3068\u540c\u3058\u30b3\u30a2(ESP8266EX)\u306a\u306e\u3067\u305d\u306e\u4ed6\u306e\u90e8\u5206\u306b\u5927\u304d\u306a\u9055\u3044\u306f\u306a\u3044\u306e\u3060\u308d\u3046\u3002\u898b\u305f\u611f\u3058\u3001\u30a2\u30f3\u30c6\u30ca\u90e8\u5206\u306e\u30d1\u30bf\u30fc\u30f3\u304c\u308f\u305a\u304b\u306b\u592a\u304f\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u6c17\u3082\u3059\u308b\u304c\u3001\u7cbe\u5bc6\u306b\u6e2c\u3063\u305f\u308f\u3051\u3067\u3082\u306a\u3044\u306e\u3067\u306a\u3093\u3068\u3082\u8a00\u3048\u306a\u3044\u3002<\/p>\n<p>\u3061\u3087\u3063\u3068\u524d\u304b\u3089\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3067\u306f\u306a\u304f2.54mm\u30d4\u30c3\u30c1\u306e\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb\u57fa\u677f\u306b\u306f\u3093\u3060\u4ed8\u3051\u3057\u3066\u4f7f\u3046\u3068\u304d\u3001\u79cb\u6708\u306e\u30d4\u30c3\u30c1\u5909\u63db\u57fa\u677f\u306f\u3061\u3087\u3063\u3068\u5927\u304d\u3044\u306a\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u3088\u308a\u30b3\u30f3\u30d1\u30af\u30c8\u306a<a href=\"https:\/\/www.switch-science.com\/catalog\/2362\/\" target=\"_blank\" rel=\"noopener\">\u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9\u306e\u30d5\u30eb\u7248\u30d4\u30c3\u30c1\u5909\u63db\u57fa\u677f<\/a>\u3068\u5171\u306b\u8cb7\u3044\u6c42\u3081\u3066\u8f09\u305b\u3066\u307f\u305f\u3002WROOM-02\u3092\u81ea\u5206\u3067\u306f\u3093\u3060\u4ed8\u3051\u3057\u305f\u3053\u3068\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u5909\u63db\u57fa\u677f\u306b\u5b9f\u88c5\u6e08\u306eWROOM-02D\u304c\u3042\u308c\u3070\u5f53\u7136\u305d\u3061\u3089\u306b\u3057\u305f\u306e\u3060\u3051\u3069\u8cfc\u5165\u3057\u305f\u6642\u70b9\u3067\u306f\u58f2\u3063\u3066\u306a\u304b\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_7143\" aria-describedby=\"caption-attachment-7143\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/e1d8c6be97ce4d09f540772c013456c9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7143\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/e1d8c6be97ce4d09f540772c013456c9-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7143\" class=\"wp-caption-text\">ESP-WROOM-02D\u3068\u30d4\u30c3\u30c1\u5909\u63db\u57fa\u677f(\u30d5\u30eb\u7248)<\/figcaption><\/figure>\n<figure id=\"attachment_7144\" aria-describedby=\"caption-attachment-7144\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/4ab761645befb663c98b62267b59342d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7144\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/4ab761645befb663c98b62267b59342d-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7144\" class=\"wp-caption-text\">\u306f\u3093\u3060\u4ed8\u3051\u3057\u305f<\/figcaption><\/figure>\n<p>WROOM-02D\u3068\u5909\u63db\u57fa\u677f\u306e\u306f\u3093\u3060\u4ed8\u3051\u306f\u3001\u3075\u3060\u3093\u4f7f\u3063\u3066\u3044\u308b30W\u306e\u306f\u3093\u3060\u3054\u3066\u30680.6mm\u5f84\u306e\u30e4\u30cb\u5165\u308a\u306f\u3093\u3060\u3092\u4f7f\u3063\u3066\u884c\u3063\u305f\u3002ESP-WROOM-02(D)\u306e\u7aef\u5b50\u306e\u30d4\u30c3\u30c1\u306f1.5mm\u3068\u5e83\u3081\u306a\u306e\u3067\u601d\u3063\u3066\u3044\u305f\u307b\u3069\u82e6\u52b4\u306f\u306a\u304b\u3063\u305f\u3082\u306e\u306e\u3001\u4f59\u8a08\u306a\u306f\u3093\u3060\u3092\u5438\u3044\u53d6\u3063\u3066\u3084\u308a\u76f4\u3057\u305f\u308a\u3001\u3088\u304f\u898b\u3048\u306a\u3044\u306e\u3067\u30de\u30af\u30ed\u30ec\u30f3\u30ba\u3092\u8fd1\u63a5\u3055\u305b\u3066\u62e1\u5927\u8868\u793a\u3057\u306a\u304c\u3089\u78ba\u8a8d\u3057\u305f\u308a\u3082\u3057\u305f\u3002<\/p>\n<p>\u30d5\u30eb\u7248\u306e\u30d4\u30c3\u30c1\u5909\u63db\u57fa\u677f\u3092\u3075\u3064\u3046\u306e\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u8f09\u305b\u308b\u3068\u5e45\u304c\u30ae\u30ea\u30ae\u30ea\u306b\u306a\u308a\u96fb\u6e90\u30ec\u30fc\u30eb\u304c\u4f7f\u3044\u306b\u304f\u3044\u306e\u3067\u3001<a href=\"https:\/\/www.switch-science.com\/catalog\/3499\/\" target=\"_blank\" rel=\"noopener\">\u5e45\u304c\u5e83\u3044\u30d6\u30ec\u30c3\u30c8\u30dc\u30fc\u30c9<\/a>\u3068\u3044\u3046\u306e\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002\u3053\u308c\u306fESP32\u958b\u767a\u30dc\u30fc\u30c9\u3092\u8f09\u305b\u308b\u306e\u306b\u4f7f\u3063\u305f\u30b5\u30f3\u30cf\u30e4\u30c8\u793e\u306e\u30cb\u30e5\u30fc\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9(SAD-101)\u306b\u3088\u304f\u4f3c\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u3088\u308a\u540c\u3058\u306b\u898b\u3048\u308b\u3002\u8ca9\u58f2\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u3092\u8aad\u3080\u3068\u30dd\u30a4\u30f3\u30c8\u6570\u304c400\u3068408\u3067\u9055\u3046\u306f\u305a\u306a\u306e\u3060\u3051\u3069\u3001\u5b9f\u7269\u3092\u624b\u306b\u3068\u3063\u3066\u307f\u3066\u3082\u9055\u3044\u304c\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u3002\u5b9f\u306f\u7c21\u6613\u5305\u88c5\u7248\u306e\u30cb\u30e5\u30fc\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3060\u3063\u305f\u308a\u3057\u306a\u3044\u304b\u306a\u3002<\/p>\n<p>\u4eca\u56de\u306e\u56de\u8def\u3092\u5e45\u304c\u5e83\u3044\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u8f09\u305b\u308b\u3068\u3053\u3093\u306a\u5177\u5408\u306b\u306a\u308b\u3002\u63b2\u8f09\u3057\u305f\u56de\u8def\u56f3\u306f\u30d4\u30c3\u30c1\u5909\u63db\u57fa\u677f\u3068\u3057\u3066\u79cb\u6708\u306eAE-ESP-WROOM-02\u3092\u4f7f\u3063\u305f\u3068\u304d\u306e\u30d4\u30f3\u756a\u53f7\u3092\u632f\u3063\u3066\u3044\u308b\u3002\u3053\u306e\u5909\u63db\u57fa\u677f\u3068\u306f\u30d4\u30f3\u914d\u7f6e\u304c\u7570\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f\u3002<\/p>\n<figure id=\"attachment_7146\" aria-describedby=\"caption-attachment-7146\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/6702d16baf778bea578b38ce1d4f05ad.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7146\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/04\/6702d16baf778bea578b38ce1d4f05ad-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7146\" class=\"wp-caption-text\">ESP-WROOM-02D\u3068\u5e45\u306e\u5e83\u3044\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9<\/figcaption><\/figure>\n<p>\u3053\u306e\u5909\u63db\u57fa\u677f\u3092\u4f7f\u3046\u3068\u304d\u306f\u3001\u30ef\u30a4\u30e4\u3084\u62b5\u6297\u3092\u5909\u63db\u57fa\u677f\u306e\u4e0b\u306b\u914d\u7f6e\u3059\u308b\u306e\u304c\u6d41\u5100\u3060\u308d\u3046\u3002\u3082\u3063\u3068\u8a70\u3081\u3066\u8f09\u305b\u308c\u3070\u5199\u771f\u5de6\u5074\u534a\u5206\u304f\u3089\u3044\u306f\u7a7a\u3051\u3089\u308c\u305d\u3046\u3060\u3002\u305d\u3046\u3057\u305f\u5834\u5408\u3001\u96fb\u6e90\u30ec\u30fc\u30eb\u304c\u7247\u5074\u306b\u3057\u304b\u306a\u3044\u306e\u3067\u30ef\u30a4\u30e4\u304c\u3061\u3087\u3063\u3068\u3046\u308b\u3055\u304f\u306a\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3002<\/p>\n<p>\u30dc\u30fc\u30c9\u306b\u306f3\u3064\u306e\u30b9\u30a4\u30c3\u30c1\u304c\u8f09\u3063\u3066\u3044\u308b\u304c\u3001\u5de6\u304b\u3089RST-SW\u3001EN-SW\u3001SW1\u3068\u306a\u3063\u3066\u3044\u308b\u3002\u4e0a\u304b\u3089\u898b\u308b\u3068\u5909\u63db\u57fa\u677f\u306e\u30b7\u30eb\u30af\u4e0a\u306b\u305a\u3044\u3076\u3093\u30e4\u30cb\u304c\u6d41\u308c\u3066\u3044\u308b\u306e\u304c\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3002<\/p>\n<p>\u5b9f\u9a13\u7528\u306e\u30b9\u30b1\u30c3\u30c1\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u540c\u3058\u3088\u3046\u306b\u8a66\u3057\u3066\u307f\u305f\u304c\u3001\u7d50\u679c\u306f\u307e\u3063\u305f\u304f\u540c\u3058\u3060\u3063\u305f\u3002\u305d\u308a\u3083\u305d\u3046\u3067\u3057\u3087\u3046\u3068\u3044\u3046\u611f\u3058\u304b\u3002\u3053\u3053\u306e\u3068\u3053\u308d\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306e\u63a5\u89e6\u4e0d\u826f\u306b\u60a9\u307e\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u306e\u5909\u63db\u57fa\u677f\u306f\u6e29\u5ea6\u30bb\u30f3\u30b5\u30fc\u3068\u5171\u306b\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb\u57fa\u677f\u306b\u306f\u3093\u3060\u4ed8\u3051\u3057\u3066\u3057\u307e\u3046\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 ESP-WROOM-02\u3092\u4f7f\u3063\u305f\u6e29\u5ea6\u6e2c\u5b9a\u306e\u4ed5\u7d44\u307f\u3092\u4f5c\u3063\u305f\u308a\u76f4\u3057\u305f\u308a\u3057\u3066\u3044\u308b\u304c\u3001ESP8266 Core for Arduino\u00a0 (2.4.1\u7248)\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u906d\u9047\u3057\u305f\u5c0f\u30cd\u30bf\u3092\u5c11\u3057\u3070\u304b\u308a\u3002 \u30cd\u30bf\u3068\u3057\u3066\u306f\u3001 ES &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=7129\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">ESP8266 ESP.restart()\u554f\u984c\u3068\u30c7\u30a3\u30fc\u30d7\u30b9\u30ea\u30fc\u30d7\u5fa9\u5e30\u306e\u691c\u51fa\u3068WROOM-02D<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[65,70],"class_list":["post-7129","post","type-post","status-publish","format-standard","hentry","category-programming","tag-arduino","tag-esp8266"],"_links":{"self":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7129"}],"version-history":[{"count":0,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7129\/revisions"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}