{"id":46935,"date":"2023-09-28T22:27:46","date_gmt":"2023-09-28T14:27:46","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=46935"},"modified":"2023-09-28T22:27:46","modified_gmt":"2023-09-28T14:27:46","slug":"rhsyzwdj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/46935.html","title":{"rendered":"\u5982\u4f55\u4f7f\u75288266\u505a\u6e29\u5ea6\u8ba1"},"content":{"rendered":"

  \u7528ESP8266\u505a\u6e29\u5ea6\u8ba1\u53ef\u4ee5\u8ba9\u4f60\u638c\u63e1\u5ba4\u5185\u5916\u6e29\u5ea6\u53d8\u5316\uff0c\u800c\u4e14\u64cd\u4f5c\u7b80\u5355\u3001\u65b9\u4fbf\u3001\u4fbf\u5b9c\u3002ESP8266\u662f\u4e00\u6b3e\u4f4e\u529f\u8017WiFi\u7f51\u7edc\u6a21\u5757\uff0c\u53ef\u4ee5\u901a\u8fc7\u5176\u591a\u79cd\u63a5\u53e3\u8fde\u63a5\u5916\u90e8\u4f20\u611f\u5668\uff0c\u4ece\u800c\u5b9e\u73b0\u6e29\u5ea6\u76d1\u6d4b\u529f\u80fd\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528ESP8266\u505a\u6e29\u5ea6\u8ba1\uff0c\u5305\u62ec\u6311\u9009\u4f20\u611f\u5668\u3001\u7f16\u5199\u7a0b\u5e8f\u3001\u8fde\u63a5WiFi\u7b49\u6b65\u9aa4\u3002<\/p>\n

\u786c\u4ef6\u51c6\u5907<\/h2>\n

  ESP8266\u677f<\/h3>\n

  ESP8266\u662f\u4e00\u6b3e\u4f4e\u529f\u8017\u7684WiFi\u7f51\u7edc\u6a21\u5757\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u5982\u6e29\u5ea6\u76d1\u6d4b\u7b49\u3002\u5e02\u9762\u4e0a\u6709\u591a\u79cdESP8266\u677f\uff0c\u6bd4\u5982NodeMCU\u3001WeMos D1\u7b49\uff0c\u5b83\u4eec\u90fd\u53ef\u4ee5\u6ee1\u8db3\u4f60\u7684\u9700\u6c42\u3002<\/p>\n

  \u6e29\u5ea6\u4f20\u611f\u5668<\/h3>\n

  \u6e29\u5ea6\u4f20\u611f\u5668\u662f\u68c0\u6d4b\u6e29\u5ea6\u7684\u91cd\u8981\u7ec4\u4ef6\uff0c\u5e02\u9762\u4e0a\u6709\u591a\u79cd\u6e29\u5ea6\u4f20\u611f\u5668\uff0c\u6bd4\u5982DS18B20\u3001DHT11\/22\u7b49\uff0c\u5176\u4e2dDS18B20\u662f\u4e00\u6b3e\u9ad8\u7cbe\u5ea6\u7684\u6e29\u5ea6\u4f20\u611f\u5668\uff0c\u53ef\u4ee5\u68c0\u6d4b-55\u2103~125\u2103\u4e4b\u95f4\u7684\u6e29\u5ea6\uff0c\u7cbe\u5ea6\u53ef\u8fbe0.5\u2103\uff0c\u63a8\u8350\u4f7f\u7528\u3002<\/p>\n

  \u5176\u4ed6\u7ec4\u4ef6<\/h3>\n

  \u9664\u4e86ESP8266\u677f\u548c\u6e29\u5ea6\u4f20\u611f\u5668\uff0c\u8fd8\u9700\u8981\u51c6\u5907\u4e00\u4e9b\u5176\u4ed6\u7ec4\u4ef6\uff0c\u6bd4\u5982\u63a5\u7ebf\u677f\u3001\u7535\u963b\u3001\u7535\u5bb9\u7b49\uff0c\u4ee5\u53ca\u4e00\u4e2aUSB\u6570\u636e\u7ebf\uff0c\u7528\u4e8e\u8fde\u63a5ESP8266\u677f\u4e0e\u7535\u8111\u3002<\/p>\n

\u8f6f\u4ef6\u51c6\u5907<\/h2>\n

  Arduino IDE<\/h3>\n

  Arduino IDE\u662f\u4e00\u6b3e\u5f00\u6e90\u7684\u7535\u8def\u677f\u7f16\u7a0b\u8f6f\u4ef6\uff0c\u5b83\u652f\u6301\u591a\u79cd\u5f00\u53d1\u677f\uff0c\u5305\u62ecESP8266\u677f\uff0c\u53ef\u4ee5\u7528\u5b83\u6765\u7f16\u5199ESP8266\u7684\u7a0b\u5e8f\u3002<\/p>\n

  NodeMCU\u56fa\u4ef6<\/h3>\n

  ESP8266\u677f\u4e0a\u6709\u4e00\u4e2a\u56fa\u4ef6\uff0c\u5b83\u53ef\u4ee5\u63a7\u5236ESP8266\u677f\u7684\u529f\u80fd\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662fNodeMCU\u677f\uff0c\u53ef\u4ee5\u4ece\u5b98\u7f51\u4e0b\u8f7dNodeMCU\u56fa\u4ef6\uff0c\u5e76\u5c06\u5176\u5b89\u88c5\u5230ESP8266\u677f\u4e0a\u3002<\/p>\n

  \u7a0b\u5e8f\u4ee3\u7801<\/h3>\n

  \u5728Arduino IDE\u4e2d\u7f16\u5199ESP8266\u7684\u7a0b\u5e8f\uff0c\u4ee5\u5b9e\u73b0\u6e29\u5ea6\u6d4b\u91cf\u7684\u529f\u80fd\u3002ESP8266\u7a0b\u5e8f\u4ee3\u7801\u53ef\u4ee5\u5728\u7f51\u4e0a\u627e\u5230\uff0c\u4e5f\u53ef\u4ee5\u81ea\u884c\u7f16\u5199\uff0c\u4f46\u662f\u4e00\u5b9a\u8981\u786e\u4fdd\u4ee3\u7801\u7684\u6b63\u786e\u6027\uff0c\u4ee5\u514d\u9020\u6210\u610f\u5916\u60c5\u51b5\u3002<\/p>\n

\u7ed3\u8bba<\/h2>\n

  \u4f7f\u7528ESP8266\u505a\u6e29\u5ea6\u8ba1\u53ef\u4ee5\u8ba9\u4f60\u638c\u63e1\u5ba4\u5185\u5916\u6e29\u5ea6\u53d8\u5316\uff0c\u800c\u4e14\u64cd\u4f5c\u7b80\u5355\u3001\u65b9\u4fbf\u3001\u4fbf\u5b9c\u3002ESP8266\u677f\u3001\u6e29\u5ea6\u4f20\u611f\u5668\u3001\u63a5\u7ebf\u677f\u3001\u7535\u963b\u3001\u7535\u5bb9\u7b49\u786c\u4ef6\u7ec4\u4ef6\u548cArduino IDE\u3001NodeMCU\u56fa\u4ef6\u7b49\u8f6f\u4ef6\u7ec4\u4ef6\u90fd\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u3002\u7f16\u5199\u7a0b\u5e8f\u65f6\uff0c\u4e00\u5b9a\u8981\u786e\u4fdd\u4ee3\u7801\u7684\u6b63\u786e\u6027\uff0c\u4ee5\u514d\u9020\u6210\u610f\u5916\u60c5\u51b5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7528ESP8266\u505a\u6e29\u5ea6\u8ba1\u53ef\u4ee5\u8ba9\u4f60\u638c\u63e1\u5ba4\u5185\u5916\u6e29\u5ea6\u53d8\u5316\uff0c\u800c\u4e14\u64cd\u4f5c\u7b80\u5355\u3001\u65b9\u4fbf\u3001\u4fbf\u5b9c\u3002ESP8266\u662f\u4e00\u6b3e\u4f4e\u529f\u8017WiFi\u7f51\u7edc\u6a21\u5757\uff0c\u53ef\u4ee5\u901a\u8fc7\u5176\u591a\u79cd\u63a5\u53e3<\/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":[305],"class_list":["post-46935","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46935"}],"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=46935"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46935\/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=46935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=46935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=46935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}