{"id":58396,"date":"2023-10-20T03:55:24","date_gmt":"2023-10-19T19:55:24","guid":{"rendered":"https:\/\/www.techphant.cn\/blog\/58396.html"},"modified":"2023-10-20T03:55:24","modified_gmt":"2023-10-19T19:55:24","slug":"ryudgx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/58396.html","title":{"rendered":"RS232\u4e0eUART\u7684\u5173\u7cfb"},"content":{"rendered":"

  RS232\u548cUART\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u4eec\u4e4b\u95f4\u5b58\u5728\u7740\u4e00\u5b9a\u7684\u5173\u7cfb\u3002\u672c\u6587\u5c06\u4ecb\u7ecdRS232\u4e0eUART\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u4f18\u7f3a\u70b9\u3002<\/p>\n

RS232\u4ecb\u7ecd<\/h2>\n

  RS232\u662f\u4e00\u79cd\u8001\u65e7\u7684\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u652f\u6301\u7535\u8111\u4e0e\u5916\u90e8\u8bbe\u5907\u7684\u8fde\u63a5\u3002\u5b83\u901a\u8fc7\u4e00\u6839\u6807\u51c6\u76849\u82af\u7535\u7f06\uff0c\u5c06\u7535\u8111\u7684\u4e32\u884c\u53e3\u4e0e\u5916\u90e8\u8bbe\u5907\u8fde\u63a5\u8d77\u6765\u3002\u5b83\u7684\u4f20\u8f93\u901f\u7387\u6700\u9ad8\u53ef\u4ee5\u8fbe\u5230115200bps\uff0c\u4f46\u662f\u5b83\u7684\u6570\u636e\u4f20\u8f93\u8ddd\u79bb\u6709\u9650\uff0c\u4e00\u822c\u4e0d\u80fd\u8d85\u8fc750\u7c73\u3002<\/p>\n

UART\u4ecb\u7ecd<\/h2>\n

  UART\u662f\u4e00\u79cd\u901a\u7528\u7684\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u4e24\u53f0\u7535\u8111\u3002UART\u53ef\u4ee5\u652f\u6301\u7684\u4f20\u8f93\u901f\u7387\u5f88\u9ad8\uff0c\u6700\u9ad8\u53ef\u4ee5\u8fbe\u52303Mbps\u3002\u5b83\u7684\u4f20\u8f93\u8ddd\u79bb\u4e5f\u6bd4RS232\u8981\u957f\uff0c\u6700\u957f\u53ef\u4ee5\u8fbe\u52301000\u7c73\u3002<\/p>\n

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

  RS232\u4e0eUART\u7684\u533a\u522b<\/h3>\n

  RS232\u548cUART\u6709\u7740\u660e\u663e\u7684\u533a\u522b\uff0c\u5b83\u4eec\u7684\u4f20\u8f93\u901f\u7387\u4e0d\u540c\uff0cRS232\u7684\u6700\u9ad8\u4f20\u8f93\u901f\u7387\u4e3a115200bps\uff0c\u800cUART\u7684\u6700\u9ad8\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u52303Mbps\u3002\u6b64\u5916\uff0c\u5b83\u4eec\u7684\u4f20\u8f93\u8ddd\u79bb\u4e5f\u4e0d\u540c\uff0cRS232\u7684\u4f20\u8f93\u8ddd\u79bb\u6700\u957f\u53ea\u80fd\u8fbe\u523050\u7c73\uff0c\u800cUART\u7684\u4f20\u8f93\u8ddd\u79bb\u6700\u957f\u53ef\u4ee5\u8fbe\u52301000\u7c73\u3002<\/p>\n

  RS232\u4e0eUART\u7684\u8054\u7cfb<\/h3>\n

  \u5c3d\u7ba1RS232\u548cUART\u6709\u7740\u660e\u663e\u7684\u533a\u522b\uff0c\u4f46\u5b83\u4eec\u4e4b\u95f4\u4e5f\u5b58\u5728\u7740\u4e00\u5b9a\u7684\u8054\u7cfb\u3002\u5b83\u4eec\u90fd\u662f\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u90fd\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\u3002\u6b64\u5916\uff0c\u5b83\u4eec\u7684\u4f20\u8f93\u534f\u8bae\u4e5f\u6709\u4e00\u5b9a\u7684\u76f8\u4f3c\u4e4b\u5904\uff0c\u90fd\u662f\u4f7f\u7528TTL\u7535\u5e73\uff0c\u53ea\u662fRS232\u7684TTL\u7535\u5e73\u53d7\u5230\u4e86\u4f20\u8f93\u8ddd\u79bb\u7684\u9650\u5236\uff0c\u800cUART\u7684TTL\u7535\u5e73\u6ca1\u6709\u53d7\u5230\u8fd9\u79cd\u9650\u5236\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86RS232\u4e0eUART\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u4f18\u7f3a\u70b9\u3002<\/strong>RS232\u548cUART\u6709\u7740\u660e\u663e\u7684\u533a\u522b\uff0c\u5b83\u4eec\u7684\u4f20\u8f93\u901f\u7387\u548c\u4f20\u8f93\u8ddd\u79bb\u90fd\u4e0d\u540c\u3002\u5c3d\u7ba1\u5b83\u4eec\u6709\u7740\u660e\u663e\u7684\u533a\u522b\uff0c\u4f46\u5b83\u4eec\u4e4b\u95f4\u4e5f\u5b58\u5728\u7740\u4e00\u5b9a\u7684\u8054\u7cfb\uff0c\u90fd\u662f\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u90fd\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u7535\u8111\u548c\u5916\u90e8\u8bbe\u5907\uff0c\u5b83\u4eec\u7684\u4f20\u8f93\u534f\u8bae\u4e5f\u6709\u4e00\u5b9a\u7684\u76f8\u4f3c\u4e4b\u5904\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

RS232\u548cUART\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u4eec\u4e4b\u95f4\u5b58\u5728\u7740\u4e00\u5b9a\u7684\u5173\u7cfb\u3002\u672c\u6587\u5c06\u4ecb\u7ecdRS232\u4e0eUART\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u4f18\u7f3a\u70b9\u3002RS232\u4ecb\u7ecd<\/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-58396","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\/58396","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=58396"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/58396\/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=58396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=58396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=58396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}