{"id":71387,"date":"2023-12-20T10:59:41","date_gmt":"2023-12-20T02:59:41","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=71387"},"modified":"2023-12-20T10:59:44","modified_gmt":"2023-12-20T02:59:44","slug":"ewmkgnjs","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/71387.html","title":{"rendered":"esp8266 wifi\u6a21\u5757\u529f\u80fd\u4ecb\u7ecd"},"content":{"rendered":"\n
\u3000\u3000\u5728\u5f53\u4eca\u6570\u5b57\u5316\u65f6\u4ee3\uff0c\u4e92\u8054\u7f51\u7684\u666e\u53ca\u548c\u7269\u8054\u7f51\u7684\u5174\u8d77\uff0c\u5bf9\u65e0\u7ebf\u7f51\u7edc\u8fde\u63a5\u7684\u9700\u6c42\u8d8a\u6765\u8d8a\u9ad8\u3002\u800cESP8266 WiFi\u6a21\u5757\u4f5c\u4e3a\u4e00\u79cd\u4f4e\u6210\u672c\u3001\u9ad8\u6027\u80fd\u7684\u65e0\u7ebf\u901a\u4fe1\u89e3\u51b3\u65b9\u6848\uff0c\u6210\u4e3a\u4f17\u591a\u7269\u8054\u7f51\u9879\u76ee\u7684\u9996\u9009\u3002\u672c\u6587\u5c06\u4ecb\u7ecdESP8266 WiFi\u6a21\u5757\u7684\u529f\u80fd\u548c\u7279\u6027\uff0c\u4ee5\u53ca\u5b83\u5728\u7269\u8054\u7f51\u9886\u57df\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n
\u3000\u3000ESP8266 WiFi\u6a21\u5757\u662f\u4e00\u6b3e\u7531\u4e50\u946b\u79d1\u6280\u5f00\u53d1\u7684\u9ad8\u5ea6\u96c6\u6210\u7684\u65e0\u7ebf\u901a\u4fe1\u82af\u7247\uff0c\u5b83\u96c6\u6210\u4e86802.11b\/g\/n\u65e0\u7ebf\u534f\u8bae\u6808\u548cTCP\/IP\u534f\u8bae\u6808\uff0c\u80fd\u591f\u5b9e\u73b0WiFi\u8fde\u63a5\u548c\u7f51\u7edc\u901a\u4fe1\u529f\u80fd\u3002<\/strong>\u8be5\u6a21\u5757\u91c7\u752832\u4f4dTensilica L106 RISC\u5904\u7406\u5668\uff0c\u8fd0\u884c\u9891\u7387\u9ad8\u8fbe80MHz\uff0c\u5185\u7f6e32KB\u6307\u4ee4\u7f13\u5b58\u548c80KB\u6570\u636e\u7f13\u5b58\uff0c\u540c\u65f6\u8fd8\u5177\u5907GPIO\u3001SPI\u3001I2C\u3001UART\u7b49\u591a\u79cd\u901a\u4fe1\u63a5\u53e3\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6269\u5c55\u80fd\u529b\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u652f\u6301STA(Station)\u6a21\u5f0f\u548cAP(Access Point)\u6a21\u5f0f\uff0c\u53ef\u4ee5\u4f5c\u4e3a\u5ba2\u6237\u7aef\u8fde\u63a5\u5230\u5df2\u6709\u7684WiFi\u7f51\u7edc\uff0c\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u70ed\u70b9\u63d0\u4f9bWiFi\u670d\u52a1\u3002\u5b83\u652f\u6301WPA\/WPA2\u548cWEP\u7b49\u591a\u79cd\u5b89\u5168\u52a0\u5bc6\u65b9\u5f0f\uff0c\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u5185\u90e8\u96c6\u6210\u4e86TCP\/IP\u534f\u8bae\u6808\uff0c\u80fd\u591f\u5b9e\u73b0\u901a\u8fc7WiFi\u4e0e\u8fdc\u7a0b\u670d\u52a1\u5668\u8fdb\u884c\u901a\u4fe1\u3002\u5b83\u652f\u6301TCP\u548cUDP\u7b49\u591a\u79cd\u4f20\u8f93\u534f\u8bae\uff0c\u53ef\u5b9e\u73b0\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u548c\u5e7f\u64ad\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u91c7\u7528\u4e86\u5148\u8fdb\u7684\u529f\u8017\u7ba1\u7406\u6280\u672f\uff0c\u80fd\u591f\u5728\u4f4e\u529f\u8017\u72b6\u6001\u4e0b\u5de5\u4f5c\uff0c\u4ee5\u5ef6\u957f\u7535\u6c60\u5bff\u547d\u3002\u5b83\u8fd8\u652f\u6301\u6df1\u5ea6\u7761\u7720\u6a21\u5f0f\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u964d\u4f4e\u529f\u8017\uff0c\u9002\u7528\u4e8e\u5bf9\u529f\u8017\u8981\u6c42\u8f83\u9ad8\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u5177\u5907\u591a\u79cd\u901a\u4fe1\u63a5\u53e3\uff0c\u5982GPIO\u3001SPI\u3001I2C\u548cUART\u7b49\uff0c\u53ef\u4e0e\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u6570\u636e\u4ea4\u4e92\u3002\u8fd9\u4f7f\u5f97\u5b83\u5728\u8fde\u63a5\u4f20\u611f\u5668\u3001\u6267\u884c\u63a7\u5236\u4efb\u52a1\u7b49\u65b9\u9762\u5177\u6709\u8f83\u5f3a\u7684\u7075\u6d3b\u6027\u548c\u6269\u5c55\u6027\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u652f\u6301\u591a\u79cd\u5f00\u53d1\u73af\u5883\u548c\u7f16\u7a0b\u8bed\u8a00\uff0c\u5982Arduino\u3001MicroPython\u548cLua\u7b49\u3002\u8fd9\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u4fbf\u5229\uff0c\u4f7f\u5f97\u4ed6\u4eec\u80fd\u591f\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u9002\u5408\u7684\u5f00\u53d1\u65b9\u5f0f\u8fdb\u884c\u5e94\u7528\u5f00\u53d1\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u53ef\u4ee5\u4f5c\u4e3a\u7269\u8054\u7f51\u667a\u80fd\u5bb6\u5c45\u7cfb\u7edf\u7684\u6838\u5fc3\u63a7\u5236\u5668\uff0c\u901a\u8fc7\u8fde\u63a5\u5404\u79cd\u4f20\u611f\u5668\u548c\u6267\u884c\u5668\uff0c\u5b9e\u73b0\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\u7684\u8fdc\u7a0b\u76d1\u63a7\u548c\u63a7\u5236\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u53ef\u4ee5\u4e0ePLC\u7b49\u5de5\u4e1a\u8bbe\u5907\u8fdb\u884c\u901a\u4fe1\uff0c\u5b9e\u73b0\u5de5\u4e1a\u81ea\u52a8\u5316\u7cfb\u7edf\u7684\u8fdc\u7a0b\u76d1\u6d4b\u548c\u63a7\u5236\u3002\u5b83\u8fd8\u53ef\u4ee5\u4f5c\u4e3a\u65e0\u7ebf\u4f20\u611f\u5668\u7f51\u7edc\u7684\u8282\u70b9\uff0c\u5b9e\u73b0\u5de5\u4e1a\u8bbe\u5907\u7684\u6570\u636e\u91c7\u96c6\u548c\u4f20\u8f93\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u53ef\u4ee5\u5e94\u7528\u4e8e\u519c\u4e1a\u7269\u8054\u7f51\u7cfb\u7edf\uff0c\u901a\u8fc7\u8fde\u63a5\u571f\u58e4\u6e7f\u5ea6\u4f20\u611f\u5668\u3001\u6e29\u6e7f\u5ea6\u4f20\u611f\u5668\u7b49\u8bbe\u5907\uff0c\u5b9e\u73b0\u519c\u4f5c\u7269\u7684\u8fdc\u7a0b\u76d1\u6d4b\u548c\u667a\u80fd\u704c\u6e89\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u53ef\u4ee5\u4e0e\u5065\u5eb7\u76d1\u6d4b\u8bbe\u5907(\u5982\u5fc3\u7387\u4f20\u611f\u5668\u3001\u4f53\u6e29\u8ba1\u7b49)\u8fdb\u884c\u901a\u4fe1\uff0c\u5b9e\u73b0\u4eba\u4f53\u5065\u5eb7\u6570\u636e\u7684\u91c7\u96c6\u548c\u4f20\u8f93\u3002\u8fd9\u5bf9\u4e8e\u8fdc\u7a0b\u533b\u7597\u548c\u5065\u5eb7\u7ba1\u7406\u5177\u6709\u91cd\u8981\u610f\u4e49\u3002<\/p>\n\n\n\n \u3000\u3000ESP8266 WiFi\u6a21\u5757\u4f5c\u4e3a\u4e00\u79cd\u529f\u80fd\u5f3a\u5927\u3001\u6027\u4ef7\u6bd4\u9ad8\u7684\u65e0\u7ebf\u901a\u4fe1\u89e3\u51b3\u65b9\u6848\uff0c\u5df2\u7ecf\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u9886\u57df\u3002\u5b83\u7684WiFi\u8fde\u63a5\u80fd\u529b\u3001TCP\/IP\u534f\u8bae\u6808\u3001\u4f4e\u529f\u8017\u8bbe\u8ba1\u548c\u4e30\u5bcc\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u4f7f\u5f97\u5b83\u6210\u4e3a\u7269\u8054\u7f51\u9879\u76ee\u5f00\u53d1\u7684\u7406\u60f3\u9009\u62e9\u3002<\/strong>\u76f8\u4fe1\u968f\u7740\u7269\u8054\u7f51\u6280\u672f\u7684\u4e0d\u65ad\u53d1\u5c55\uff0cESP8266 WiFi\u6a21\u5757\u5c06\u5728\u66f4\u591a\u9886\u57df\u5c55\u73b0\u51fa\u5176\u5de8\u5927\u7684\u6f5c\u529b\u548c\u4f18\u52bf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" ESP8266 WiFi\u6a21\u5757\u662f\u4e00\u6b3e\u7531\u4e50\u946b\u79d1\u6280\u5f00\u53d1\u7684\u9ad8\u5ea6\u96c6\u6210\u7684\u65e0\u7ebf\u901a\u4fe1\u82af\u7247\uff0c\u5b83\u96c6\u6210\u4e86802.11b\/g\/n\u65e0\u7ebf\u534f\u8bae\u6808\u548cTCP\/IP\u534f\u8bae\u6808\uff0c\u80fd\u591f\u5b9e\u73b0WiFi\u8fde\u63a5\u548c\u7f51\u7edc\u901a\u4fe1\u529f\u80fd\u3002<\/p>\n","protected":false},"author":1,"featured_media":64231,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[213],"class_list":["post-71387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-wi-fi"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/71387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=71387"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/71387\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64231"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=71387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=71387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=71387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e8c\u3001ESP8266 WiFi\u6a21\u5757\u7684\u529f\u80fd\u7279\u6027<\/h2>\n\n\n\n
\u3000\u30001. WiFi\u8fde\u63a5\u80fd\u529b\uff1a<\/h3>\n\n\n\n
\u3000\u30002. TCP\/IP\u534f\u8bae\u6808\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u4f4e\u529f\u8017\u8bbe\u8ba1\uff1a<\/h3>\n\n\n\n
\u3000\u30004. \u591a\u79cd\u901a\u4fe1\u63a5\u53e3\uff1a<\/h3>\n\n\n\n
\u3000\u30005. \u8f6f\u4ef6\u5f00\u53d1\u652f\u6301\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u4e09\u3001ESP8266 WiFi\u6a21\u5757\u5728\u7269\u8054\u7f51\u9886\u57df\u7684\u5e94\u7528<\/h2>\n\n\n\n
\u3000\u30001. \u667a\u80fd\u5bb6\u5c45\uff1a<\/h3>\n\n\n\n
\u3000\u30002. \u5de5\u4e1a\u81ea\u52a8\u5316\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u519c\u4e1a\u7269\u8054\u7f51\uff1a<\/h3>\n\n\n\n
\u3000\u30004. \u667a\u80fd\u5065\u5eb7\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u7ed3\u8bba\uff1a<\/h2>\n\n\n\n