{"id":40177,"date":"2023-09-30T04:29:54","date_gmt":"2023-09-29T20:29:54","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=40177"},"modified":"2023-10-14T17:01:56","modified_gmt":"2023-10-14T09:01:56","slug":"esrljahe","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/40177.html","title":{"rendered":"ESP8266 Arduino\uff1a\u6df1\u5165\u4e86\u89e3Arduino\u548cESP8266"},"content":{"rendered":"

  ESP8266 Arduino\u662f\u4e00\u79cd\u57fa\u4e8e\u5f00\u6e90\u786c\u4ef6\u548c\u8f6f\u4ef6\u7684\u53ef\u7f16\u7a0b\u5f00\u53d1\u5e73\u53f0\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u57fa\u4e8eWi-Fi\u7684\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u3002<\/strong>\u5b83\u53ef\u4ee5\u8fde\u63a5\u5230\u4efb\u4f55\u7c7b\u578b\u7684\u4f20\u611f\u5668\uff0c\u5e76\u4f7f\u7528Arduino IDE\u5f00\u53d1\u7a0b\u5e8f\uff0c\u4ee5\u5b9e\u73b0\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u7684\u6784\u5efa\u3002\u672c\u6587\u5c06\u4ecb\u7ecdESP8266 Arduino\u7684\u57fa\u672c\u529f\u80fd\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

ESP8266 Arduino\u7684\u57fa\u672c\u529f\u80fd<\/h2>\n

  ESP8266 Arduino\u662f\u4e00\u79cd\u57fa\u4e8e\u5f00\u6e90\u786c\u4ef6\u548c\u8f6f\u4ef6\u7684\u53ef\u7f16\u7a0b\u5f00\u53d1\u5e73\u53f0\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u57fa\u4e8eWi-Fi\u7684\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u3002<\/strong>\u5b83\u662f\u4e00\u79cd\u4f4e\u6210\u672c\u7684Wi-Fi\u6a21\u5757\uff0c\u53ef\u4ee5\u4e0e\u4efb\u4f55\u7c7b\u578b\u7684\u4f20\u611f\u5668\u8fde\u63a5\uff0c\u5e76\u4f7f\u7528Arduino IDE\u5f00\u53d1\u7a0b\u5e8f\uff0c\u4ee5\u5b9e\u73b0\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u7684\u6784\u5efa\u3002<\/p>\n

  ESP8266 Arduino\u7684\u786c\u4ef6\u7279\u6027<\/h3>\n

  ESP8266 Arduino\u662f\u4e00\u79cd\u4f4e\u6210\u672c\u7684Wi-Fi\u6a21\u5757\uff0c\u53ef\u4ee5\u4e0e\u4efb\u4f55\u7c7b\u578b\u7684\u4f20\u611f\u5668\u8fde\u63a5\u3002\u5b83\u5177\u6709\u82af\u7247\u7ea7\u7684\u4f4e\u529f\u8017\uff0c\u53ef\u4ee5\u652f\u6301802.11b\/g\/n\u534f\u8bae\uff0c\u652f\u6301WPA\/WPA2\u5b89\u5168\u8ba4\u8bc1\uff0c\u5e76\u5177\u6709\u591a\u79cd\u53ef\u7f16\u7a0b\u7684GPIO\u5f15\u811a\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u5177\u6709\u4e30\u5bcc\u7684I\/O\u529f\u80fd\uff0c\u5305\u62ecSPI\uff0cI2C\uff0cUART\uff0cADC\uff0cPWM\u7b49\uff0c\u53ef\u4ee5\u8fde\u63a5\u5230\u5404\u79cd\u4f20\u611f\u5668\u548c\u5916\u56f4\u8bbe\u5907\u3002<\/p>\n

  ESP8266 Arduino\u7684\u8f6f\u4ef6\u7279\u6027<\/h3>\n

  ESP8266 Arduino\u7684\u8f6f\u4ef6\u7279\u6027\u5305\u62ecArduino IDE\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u7f16\u5199\u548c\u7f16\u8bd1ESP8266 Arduino\u7684\u7a0b\u5e8f\u3002\u5b83\u8fd8\u652f\u6301\u591a\u79cd\u5f00\u53d1\u8bed\u8a00\uff0c\u5305\u62ecC\uff0cC ++\uff0cPython\uff0cJavaScript\u7b49\uff0c\u53ef\u4ee5\u8f7b\u677e\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u652f\u6301\u591a\u79cd\u7f51\u7edc\u534f\u8bae\uff0c\u5305\u62ecHTTP\uff0cMQTT\uff0cCOAP\u7b49\uff0c\u53ef\u4ee5\u8f7b\u677e\u6784\u5efa\u5206\u5e03\u5f0f\u7269\u8054\u7f51\u7cfb\u7edf\u3002<\/p>\n

\u5982\u4f55\u4f7f\u7528ESP8266 Arduino\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f<\/h2>\n

  \u4f7f\u7528ESP8266 Arduino\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n

  \u6b65\u9aa41\uff1a\u8fde\u63a5\u4f20\u611f\u5668<\/h3>\n

  \u9996\u5148\uff0c\u9700\u8981\u5c06ESP8266 Arduino\u8fde\u63a5\u5230\u4efb\u4f55\u7c7b\u578b\u7684\u4f20\u611f\u5668\uff0c\u4ee5\u83b7\u53d6\u6570\u636e\u3002<\/p>\n

  \u6b65\u9aa42\uff1a\u7f16\u5199\u7a0b\u5e8f<\/h3>\n

  \u63a5\u4e0b\u6765\uff0c\u9700\u8981\u4f7f\u7528Arduino IDE\u7f16\u5199ESP8266 Arduino\u7684\u7a0b\u5e8f\uff0c\u4ee5\u5b9e\u73b0\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u7684\u6784\u5efa\u3002<\/p>\n

  \u6b65\u9aa43\uff1a\u7f16\u8bd1\u7a0b\u5e8f<\/h3>\n

  \u6700\u540e\uff0c\u9700\u8981\u4f7f\u7528Arduino IDE\u7f16\u8bd1ESP8266 Arduino\u7684\u7a0b\u5e8f\uff0c\u4ee5\u5c06\u7a0b\u5e8f\u4e0a\u4f20\u5230ESP8266 Arduino\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  ESP8266 Arduino\u662f\u4e00\u79cd\u57fa\u4e8e\u5f00\u6e90\u786c\u4ef6\u548c\u8f6f\u4ef6\u7684\u53ef\u7f16\u7a0b\u5f00\u53d1\u5e73\u53f0\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u57fa\u4e8eWi-Fi\u7684\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u3002<\/strong>\u5b83\u5177\u6709\u82af\u7247\u7ea7\u7684\u4f4e\u529f\u8017\uff0c\u53ef\u4ee5\u652f\u6301802.11b\/g\/n\u534f\u8bae\uff0c\u652f\u6301WPA\/WPA2\u5b89\u5168\u8ba4\u8bc1\uff0c\u5e76\u5177\u6709\u591a\u79cd\u53ef\u7f16\u7a0b\u7684GPIO\u5f15\u811a\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u652f\u6301\u591a\u79cd\u5f00\u53d1\u8bed\u8a00\uff0c\u53ef\u4ee5\u8f7b\u677e\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u3002\u4f7f\u7528ESP8266 Arduino\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u7684\u6b65\u9aa4\u4e3a\uff1a\u8fde\u63a5\u4f20\u611f\u5668\uff0c\u7f16\u5199\u7a0b\u5e8f\uff0c\u7f16\u8bd1\u7a0b\u5e8f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

ESP8266Arduino\u662f\u4e00\u79cd\u57fa\u4e8e\u5f00\u6e90\u786c\u4ef6\u548c\u8f6f\u4ef6\u7684\u53ef\u7f16\u7a0b\u5f00\u53d1\u5e73\u53f0\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u57fa\u4e8eWi-Fi\u7684\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u3002\u5b83\u53ef\u4ee5\u8fde\u63a5\u5230\u4efb\u4f55\u7c7b<\/p>\n","protected":false},"author":1,"featured_media":4132,"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":[325,309,305],"class_list":["post-40177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-arduino","tag-esp8266","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40177","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=40177"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40177\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=40177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=40177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=40177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}