{"id":68775,"date":"2023-12-21T23:01:58","date_gmt":"2023-12-21T15:01:58","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=68775"},"modified":"2023-12-21T23:01:58","modified_gmt":"2023-12-21T15:01:58","slug":"rsyum","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/68775.html","title":{"rendered":"RS485\u5c5e\u4e8eUART\u5417\uff1f"},"content":{"rendered":"

  RS485\u548cUART\u662f\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u6807\u51c6\uff0c\u5b83\u4eec\u5728\u5de5\u4e1a\u63a7\u5236\u3001\u81ea\u52a8\u5316\u548c\u901a\u8baf\u9886\u57df\u4e2d\u8d77\u7740\u91cd\u8981\u4f5c\u7528\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8RS485\u548cUART\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u5b83\u4eec\u7684\u5dee\u5f02\u548c\u8054\u7cfb\u3002<\/p>\n

RS485\u901a\u4fe1\u6807\u51c6\u4ecb\u7ecd<\/h2>\n

  RS485\u662f\u4e00\u79cd\u591a\u70b9\u6570\u636e\u901a\u4fe1\u6807\u51c6\uff0c\u5141\u8bb8\u591a\u4e2a\u8bbe\u5907\u901a\u8fc7\u540c\u4e00\u6761\u4f20\u8f93\u7ebf\u8fdb\u884c\u901a\u4fe1\u3002\u5b83\u4f7f\u7528\u5dee\u5206\u4fe1\u53f7\u4f20\u8f93\uff0c\u80fd\u591f\u62b5\u6297\u7535\u78c1\u5e72\u6270\uff0c\u5e76\u652f\u6301\u957f\u8ddd\u79bb\u4f20\u8f93\u3002RS485\u5e38\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u3001\u81ea\u52a8\u5316\u8bbe\u5907\u548c\u8fdc\u7a0b\u4f20\u611f\u5668\u7f51\u7edc\u4e2d\u3002<\/p>\n

  RS485\u7279\u70b9<\/h3>\n

  1. \u591a\u70b9\u901a\u4fe1\uff1a\u591a\u4e2a\u8bbe\u5907\u53ef\u4ee5\u901a\u8fc7\u540c\u4e00\u4f20\u8f93\u7ebf\u8fdb\u884c\u901a\u4fe1\u3002<\/p>\n

  2. \u5dee\u5206\u4fe1\u53f7\u4f20\u8f93\uff1a\u5229\u7528\u6b63\u8d1f\u4fe1\u53f7\u4e4b\u95f4\u7684\u5dee\u5f02\u6765\u62b5\u6297\u5e72\u6270\u3002<\/p>\n

  3. \u957f\u8ddd\u79bb\u4f20\u8f93\uff1a\u652f\u6301\u8f83\u957f\u7684\u901a\u4fe1\u8ddd\u79bb\uff0c\u6700\u9ad8\u53ef\u8fbe1200\u7c73\u3002<\/p>\n

  RS485\u5de5\u4f5c\u539f\u7406<\/h3>\n

  RS485\u901a\u4fe1\u4f7f\u7528\u5168\u53cc\u5de5\u7684\u65b9\u5f0f\uff0c\u5141\u8bb8\u540c\u65f6\u8fdb\u884c\u53d1\u9001\u548c\u63a5\u6536\u64cd\u4f5c\u3002\u5b83\u91c7\u7528\u534a\u53cc\u5de5<\/a>\u901a\u4fe1\u65b9\u5f0f\u8fdb\u884c\u53cc\u5411\u6570\u636e\u4f20\u8f93\uff0c\u901a\u8fc7\u63a7\u5236\u53d1\u9001\u548c\u63a5\u6536\u7ebf\u8def\u6765\u5b9e\u73b0\u3002<\/p>\n

UART\u901a\u4fe1\u534f\u8bae\u6982\u8ff0<\/h2>\n

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u901a\u5e38\u7528\u4e8e\u77ed\u8ddd\u79bb\u901a\u4fe1\uff0c\u5982\u4e32\u53e3\u901a\u4fe1\u3002<\/p>\n

  UART\u5de5\u4f5c\u539f\u7406<\/h3>\n

  UART\u901a\u8fc7\u4e32\u884c\u4f20\u8f93\u65b9\u5f0f\uff0c\u5c06\u6570\u636e\u5206\u5272\u6210\u591a\u4e2a\u4f4d\u8fdb\u884c\u4f20\u8f93\u3002\u5b83\u4f7f\u7528\u8d77\u59cb\u4f4d\u3001\u6570\u636e\u4f4d\u3001\u6821\u9a8c\u4f4d\u548c\u505c\u6b62\u4f4d\u6765\u5b9a\u4e49\u6570\u636e\u5e27\uff0c\u5b9e\u73b0\u5f02\u6b65\u901a\u4fe1\u3002<\/p>\n

  UART\u7279\u70b9<\/h3>\n

  1. \u7b80\u5355\u6613\u7528\uff1aUART\u901a\u4fe1\u76f8\u5bf9\u7b80\u5355\uff0c\u9002\u7528\u4e8e\u7b80\u5355\u7684\u4e32\u884c\u901a\u4fe1\u573a\u666f\u3002<\/p>\n

  2. \u77ed\u8ddd\u79bb\u4f20\u8f93\uff1a\u4e3b\u8981\u7528\u4e8e\u77ed\u8ddd\u79bb\u901a\u4fe1\uff0c\u9650\u5236\u4e86\u5176\u5728\u957f\u8ddd\u79bb\u5de5\u4e1a\u63a7\u5236\u9886\u57df\u7684\u5e94\u7528\u3002<\/p>\n

RS485\u4e0eUART\u7684\u5173\u7cfb<\/h2>\n

  RS485\u548cUART\u90fd\u662f\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u6807\u51c6\uff0c\u4f46\u5728\u5e94\u7528\u573a\u666f\u548c\u7279\u6027\u4e0a\u5b58\u5728\u4e00\u4e9b\u660e\u663e\u7684\u5dee\u5f02\u3002RS485\u901a\u5e38\u7528\u4e8e\u591a\u70b9\u901a\u4fe1\uff0c\u652f\u6301\u957f\u8ddd\u79bb\u4f20\u8f93\uff0c\u5e76\u5177\u5907\u6297\u5e72\u6270\u80fd\u529b\uff0c\u9002\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u9886\u57df\uff1b\u800cUART\u901a\u5e38\u7528\u4e8e\u70b9\u5bf9\u70b9<\/a>\u901a\u4fe1\uff0c\u9002\u7528\u4e8e\u77ed\u8ddd\u79bb\u901a\u4fe1\uff0c\u5982\u4e32\u53e3\u901a\u4fe1\u3002<\/p>\n

  \u7ed3\u8bba<\/h3>\n

  \u7efc\u4e0a\u6240\u8ff0\uff0c\u867d\u7136RS485\u548cUART\u90fd\u5c5e\u4e8e\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u6807\u51c6\uff0c\u4f46\u5b83\u4eec\u5728\u5e94\u7528\u573a\u666f\u548c\u7279\u6027\u4e0a\u6709\u7740\u663e\u8457\u7684\u5dee\u5f02\u3002<\/strong>RS485\u9002\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u3001\u81ea\u52a8\u5316\u548c\u957f\u8ddd\u79bb\u901a\u4fe1\uff0c\u800cUART\u9002\u7528\u4e8e\u77ed\u8ddd\u79bb\u70b9\u5bf9\u70b9\u901a\u4fe1<\/a>\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u901a\u4fe1\u6807\u51c6\uff0c\u4ee5\u786e\u4fdd\u901a\u4fe1\u7684\u7a33\u5b9a\u548c\u53ef\u9760\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

RS485\u548cUART\u662f\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u6807\u51c6\uff0c\u5b83\u4eec\u5728\u5de5\u4e1a\u63a7\u5236\u3001\u81ea\u52a8\u5316\u548c\u901a\u8baf\u9886\u57df\u4e2d\u8d77\u7740\u91cd\u8981\u4f5c\u7528\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8RS485\u548cUART\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u5b83\u4eec\u7684\u5dee\u5f02\u548c<\/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-68775","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\/68775","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=68775"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/68775\/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=68775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=68775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=68775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}