{"id":39857,"date":"2023-10-02T22:31:07","date_gmt":"2023-10-02T14:31:07","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=39857"},"modified":"2023-10-02T22:31:07","modified_gmt":"2023-10-02T14:31:07","slug":"smsudpbz","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/39857.html","title":{"rendered":"\u4ec0\u4e48\u662fUART\u7535\u5e73\u6807\u51c6\uff1f"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver \/ Transmitter\uff09\u662f\u4e00\u79cd\u53ef\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u901a\u7528\u5f02\u6b65\u6536\u53d1\u5668\u3002\u5b83\u53ef\u4ee5\u63d0\u4f9b\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u53cc\u5411\u901a\u4fe1\uff0c\u4f7f\u7528\u4e24\u4e2a\u7ba1\u811a\uff0c\u5373\u63a5\u6536\uff08RX\uff09\u548c\u53d1\u9001\uff08TX\uff09\uff0c\u4ee5\u53ca\u4e00\u4e2a\u7535\u5e73\u6807\u51c6\u6765\u8868\u793a\u4fe1\u53f7\u3002UART\u7535\u5e73\u6807\u51c6\u662f\u4e00\u79cd\u7528\u4e8e\u5b9a\u4e49UART\u4fe1\u53f7\u7684\u6807\u51c6\uff0c\u5b83\u89c4\u5b9a\u4e86UART\u4fe1\u53f7\u7684\u5b9e\u9645\u7535\u5e73\u503c\uff0c\u4ee5\u53ca\u5b83\u4eec\u4e4b\u95f4\u7684\u65f6\u95f4\u5173\u7cfb\u3002<\/p>\n

UART\u7535\u5e73\u6807\u51c6\u7684\u7c7b\u578b<\/h2>\n

  UART\u7535\u5e73\u6807\u51c6\u53ef\u4ee5\u5206\u4e3a\u4e09\u79cd\uff1aTTL\uff08Transistor-Transistor Logic\uff09\u3001CMOS\uff08Complementary Metal-Oxide Semiconductor\uff09\u548cRS-232\uff08Recommended Standard 232\uff09\u3002 TTL\u548cCMOS\u7535\u5e73\u6807\u51c6\u7684\u7535\u5e73\u5f88\u5bb9\u6613\u7406\u89e3\uff0c\u5b83\u4eec\u7684\u7535\u5e73\u75310\u548c1\u8868\u793a\uff0c\u5176\u4e2d0\u8868\u793a\u4f4e\u7535\u5e73\uff0c1\u8868\u793a\u9ad8\u7535\u5e73\u3002\u800cRS-232\u7535\u5e73\u6807\u51c6\u5219\u4e0d\u662f\u75310\u548c1\u8868\u793a\u7684\uff0c\u800c\u662f\u7531-12V\u548c+12V\u8868\u793a\u7684\uff0c\u5176\u4e2d-12V\u8868\u793a\u4f4e\u7535\u5e73\uff0c+12V\u8868\u793a\u9ad8\u7535\u5e73\u3002<\/p>\n

  TTL\u7535\u5e73\u6807\u51c6<\/h3>\n

  TTL\uff08Transistor-Transistor Logic\uff09\u7535\u5e73\u6807\u51c6\u662f\u4e00\u79cd\u5e38\u7528\u7684UART\u7535\u5e73\u6807\u51c6\uff0c\u5b83\u662f\u4e00\u79cd\u57fa\u4e8e\u6676\u4f53\u7ba1\u7684\u7535\u5e73\u6807\u51c6\uff0c\u75310\u548c1\u8868\u793a\uff0c\u5176\u4e2d0\u8868\u793a\u4f4e\u7535\u5e73\uff0c1\u8868\u793a\u9ad8\u7535\u5e73\u3002TTL\u7535\u5e73\u6807\u51c6\u7684\u4f4e\u7535\u5e73\u7535\u538b\u4e00\u822c\u4e3a0V\uff0c\u800c\u9ad8\u7535\u5e73\u7535\u538b\u4e00\u822c\u4e3a3.3V\u62165V\uff0c\u53d6\u51b3\u4e8e\u8bbe\u5907\u7684\u7535\u6e90\u7535\u538b\u3002<\/p>\n

  CMOS\u7535\u5e73\u6807\u51c6<\/h3>\n

  CMOS\uff08Complementary Metal-Oxide Semiconductor\uff09\u7535\u5e73\u6807\u51c6\u4e5f\u662f\u4e00\u79cd\u5e38\u7528\u7684UART\u7535\u5e73\u6807\u51c6\uff0c\u5b83\u662f\u4e00\u79cd\u57fa\u4e8e\u6676\u4f53\u7ba1\u7684\u7535\u5e73\u6807\u51c6\uff0c\u75310\u548c1\u8868\u793a\uff0c\u5176\u4e2d0\u8868\u793a\u4f4e\u7535\u5e73\uff0c1\u8868\u793a\u9ad8\u7535\u5e73\u3002CMOS\u7535\u5e73\u6807\u51c6\u7684\u4f4e\u7535\u5e73\u7535\u538b\u4e00\u822c\u4e3a0V\uff0c\u800c\u9ad8\u7535\u5e73\u7535\u538b\u4e00\u822c\u4e3a3.3V\u62165V\uff0c\u53d6\u51b3\u4e8e\u8bbe\u5907\u7684\u7535\u6e90\u7535\u538b\u3002<\/p>\n

  RS-232\u7535\u5e73\u6807\u51c6<\/h3>\n

  RS-232\uff08Recommended Standard 232\uff09\u7535\u5e73\u6807\u51c6\u662f\u4e00\u79cd\u5e38\u7528\u7684UART\u7535\u5e73\u6807\u51c6\uff0c\u5b83\u662f\u4e00\u79cd\u57fa\u4e8e\u6676\u4f53\u7ba1\u7684\u7535\u5e73\u6807\u51c6\uff0c\u7531-12V\u548c+12V\u8868\u793a\uff0c\u5176\u4e2d-12V\u8868\u793a\u4f4e\u7535\u5e73\uff0c+12V\u8868\u793a\u9ad8\u7535\u5e73\u3002RS-232\u7535\u5e73\u6807\u51c6\u7684\u4f4e\u7535\u5e73\u7535\u538b\u4e00\u822c\u4e3a-12V\uff0c\u800c\u9ad8\u7535\u5e73\u7535\u538b\u4e00\u822c\u4e3a+12V\uff0c\u53d6\u51b3\u4e8e\u8bbe\u5907\u7684\u7535\u6e90\u7535\u538b\u3002<\/p>\n

UART\u7535\u5e73\u6807\u51c6\u7684\u5e94\u7528<\/h2>\n

  UART\u7535\u5e73\u6807\u51c6\u53ef\u4ee5\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u63d0\u4f9b\u53cc\u5411\u901a\u4fe1\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u548c\u76d1\u63a7\u8bbe\u5907\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5916\u8bbe\uff0c\u5982\u952e\u76d8\u3001\u9f20\u6807\u7b49\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u4e32\u884c\u8bbe\u5907\uff0c\u5982\u6253\u5370\u673a\u3001\u7f51\u7edc\u8bbe\u5907\u7b49\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u7535\u5e73\u6807\u51c6\u662f\u4e00\u79cd\u7528\u4e8e\u5b9a\u4e49UART\u4fe1\u53f7\u7684\u6807\u51c6\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u63d0\u4f9b\u53cc\u5411\u901a\u4fe1\u3002<\/strong>UART\u7535\u5e73\u6807\u51c6\u53ef\u4ee5\u5206\u4e3a\u4e09\u79cd\uff1aTTL\uff08Transistor-Transistor Logic\uff09\u3001CMOS\uff08Complementary Metal-Oxide Semiconductor\uff09\u548cRS-232\uff08Recommended Standard 232\uff09\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u548c\u76d1\u63a7\u8bbe\u5907\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5916\u8bbe\uff0c\u5982\u952e\u76d8\u3001\u9f20\u6807\u7b49\uff0c\u4ee5\u53ca\u8fde\u63a5\u4e32\u884c\u8bbe\u5907\uff0c\u5982\u6253\u5370\u673a\u3001\u7f51\u7edc\u8bbe\u5907\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u53ef\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u901a\u7528\u5f02\u6b65<\/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-39857","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\/39857","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=39857"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39857\/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=39857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=39857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=39857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}