{"id":39016,"date":"2023-09-30T05:36:21","date_gmt":"2023-09-29T21:36:21","guid":{"rendered":"\/\/www.viralrail.com\/?p=39016"},"modified":"2023-09-30T05:36:21","modified_gmt":"2023-09-29T21:36:21","slug":"chuyztxjs","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/39016.html","title":{"rendered":"COM\u548cUART\uff1a\u4e00\u79cd\u901a\u4fe1\u6280\u672f"},"content":{"rendered":"

  COM\u548cUART\u662f\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u4ea4\u6362\u6570\u636e\u7684\u4e24\u79cd\u5e38\u7528\u6280\u672f\u3002<\/strong>\u5b83\u4eec\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u8fde\u63a5\u6253\u5370\u673a\u3001\u63a5\u6536\u5916\u90e8\u8bbe\u5907\u7684\u6570\u636e\u7b49\u3002\u672c\u6587\u5c06\u4ecb\u7ecdCOM\u548cUART\u7684\u5b9a\u4e49\u3001\u5386\u53f2\u3001\u4f18\u7f3a\u70b9\u4ee5\u53ca\u5e94\u7528\u573a\u666f\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u8fd9\u4e24\u79cd\u6280\u672f\u3002<\/p>\n

COM\uff1a\u4e00\u79cd\u5916\u90e8\u8bbe\u5907\u901a\u4fe1\u6280\u672f<\/h2>\n

  \u5b9a\u4e49<\/h3>\n

  COM\uff08Communication\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u5b9e\u73b0\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u6570\u636e\u4ea4\u6362\u7684\u6280\u672f\u3002\u5b83\u53ef\u4ee5\u8fde\u63a5\u5230\u7535\u8111\u7684\u4e32\u884c\u7aef\u53e3\uff08Serial Port\uff09\uff0c\u5b9e\u73b0\u5916\u90e8\u8bbe\u5907\u7684\u63a7\u5236\u548c\u6570\u636e\u4f20\u8f93\u3002COM\u6280\u672f\u7684\u53d1\u5c55\u53ef\u4ee5\u8ffd\u6eaf\u523020\u4e16\u7eaa80\u5e74\u4ee3\uff0c\u5f53\u65f6\u5b83\u662fIBM PC\u673a\u7684\u4e00\u79cd\u6807\u51c6\u63a5\u53e3\uff0c\u7528\u4e8e\u5b9e\u73b0\u5916\u90e8\u8bbe\u5907\u7684\u63a7\u5236\u548c\u6570\u636e\u4ea4\u6362\u3002<\/p>\n

  \u5386\u53f2<\/h3>\n

  COM\u6280\u672f\u6700\u65e9\u662f\u7531IBM\u63d0\u51fa\u7684\uff0c\u5b83\u5728IBM PC\u673a\u4e0a\u5f97\u5230\u4e86\u5e7f\u6cdb\u5e94\u7528\u3002COM\u6280\u672f\u7684\u51fa\u73b0\uff0c\u4f7f\u5f97\u7535\u8111\u53ef\u4ee5\u8fde\u63a5\u5230\u5916\u90e8\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u8fde\u63a5\u6253\u5370\u673a\u3001\u626b\u63cf\u4eea\u7b49\u3002\u572820\u4e16\u7eaa90\u5e74\u4ee3\uff0c\u968f\u7740\u8ba1\u7b97\u673a\u6280\u672f\u7684\u53d1\u5c55\uff0cCOM\u6280\u672f\u53c8\u8fdb\u4e00\u6b65\u6539\u8fdb\uff0c\u4f7f\u5f97\u7535\u8111\u53ef\u4ee5\u66f4\u52a0\u7075\u6d3b\u5730\u8fde\u63a5\u5230\u5916\u90e8\u8bbe\u5907\u3002<\/p>\n

  \u4f18\u7f3a\u70b9<\/h3>\n

  COM\u6280\u672f\u6709\u7740\u8bb8\u591a\u4f18\u70b9\uff0c\u9996\u5148\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u63a5\u6536\u5916\u90e8\u8bbe\u5907\u7684\u6570\u636e\u3001\u8fde\u63a5\u6253\u5370\u673a\u7b49\u3002\u5176\u6b21\uff0cCOM\u6280\u672f\u5177\u6709\u826f\u597d\u7684\u517c\u5bb9\u6027\uff0c\u5b83\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u8bbe\u5907\uff0c\u4f7f\u5f97\u7528\u6237\u53ef\u4ee5\u66f4\u52a0\u65b9\u4fbf\u5730\u4f7f\u7528\u5916\u90e8\u8bbe\u5907\u3002\u7136\u800c\uff0cCOM\u6280\u672f\u4e5f\u5b58\u5728\u4e00\u4e9b\u7f3a\u70b9\uff0c\u6bd4\u5982\u5b83\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u8f83\u6162\uff0c\u8fd9\u9650\u5236\u4e86\u5b83\u7684\u5e94\u7528\u8303\u56f4\u3002<\/p>\n

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

  COM\u6280\u672f\u4e3b\u8981\u7528\u4e8e\u5b9e\u73b0\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u8fde\u63a5\u6253\u5370\u673a\u3001\u63a5\u6536\u5916\u90e8\u8bbe\u5907\u7684\u6570\u636e\u7b49\u3002COM\u6280\u672f\u76ee\u524d\u4e3b\u8981\u5e94\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u3001\u7f51\u7edc\u901a\u4fe1\u7b49\u9886\u57df\uff0c\u5e76\u4e14\u6709\u671b\u5728\u672a\u6765\u5f97\u5230\u8fdb\u4e00\u6b65\u53d1\u5c55\u548c\u6539\u8fdb\u3002<\/p>\n

UART\uff1a\u4e00\u79cd\u9ad8\u901f\u901a\u4fe1\u6280\u672f<\/h2>\n

  \u5b9a\u4e49<\/h3>\n

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u9ad8\u901f\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u3002UART\u6280\u672f\u5177\u6709\u8f83\u9ad8\u7684\u4f20\u8f93\u901f\u7387\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5927\u91cf\u6570\u636e\u7684\u5feb\u901f\u4f20\u8f93\u3002<\/p>\n

  \u5386\u53f2<\/h3>\n

  UART\u6280\u672f\u6700\u65e9\u662f\u7531\u82f1\u7279\u5c14\u516c\u53f8\u63d0\u51fa\u7684\uff0c\u5b83\u662f\u4e00\u79cd\u9ad8\u901f\u901a\u4fe1\u6280\u672f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u3002UART\u6280\u672f\u7684\u51fa\u73b0\uff0c\u4f7f\u5f97\u7535\u8111\u53ef\u4ee5\u8fde\u63a5\u5230\u5916\u90e8\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u8fde\u63a5\u6253\u5370\u673a\u3001\u626b\u63cf\u4eea\u7b49\u3002\u572820\u4e16\u7eaa90\u5e74\u4ee3\uff0c\u968f\u7740\u8ba1\u7b97\u673a\u6280\u672f\u7684\u53d1\u5c55\uff0cUART\u6280\u672f\u53c8\u8fdb\u4e00\u6b65\u6539\u8fdb\uff0c\u4f7f\u5f97\u7535\u8111\u53ef\u4ee5\u66f4\u52a0\u7075\u6d3b\u5730\u8fde\u63a5\u5230\u5916\u90e8\u8bbe\u5907\u3002<\/p>\n

  \u4f18\u7f3a\u70b9<\/h3>\n

  UART\u6280\u672f\u6709\u7740\u8bb8\u591a\u4f18\u70b9\uff0c\u9996\u5148\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u63a5\u6536\u5916\u90e8\u8bbe\u5907\u7684\u6570\u636e\u3001\u8fde\u63a5\u6253\u5370\u673a\u7b49\u3002\u5176\u6b21\uff0cUART\u6280\u672f\u5177\u6709\u826f\u597d\u7684\u517c\u5bb9\u6027\uff0c\u5b83\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u8bbe\u5907\uff0c\u4f7f\u5f97\u7528\u6237\u53ef\u4ee5\u66f4\u52a0\u65b9\u4fbf\u5730\u4f7f\u7528\u5916\u90e8\u8bbe\u5907\u3002\u6b64\u5916\uff0cUART\u6280\u672f\u7684\u4f20\u8f93\u901f\u7387\u6bd4COM\u6280\u672f\u8981\u9ad8\u5f97\u591a\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u5927\u91cf\u6570\u636e\u7684\u5feb\u901f\u4f20\u8f93\u3002\u7136\u800c\uff0cUART\u6280\u672f\u4e5f\u5b58\u5728\u4e00\u4e9b\u7f3a\u70b9\uff0c\u6bd4\u5982\u5b83\u7684\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed\uff0c\u8fd9\u9650\u5236\u4e86\u5b83\u7684\u5e94\u7528\u8303\u56f4\u3002<\/p>\n

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

  UART\u6280\u672f\u4e3b\u8981\u7528\u4e8e\u5b9e\u73b0\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u8fde\u63a5\u6253\u5370\u673a\u3001\u63a5\u6536\u5916\u90e8\u8bbe\u5907\u7684\u6570\u636e\u7b49\u3002UART\u6280\u672f\u76ee\u524d\u4e3b\u8981\u5e94\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u3001\u667a\u80fd\u5bb6\u5c45\u7b49\u9886\u57df\uff0c\u5e76\u4e14\u6709\u671b\u5728\u672a\u6765\u5f97\u5230\u8fdb\u4e00\u6b65\u53d1\u5c55\u548c\u6539\u8fdb\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  COM\u548cUART\u662f\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u4ea4\u6362\u6570\u636e\u7684\u4e24\u79cd\u5e38\u7528\u6280\u672f\u3002<\/strong>\u5b83\u4eec\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u8fde\u63a5\u6253\u5370\u673a\u3001\u63a5\u6536\u5916\u90e8\u8bbe\u5907\u7684\u6570\u636e\u7b49\u3002COM\u6280\u672f\u53ef\u4ee5\u5b9e\u73b0\u5916\u90e8\u8bbe\u5907\u7684\u63a7\u5236\u548c\u6570\u636e\u4f20\u8f93\uff0c\u5177\u6709\u826f\u597d\u7684\u517c\u5bb9\u6027\uff0c\u4f46\u4f20\u8f93\u901f\u7387\u8f83\u6162\u3002UART\u6280\u672f\u662f\u4e00\u79cd\u9ad8\u901f\u901a\u4fe1\u6280\u672f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5927\u91cf\u6570\u636e\u7684\u5feb\u901f\u4f20\u8f93\uff0c\u4f46\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed\u3002COM\u548cUART\u6280\u672f\u90fd\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\uff0c\u5e76\u4e14\u6709\u671b\u5728\u672a\u6765\u5f97\u5230\u8fdb\u4e00\u6b65\u53d1\u5c55\u548c\u6539\u8fdb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

COM\u548cUART\u662f\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u4ea4\u6362\u6570\u636e\u7684\u4e24\u79cd\u5e38\u7528\u6280\u672f\u3002\u5b83\u4eec\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u8fde\u63a5\u6253\u5370\u673a\u3001\u63a5\u6536\u5916\u90e8\u8bbe\u5907\u7684\u6570\u636e\u7b49\u3002\u672c\u6587\u5c06\u4ecb<\/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":[145],"class_list":["post-39016","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-uart"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/39016"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=39016"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/39016\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=39016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=39016"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=39016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}