{"id":98944,"date":"2024-11-08T10:26:38","date_gmt":"2024-11-08T02:26:38","guid":{"rendered":"\/\/www.viralrail.com\/?p=98944"},"modified":"2024-11-08T10:26:42","modified_gmt":"2024-11-08T02:26:42","slug":"dpjgztxxyxj","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/98944.html","title":{"rendered":"\u5355\u7247\u673a\u5404\u79cd\u901a\u4fe1\u534f\u8bae\u8be6\u89e3"},"content":{"rendered":"\n
\u3000\u3000\u5355\u7247\u673a\u7684\u901a\u4fe1\u534f\u8bae<\/strong>\u662f\u5b9e\u73b0\u8bbe\u5907\u95f4\u6570\u636e\u4ea4\u6362\u548c\u63a7\u5236\u7684\u91cd\u8981\u624b\u6bb5\u3002\u5728\u5355\u7247\u673a\u7684\u5e94\u7528\u4e2d\uff0c\u5e38\u89c1\u7684\u901a\u4fe1\u534f\u8bae\u5305\u62ec\u4e32\u884c\u901a\u4fe1\u534f\u8bae(\u5982UART\u3001SPI\u3001I2C)\u3001\u5e76\u884c\u901a\u4fe1\u534f\u8bae(\u5982CAN\u603b\u7ebf)\u3001\u65e0\u7ebf\u901a\u4fe1\u6280\u672f(\u5982\u84dd\u7259\u3001Wi-Fi)\u4ee5\u53caUSB\u7b49\u3002<\/p>\n\n\n\n \u3000\u3000UART\uff08\u901a\u7528\u5f02\u6b65\u6536\u53d1\u5668\uff09<\/strong> \uff1a\u662f\u4e00\u79cd\u5e38\u7528\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u901a\u8fc7\u5355\u4e00\u7684\u4f20\u8f93\u7ebf\u8def\u9010\u4f4d\u4f20\u8f93\u6570\u636e\u3002\u5b83\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5355\u7247\u673a\u4e0ePC\u6216\u5176\u4ed6\u5355\u7247\u673a\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000I2C\uff08Inter-Integrated Circuit\uff09<\/strong> \uff1a\u7531NXP\u516c\u53f8\u8bbe\u8ba1\uff0c\u4e3b\u8981\u7528\u4e8e\u4e3b\u63a7\u5236\u5668\u548c\u4ece\u5668\u4ef6\u95f4\u7684\u4e3b\u4ece\u901a\u4fe1\uff0c\u9002\u7528\u4e8e\u5c0f\u6570\u636e\u91cf\u4f20\u8f93\u548c\u77ed\u8ddd\u79bb\u901a\u4fe1\u3002I2C\u534f\u8bae\u53ea\u9700\u8981\u4e24\u6761\u7ebf\uff1a\u4e32\u884c\u6570\u636e\u7ebf(SDA)\u548c\u4e32\u884c\u65f6\u949f\u7ebf(SCL)\uff0c\u5e76\u4e14\u662f\u534a\u53cc\u5de5\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000SPI\uff08Serial Peripheral Interface\uff09<\/strong> \uff1a\u901a\u5e38\u9700\u8981\u56db\u6839\u7ebf\uff1aMOSI(\u4e3b\u8f93\u51fa\u4ece\u8f93\u5165)\u3001MISO(\u4e3b\u8f93\u5165\u4ece\u8f93\u51fa)\u3001CLK(\u65f6\u949f\u7ebf)\u548cCS(\u7247\u9009\u7ebf)\u3002SPI\u534f\u8bae\u9002\u7528\u4e8e\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n \u3000\u3000CAN\u603b\u7ebf<\/strong>\uff1a\u7528\u4e8e\u591a\u8282\u70b9\u7684\u7f51\u7edc\u901a\u4fe1\uff0c\u5177\u6709\u9ad8\u53ef\u9760\u6027\u548c\u6297\u5e72\u6270\u80fd\u529b\uff0c\u5e38\u7528\u4e8e\u6c7d\u8f66\u7535\u5b50\u7cfb\u7edf\u4e2d\u3002<\/p>\n\n\n\n \u3000\u3000\u84dd\u7259\u3001Wi-Fi\u3001LoRa<\/strong>\uff1a\u8fd9\u4e9b\u65e0\u7ebf\u901a\u4fe1\u6280\u672f\u5728\u7269\u8054\u7f51\u548c\u667a\u80fd\u8bbe\u5907\u9886\u57df\u5e94\u7528\u5e7f\u6cdb\uff0c\u80fd\u591f\u5b9e\u73b0\u8bbe\u5907\u95f4\u7684\u65e0\u7ebf\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n \u3000\u3000USB(Universal Serial Bus)\u662f\u4e00\u79cd\u9ad8\u901f\u7684\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u652f\u6301\u5373\u63d2\u5373\u7528\u529f\u80fd\uff0c\u5e38\u7528\u4e8e\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\u548cPC\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u534f\u8bae<\/strong>\uff1a\u8fd9\u662f\u4e00\u79cd\u901a\u7528\u7684\u7535\u5b50\u63a7\u5236\u5668\u901a\u4fe1\u8bed\u8a00\uff0c\u652f\u6301\u63a7\u5236\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u4ee5\u53ca\u63a7\u5236\u5668\u4e0e\u5176\u5b83\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000\u7ea2\u5916\u901a\u4fe1<\/strong>\uff1a\u7528\u4e8e\u9065\u63a7\u5668\u3001\u8ba1\u7b97\u673a\u5916\u8bbe\u7b49\u8bbe\u5907\u4e4b\u95f4\u7684\u77ed\u8ddd\u79bb\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000\u6bcf\u79cd\u901a\u4fe1\u534f\u8bae\u90fd\u6709\u5176\u7279\u5b9a\u7684\u5e94\u7528\u573a\u666f\u548c\u4f18\u7f3a\u70b9\u3002\u9009\u62e9\u5408\u9002\u7684\u901a\u4fe1\u534f\u8bae\u9700\u8981\u6839\u636e\u5b9e\u9645\u9700\u6c42\u8003\u8651\u4f20\u8f93\u901f\u7387\u3001\u8ddd\u79bb\u3001\u53ef\u9760\u6027\u4ee5\u53ca\u6210\u672c\u7b49\u56e0\u7d20\u3002\u4f8b\u5982\uff0c\u5bf9\u4e8e\u9700\u8981\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u7684\u5e94\u7528\uff0cSPI\u53ef\u80fd\u662f\u66f4\u597d\u7684\u9009\u62e9;\u800c\u5bf9\u4e8e\u9700\u8981\u957f\u8ddd\u79bb\u6216\u65e0\u7ebf\u8fde\u63a5\u7684\u5e94\u7528\uff0c\u5219\u53ef\u80fd\u9700\u8981\u8003\u8651\u84dd\u7259\u6216Wi-Fi\u7b49\u65e0\u7ebf\u901a\u4fe1\u6280\u672f\u3002<\/p>\n\n\n\n \u3000\u3000UART(\u901a\u7528\u5f02\u6b65\u6536\u53d1\u4f20\u8f93\u5668)\u662f\u4e00\u79cd\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5355\u7247\u673a\u548c\u5d4c\u5165\u5f0f\u8bbe\u5907\u4e4b\u95f4\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\u3002\u5176\u5de5\u4f5c\u539f\u7406\u57fa\u4e8e\u9010\u4f4d\u4f20\u8f93\u6570\u636e\uff0c\u5373\u6bcf\u6b21\u53ea\u4f20\u8f93\u4e00\u4e2a\u4e8c\u8fdb\u5236\u4f4d\u3002\u5728UART\u901a\u4fe1\u4e2d\uff0c\u53d1\u9001\u5668\u548c\u63a5\u6536\u5668\u901a\u8fc7\u5f00\u59cb\u4f4d\u3001\u505c\u6b62\u4f4d\u4ee5\u53ca\u5b9a\u65f6\u53c2\u6570\u6765\u540c\u6b65\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n \u3000\u3000\u5c3d\u7ba1UART\u5177\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u5982\u786c\u4ef6\u63a5\u53e3\u7b80\u5355\u3001\u7075\u6d3b\u6027\u9ad8\u548c\u652f\u6301\u591a\u79cd\u6ce2\u7279\u7387\u548c\u6570\u636e\u683c\u5f0f\uff0c\u4f46\u5b83\u4e5f\u6709\u4e00\u5b9a\u7684\u7f3a\u70b9\u3002<\/p>\n\n\n\n \u3000\u3000I2C\u901a\u4fe1\u534f\u8bae\u5728\u5355\u7247\u673a\u4e2d\u7684\u5b9e\u73b0\u65b9\u5f0f\u4e3b\u8981\u4f9d\u8d56\u4e8e\u5176\u7b80\u5355\u7684\u786c\u4ef6\u8fde\u63a5\u548c\u7075\u6d3b\u7684\u5730\u5740\u9009\u62e9\u673a\u5236\u3002I2C\u534f\u8bae\u901a\u5e38\u4f7f\u7528\u4e24\u6761\u7ebf\u7f06\uff1a\u4e32\u884c\u65f6\u949f(SCL)\u548c\u4e32\u884c\u6570\u636e(SDA)\uff0c\u901a\u8fc7\u8fd9\u4e24\u6761\u7ebf\u7f06\u53ef\u4ee5\u5b9e\u73b0\u4e0e\u591a\u4e2a\u8bbe\u5907\u7684\u901a\u4fe1\u3002I2C\u534f\u8bae\u5141\u8bb8\u4f7f\u7528\u72ec\u7279\u76847\u4f4d\u5730\u5740\u6765\u9009\u62e9\u7279\u5b9a\u7684\u4ece\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u591a\u8bbe\u5907\u901a\u4fe1\uff0c\u800c\u4e0d\u9700\u8981\u989d\u5916\u7684\u82af\u7247\u9009\u62e9\u5f15\u811a(CS\u7ebf)\u3002\u8fd9\u79cd\u8bbe\u8ba1\u4f7f\u5f97\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u96c6\u6210\u591a\u4e2a\u4f20\u611f\u5668\u53d8\u5f97\u76f8\u5bf9\u5bb9\u6613\u3002<\/p>\n\n\n\n \u3000\u3000\u4e0eSPI\u534f\u8bae\u76f8\u6bd4\uff0cI2C\u5177\u6709\u4ee5\u4e0b\u7279\u70b9\uff1a<\/p>\n\n\n\n \u3000\u3000I2C\u534f\u8bae\u5728\u5355\u7247\u673a\u4e2d\u7684\u5b9e\u73b0\u65b9\u5f0f\u8f83\u4e3a\u7b80\u5355\u4e14\u8d44\u6e90\u6d88\u8017\u4f4e\uff0c\u9002\u5408\u4e8e\u9700\u8981\u4f4e\u901f\u3001\u9ad8\u53ef\u9760\u6027\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n \u3000\u3000CAN\u603b\u7ebf\u901a\u4fe1\u534f\u8bae\u5728\u6c7d\u8f66\u7535\u5b50\u7cfb\u7edf\u4e2d\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u5177\u4f53\u6848\u4f8b\u5305\u62ec\uff1a<\/p>\n\n\n\n \u3000\u3000\u5728\u7269\u8054\u7f51\u8bbe\u5907\u4e2d\uff0c\u84dd\u7259\u548cWi-Fi\u5728\u6570\u636e\u4f20\u8f93\u6548\u7387\u548c\u5b89\u5168\u6027\u65b9\u9762\u5404\u6709\u4f18\u52a3\u3002<\/p>\n\n\n\n \u3000\u3000\u4ece\u6570\u636e\u4f20\u8f93\u6548\u7387\u6765\u770b\uff0cWi-Fi\u901a\u5e38\u63d0\u4f9b\u66f4\u9ad8\u7684\u4f20\u8f93\u901f\u5ea6\u3002Wi-Fi\u7684\u4f20\u8f93\u901f\u5ea6\u53ef\u4ee5\u8fbe\u5230\u6570\u767eMbps\u751a\u81f3\u51e0Gbps\uff0c\u800c\u84dd\u7259\u7684\u4f20\u8f93\u901f\u5ea6\u901a\u5e38\u57281Mbps\u5de6\u53f3\u3002\u8fd9\u610f\u5473\u7740\u5bf9\u4e8e\u9700\u8981\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u7684\u5e94\u7528\u573a\u666f\uff0c\u5982\u89c6\u9891\u6d41\u4f20\u8f93\u6216\u5927\u91cf\u6570\u636e\u7684\u5b9e\u65f6\u4f20\u8f93\uff0cWi-Fi\u53ef\u80fd\u662f\u66f4\u5408\u9002\u7684\u9009\u62e9\u3002\u7136\u800c\uff0c\u84dd\u7259\u5728\u4f4e\u529f\u8017\u548c\u77ed\u8ddd\u79bb\u901a\u4fe1\u65b9\u9762\u5177\u6709\u4f18\u52bf\uff0c\u9002\u7528\u4e8e\u97f3\u9891\u6570\u636e\u4f20\u8f93\u3001\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\u63a7\u5236\u7b49\u4f4e\u901f\u3001\u4f4e\u529f\u8017\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u5b89\u5168\u6027\u65b9\u9762\uff0c\u84dd\u7259\u548cWi-Fi\u90fd\u91c7\u7528\u4e86\u52a0\u5bc6\u6280\u672f\u6765\u4fdd\u62a4\u6570\u636e\u4f20\u8f93\u3002\u84dd\u7259\u4f7f\u7528E0\u6d41\u5bc6\u7801\u4e3a\u6bcf\u4e2a\u4f1a\u8bdd\u751f\u6210\u552f\u4e00\u7684\u52a0\u5bc6\u5bc6\u94a5\uff0c\u5e76\u4ece\u8fd9\u4e9b\u5bc6\u94a5\u4e2d\u6d3e\u751f\u51fa\u6bcf\u4e2a\u6570\u636e\u5305\u7684\u5bc6\u94a5\uff0c\u4ee5\u907f\u514d\u9891\u7e41\u91cd\u7528\u3002\u8fd9\u79cd\u65b9\u6cd5\u4f18\u4e8e\u65e9\u671fWi-Fi\u4f7f\u7528\u7684WEP\u534f\u8bae\uff0c\u5c3d\u7ba1\u5b83\u4e5f\u6709\u81ea\u5df1\u7684\u5f31\u70b9\u3002\u6700\u65b0\u7684Wi-Fi\u8bbe\u5907\u57fa\u4e8eWPA\u52a0\u5bc6\u6807\u51c6\uff0c\u66f4\u96be\u88ab\u7834\u89e3\uff0c\u672a\u6765\u57fa\u4e8e802.1X\/EAP\u6846\u67b6(WPA2)\u7684\u8bbe\u5907\u5c06\u5141\u8bb8\u9009\u62e9\u4e0d\u540c\u5f3a\u5ea6\u7684\u7b97\u6cd5\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0cWi-Fi\u8fd8\u652f\u6301\u66f4\u590d\u6742\u7684\u8ba4\u8bc1\u673a\u5236\u548c\u5b89\u5168\u534f\u8bae\uff0c\u5982WPA3\u548c\u7a7a\u4e2d\u4f20\u9001(OTA)\u7684AES\u52a0\u5bc6\uff0c\u8fd9\u4f7f\u5f97Wi-Fi\u5728\u5b89\u5168\u6027\u65b9\u9762\u5177\u6709\u4e00\u5b9a\u7684\u4f18\u52bf\u3002\u7136\u800c\uff0c\u84dd\u7259\u4e5f\u63d0\u4f9b\u4e86\u591a\u79cd\u5b89\u5168\u63aa\u65bd\u6765\u4fdd\u62a4\u7528\u6237\u6570\u636e\u548c\u7f51\u7edc\u5b89\u5168\u3002<\/p>\n\n\n\n \u3000\u3000\u84dd\u7259\u548cWi-Fi\u5728\u7269\u8054\u7f51\u8bbe\u5907\u4e2d\u7684\u6570\u636e\u4f20\u8f93\u6548\u7387\u548c\u5b89\u5168\u6027\u5404\u6709\u7279\u70b9\u3002<\/p>\n\n\n\n \u3000\u3000USB\u901a\u4fe1\u534f\u8bae\u5728\u5355\u7247\u673a\u4e0ePC\u8fde\u63a5\u4e2d\u5177\u6709\u663e\u8457\u7684\u4f18\u52bf\u548c\u4e00\u4e9b\u9650\u5236\u3002<\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u5355\u7247\u673a\u7684\u901a\u4fe1\u534f\u8bae\u662f\u5b9e\u73b0\u8bbe\u5907\u95f4\u6570\u636e\u4ea4\u6362\u548c\u63a7\u5236\u7684\u91cd\u8981\u624b\u6bb5\u3002\u5728\u5355\u7247\u673a\u7684\u5e94\u7528\u4e2d\uff0c\u5e38\u89c1\u7684\u901a\u4fe1\u534f\u8bae\u5305\u62ec\u4e32\u884c\u901a\u4fe1\u534f\u8bae(\u5982UART\u3001SPI\u3001I2C)\u3001\u5e76\u884c\u901a\u4fe1\u534f\u8bae(\u5982CAN\u603b\u7ebf)<\/p>\n","protected":false},"author":1,"featured_media":97947,"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":[83,137],"class_list":["post-98944","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dpj","tag-txxy"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/98944"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=98944"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/98944\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/97947"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=98944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=98944"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=98944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 \u5355\u7247\u673a\u7684\u901a\u4fe1\u534f\u8bae\u6709\u54ea\u4e9b<\/h2>\n\n\n\n
\u3000\u30001. \u4e32\u884c\u901a\u4fe1\u534f\u8bae<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30002. \u5e76\u884c\u901a\u4fe1\u534f\u8bae<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u65e0\u7ebf\u901a\u4fe1\u6280\u672f<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30004. USB\u901a\u4fe1<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30005. \u5176\u4ed6\u901a\u4fe1\u534f\u8bae<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u4e8c\u3001 \u5355\u7247\u673aUART\u901a\u4fe1\u534f\u8bae\u7684\u8be6\u7ec6\u5de5\u4f5c\u539f\u7406\u548c\u5e94\u7528\u573a\u666f<\/h2>\n\n\n\n
\u3000\u30001. UART\u901a\u4fe1\u7684\u57fa\u672c\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/h3>\n\n\n\n
\n
\u3000\u30002. UART\u7684\u5e94\u7528\u573a\u666f\u975e\u5e38\u5e7f\u6cdb\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a<\/h3>\n\n\n\n
\n
\u3000\u3000\u4e09\u3001 I2C\u901a\u4fe1\u534f\u8bae\u5728\u5355\u7247\u673a\u4e2d\u7684\u5b9e\u73b0\u65b9\u5f0f\u53ca\u5176\u4e0eSPI\u534f\u8bae\u7684\u6027\u80fd\u6bd4\u8f83<\/h2>\n\n\n\n
\n
\u3000\u3000\u56db\u3001 CAN\u603b\u7ebf\u901a\u4fe1\u534f\u8bae\u5728\u6c7d\u8f66\u7535\u5b50\u7cfb\u7edf\u4e2d\u7684\u5177\u4f53\u5e94\u7528<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e94\u3001 \u84dd\u7259\u548cWi-Fi\u5728\u7269\u8054\u7f51\u8bbe\u5907\u4e2d\u7684\u6570\u636e\u4f20\u8f93\u6548\u7387\u548c\u5b89\u5168\u6027\u5bf9\u6bd4<\/h2>\n\n\n\n
\u3000\u3000\u516d\u3001 USB\u901a\u4fe1\u534f\u8bae\u5728\u5355\u7247\u673a\u4e0ePC\u8fde\u63a5\u4e2d\u7684\u4f18\u52bf\u548c\u9650\u5236<\/h2>\n\n\n\n
\u3000\u30001. \u4f18\u52bf\uff1a<\/h3>\n\n\n\n
\n
\u3000\u30002. \u9650\u5236\uff1a<\/h3>\n\n\n\n
\n