
{"id":2873,"date":"2015-10-26T18:55:54","date_gmt":"2015-10-26T09:55:54","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=2873"},"modified":"2016-01-23T14:33:07","modified_gmt":"2016-01-23T05:33:07","slug":"esp8266-wroom-02%e3%81%a7arduino%e3%81%abwifi%e6%a9%9f%e8%83%bd%e3%82%92%e8%bf%bd%e5%8a%a0","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=2873","title":{"rendered":"ESP8266 WROOM-02\u3067Arduino\u306bwifi\u6a5f\u80fd\u3092\u8ffd\u52a0"},"content":{"rendered":"<p><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=2830\">\u30b9\u30c6\u30c3\u30d4\u30f3\u30b0\u30e2\u30fc\u30bf\u30fc\u3084\u30b5\u30fc\u30dc\u3092\u4f7f\u3063\u305f\u96fb\u52d5\u96f2\u53f0<\/a>\u3092\u30b9\u30de\u30db\u3084PC\u304b\u3089wifi\u7d4c\u7531\u3067\u5236\u5fa1\u3059\u308b\u305f\u3081\u3001Arduino\u306bwifi\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u304c\u3001\u7b2c\u4e00\u6b69\u3068\u3057\u3066wifi\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8ffd\u52a0\u3068\u7c21\u5358\u306a\u30c6\u30b9\u30c8\u3092\u884c\u3063\u305f\u3002<\/p>\n<h3>AE-WROOM-02<\/h3>\n<p><a href=\"http:\/\/akizukidenshi.com\/catalog\/g\/gK-09758\/\">\u79cb\u6708\u96fb\u5b50\u306eAE-WROOM-02 DIP\u5316\u30ad\u30c3\u30c8<\/a>\u3092\u901a\u8ca9\u3067\u53d6\u308a\u5bc4\u305b\u3066wifi\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002\u3053\u306e\u88fd\u54c1\u306f\u3001ESP8266\u3068\u3044\u3046wifi\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30012.54mm\u30d4\u30c3\u30c1\u306e18\u30d4\u30f3IC\u30bd\u30b1\u30c3\u30c8\u306b\u8f09\u305b\u308b\u305f\u3081\u306e\u57fa\u677f\u306b\u5b9f\u88c5\u3057\u305f\u3082\u306e\u3067\u3001\u5de6\u53f39\u30d4\u30f3\u305a\u3064\u306e\u30d4\u30f3\u30d8\u30c3\u30c0\u3092\u30cf\u30f3\u30c0\u4ed8\u3051\u3059\u308c\u3070\u3001\u5199\u771f\u306e\u3088\u3046\u306a\u5c0f\u3055\u306a\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u3067\u56de\u8def\u3092\u7d44\u3081\u308b\u3002<\/p>\n<p><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2015\/10\/2f326edaaa146b5daa2decd50224e0c0.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-2876\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2015\/10\/2f326edaaa146b5daa2decd50224e0c0-600x450.jpg\" alt=\"ESP-WROOM-02\" width=\"474\" height=\"356\" \/><\/a><\/p>\n<h3>\u69cb\u6210<\/h3>\n<p>\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306e\u4e0a\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u56de\u8def\u306b\u306a\u3063\u3066\u3044\u308b\uff08\u96fb\u6e90\u78ba\u8a8d\u7528\u306eLED\u306f\u7701\u7565\uff09\u3002<\/p>\n<p><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2015\/10\/22ee223285f557175e902b6ce2d14da9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-2877\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2015\/10\/22ee223285f557175e902b6ce2d14da9-600x450.jpg\" alt=\"ESP-WROOM-02\" width=\"474\" height=\"356\" \/><\/a><\/p>\n<p>WROOM-02\u306e\u96fb\u6e90\u96fb\u5727\u306f3.3V\u3067\u3042\u308a\u3001\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306b\u3088\u308b\u3068\u901a\u4fe1\u6642\u306b170mA\u6d41\u308c\u308b\u3053\u3068\u3082\u3042\u308b\u3068\u304b\u3002\u4eca\u4f7f\u3063\u3066\u3044\u308bArduino ADK\u30823.3V\u3092\u4f9b\u7d66\u53ef\u80fd\u3060\u304c\u3001\u6d41\u3057\u3066\u3044\u3044\u306e\u306f\u6700\u592750mA\u307e\u3067\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306b\u4e09\u7aef\u5b50\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\uff08TA48033S\uff09\u3092\u7f6e\u3044\u30663.3V\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<br \/>\n\u4e09\u7aef\u5b50\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u3092\u4f7f\u3046\u969b\u306b\u306f\u3001\u5c11\u306a\u304f\u3068\u3082[\u5165\u529b\u5074\u3068\u51fa\u529b\u5074\u306e\u96fb\u4f4d\u5dee\u00d7\u8ca0\u8377\u96fb\u6d41\u5206]\u306e\u71b1\u304c\u767a\u751f\u3059\u308b\u304b\u3089\u3001\u767a\u71b1\u3092\u6c17\u306b\u3059\u308b\u306a\u3089\u3070 [\u51fa\u529b\u96fb\u5727 + \u4e09\u7aef\u5b50\u306e\u6700\u5c0f\u5165\u51fa\u529b\u9593\u96fb\u5727\u5dee]\u306b\u8fd1\u3044\u5165\u529b\u96fb\u5727\u3092\u9078\u629e\u3057\u305f\u65b9\u304c\u3088\u3044\u3002\u4eca\u56de\u306f\u3001Arduino ADK\u306e+5V\u30d4\u30f3\u304b\u3089\u5f97\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u4ed5\u69d8\u306b\u3088\u308c\u3070\u3001+5V\u30d4\u30f3\u306f750mA\u307e\u3067\u306e\u8ca0\u8377\u3092\u3076\u3089\u4e0b\u3052\u3066\u3088\u3044\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u4f59\u88d5\u3060\u308d\u3046\u3002<\/p>\n<p>Arduino\u306e\u30ed\u30b8\u30c3\u30af\u3068\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u306f\u300111\u756a\u30d4\u30f3\u306eRxD(Arduino\u304b\u3089\u306e\u53d7\u4fe1\uff09\u306812\u756a\u30d4\u30f3\u306eTxD(Arduino\u3078\u306e\u9001\u4fe1) \u306e2\u672c\u3060\u3051\u3002\u3053\u308c\u3089\u3092\u305d\u308c\u305e\u308c\u3001Arduino ADK\u306e18\u756a\u30d4\u30f3(Tx1)\u306819\u756a\u30d4\u30f3(Rx1)\u306b\u63a5\u7d9a\u3059\u308b\u3002\u305f\u3060\u3057\u3001Arduino\u306e\u51fa\u529b(Tx1)\u306fTTL\u30ec\u30d9\u30eb(0\uff5e5V)\u3067\u3042\u308b\u305f\u3081\u3001WROOM-02\u306eRxD\u3078\u306e\u63a5\u7d9a\u3067\u306f3.3k\u03a9\u30682.2k\u03a9\u306e\u62b5\u6297\u3092\u4f7f\u3063\u305f\u5206\u5727\u56de\u8def\u3067\u7d043.3V\u30ec\u30d9\u30eb\u306b\u843d\u3068\u3057\u3066\u3044\u308b\u3002<br \/>\nEN(#2, Enable)\u3084RST(#15, Reset)\u306f10k\u03a9\u3067\u30d7\u30eb\u30a2\u30c3\u30d7\u3057\u3066\u304a\u304d6\u756a\u30d4\u30f3\u306eGPIO15\u3092GND\u306b\u63a5\u7d9a\u3057\u3066\u304a\u304f\u3002\u00a0\u3053\u308c\u306b\u3088\u3063\u3066\u96fb\u6e90\u30aa\u30f3\u3067WROOM-02\u306e\u5185\u8535\u30d5\u30e9\u30c3\u30b7\u30e5\u304b\u3089\u5236\u5fa1\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u8d77\u52d5\u3055\u308c\u3001\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u304c\u53ef\u80fd\u3068\u306a\u308b\uff08\u306f\u305a\uff09\u3002<\/p>\n<p><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2015\/10\/31657d382963cf7d18aa2949c0b5eb9f.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-2875\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2015\/10\/31657d382963cf7d18aa2949c0b5eb9f-600x450.jpg\" alt=\"ESP-WROOM-02\" width=\"474\" height=\"356\" \/><\/a>Arduino ADK\u3068\u63a5\u7d9a\u3059\u308b\u3068\u3053\u3093\u306a\u5177\u5408\u3067\u3042\u308b\u3002\u6700\u7d42\u7684\u306b\u306f\u91ce\u5916\u3067\u4f7f\u3046\u4e88\u5b9a\u306a\u306e\u3067\u3001Arduino\u306e\u4e8c\u968e\u306b\u30dc\u30fc\u30c9\u3092\u8f09\u305b\u3066\u5fc5\u8981\u306a\u56de\u8def\u3092\u3057\u3063\u304b\u308a\u30cf\u30f3\u30c0\u4ed8\u3051\u3057\u3066\u3057\u307e\u3046\u4e88\u5b9a\u3060\u304c\u3001WROOM-02\u306b\u3064\u3044\u3066\u306f18\u30d4\u30f3\u304b20\u30d4\u30f3\u306eIC\u30bd\u30b1\u30c3\u30c8\u306b\u8f09\u305b\u308c\u3070\u3044\u3044\u304b\u306a\u3001\u3068\u601d\u3063\u3066\u3044\u308b\u3002<\/p>\n<h3>\u30b9\u30b1\u30c3\u30c1<\/h3>\n<p>PC\u5074\u306eArduino IDE\u306e\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3092\u7528\u3044\u3066WROOM-02\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b9\u30b1\u30c3\u30c1\u3092\u63cf\u3044\u3066Arduino ADK\u306b\u5165\u308c\u305f\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"wroom-test1\">void setup() {\r\n  Serial.begin(115200);\r\n  Serial.print(\"\\r\\nStart\\r\\n\");\r\n  Serial1.begin(115200);\r\n}\r\n\r\nvoid loop() {\r\n  if (Serial1.available() &gt; 0) {\r\n    byte c = Serial1.read(); \r\n    Serial.write(c);\r\n  }\r\n  if (Serial.available() &gt; 0) {\r\n    byte c = Serial.read(); \r\n    Serial1.write(c);\r\n  }\r\n}<\/pre>\n<p>Arduino\u306fUSB\u3067PC\u306b\u63a5\u7d9a\u3057\u3066\u304a\u308a\u3001\u901a\u4fe1\u306fSerial\u3067\u5236\u5fa1\u3059\u308b\u3002WROOM-02\u3068\u306e\u63a5\u7d9a\u306fSerial1\u3067\u5236\u5fa1\u3059\u308b\u3002\u304a\u306e\u304a\u306e\u306e\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u304b\u3089\u6587\u5b57\u3092\u53d7\u4fe1\u3057\u305f\u3089\u3001\u305d\u308c\u3092\u3082\u3046\u4e00\u65b9\u306b\u9001\u4fe1\u3059\u308b\u3001\u3068\u3044\u3046\u3060\u3051\u306e\u30b3\u30fc\u30c9\u3067\u3042\u308b\u3002<\/p>\n<p><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2015\/10\/0d40a5e4a645fc6b96e767d64ac0878e.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-2880\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2015\/10\/0d40a5e4a645fc6b96e767d64ac0878e-600x484.png\" alt=\"\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf1\" width=\"474\" height=\"382\" \/><\/a>\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3092\u958b\u3044\u3066\u3001\u4e0a\u90e8\u306e\u5165\u529b\u6b04\u306b AT \u3068\u5165\u529b\u3057\u3066\u9001\u4fe1\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u3053\u308d\u3002\u30a8\u30b3\u30fc\u30d0\u30c3\u30af\u306e\u6539\u884c\u306e\u3042\u3068\u3001OK \u3068\u5e30\u3063\u3066\u304f\u308b\u3002\u884c\u672b\u6587\u5b57\u3068\u3057\u3066\u306f\u3001CR\u304a\u3088\u3073LF \u3092\u9078\u629e\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<h3>AT\u30b3\u30de\u30f3\u30c9<\/h3>\n<p>WROOM-02\u3092\u4f7f\u3063\u3066wifi\u901a\u4fe1\u3092\u884c\u3046\u969b\u306b\u306f\u3001AT\u30b3\u30de\u30f3\u30c9\u306b\u3088\u3063\u3066\u8a2d\u5b9a\u3084\u30b3\u30de\u30f3\u30c9\u3092\u4e0e\u3048\u308b\u3053\u3068\u306b\u306a\u308b\u3002TTY\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3068\u30d8\u30a4\u30baAT\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30bd\u30b3\u30f3\u901a\u4fe1\u3057\u3066\u3044\u305f\u6642\u4ee3\u3092\u601d\u3044\u51fa\u3057\u3066\u3057\u307e\u3046\u3002WROOM-02\u306eAT\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"http:\/\/ja.docs.jumpwire.io\/ESP8266Reference\/ATCommands\/\">http:\/\/ja.docs.jumpwire.io\/ESP8266Reference\/ATCommands\/<\/a>\u00a0\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u3002\u306a\u304a\u3001\u30b3\u30de\u30f3\u30c9\u306f\u3059\u3079\u3066\u5927\u6587\u5b57\u3067\u9001\u4fe1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<h5>\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u30d0\u30fc\u30b8\u30e7\u30f3\u53d6\u5f97<\/h5>\n<pre class=\"\">AT+GMR \r\nAT version:0.40.0.0(Aug 8 2015 14:45:58)\r\nSDK version:1.3.0\r\ncompile time:Aug 11 2015 17:02:18\r\nOK<\/pre>\n<p>\u4e0a\u8a18\u306e\u30b5\u30a4\u30c8\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u624b\u9806\u306b\u3088\u308a\u3001wifi\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u3078\u306e\u63a5\u7d9a\u306f\u3059\u3093\u306a\u308a\u6210\u529f\u3057\u305f\u306e\u3060\u304c\uff08\u8a73\u7d30\u306f\u7701\u7565\uff09\u3001\u305d\u306e\u5f8c\u30ea\u30bb\u30c3\u30c8\u30b3\u30de\u30f3\u30c9(AT+RST)\u3092\u767a\u884c\u3057\u305f\u308a\u3001WROOM-02\u306b\u96fb\u6e90\u3092\u6295\u5165\u3059\u308b\u305f\u3073\u3054\u3068\u306b\u3001\u81ea\u52d5\u7684\u306b\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u306b\u63a5\u7d9a\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002SSID\u3082\u30d1\u30b9\u30ef\u30fc\u30c9\u3082\u899a\u3048\u3066\u3057\u307e\u3046\u3093\u3067\u3059\u306d\u3002\u5168\u8c8c\u304c\u628a\u63e1\u3067\u304d\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u6c17\u6301\u3061\u60aa\u3044\u3002<\/p>\n<h6>(\u8ffd\u8a18)<\/h6>\n<p>\u3053\u306e\u8a18\u4e8b\u3092\u8f09\u305b\u305f\u7fcc\u65e5\u3001\u4eca\u5e74\u306e10\u6708\u306b\u30e1\u30fc\u30ab\u30fc\u304c\u51fa\u3057\u3066\u3044\u305f\u3001<em><a href=\"http:\/\/bbs.espressif.com\/download\/file.php?id=897\">ESP8266 AT Instruction Set Version 1.4<\/a><\/em>\u00a0\u3092\u5165\u624b\u3057\u305f\u3068\u3053\u308d\u3001<\/p>\n<pre class=\"\">AT+AUTOCONN=0<\/pre>\n<p>\u3092\u4e0e\u3048\u308b\u3053\u3068\u3067\u3001\u96fb\u6e90\u6295\u5165\u6642\u306e\u81ea\u52d5\u63a5\u7d9a\u306f\u7981\u6b62\u3067\u304d\u305f\u3002\u305f\u3060\u3001\u65e2\u306b\u3046\u3061\u306eWROOM-02\u304b\u3089\u306e\u62e1\u5f35\u3082\u9032\u3093\u3067\u3044\u308b\u3088\u3046\u3067\u3001\u5fae\u5999\u306b\u5185\u5bb9\u304c\u9055\u3063\u3066\u3044\u305f\u308a\u3059\u308b(AP\u30e2\u30fc\u30c9\u6642\u306essid hidden\u3068\u304b\uff09\u3002<\/p>\n<h5>\u30ea\u30bb\u30c3\u30c8\u30b3\u30de\u30f3\u30c9(AT+RST)<\/h5>\n<pre class=\"theme:arduino-ide lang:default decode:true\">AT+RST\r\nOK\r\nWIFI DISCONNECT\r\nets Jan 8 2013,rst cause:1, boot mode:(3,7)\r\nload 0x40100000, len 1396, room 16 \r\ntail 4\r\nchksum 0x89\r\nload 0x3ffe8000, len 776, room 4 \r\ntail 4\r\nchksum 0xe8\r\nload 0x3ffe8308, len 540, room 4 \r\ntail 8\r\nchksum 0xc0\r\ncsum 0xc0\r\n2nd boot version : 1.4(b1)\r\nSPI Speed : 40MHz\r\nSPI Mode : QIO\r\nSPI Flash Size &amp; Map: 8Mbit(512KB+512KB)\r\njump to run user1 @ 1000\r\nrl\u7949s\ufffd\r\nready\r\nWIFI CONNECTED\r\nWIFI GOT IP\r\n<\/pre>\n<p>wifi\u306e\u5207\u65ad\u3001\u5185\u90e8\u60c5\u5831\u306e\u8868\u793a\u306e\u3042\u3068\u3001\u518d\u5ea6wifi\u63a5\u7d9a\u3057\u3066IP\u30a2\u30c9\u30ec\u30b9\u3092\u3082\u3089\u3063\u3066\u3044\u308b\u3002<\/p>\n<h5>wifi\u63a5\u7d9a\u60c5\u5831\u304a\u3088\u3073IP\u30a2\u30c9\u30ec\u30b9<\/h5>\n<pre class=\"theme:arduino-ide lang:default decode:true\">AT+CIFSR \r\n+CIFSR:APIP,\"192.168.4.1\"\r\n+CIFSR:APMAC,\"1a:fe:34:ef:0e:86\"\r\n+CIFSR:STAIP,\"192.168.11.116\"\r\n+CIFSR:STAMAC,\"18:fe:34:ef:0e:86\"\r\nOK<\/pre>\n<p>STAIP\u304c\u30b9\u30c6\u30fc\u30b7\u30e7\u30f3\u5074\uff08WROOM-02\u5074\uff09\u306e\u73fe\u5728\u306eIP\u30a2\u30c9\u30ec\u30b9\u3060\u308d\u3046\u3002\u63a5\u7d9a\u4e2d\u306ewifi\u30eb\u30fc\u30bf\u30fc\u306f\u3001&#8221;192.168.11.0\/24&#8243;\u3068\u3044\u3046\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u308a&#8221;192.168.11.116&#8243;\u3092\u3082\u3089\u3063\u3066\u3044\u308b\u3002STAMAC\u3068\u306f\u30b9\u30c6\u30fc\u30b7\u30e7\u30f3\u5074\uff08WROOM-02\u5074\uff09\u306eMAC\u30a2\u30c9\u30ec\u30b9\u3068\u601d\u308f\u308c\u308b\u3002\u524d\u534a24\u30d3\u30c3\u30c8\uff0818:fe:34\uff09\u304b\u3089\u3001\u4e0a\u6d77\u306e Espressif Inc. \u304c\u30d9\u30f3\u30c0\u30fc\u3060\u3068\u3044\u3046\u3053\u3068\u304c\u5206\u304b\u308b\u3002<br \/>\nAPIP\u3001APMAC\u306f\u3001\u3044\u305a\u308c\u3082\u30ed\u30fc\u30ab\u30eb\u30a2\u30c9\u30ec\u30b9\u306a\u306e\u3067\u3001\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u30e2\u30fc\u30c9\u6642\u306e\u81ea\u5c40\u7528\u306a\u306e\u3060\u308d\u3046\u3002<\/p>\n<h5>TCP\u63a5\u7d9a\u3068HTTP GET\u306e\u5b9f\u884c<\/h5>\n<p>AT+CIPSTART\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001TCP\u307e\u305f\u306fUDP\u306b\u3088\u308a\u3001\u6307\u5b9a\u306e\u30db\u30b9\u30c8\u306b\u6307\u5b9a\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u3067\u63a5\u7d9a\u3067\u304d\u308b\u3002\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001\u3053\u306e\u30d6\u30ed\u30b0\u306ehttp(80)\u306b\u63a5\u7d9a\u3057\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"theme:arduino-ide decode-attributes:false lang:default decode:true \">AT+CIPSTART=\"TCP\",\"okiraku-camera.tokyo\",80 \r\nCONNECT\r\nOK\r\nAT+CIPSEND=18\r\nOK\r\n&gt; \r\nRecv 18 bytes\r\nSEND OK\r\n+IPD,335:HTTP\/1.1 200 OK\r\nDate: Sun, 25 Oct 2015 09:17:18 GMT\r\nServer: Apache\r\nLast-Modified: Sun, 30 Nov 2014 11:55:05 GMT\r\nETag: \"26801a1-52-509122a29d840\"\r\nAccept-Ranges: bytes\r\nContent-Length: 82\r\nConnection: close\r\nContent-Type: text\/html; charset=UTF-8\r\n\r\n&lt;HTML&gt;\r\n&lt;HEAD&gt;\r\n&lt;meta http-equiv=\"refresh\" content=\"0; url=\/blog\"&gt;\r\n&lt;\/HEAD&gt;\r\n&lt;\/HTML&gt;\r\nCLOSED<\/pre>\n<p>\u63a5\u7d9a\u6210\u529f\u3092\u8868\u3059CONNECT\u3001OK\u306e\u6b21\u306eAT+CIPSEND=18\u306f\u3001\u300c\u3053\u308c\u304b\u3089\u9001\u308b18\u30d0\u30a4\u30c8\u306e\u6587\u5b57\u5217\u3092\u63a5\u7d9a\u5148\u306bsend\u3057\u3066\u304f\u308c\u300d\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u304c\u53d7\u3051\u4ed8\u3051\u3089\u308c\u308b\u3068\u3001&#8221;&gt;&#8221; \u3068\u3044\u3046\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u51fa\u3066\u304f\u308b\u3002<br \/>\n\u30a8\u30b3\u30fc\u30d0\u30c3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u304c\u3001\u3053\u3053\u3067\u306f\u3001<br \/>\n<em>\u00a0 GET \/ HTTP\/1.0\\r\\n\\r\\n<\/em><br \/>\n\u3068\u3044\u304618\u30d0\u30a4\u30c8\u3092\u9001\u4fe1\u3057\u3066\u3044\u308b(\\r\\n\u306f\u3001\u5fa9\u5e30\u30b3\u30fc\u30c9\u3068\u6539\u884c\u30b3\u30fc\u30c9\u3092\u793a\u3057\u3066\u3044\u308b\uff09\u3002<\/p>\n<pre class=\"theme:arduino-ide lang:default decode:true\">Recv 18 bytes\r\nSEND OK\r\n+IPD,335:<\/pre>\n<p>\u306fWROOM-02\u304b\u3089\u306e\u5fdc\u7b54\u3067\u3042\u308a\u3001&#8221;&gt;&#8221;\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5bfe\u3057\u3066\u53d7\u3051\u53d6\u3063\u305f\u6587\u5b57\u5217\u306e\u30d0\u30a4\u30c8\u6570\u3001\u305d\u308c\u3092\u63a5\u7d9a\u5148\u306b\u9001\u4fe1\u3067\u304d\u305f\u3053\u3068\u3001\u63a5\u7d9a\u5148\u304b\u3089335\u30d0\u30a4\u30c8\u306e\u6587\u5b57\u5217\uff08http\u30ec\u30b9\u30dd\u30f3\u30b9\uff09\u3092\u5f97\u305f\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u308b\u3002<br \/>\n\u305d\u3057\u3066\u3001\u53d7\u4fe1\u3057\u305fhttp\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u308b\u3002<\/p>\n<h3>\u304d\u3087\u3046\u306e\u307e\u3068\u3081<\/h3>\n<p>\u4eca\u306e\u3068\u3053\u308d\u3001wifi\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u597d\u8abf\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3002\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306e\u4e09\u7aef\u5b50\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u306e\u767a\u71b1\u3082\u307b\u3068\u3093\u3069\u306a\u3044\u306e\u3067\u3001\u30d2\u30fc\u30c8\u30b7\u30f3\u30af\u306f\u7701\u7565\u3057\u3066\u3082\u3088\u3055\u305d\u3046\u3002WROOM-02\u81ea\u4f53\u304c\u307b\u3093\u306e\u308a\u6e29\u3082\u3063\u3066\u3044\u308b\u304c\u3001\u6c17\u306b\u306a\u308b\u307b\u3069\u3067\u306f\u306a\u3044\u3002<\/p>\n<p>\u3042\u3068\u306fWROOM-02\u3092\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u52d5\u4f5c\u3055\u305b\u3001Arduino\u4e0a\u3067\u7c21\u6613httpd\u3092\u52d5\u4f5c\u3055\u305b\u308c\u3070\u3088\u3044\u3060\u308d\u3046\u3002\u4f8b\u3048\u3070\u3001<br \/>\n<em>\u00a0 GET \/cmd?roll=45&amp;pitch=90<\/em><br \/>\n\u307f\u305f\u3044\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u96f2\u53f0\u304c\u30b8\u30fc\u30b8\u30fc\u30c3\u3068\u52d5\u3051\u3070\u3088\u3044\u3002\u307c\u3061\u307c\u3061\u3084\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b9\u30c6\u30c3\u30d4\u30f3\u30b0\u30e2\u30fc\u30bf\u30fc\u3084\u30b5\u30fc\u30dc\u3092\u4f7f\u3063\u305f\u96fb\u52d5\u96f2\u53f0\u3092\u30b9\u30de\u30db\u3084PC\u304b\u3089wifi\u7d4c\u7531\u3067\u5236\u5fa1\u3059\u308b\u305f\u3081\u3001Arduino\u306bwifi\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u304c\u3001\u7b2c\u4e00\u6b69\u3068\u3057\u3066wifi\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8ffd\u52a0\u3068\u7c21\u5358\u306a\u30c6\u30b9\u30c8\u3092\u884c\u3063\u305f\u3002 AE-WROO &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=2873\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">ESP8266 WROOM-02\u3067Arduino\u306bwifi\u6a5f\u80fd\u3092\u8ffd\u52a0<\/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-2873","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\/2873","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=2873"}],"version-history":[{"count":0,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2873\/revisions"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}