{"id":69209,"date":"2023-12-19T13:01:20","date_gmt":"2023-12-19T05:01:20","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=69209"},"modified":"2023-12-19T13:01:20","modified_gmt":"2023-12-19T05:01:20","slug":"ryudqb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/69209.html","title":{"rendered":"RS232\u4e0eUART\u7684\u533a\u522b"},"content":{"rendered":"

  RS232\u548cUART\u662f\u6570\u5b57\u901a\u4fe1\u9886\u57df\u7684\u4e24\u4e2a\u91cd\u8981\u6982\u5ff5\uff0c\u5b83\u4eec\u5728\u4e32\u884c\u901a\u4fe1\u4e2d\u626e\u6f14\u7740\u4e0d\u540c\u7684\u89d2\u8272\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5b83\u4eec\u7684\u533a\u522b\uff0c\u5e76\u5206\u6790\u5b83\u4eec\u5728\u901a\u4fe1\u4e2d\u7684\u5e94\u7528\u3002<\/p>\n

RS232\u4e0eUART\u7684\u5b9a\u4e49<\/h2>\n

  RS232\u662f\u4e00\u79cd\u9762\u5411\u4e32\u884c\u901a\u4fe1\u7684\u6807\u51c6\u63a5\u53e3\uff0c\u7528\u4e8e\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\u3002\u5b83\u91c7\u7528\u5dee\u5206\u4fe1\u53f7\u8fdb\u884c\u901a\u4fe1\uff0c\u901a\u5e38\u4f7f\u7528DB9\u6216DB25\u8fde\u63a5\u5668\u3002UART\uff08\u901a\u7528\u5f02\u6b65\u6536\u53d1\u4f20\u8f93\u5668\uff09\u662f\u4e00\u79cd\u96c6\u6210\u7535\u8def\uff0c\u7528\u4e8e\u5c06\u5e76\u884c\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\u4ee5\u8fdb\u884c\u4f20\u8f93\uff0c\u6216\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3a\u5e76\u884c\u6570\u636e\u4ee5\u8fdb\u884c\u63a5\u6536\u3002<\/p>\n

  RS232\u7684\u7279\u70b9<\/h3>\n

  RS232\u901a\u4fe1\u4f7f\u7528\u5355\u4e00\u7684\u6570\u636e\u7ebf\u8fdb\u884c\u53cc\u5411\u901a\u4fe1\uff0c\u5176\u4e2d\u91c7\u7528\u4e86\u6b63\u8d1f\u903b\u8f91\u7535\u5e73\u6765\u8868\u793a\u4e0d\u540c\u7684\u6570\u636e\u72b6\u6001\u3002\u5b83\u901a\u5e38\u5728\u5de5\u4e1a\u63a7\u5236\u548c\u8001\u5f0f\u8ba1\u7b97\u673a\u7cfb\u7edf\u4e2d\u4f7f\u7528\uff0c\u4f46\u968f\u7740\u6280\u672f\u7684\u53d1\u5c55\uff0c\u9010\u6e10\u88ab\u66f4\u73b0\u4ee3\u7684\u901a\u4fe1\u6807\u51c6\u6240\u53d6\u4ee3\u3002<\/p>\n

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

  UART<\/a>\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u6a21\u5757<\/a>\uff0c\u5728\u7535\u5b50\u8bbe\u5907\u4e2d\u5e7f\u6cdb\u4f7f\u7528\u3002\u5b83\u80fd\u591f\u5c06\u5e76\u884c\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\uff0c\u5e76\u5141\u8bb8\u5f02\u6b65\u901a\u4fe1\u3002UART\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574\u6ce2\u7279\u7387\u6765\u9002\u5e94\u4e0d\u540c\u7684\u901a\u4fe1\u901f\u7387\uff0c\u56e0\u6b64\u5728\u5404\u79cd\u5e94\u7528\u4e2d\u5177\u6709\u7075\u6d3b\u6027\u548c\u5e7f\u6cdb\u9002\u7528\u6027\u3002<\/p>\n

RS232\u4e0eUART\u7684\u5e94\u7528<\/h2>\n

  RS232\u4e3b\u8981\u7528\u4e8e\u4e32\u884c\u901a\u4fe1\uff0c\u4f8b\u5982\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u548c\u901a\u4fe1\u8bbe\u5907\u4e2d\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u4e5f\u88ab\u7528\u4e8e\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u4f20\u7edf\u5916\u56f4\u8bbe\u5907\uff0c\u5982\u8c03\u5236\u89e3\u8c03<\/a>\u5668\u548c\u6253\u5370\u673a\u3002UART\u5219\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u3001\u5fae\u63a7\u5236\u5668\u548c\u4f20\u611f\u5668\u7b49\u9886\u57df\uff0c\u7528\u4e8e\u5904\u7406\u4e32\u884c\u6570\u636e\u901a\u4fe1\u3002<\/p>\n

  RS232\u7684\u5e94\u7528\u9886\u57df<\/h3>\n

  RS232\u901a\u5e38\u7528\u4e8e\u9700\u8981\u957f\u8ddd\u79bb\u4f20\u8f93\u548c\u5bf9\u901a\u4fe1\u901f\u7387\u8981\u6c42\u4e0d\u9ad8\u7684\u573a\u5408\uff0c\u4f8b\u5982\u5de5\u4e1a\u8bbe\u5907\u63a7\u5236\u3001POS\u7cfb\u7edf\u548c\u901a\u4fe1\u8bbe\u5907\u4e4b\u95f4\u7684\u8fde\u63a5\u3002<\/p>\n

  UART\u7684\u5e94\u7528\u9886\u57df<\/h3>\n

  UART\u6a21\u5757\u5e38\u7528\u4e8e\u4e0e\u4f20\u611f\u5668\u3001\u663e\u793a\u5c4f\u3001GPS\u6a21\u5757\u7b49\u8bbe\u5907\u8fdb\u884c\u901a\u4fe1\u3002\u7531\u4e8e\u5176\u7075\u6d3b\u6027\u548c\u53ef\u8c03\u8282\u7684\u6ce2\u7279\u7387\uff0cUART\u5728\u5404\u79cd\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u90fd\u6709\u7740\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  RS232\u548cUART\u5728\u6570\u5b57\u901a\u4fe1\u4e2d\u90fd\u626e\u6f14\u7740\u91cd\u8981\u7684\u89d2\u8272\u3002<\/strong>RS232\u662f\u4e00\u79cd\u6807\u51c6\u63a5\u53e3\uff0c\u4e3b\u8981\u7528\u4e8e\u4f20\u7edf\u7684\u4e32\u884c\u901a\u4fe1\u5e94\u7528\uff0c\u800cUART\u5219\u662f\u4e00\u79cd\u96c6\u6210\u7535\u8def\u6a21\u5757\uff0c\u80fd\u591f\u5c06\u5e76\u884c\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\u3002\u5b83\u4eec\u5404\u81ea\u5728\u4e0d\u540c\u7684\u9886\u57df\u6709\u7740\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u662f\u6570\u5b57\u901a\u4fe1\u9886\u57df\u4e2d\u503c\u5f97\u6df1\u5165\u4e86\u89e3\u7684\u91cd\u8981\u6982\u5ff5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

RS232\u548cUART\u662f\u6570\u5b57\u901a\u4fe1\u9886\u57df\u7684\u4e24\u4e2a\u91cd\u8981\u6982\u5ff5\uff0c\u5b83\u4eec\u5728\u4e32\u884c\u901a\u4fe1\u4e2d\u626e\u6f14\u7740\u4e0d\u540c\u7684\u89d2\u8272\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5b83\u4eec\u7684\u533a\u522b\uff0c\u5e76\u5206\u6790\u5b83\u4eec\u5728\u901a\u4fe1\u4e2d\u7684\u5e94\u7528\u3002RS232\u4e0eUART\u7684\u5b9a\u4e49RS<\/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-69209","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\/69209","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=69209"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/69209\/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=69209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=69209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=69209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}