{"id":306,"date":"2017-10-23T19:51:50","date_gmt":"2017-10-23T11:51:50","guid":{"rendered":"http:\/\/hardihuang.info\/blog\/?p=306"},"modified":"2018-01-21T19:52:23","modified_gmt":"2018-01-21T11:52:23","slug":"%e5%ad%a6%e4%b9%a0nodemcu-esp8266-wifi%e6%a8%a1%e5%9d%97","status":"publish","type":"post","link":"http:\/\/hardihuang.info\/blog\/?p=306","title":{"rendered":"\u5b66\u4e60nodeMCU esp8266 wifi\u6a21\u5757"},"content":{"rendered":"<p>\u7814\u7a76\u4e86nodeMCU esp8266 wifi\u6a21\u5757\uff0c\u53ef\u4ee5\u50cfarduino\u4e00\u6837\u7528arduino ide\u6765\u7ed9\u4ed6\u5199\u7a0b\u5e8f\uff0c\u4ed6\u5389\u5bb3\u7684\u5730\u65b9\u662f\u53ef\u4ee5\u4f5c\u4e3a\u4e00\u4e2aweb server\u6765\u7528\uff0c\u8fde\u4e0awifi\u540e\u8bbf\u95ee\u4ed6\u7684ip\u5730\u5740\u5c31\u53ef\u4ee5\u6253\u5f00\u4ed6\u751f\u6210\u7684\u7f51\u9875\uff0c\u5229\u7528wifi\u53bb\u64cd\u63a7\u4ed6\u7684gpio\u4e86\uff0c\u8c8c\u4f3c\u4f8b\u5b50\u91cc\u8fd8\u53ef\u4ee5\u505aauthentication\uff0c\u6216\u8005\u8fde\u4e00\u4e2asd\u5361\u6a21\u5757\u53bb\u4e0a\u4f20\u6587\u4ef6\u3002\u6211\u8fde\u4e86\u4e00\u4e2a3\u8272LED\uff0c\u4f46\u56e0\u4e3a\u4ed6\u7684gpio\u4e0d\u652f\u6301pwm\uff0c\u6240\u4ee5\u6ca1\u6cd5\u8c03\u8282\u4eae\u5ea6\u53bb\u5408\u6210\u4e0d\u540c\u989c\u8272\u3002\u8bdd\u8bf4\u4ed6\u6709\u5341\u51e0\u4e2aio\uff0c\u6bcf\u4e2a\u90fd\u8fde\u4e00\u4e2a\u7ee7\u7535\u5668\u7684\u8bdd\uff0c\u5b8c\u5168\u53ef\u4ee5\u628a\u5b9e\u9a8c\u5ba4\u91cc\u7684\u5404\u79cd\u7535\u5668.\u706f\u5149\u90fd\u7528\u4e00\u4e2ainterface\u53bb\u63a7\u5236\uff0c\u90a3\u518d\u548cAmazon\u7684echo\u914d\u5408\u4e0b\uff0c\u5c31\u53ef\u4ee5\u8bed\u97f3\u63a7\u5236\u8fd9\u4e9b\u7535\u5668\u7684\u5f00\u5173\u4e86\uff0c\u8c8c\u4f3c\u6709\u70b9smart house\u548c\u611f\u89c9\uff0c\u4ee5\u6709\u65f6\u95f4\u4ee5\u63a2\u7d22\u4e0b\uff0c\u563f\u563f<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-307\" src=\"http:\/\/hardihuang.info\/blog\/wp-content\/uploads\/2018\/01\/2017102313152566967789l.jpg\" alt=\"\" width=\"720\" height=\"421\" srcset=\"http:\/\/hardihuang.info\/blog\/wp-content\/uploads\/2018\/01\/2017102313152566967789l.jpg 720w, http:\/\/hardihuang.info\/blog\/wp-content\/uploads\/2018\/01\/2017102313152566967789l-300x175.jpg 300w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7814\u7a76\u4e86nodeMCU esp8266 wifi\u6a21\u5757\uff0c\u53ef\u4ee5\u50cfarduino\u4e00\u6837\u7528arduino ide\u6765\u7ed9\u4ed6\u5199\u7a0b\u5e8f\uff0c\u4ed6\u5389\u5bb3\u7684\u5730\u65b9\u662f\u53ef\u4ee5\u4f5c\u4e3a\u4e00\u4e2aweb server\u6765\u7528\uff0c\u8fde\u4e0awifi\u540e\u8bbf\u95ee\u4ed6\u7684ip\u5730\u5740\u5c31\u53ef\u4ee5\u6253\u5f00\u4ed6\u751f\u6210\u7684\u7f51\u9875\uff0c\u5229\u7528wifi\u53bb\u64cd\u63a7\u4ed6\u7684gpio\u4e86\uff0c\u8c8c\u4f3c\u4f8b\u5b50\u91cc\u8fd8\u53ef\u4ee5\u505aauthentication\uff0c\u6216\u8005\u8fde\u4e00\u4e2asd\u5361\u6a21\u5757\u53bb\u4e0a\u4f20\u6587\u4ef6\u3002\u6211\u8fde\u4e86\u4e00\u4e2a3\u8272LED\uff0c\u4f46\u56e0\u4e3a\u4ed6\u7684gpio\u4e0d\u652f\u6301pwm\uff0c\u6240\u4ee5\u6ca1\u6cd5\u8c03\u8282\u4eae\u5ea6\u53bb\u5408\u6210\u4e0d\u540c\u989c\u8272\u3002\u8bdd\u8bf4\u4ed6\u6709\u5341\u51e0\u4e2aio\uff0c\u6bcf\u4e2a\u90fd\u8fde\u4e00\u4e2a\u7ee7\u7535\u5668\u7684\u8bdd\uff0c\u5b8c\u5168\u53ef\u4ee5\u628a\u5b9e\u9a8c\u5ba4\u91cc\u7684\u5404\u79cd\u7535\u5668.\u706f\u5149\u90fd\u7528\u4e00\u4e2ainterface\u53bb\u63a7\u5236\uff0c\u90a3\u518d\u548cAmazon\u7684echo\u914d\u5408\u4e0b\uff0c\u5c31\u53ef\u4ee5\u8bed\u97f3\u63a7\u5236\u8fd9\u4e9b\u7535\u5668\u7684\u5f00\u5173\u4e86\uff0c\u8c8c\u4f3c\u6709\u70b9smart house\u548c\u611f\u89c9\uff0c\u4ee5\u6709\u65f6\u95f4\u4ee5\u63a2\u7d22\u4e0b\uff0c\u563f\u563f<\/p>\n","protected":false},"author":1,"featured_media":307,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/306"}],"collection":[{"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=306"}],"version-history":[{"count":1,"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/306\/revisions"}],"predecessor-version":[{"id":308,"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/306\/revisions\/308"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=\/wp\/v2\/media\/307"}],"wp:attachment":[{"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hardihuang.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}