{"id":61474,"date":"2023-11-01T11:44:05","date_gmt":"2023-11-01T03:44:05","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=61474"},"modified":"2023-11-01T11:44:05","modified_gmt":"2023-11-01T03:44:05","slug":"rhsyezjck","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/61474.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528esp32\u589e\u52a0\u4e32\u53e3"},"content":{"rendered":"

  esp32\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u5fae\u63a7\u5236\u5668\uff0c\u5177\u6709\u5185\u7f6e\u7684WiFi\u548c\u84dd\u7259\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u4e8e\u667a\u80fd\u5bb6\u5c45\u3001IoT\u8bbe\u5907\u3001\u7269\u8054\u7f51\u5e94\u7528\u7b49\u3002\u672c\u6587\u5c06\u63a2\u8ba8\u5982\u4f55\u4f7f\u7528esp32\u589e\u52a0\u4e32\u53e3\uff0c\u4ee5\u63d0\u9ad8\u8bbe\u5907\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002<\/p>\n

\u4e32\u53e3\u7684\u57fa\u672c\u6982\u5ff5<\/h2>\n

  \u4e32\u53e3\uff08Serial Port\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\u7684\u901a\u7528\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u5916\u90e8\u7684\u8f93\u5165\/\u8f93\u51fa\u8bbe\u5907\uff0c\u5982\u952e\u76d8\u3001\u9f20\u6807\u3001\u6253\u5370\u673a\u7b49\u3002\u4e32\u53e3\u53ef\u4ee5\u901a\u8fc7\u7535\u7f06\u6216\u65e0\u7ebf\u4f20\u8f93\u6570\u636e\uff0c\u5b83\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2\u51e0\u5343\u81f3\u51e0\u767e\u4e07\u6bd4\u7279\uff0c\u56e0\u6b64\u5b83\u662f\u4e00\u79cd\u975e\u5e38\u9ad8\u6548\u7684\u6570\u636e\u4f20\u8f93\u63a5\u53e3\u3002<\/p>\n

esp32\u4e32\u53e3\u7684\u589e\u52a0\u65b9\u6cd5<\/h2>\n

  1. \u4f7f\u7528UART\u63a5\u53e3<\/h3>\n

  esp32\u652f\u6301UART\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u4e0e\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u6570\u636e\u901a\u4fe1\u3002\u4e3a\u4e86\u589e\u52a0\u4e32\u53e3\uff0c\u9996\u5148\u8981\u786e\u5b9aUART\u63a5\u53e3\u7684\u786c\u4ef6\u914d\u7f6e\uff0c\u5305\u62ecUART\u901f\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\u7b49\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528esp32\u7684UART API\uff0c\u5c06UART\u63a5\u53e3\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\uff0c\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u3002<\/p>\n

  2. \u4f7f\u7528USB\u63a5\u53e3<\/h3>\n

  esp32\u4e5f\u652f\u6301USB\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u4e0e\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u6570\u636e\u901a\u4fe1\u3002\u4e3a\u4e86\u589e\u52a0\u4e32\u53e3\uff0c\u53ef\u4ee5\u4f7f\u7528esp32\u7684USB API\uff0c\u5c06USB\u63a5\u53e3\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\uff0c\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u3002<\/p>\n

  3. \u4f7f\u7528WiFi\u63a5\u53e3<\/h3>\n

  esp32\u8fd8\u652f\u6301WiFi\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u4e0e\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u6570\u636e\u901a\u4fe1\u3002\u4e3a\u4e86\u589e\u52a0\u4e32\u53e3\uff0c\u53ef\u4ee5\u4f7f\u7528esp32\u7684WiFi API\uff0c\u5c06WiFi\u63a5\u53e3\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\uff0c\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  esp32\u62e5\u6709\u5f3a\u5927\u7684UART\u3001USB\u548cWiFi\u63a5\u53e3\uff0c\u53ef\u4ee5\u7528\u6765\u589e\u52a0\u4e32\u53e3\uff0c\u4ee5\u63d0\u9ad8\u8bbe\u5907\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002<\/strong>\u4f7f\u7528esp32\u7684UART\u3001USB\u548cWiFi API\uff0c\u53ef\u4ee5\u5c06esp32\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\uff0c\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

esp32\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u5fae\u63a7\u5236\u5668\uff0c\u5177\u6709\u5185\u7f6e\u7684WiFi\u548c\u84dd\u7259\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u4e8e\u667a\u80fd\u5bb6\u5c45\u3001IoT\u8bbe\u5907\u3001\u7269\u8054\u7f51\u5e94\u7528\u7b49\u3002\u672c\u6587\u5c06\u63a2\u8ba8\u5982\u4f55\u4f7f\u7528esp32\u589e\u52a0\u4e32\u53e3\uff0c\u4ee5\u63d0\u9ad8\u8bbe\u5907\u7684\u6027\u80fd\u548c\u53ef\u9760<\/p>\n","protected":false},"author":1,"featured_media":1839,"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":[69],"class_list":["post-61474","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/61474","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=61474"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/61474\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=61474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=61474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=61474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}