{"id":68473,"date":"2023-12-21T16:35:56","date_gmt":"2023-12-21T08:35:56","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=68473"},"modified":"2023-12-21T16:35:56","modified_gmt":"2023-12-21T08:35:56","slug":"ujshdqbyyy","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/68473.html","title":{"rendered":"UART\u6280\u672f\uff1a232\u548c485\u7684\u533a\u522b\u4e0e\u5e94\u7528"},"content":{"rendered":"

  UART\u6280\u672f\u662f\u73b0\u4ee3\u901a\u4fe1\u9886\u57df\u4e2d\u81f3\u5173\u91cd\u8981\u7684\u4e00\u90e8\u5206\uff0c\u5176\u5e94\u7528\u8303\u56f4\u6db5\u76d6\u4e86\u4f17\u591a\u9886\u57df\u3002\u672c\u6587\u5c06\u91cd\u70b9\u63a2\u8ba8UART\u6280\u672f\u4e2d\u7684232\u548c485\u4e24\u79cd\u901a\u4fe1\u6807\u51c6\uff0c\u63a2\u8ba8\u5176\u533a\u522b\u4e0e\u5e94\u7528\u3002<\/p>\n

UART\u548c232\u7684\u5173\u7cfb<\/h2>\n

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u5141\u8bb8\u8bbe\u5907\u901a\u8fc7\u4e32\u884c\u7ebf\u8def\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002\u800cUART<\/a> 232\u6807\u51c6\u662f\u6307RS-232\u6807\u51c6\uff0c\u5b83\u662f\u4e00\u79cd\u8f83\u4e3a\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u6807\u51c6\uff0c\u88ab\u5e7f\u6cdb\u7528\u4e8e\u8ba1\u7b97\u673a\u548c\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002RS-232\u6807\u51c6\u89c4\u5b9a\u4e86\u4e32\u884c\u901a\u4fe1\u7684\u7269\u7406\u63a5\u53e3\u3001\u7535\u6c14\u7279\u6027\u3001\u673a\u68b0\u63a5\u53e3\u548c\u4fe1\u53f7\u529f\u80fd\uff0c\u662f\u4f20\u7edf\u610f\u4e49\u4e0a\u8ba1\u7b97\u673a\u4e32\u53e3\u7684\u6807\u51c6\u3002<\/p>\n

  RS-232\u6807\u51c6\u901a\u5e38\u4f7f\u7528DB-9\u6216DB-25\u8fde\u63a5\u5668\uff0c\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed\uff0c\u901f\u5ea6\u8f83\u6162\uff0c\u56e0\u6b64\u5728\u8fdc\u8ddd\u79bb\u548c\u9ad8\u901f\u4f20\u8f93\u5e94\u7528\u4e0a\u5b58\u5728\u4e00\u5b9a\u5c40\u9650\u6027\u3002<\/p>\n

UART\u548c485\u7684\u5173\u7cfb<\/h2>\n

  485\u6807\u51c6\u6982\u8ff0<\/h3>\n

  UART 485\u6807\u51c6\u662f\u6307RS-485\u6807\u51c6\uff0c\u5b83\u662f\u4e00\u79cd\u66f4\u4e3a\u5148\u8fdb\u548c\u7075\u6d3b\u7684\u4e32\u884c\u901a\u4fe1\u6807\u51c6\uff0c\u53ef\u5b9e\u73b0\u70b9\u5bf9\u70b9<\/a>\u548c\u591a\u70b9\u901a\u4fe1\u3002RS-485\u6807\u51c6\u652f\u6301\u5168\u53cc\u5de5<\/a>\u901a\u4fe1\uff0c\u53ef\u4ee5\u5b9e\u73b0\u8fdc\u8ddd\u79bb\u4f20\u8f93\u548c\u9ad8\u901f\u4f20\u8f93\uff0c\u9002\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u3001\u81ea\u52a8\u5316\u7cfb\u7edf\u7b49\u9886\u57df\u3002<\/p>\n

  232\u4e0e485\u7684\u5dee\u5f02<\/h3>\n

  \u4e0eRS-232\u6807\u51c6\u76f8\u6bd4\uff0cRS-485\u901a\u4fe1\u8ddd\u79bb\u66f4\u8fdc\uff0c\u901f\u5ea6\u66f4\u5feb\uff0c\u6297\u5e72\u6270\u80fd\u529b\u66f4\u5f3a\uff0c\u56e0\u6b64\u5728\u5de5\u4e1a\u63a7\u5236\u548c\u8fdc\u8ddd\u79bb\u901a\u4fe1\u7b49\u9886\u57df\u5177\u6709\u66f4\u5e7f\u6cdb\u7684\u5e94\u7528\u524d\u666f\u3002<\/p>\n

UART 232\u548c485\u7684\u5e94\u7528<\/h2>\n

  RS-232\u7684\u5e94\u7528<\/h3>\n

  RS-232\u6807\u51c6\u5e38\u7528\u4e8e\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\uff08\u5982\u6253\u5370\u673a\u3001\u8c03\u5236\u89e3\u8c03\u5668\u7b49\uff09\u7684\u8fde\u63a5\uff0c\u4e5f\u7528\u4e8e\u901a\u4fe1\u8bbe\u5907\u4e4b\u95f4\u7684\u7b80\u5355\u4e32\u884c\u901a\u4fe1\u3002<\/p>\n

  RS-485\u7684\u5e94\u7528<\/h3>\n

  RS-485\u6807\u51c6\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u5efa\u7b51\u81ea\u63a7\u3001\u667a\u80fd\u697c\u5b87\u7b49\u9886\u57df\u88ab\u5927\u91cf\u91c7\u7528\uff0c\u5e94\u7528\u8303\u56f4\u5e7f\u6cdb\uff0c\u80fd\u591f\u6ee1\u8db3\u8fdc\u8ddd\u79bb\u3001\u9ad8\u901f\u3001\u6297\u5e72\u6270\u7b49\u8981\u6c42\u3002<\/p>\n

  \u603b\u7ed3<\/h3>\n

  UART\u6280\u672f\u4e2d\u7684232\u548c485\u6807\u51c6\u5404\u81ea\u5177\u6709\u7279\u5b9a\u7684\u5e94\u7528\u573a\u666f\u548c\u7279\u70b9\u3002<\/strong>\u9009\u62e9\u5408\u9002\u7684\u6807\u51c6\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u901a\u4fe1\u9700\u6c42\uff0c\u4e86\u89e3\u5b83\u4eec\u4e4b\u95f4\u7684\u533a\u522b\u548c\u5e94\u7528\u9886\u57df\u5bf9\u4e8e\u5408\u7406\u9009\u578b\u81f3\u5173\u91cd\u8981\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\u6280\u672f\u662f\u73b0\u4ee3\u901a\u4fe1\u9886\u57df\u4e2d\u81f3\u5173\u91cd\u8981\u7684\u4e00\u90e8\u5206\uff0c\u5176\u5e94\u7528\u8303\u56f4\u6db5\u76d6\u4e86\u4f17\u591a\u9886\u57df\u3002\u672c\u6587\u5c06\u91cd\u70b9\u63a2\u8ba8UART\u6280\u672f\u4e2d\u7684232\u548c485\u4e24\u79cd\u901a\u4fe1\u6807\u51c6\uff0c\u63a2\u8ba8\u5176\u533a\u522b\u4e0e\u5e94\u7528\u3002UART\u548c232\u7684<\/p>\n","protected":false},"author":1,"featured_media":64231,"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":[145],"class_list":["post-68473","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-uart"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/68473","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=68473"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/68473\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64231"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=68473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=68473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=68473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}