{"id":3397,"date":"2021-11-01T07:08:12","date_gmt":"2021-10-31T22:08:12","guid":{"rendered":"https:\/\/www.ekit-tech.com\/?p=3397"},"modified":"2021-12-06T20:52:35","modified_gmt":"2021-12-06T11:52:35","slug":"esp32%e3%82%92%e3%83%8d%e3%83%83%e3%83%88%ef%bc%88wi-fi%ef%bc%89%e3%81%ab%e6%8e%a5%e7%b6%9a%e3%81%99%e3%82%8b%e3%81%a0%e3%81%91%e3%81%ae%e3%82%b7%e3%83%b3%e3%83%97%e3%83%ab%e3%81%aa%e3%82%b3%e3%83%bc","status":"publish","type":"post","link":"https:\/\/www.ekit-tech.com\/?p=3397","title":{"rendered":"ESP32\u3092\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\uff08Wi-Fi\uff09\u306b\u63a5\u7d9a\u3059\u308b\u3060\u3051\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-6.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-6-1200x675.jpg\" alt=\"ESP32\" class=\"wp-image-3410\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-6-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-6-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-6-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-6.jpg 1280w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>ESP32\u3092\u306f\u3058\u3081\u3066\u8cfc\u5165\u3057\u305f\u3068\u304d\u306b\u3001<\/p>\n\n\n\n<p><span class=\"unber\">\u300c\u3068\u308a\u3042\u3048\u305a\u3001ESP32\u3092\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u3066\u307f\u305f\u3044\u300d<\/span><\/p>\n\n\n\n<p><span class=\"unber\">\u300c\u672c\u5f53\u306b\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3067\u304d\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u305f\u3044\u300d<\/span><\/p>\n\n\n\n<p>\u3068\u601d\u3063\u305f\u306e\u3067\u3001\u30cd\u30c3\u30c8\u63a5\u7d9a\u3059\u308b\u3060\u3051\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/div><h2><strong>\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3092\u8868\u793a\u3059\u308b<\/strong><\/h2><div class=\"inner\">\n\n\n\n<p>\u307e\u305a\u306f\u3001\uff3b\u30c4\u30fc\u30eb\uff3d\uff0d\uff3b\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\uff3d\u3092\u9078\u629e\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u4e0a\u306b\u3001\u63a5\u7d9a\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-1.jpg\"><img src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-1-1200x675.jpg\" alt=\"\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3092\u8868\u793a\" class=\"wp-image-3398\"\/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u753b\u9762\u53f3\u4e0b\u306e\u901a\u4fe1\u901f\u5ea6\u306f\u300c115200bps\u300d\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u4ee5\u5916\u306e\u5024\u3060\u3068\u3001\u6587\u5b57\u5316\u3051\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-2.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-2-1200x675.jpg\" alt=\"\u901a\u4fe1\u901f\u5ea6\u306f\u300c115200bps\u300d\u306b\u8a2d\u5b9a\" class=\"wp-image-3401\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-2-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-2-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-2-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-2.jpg 1280w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<\/div><h2><strong>\u63a5\u7d9a\u30c6\u30b9\u30c8\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u8fbc\u3080<\/strong><\/h2><div class=\"inner\">\n\n\n\n<p>\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092ESP32\u3078\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\">\u203b\u300cssid\u300d\u3068\u300cpassword\u300d\u306f\u5404\u81ea\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30eb\u30fc\u30bf\u30fc\u306e\u88cf\u5074\u306a\u3069\u306b\u8a18\u8f09\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;WiFi.h&gt;\n\nconst char* ssid     = \"yourssid\";\nconst char* password = \"yourpasswd\";\n\nvoid setup()\n{\n    Serial.begin(115200);\n\n    Serial.println();\n    Serial.print(\"Connecting to \");\n    Serial.println(ssid);\n\n    WiFi.begin(ssid, password);\n\n    while (WiFi.status() != WL_CONNECTED) {\n        delay(500);\n        Serial.print(\".\");\n    }\n\n    Serial.println(\"\");\n    Serial.println(\"WiFi connected.\");\n    Serial.println(\"IP address: \");\n    Serial.println(WiFi.localIP());\n}\n\nvoid loop(){\n}<\/code><\/pre>\n\n\n\n<h3>\u63a5\u7d9a\u6210\u529f<\/h3>\n\n\n\n<p>\u6b63\u5e38\u306b\u30cd\u30c3\u30c8\u63a5\u7d9a\u304c\u3067\u304d\u305f\u5834\u5408\u306f\u3001\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306bIP\u30a2\u30c9\u30ec\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-3.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-3-1200x675.jpg\" alt=\"\u6b63\u5e38\u306b\u30cd\u30c3\u30c8\u63a5\u7d9a\u304c\u3067\u304d\u305f\" class=\"wp-image-3405\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-3-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-3-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-3-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-3.jpg 1280w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<h3>\u63a5\u7d9a\u5931\u6557<\/h3>\n\n\n\n<p>\u3082\u3057\u3001\u63a5\u7d9a\u3067\u304d\u306a\u304b\u3063\u305f\u5834\u5408\u306f\u3001\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u300c\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u300d\u304c\u6c38\u9060\u306b\u8868\u793a\u3055\u308c\u7d9a\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<ul><li>SSID\u3084\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u9593\u9055\u3044\u306f\u306a\u3044\u304b\uff1f<\/li><li>2.4GHz\u4ee5\u5916\u306e\u7121\u7dda\u5e2f\u57df\u3092\u9078\u629e\u3057\u3066\u3044\u306a\u3044\u304b\uff1f<\/li><\/ul>\n\n\n\n<p>\u7b49\u3001\u78ba\u8a8d\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-4.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-4-1200x675.jpg\" alt=\"\u30cd\u30c3\u30c8\u63a5\u7d9a\u3067\u304d\u306a\u304b\u3063\u305f\" class=\"wp-image-3407\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-4-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-4-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-4-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-4.jpg 1280w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u306a\u304a\u3001ESP32\u4e0a\u306e\u30ea\u30bb\u30c3\u30c8\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3053\u3068\u3067\u3001\u518d\u30c6\u30b9\u30c8\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-5.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-5-1200x675.jpg\" alt=\"ESP32\u306e\u30ea\u30bb\u30c3\u30c8\u30dc\u30bf\u30f3\" class=\"wp-image-3408\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-5-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-5-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-5-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-5.jpg 1280w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<\/div><h2><strong>\u3082\u3063\u3068\u5b9f\u7528\u7684\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/strong><\/h2><div class=\"inner\">\n\n\n\n<p>\u5b9f\u306f\u3001\u4eca\u56de\u7d39\u4ecb\u3057\u305f\u30b3\u30fc\u30c9\u306f\uff3b\u30d5\u30a1\u30a4\u30eb\uff3d\uff0d\uff3b\u30b9\u30b1\u30c3\u30c1\u4f8b\uff3d\uff0d\uff3bWiFi\uff3d\uff0d\uff3bSimpleWiFiServer\uff3d\u306b\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u5143\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-7.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-7-1200x675.jpg\" alt=\"SimpleWiFiServer\u30b9\u30b1\u30c3\u30c1\" class=\"wp-image-3411\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-7-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-7-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-7-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20211031-7.jpg 1280w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<p>SimpleWiFiServer\u30b9\u30b1\u30c3\u30c1\u306e\u5185\u5bb9\u306f\u3001<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ol><li>Wi-Fi\u306b\u63a5\u7d9a\u3057\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\uff08\u3053\u3053\u307e\u3067\u306f\u540c\u3058\uff09<\/li><li>\u30d1\u30bd\u30b3\u30f3\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u3001\u305d\u306eIP\u30a2\u30c9\u30ec\u30b9\u300c192.168.11.xx\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\uff08\uff1dESP32\u672c\u4f53\u306b\u30a2\u30af\u30bb\u30b9\uff09<\/li><li>LED\u306e\u70b9\u706f\u3092\u5236\u5fa1\u3059\u308bWEB\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b<\/li><li>\u300cClick here to turn the LED on pin 5 on.\u300d\u3068\u66f8\u304b\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001GPIO5\u306b\u63a5\u7d9a\u3057\u305fLED\u304c\u70b9\u706f\u3059\u308b<\/li><li>\u300cClick here to turn the LED on pin 5 off.\u300d\u3068\u66f8\u304b\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001GPIO5\u306b\u63a5\u7d9a\u3057\u305fLED\u304c\u6d88\u706f\u3059\u308b<\/li><\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3068\u3044\u3046\u6d41\u308c\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304b\u3089Wi-Fi\u3092\u901a\u3058\u3066ESP32\u3092\u5236\u5fa1\u3059\u308b\u4ed5\u7d44\u307f\u3092\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u304a\u6642\u9593\u3042\u308b\u65b9\u306f\u3001\u305c\u3072\u30b3\u30c1\u30e9\u306e\u30b9\u30b1\u30c3\u30c1\u3082\u8a66\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ESP32\u3092\u306f\u3058\u3081\u3066\u8cfc\u5165\u3057\u305f\u3068\u304d\u306b\u3001 \u300c\u3068\u308a\u3042\u3048\u305a\u3001ESP32\u3092\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u3066\u307f\u305f\u3044\u300d \u300c\u672c\u5f53\u306b\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3067\u304d\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u305f\u3044\u300d \u3068\u601d\u3063\u305f\u306e\u3067\u3001\u30cd\u30c3\u30c8\u63a5\u7d9a\u3059\u308b\u3060\u3051\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3092\u8868 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3429,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[31],"tags":[38],"_links":{"self":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/3397"}],"collection":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3397"}],"version-history":[{"count":25,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/3397\/revisions"}],"predecessor-version":[{"id":4099,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/3397\/revisions\/4099"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/media\/3429"}],"wp:attachment":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}