{"id":41618,"date":"2023-10-05T12:52:50","date_gmt":"2023-10-05T04:52:50","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=41618"},"modified":"2023-10-05T12:52:50","modified_gmt":"2023-10-05T04:52:50","slug":"xrsqsg","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/41618.html","title":{"rendered":"3\u7ebfRS232\u662f\u5168\u53cc\u5de5"},"content":{"rendered":"

  RS232\u662f\u4e00\u79cd\u901a\u7528\u7684\u4e32\u884c\u6570\u636e\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u30023\u7ebfRS232\u662f\u5168\u53cc\u5de5\uff0c\u5b83\u652f\u6301\u53cc\u5411\u6570\u636e\u4f20\u8f93\uff0c\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\uff0c\u5982\u6253\u5370\u673a\u3001\u6a21\u62df\u8c03\u5236\u89e3\u8c03\u5668\u3001\u626b\u63cf\u4eea\u7b49\u3002\u672c\u6587\u5c06\u5bf93\u7ebfRS232\u662f\u5168\u53cc\u5de5\u7684\u539f\u7406\u3001\u4f18\u70b9\u3001\u7f3a\u70b9\u548c\u5e94\u7528\u8fdb\u884c\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/p>\n

3\u7ebfRS232\u662f\u5168\u53cc\u5de5\u7684\u539f\u7406<\/h2>\n

  3\u7ebfRS232\u662f\u4e00\u79cd\u5168\u53cc\u5de5\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u30023\u7ebfRS232\u662f\u5168\u53cc\u5de5\uff0c\u5b83\u652f\u6301\u53cc\u5411\u6570\u636e\u4f20\u8f93\uff0c\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\uff0c\u5982\u6253\u5370\u673a\u3001\u6a21\u62df\u8c03\u5236\u89e3\u8c03\u5668\u3001\u626b\u63cf\u4eea\u7b49\u3002<\/p>\n

  3\u7ebfRS232\u662f\u5168\u53cc\u5de5\uff0c\u5b83\u7684\u5de5\u4f5c\u539f\u7406\u662f\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u5efa\u7acb\u4e00\u4e2a\u53cc\u5411\u7684\u901a\u4fe1\u8fde\u63a5\uff0c\u5141\u8bb8\u4efb\u610f\u4e00\u65b9\u53d1\u9001\u6216\u63a5\u6536\u6570\u636e\u3002\u57283\u7ebfRS232\u8fde\u63a5\u4e2d\uff0c\u4e00\u53f0\u8ba1\u7b97\u673a\u4f5c\u4e3a\u4e3b\u673a\uff0c\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\u4f5c\u4e3a\u4ece\u673a\uff0c\u4e3b\u673a\u548c\u4ece\u673a\u4e4b\u95f4\u901a\u8fc7\u4e00\u67613\u7ebf\u7684\u8fde\u63a5\u7ebf\u8fdb\u884c\u53cc\u5411\u6570\u636e\u4f20\u8f93\uff0c\u4ece\u800c\u5b9e\u73b0\u53cc\u5411\u901a\u4fe1\u3002<\/p>\n

3\u7ebfRS232\u7684\u4f18\u70b9<\/h2>\n

  1.\u7b80\u5355\u6613\u7528<\/h3>\n

  3\u7ebfRS232\u662f\u4e00\u79cd\u7b80\u5355\u6613\u7528\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ea\u9700\u8981\u4e09\u6839\u7ebf\uff0c\u53ef\u4ee5\u5b9e\u73b0\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u7684\u53cc\u5411\u6570\u636e\u4f20\u8f93\u3002\u5b83\u7684\u63a5\u53e3\u7b80\u5355\uff0c\u4f7f\u7528\u65b9\u4fbf\uff0c\u65e0\u9700\u590d\u6742\u7684\u914d\u7f6e\uff0c\u53ef\u4ee5\u5feb\u901f\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

  2.\u4f4e\u6210\u672c<\/h3>\n

  3\u7ebfRS232\u7684\u63a5\u53e3\u7b80\u5355\uff0c\u53ea\u9700\u8981\u4e09\u6839\u7ebf\uff0c\u6240\u4ee5\u5b83\u7684\u6210\u672c\u6bd4\u5176\u4ed6\u901a\u4fe1\u534f\u8bae\u8981\u4f4e\u5f97\u591a\uff0c\u53ef\u4ee5\u5927\u5927\u964d\u4f4e\u8bbe\u5907\u6210\u672c\u3002<\/p>\n

  3.\u9ad8\u901f\u4f20\u8f93<\/h3>\n

  3\u7ebfRS232\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230115200bps\uff0c\u6bd4\u5176\u4ed6\u4e32\u884c\u901a\u4fe1\u534f\u8bae\u7684\u4f20\u8f93\u901f\u7387\u8981\u9ad8\u5f97\u591a\uff0c\u53ef\u4ee5\u6ee1\u8db3\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u7684\u8981\u6c42\u3002<\/p>\n

3\u7ebfRS232\u7684\u7f3a\u70b9<\/h2>\n

  1.\u5b89\u5168\u6027\u8f83\u4f4e<\/h3>\n

  \u7531\u4e8e3\u7ebfRS232\u53ea\u6709\u4e09\u6839\u7ebf\uff0c\u5b83\u7684\u5b89\u5168\u6027\u8f83\u4f4e\uff0c\u5bb9\u6613\u53d7\u5230\u5916\u754c\u7684\u5e72\u6270\uff0c\u5bb9\u6613\u88ab\u9ed1\u5ba2\u653b\u51fb\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6570\u636e\u6cc4\u9732\u3002<\/p>\n

  2.\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed<\/h3>\n

  3\u7ebfRS232\u7684\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed\uff0c\u6700\u957f\u53ea\u80fd\u4f20\u8f9350\u7c73\uff0c\u5982\u679c\u9700\u8981\u4f20\u8f93\u66f4\u8fdc\u7684\u8ddd\u79bb\uff0c\u5c31\u9700\u8981\u4f7f\u7528\u589e\u5f3a\u578b\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5982RS485\u3002<\/p>\n

3\u7ebfRS232\u7684\u5e94\u7528<\/h2>\n

  3\u7ebfRS232\u662f\u4e00\u79cd\u5e38\u7528\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8ba1\u7b97\u673a\u7f51\u7edc\u3001\u81ea\u52a8\u63a7\u5236\u7cfb\u7edf\u3001\u533b\u7597\u8bbe\u5907\u3001\u6c7d\u8f66\u7535\u5b50\u7cfb\u7edf\u7b49\u9886\u57df\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\uff0c\u5982\u6253\u5370\u673a\u3001\u6a21\u62df\u8c03\u5236\u89e3\u8c03\u5668\u3001\u626b\u63cf\u4eea\u7b49\uff0c\u4ee5\u53ca\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  3\u7ebfRS232\u662f\u5168\u53cc\u5de5\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002<\/strong>\u5b83\u7684\u4f18\u70b9\u662f\u7b80\u5355\u6613\u7528\u3001\u4f4e\u6210\u672c\u3001\u9ad8\u901f\u4f20\u8f93\uff0c\u7f3a\u70b9\u662f\u5b89\u5168\u6027\u8f83\u4f4e\u3001\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed\u30023\u7ebfRS232\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8ba1\u7b97\u673a\u7f51\u7edc\u3001\u81ea\u52a8\u63a7\u5236\u7cfb\u7edf\u3001\u533b\u7597\u8bbe\u5907\u3001\u6c7d\u8f66\u7535\u5b50\u7cfb\u7edf\u7b49\u9886\u57df\uff0c\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\uff0c\u4ee5\u53ca\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

RS232\u662f\u4e00\u79cd\u901a\u7528\u7684\u4e32\u884c\u6570\u636e\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u30023\u7ebfRS232\u662f\u5168\u53cc\u5de5\uff0c\u5b83\u652f\u6301\u53cc\u5411\u6570\u636e\u4f20\u8f93\uff0c\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\uff0c\u5982\u6253\u5370\u673a\u3001\u6a21\u62df\u8c03\u5236\u89e3\u8c03\u5668<\/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":[68],"class_list":["post-41618","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-r-3"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41618","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=41618"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41618\/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=41618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=41618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=41618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}