{"id":20922,"date":"2023-09-21T16:35:35","date_gmt":"2023-09-21T08:35:35","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=20922"},"modified":"2023-09-21T16:35:35","modified_gmt":"2023-09-21T08:35:35","slug":"uydqb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/20922.html","title":{"rendered":"UART\u4e0e485\u7684\u533a\u522b"},"content":{"rendered":"

  UART\u548c485\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u4eec\u4e4b\u95f4\u5728\u6280\u672f\u4e0a\u6709\u5f88\u5927\u7684\u5dee\u5f02\uff0c\u4f46\u662f\u5b83\u4eec\u7684\u76ee\u7684\u90fd\u662f\u4e3a\u4e86\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdUART\u548c485\u7684\u533a\u522b\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u4e86\u89e3\u8fd9\u4e24\u79cd\u901a\u4fe1\u534f\u8bae\u3002<\/p>\n

UART<\/h2>\n

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\uff0c\u5373\u901a\u7528\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u662f\u4e00\u79cd\u7528\u4e8e\u5b9e\u73b0\u4e32\u884c\u6570\u636e\u4f20\u8f93\u7684\u786c\u4ef6\u63a5\u53e3\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u4f8b\u5982\u5728\u8ba1\u7b97\u673a\u548c\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002UART\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u572850bps\u52304Mbps\u4e4b\u95f4\u53d8\u5316\uff0c\u5e76\u4e14\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684\u6570\u636e\u683c\u5f0f\uff0c\u4f8b\u59828\u4f4d\uff0c7\u4f4d\uff0c\u548c9\u4f4d\u6570\u636e\u683c\u5f0f\u3002UART\u901a\u5e38\u7531\u4e00\u7ec4\u786c\u4ef6\u8d44\u6e90\uff0c\u5982\u63a5\u6536\u5668\uff0c\u53d1\u5c04\u5668\uff0c\u65f6\u949f\u548c\u63a7\u5236\u7ebf\u7ec4\u6210\uff0c\u8fd9\u4e9b\u8d44\u6e90\u5171\u540c\u6784\u6210UART\u7684\u7269\u7406\u63a5\u53e3\u3002<\/p>\n

485<\/h2>\n

  RS-485\u662f\u4e00\u79cd\u7528\u4e8e\u8fde\u63a5\u591a\u53f0\u8bbe\u5907\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5728\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u957f\u8ddd\u79bb\u5185\u4f20\u8f93\u6570\u636e\u3002RS-485\u901a\u5e38\u7531\u4e00\u7ec4\u53d1\u9001\u5668\uff0c\u63a5\u6536\u5668\uff0c\u63a7\u5236\u7ebf\u548c\u65f6\u949f\u7ec4\u6210\uff0c\u8fd9\u4e9b\u8d44\u6e90\u5171\u540c\u6784\u6210RS-485\u7684\u7269\u7406\u63a5\u53e3\u3002\u4e0eUART\u4e0d\u540c\uff0cRS-485\u53ef\u4ee5\u652f\u6301\u9ad8\u8fbe10Mbps\u7684\u4f20\u8f93\u901f\u7387\uff0c\u5e76\u4e14\u53ef\u4ee5\u652f\u6301\u66f4\u591a\u7684\u6570\u636e\u683c\u5f0f\uff0c\u59828\u4f4d\uff0c9\u4f4d\uff0c10\u4f4d\uff0c\u548c11\u4f4d\u6570\u636e\u683c\u5f0f\u3002\u6b64\u5916\uff0cRS-485\u8fd8\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u603b\u7ebf\u6a21\u5f0f\uff0c\u4f8b\u5982\u5e7f\u64ad\u6a21\u5f0f\uff0c\u70b9\u5bf9\u70b9\u6a21\u5f0f\uff0c\u4ee5\u53ca\u591a\u70b9\u6a21\u5f0f\u3002<\/p>\n

UART\u548c485\u7684\u533a\u522b<\/h2>\n

\u4f20\u8f93\u901f\u7387<\/h3>\n

  UART\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u572850bps\u52304Mbps\u4e4b\u95f4\u53d8\u5316\uff0c\u800cRS-485\u53ef\u4ee5\u652f\u6301\u9ad8\u8fbe10Mbps\u7684\u4f20\u8f93\u901f\u7387\u3002<\/p>\n

\u6570\u636e\u683c\u5f0f<\/h3>\n

  UART\u53ef\u4ee5\u4f7f\u75288\u4f4d\uff0c7\u4f4d\uff0c\u548c9\u4f4d\u6570\u636e\u683c\u5f0f\uff0c\u800cRS-485\u53ef\u4ee5\u652f\u6301\u66f4\u591a\u7684\u6570\u636e\u683c\u5f0f\uff0c\u59828\u4f4d\uff0c9\u4f4d\uff0c10\u4f4d\uff0c\u548c11\u4f4d\u6570\u636e\u683c\u5f0f\u3002<\/p>\n

\u603b\u7ebf\u6a21\u5f0f<\/h3>\n

  UART\u53ea\u652f\u6301\u70b9\u5bf9\u70b9\u6a21\u5f0f\uff0c\u800cRS-485\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u603b\u7ebf\u6a21\u5f0f\uff0c\u4f8b\u5982\u5e7f\u64ad\u6a21\u5f0f\uff0c\u70b9\u5bf9\u70b9\u6a21\u5f0f\uff0c\u4ee5\u53ca\u591a\u70b9\u6a21\u5f0f\u3002<\/p>\n

\u5e94\u7528\u573a\u666f<\/h3>\n

  UART\u901a\u5e38\u7528\u4e8e\u8ba1\u7b97\u673a\u548c\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u800cRS-485\u901a\u5e38\u7528\u4e8e\u8fde\u63a5\u591a\u53f0\u8bbe\u5907\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u53ef\u4ee5\u5728\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u957f\u8ddd\u79bb\u5185\u4f20\u8f93\u6570\u636e\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u548c485\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u4eec\u4e4b\u95f4\u5728\u6280\u672f\u4e0a\u6709\u5f88\u5927\u7684\u5dee\u5f02\u3002<\/strong>UART\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u572850bps\u52304Mbps\u4e4b\u95f4\u53d8\u5316\uff0c\u53ef\u4ee5\u4f7f\u75288\u4f4d\uff0c7\u4f4d\uff0c\u548c9\u4f4d\u6570\u636e\u683c\u5f0f\uff0c\u53ea\u652f\u6301\u70b9\u5bf9\u70b9\u6a21\u5f0f\uff0c\u901a\u5e38\u7528\u4e8e\u8ba1\u7b97\u673a\u548c\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u800cRS-485\u53ef\u4ee5\u652f\u6301\u9ad8\u8fbe10Mbps\u7684\u4f20\u8f93\u901f\u7387\uff0c\u53ef\u4ee5\u652f\u6301\u66f4\u591a\u7684\u6570\u636e\u683c\u5f0f\uff0c\u59828\u4f4d\uff0c9\u4f4d\uff0c10\u4f4d\uff0c\u548c11\u4f4d\u6570\u636e\u683c\u5f0f\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u603b\u7ebf\u6a21\u5f0f\uff0c\u901a\u5e38\u7528\u4e8e\u8fde\u63a5\u591a\u53f0\u8bbe\u5907\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u53ef\u4ee5\u5728\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u957f\u8ddd\u79bb\u5185\u4f20\u8f93\u6570\u636e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\u548c485\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u4eec\u4e4b\u95f4\u5728\u6280\u672f\u4e0a\u6709\u5f88\u5927\u7684\u5dee\u5f02\uff0c\u4f46\u662f\u5b83\u4eec\u7684\u76ee\u7684\u90fd\u662f\u4e3a\u4e86\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdUART\u548c485\u7684\u533a\u522b\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u4e86\u89e3\u8fd9\u4e24\u79cd\u901a<\/p>\n","protected":false},"author":1,"featured_media":3671,"comment_status":"closed","ping_status":"open","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":[61],"class_list":["post-20922","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-r"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/20922","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=20922"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/20922\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/3671"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=20922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=20922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=20922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}