{"id":41542,"date":"2023-10-02T17:04:06","date_gmt":"2023-10-02T09:04:06","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=41542"},"modified":"2023-10-14T16:23:45","modified_gmt":"2023-10-14T08:23:45","slug":"esyaypgyznyjdzn","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/41542.html","title":{"rendered":"ESP32 \u4f7f\u7528ADB\uff1a\u4e00\u7bc7\u5173\u4e8e\u667a\u80fd\u786c\u4ef6\u7684\u6307\u5357"},"content":{"rendered":"
Android Debug Bridge\uff08ADB\uff09\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u548c\u8c03\u8bd5Android\u8bbe\u5907\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u548c\u8c03\u8bd5\u667a\u80fd\u786c\u4ef6\uff0c\u5982ESP32\u3002\u672c\u6587\u65e8\u5728\u4e3a\u60a8\u4ecb\u7ecdESP32\u4f7f\u7528ADB\u7684\u57fa\u672c\u539f\u7406\uff0c\u5e76\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528ADB\u6765\u63a7\u5236\u548c\u8c03\u8bd5ESP32\u8bbe\u5907\u3002<\/p>\n
ESP32\u662f\u4e00\u6b3e\u9ad8\u6027\u80fd\u3001\u4f4e\u529f\u8017\u3001\u591a\u529f\u80fd\u7684\u667a\u80fdWi-Fi\u548c\u84dd\u7259\u53cc\u6a21\u82af\u7247\uff0c\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u591a\u79cd\u667a\u80fd\u786c\u4ef6\u4ea7\u54c1\uff0c\u5982\u667a\u80fd\u5bb6\u5c45\u3001\u667a\u80fd\u5b89\u9632\u3001\u667a\u80fd\u5bb6\u5ead\u7b49\u3002ESP32\u62e5\u6709\u4e30\u5bcc\u7684\u5916\u8bbe\uff0c\u5982\u5b9a\u65f6\u5668\u3001ADC\u3001DAC\u3001PWM\u3001I2C\u3001SPI\u3001UART\u7b49\uff0c\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u5404\u79cd\u5916\u56f4\u8bbe\u5907\uff0c\u5982\u4f20\u611f\u5668\u3001\u6267\u884c\u5668\u7b49\u3002<\/p>\n
ADB\u662fAndroid Debug Bridge\u7684\u7f29\u5199\uff0c\u662fGoogle\u63d0\u4f9b\u7684\u4e00\u79cd\u7528\u4e8e\u8c03\u8bd5Android\u8bbe\u5907\u7684\u5f3a\u5927\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u548c\u8c03\u8bd5Android\u8bbe\u5907\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u548c\u8c03\u8bd5\u667a\u80fd\u786c\u4ef6\uff0c\u5982ESP32\u3002ADB\u53ef\u4ee5\u7528\u6765\u5b89\u88c5\u3001\u5378\u8f7d\u3001\u542f\u52a8\u3001\u505c\u6b62\u548c\u67e5\u770b\u5e94\u7528\u7a0b\u5e8f\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u67e5\u770b\u3001\u63a7\u5236\u548c\u8c03\u8bd5\u667a\u80fd\u786c\u4ef6\u3002<\/p>\n
\u9996\u5148\uff0c\u4e3a\u4e86\u80fd\u591f\u4f7f\u7528ADB\u6765\u63a7\u5236ESP32\uff0c\u60a8\u9700\u8981\u5b89\u88c5ADB\u9a71\u52a8\u7a0b\u5e8f\uff0c\u4ee5\u4fbf\u8ba1\u7b97\u673a\u80fd\u591f\u8bc6\u522bESP32\u8bbe\u5907\u3002\u60a8\u53ef\u4ee5\u4eceGoogle\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0a\u4e0b\u8f7d\u6700\u65b0\u7684ADB\u9a71\u52a8\u7a0b\u5e8f\uff0c\u7136\u540e\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\uff0c\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n
\u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u8fde\u63a5ESP32\u5230\u8ba1\u7b97\u673a\uff0c\u4ee5\u4fbf\u4f7f\u7528ADB\u6765\u63a7\u5236ESP32\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528USB\u6570\u636e\u7ebf\u5c06ESP32\u8fde\u63a5\u5230\u8ba1\u7b97\u673a\uff0c\u7136\u540e\u6253\u5f00ADB\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u8f93\u5165adb devices\u547d\u4ee4\uff0c\u68c0\u67e5\u8ba1\u7b97\u673a\u662f\u5426\u6b63\u786e\u8bc6\u522bESP32\u8bbe\u5907\uff0c\u5982\u679c\u6b63\u786e\u8bc6\u522b\uff0c\u5219\u8bf4\u660eESP32\u5df2\u7ecf\u6210\u529f\u8fde\u63a5\u5230\u8ba1\u7b97\u673a\u3002<\/p>\n
\u6700\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528ADB\u547d\u4ee4\u6765\u63a7\u5236\u548c\u8c03\u8bd5ESP32\u8bbe\u5907\uff0c\u6bd4\u5982\u60a8\u53ef\u4ee5\u4f7f\u7528adb shell\u547d\u4ee4\u6253\u5f00ESP32\u7684shell\u7ec8\u7aef\uff0c\u7136\u540e\u4f7f\u7528\u5404\u79cdLinux\u547d\u4ee4\u6765\u63a7\u5236ESP32\uff1b\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528adb install\u547d\u4ee4\u5b89\u88c5\u5e94\u7528\u7a0b\u5e8f\uff0c\u6216\u8005\u4f7f\u7528adb logcat\u547d\u4ee4\u67e5\u770bESP32\u7684\u65e5\u5fd7\u4fe1\u606f\u7b49\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86ESP32\u4f7f\u7528ADB\u7684\u57fa\u672c\u539f\u7406\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528ADB\u6765\u63a7\u5236\u548c\u8c03\u8bd5ESP32\u8bbe\u5907\u3002<\/strong>ESP32\u662f\u4e00\u6b3e\u9ad8\u6027\u80fd\u3001\u4f4e\u529f\u8017\u3001\u591a\u529f\u80fd\u7684\u667a\u80fdWi-Fi\u548c\u84dd\u7259\u53cc\u6a21\u82af\u7247\uff0c\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u591a\u79cd\u667a\u80fd\u786c\u4ef6\u4ea7\u54c1\uff0c\u800cADB\u662fGoogle\u63d0\u4f9b\u7684\u4e00\u79cd\u7528\u4e8e\u8c03\u8bd5Android\u8bbe\u5907\u7684\u5f3a\u5927\u5de5\u5177\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u548c\u8c03\u8bd5\u667a\u80fd\u786c\u4ef6\uff0c\u5982ESP32\u3002\u8981\u4f7f\u7528ADB\u6765\u63a7\u5236ESP32\uff0c\u60a8\u9700\u8981\u5148\u5b89\u88c5ADB\u9a71\u52a8\u7a0b\u5e8f\uff0c\u7136\u540e\u8fde\u63a5ESP32\u5230\u8ba1\u7b97\u673a\uff0c\u6700\u540e\u4f7f\u7528ADB\u547d\u4ee4\u6765\u63a7\u5236\u548c\u8c03\u8bd5ESP32\u8bbe\u5907\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" AndroidDebugBridge\uff08ADB\uff09\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u548c\u8c03\u8bd5Android\u8bbe\u5907\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u548c\u8c03\u8bd5\u667a\u80fd\u786c\u4ef6\uff0c\u5982ESP32\u3002\u672c\u6587\u65e8\u5728\u4e3a\u60a8\u4ecb\u7ecdES<\/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":[322,203],"class_list":["post-41542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-esp32","tag-znyj"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41542"}],"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=41542"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41542\/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=41542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=41542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=41542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}