{"id":77391,"date":"2023-12-30T12:56:41","date_gmt":"2023-12-30T04:56:41","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=77391"},"modified":"2023-12-30T12:56:41","modified_gmt":"2023-12-30T04:56:41","slug":"tsekf","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/77391.html","title":{"rendered":"\u63a2\u7d22ESP32 USB\u5f00\u53d1"},"content":{"rendered":"

  ESP32 USB\u5f00\u53d1\u662f\u5f53\u524d\u7269\u8054\u7f51\u9886\u57df\u5907\u53d7\u77a9\u76ee\u7684\u6280\u672f\u4e4b\u4e00\u3002\u672c\u6587\u5c06\u5e26\u60a8\u6df1\u5165\u4e86\u89e3ESP32 USB\u5f00\u53d1\u7684\u5173\u952e\u77e5\u8bc6\uff0c\u4ee5\u53ca\u5176\u5728\u7269\u8054\u7f51\u5e94\u7528\u4e2d\u7684\u6f5c\u5728\u4ef7\u503c\u3002<\/p>\n

ESP32\u82af\u7247\u6982\u8ff0<\/h2>\n

  ESP32\u662f\u7531\u4e50\u946b\u79d1\u6280\u63a8\u51fa\u7684\u4e00\u6b3e\u8d85\u4f4e\u529f\u8017\u65e0\u7ebf\u901a\u4fe1\u82af\u7247\uff0c\u96c6\u6210\u4e86Wi-Fi<\/a>\u548c\u84dd\u7259<\/a>\u529f\u80fd\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u7b49\u9886\u57df\u3002ESP32\u82af\u7247\u4ee5\u5176\u4e30\u5bcc\u7684\u5916\u8bbe\u63a5\u53e3\u548c\u7075\u6d3b\u7684\u5e94\u7528\u573a\u666f\u53d7\u5230\u5f00\u53d1\u8005\u7684\u9752\u7750\u3002<\/p>\n

  ESP32 USB\u529f\u80fd<\/h3>\n

  ESP32\u82af\u7247\u652f\u6301USB OTG\uff08On-The-Go\uff09\u529f\u80fd\uff0c\u53ef\u4ee5\u5b9e\u73b0\u4f5c\u4e3aUSB\u4e3b\u673a\/\u8bbe\u5907\u7684\u53cc\u91cd\u89d2\u8272\u3002\u8fd9\u4e00\u7279\u6027\u4f7f\u5f97ESP32\u5728\u8fde\u63a5\u5916\u90e8USB\u8bbe\u5907\u65f6\u5177\u6709\u4e86\u66f4\u52a0\u7075\u6d3b\u7684\u5e94\u7528\u573a\u666f\uff0c\u53ef\u7528\u4e8e\u6570\u636e\u901a\u4fe1\u3001\u5916\u8bbe\u63a7\u5236\u7b49\u591a\u79cd\u7528\u9014\u3002<\/p>\n

  USB OTG\u5e94\u7528\u6848\u4f8b<\/h4>\n

  \u901a\u8fc7\u5229\u7528ESP32 USB OTG\u529f\u80fd\uff0c\u5f00\u53d1\u8005\u53ef\u5c06ESP32\u8fde\u63a5\u5230\u5404\u79cdUSB\u5916\u8bbe\uff0c\u5982\u6444\u50cf\u5934\u3001\u952e\u76d8\u3001\u9f20\u6807\u3001\u5b58\u50a8\u8bbe\u5907\u7b49\u3002\u8fd9\u6837\u4e00\u6765\uff0cESP32\u53ef\u4ee5\u4f5c\u4e3a\u667a\u80fd\u8bbe\u5907\u7684\u6838\u5fc3\u63a7\u5236\u5668\uff0c\u5b9e\u73b0\u66f4\u591a\u6837\u5316\u7684\u5e94\u7528\u3002<\/p>\n

ESP32 USB\u5f00\u53d1\u6280\u5de7<\/h2>\n

  \u5728\u8fdb\u884cESP32 USB\u5f00\u53d1\u65f6\uff0c\u4e00\u4e9b\u6280\u5de7\u80fd\u591f\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u5b9e\u73b0\u5404\u79cd\u529f\u80fd\u3002<\/p>\n

  USB\u9a71\u52a8\u5f00\u53d1<\/h3>\n

  \u9488\u5bf9\u7279\u5b9a\u7684USB\u5916\u8bbe\uff0c\u5f00\u53d1\u8005\u9700\u7f16\u5199\u76f8\u5e94\u7684USB\u9a71\u52a8\u7a0b\u5e8f\u3002\u5229\u7528ESP-IDF\u5f00\u53d1\u6846\u67b6\u63d0\u4f9b\u7684USB\u5e93\uff0c\u7ed3\u5408USB\u534f\u8bae\u89c4\u8303\uff0c\u53ef\u4ee5\u8f83\u4e3a\u8f7b\u677e\u5730\u5b8c\u6210USB\u9a71\u52a8\u7684\u5f00\u53d1\u3002<\/p>\n

  \u517c\u5bb9\u6027\u8003\u8651<\/h4>\n

  \u5728\u8fdb\u884cUSB\u9a71\u52a8\u5f00\u53d1\u65f6\uff0c\u8003\u8651\u5916\u8bbe\u7684\u517c\u5bb9\u6027\u5341\u5206\u91cd\u8981\u3002\u5f00\u53d1\u8005\u9700\u6df1\u5165\u4e86\u89e3\u5916\u8bbe\u7684USB\u534f\u8bae\u548c\u901a\u4fe1\u89c4\u8303\uff0c\u786e\u4fddESP32<\/a>\u80fd\u591f\u826f\u597d\u5730\u517c\u5bb9\u5404\u7c7bUSB\u5916\u8bbe\u3002<\/p>\n

  USB\u6570\u636e\u4f20\u8f93<\/h3>\n

  ESP32\u652f\u6301USB\u4f20\u8f93\u534f\u8bae\uff0c\u53ef\u4ee5\u5b9e\u73b0\u4e0e\u5916\u90e8USB\u8bbe\u5907\u7684\u9ad8\u901f\u6570\u636e\u4f20\u8f93\uff0c\u5305\u62ec\u6570\u636e\u8bfb\u53d6\u548c\u5199\u5165\u3002<\/p>\n

  \u6027\u80fd\u4f18\u5316\u7b56\u7565<\/h4>\n

  \u5728\u8fdb\u884cUSB\u6570\u636e\u4f20\u8f93\u65f6\uff0c\u5f00\u53d1\u8005\u9700\u6ce8\u610f\u6027\u80fd\u4f18\u5316\u7684\u7b56\u7565\uff0c\u5982\u5408\u7406\u8bbe\u7f6eUSB\u4f20\u8f93\u53c2\u6570\u3001\u7f13\u51b2\u533a\u7ba1\u7406\u7b49\uff0c\u4ee5\u5b9e\u73b0\u7a33\u5b9a\u3001\u9ad8\u6548\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  ESP32 USB\u5f00\u53d1\u4e3a\u7269\u8054\u7f51\u5e94\u7528\u5e26\u6765\u4e86\u66f4\u591a\u53ef\u80fd\u6027\uff0c\u901a\u8fc7\u5145\u5206\u5229\u7528\u5176USB OTG\u529f\u80fd\uff0c\u5e76\u7ed3\u5408\u5408\u7406\u7684\u5f00\u53d1\u6280\u5de7\uff0c\u53ef\u5b9e\u73b0\u66f4\u7075\u6d3b\u3001\u9ad8\u6548\u7684\u7269\u8054\u7f51\u8bbe\u5907\u5f00\u53d1\u3002<\/strong>\u5e0c\u671b\u672c\u6587\u80fd\u591f\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u638c\u63e1ESP32 USB\u5f00\u53d1\u7684\u5173\u952e\u77e5\u8bc6\uff0c\u4e3a\u60a8\u7684\u7269\u8054\u7f51\u9879\u76ee\u63d0\u4f9b\u6709\u529b\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

ESP32USB\u5f00\u53d1\u662f\u5f53\u524d\u7269\u8054\u7f51\u9886\u57df\u5907\u53d7\u77a9\u76ee\u7684\u6280\u672f\u4e4b\u4e00\u3002\u672c\u6587\u5c06\u5e26\u60a8\u6df1\u5165\u4e86\u89e3ESP32USB\u5f00\u53d1\u7684\u5173\u952e\u77e5\u8bc6\uff0c\u4ee5\u53ca\u5176\u5728\u7269\u8054\u7f51\u5e94\u7528\u4e2d\u7684\u6f5c\u5728\u4ef7\u503c\u3002ESP32\u82af\u7247\u6982\u8ff0E<\/p>\n","protected":false},"author":1,"featured_media":64183,"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":[294],"class_list":["post-77391","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-usb"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/77391","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=77391"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/77391\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64183"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=77391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=77391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=77391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}