{"id":77457,"date":"2024-01-13T22:27:21","date_gmt":"2024-01-13T14:27:21","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=77457"},"modified":"2024-01-13T22:27:21","modified_gmt":"2024-01-13T14:27:21","slug":"ucktxsyxd","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/77457.html","title":{"rendered":"UART\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\u5fc3\u5f97"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u4e32\u53e3\u901a\u4fe1\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u3001\u5355\u7247\u673a<\/a>\u7b49\u9886\u57df\u3002\u4e0b\u9762\u5c06\u5206\u4eab\u4e00\u4e9b\u5173\u4e8eUART\u4e32\u53e3\u901a\u4fe1\u7684\u5b9e\u9a8c\u5fc3\u5f97\u548c\u5e94\u7528\u6280\u5de7\u3002<\/p>\n

\u4e32\u53e3\u901a\u4fe1\u539f\u7406\u4ecb\u7ecd<\/h2>\n

  \u5728\u8fdb\u884cUART\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\u4e4b\u524d\uff0c\u6211\u4eec\u9996\u5148\u9700\u8981\u4e86\u89e3\u4e32\u53e3\u901a\u4fe1\u7684\u57fa\u672c\u539f\u7406\u3002UART\u4e32\u53e3\u901a\u4fe1\u4f7f\u7528\u4e24\u6839\u6570\u636e\u7ebf\uff08TX\u548cRX\uff09\u8fdb\u884c\u53cc\u5411\u901a\u4fe1\uff0c\u901a\u8fc7\u6ce2\u7279\u7387\uff08Baud Rate\uff09\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\u7b49\u53c2\u6570\u6765\u914d\u7f6e\u901a\u4fe1\u683c\u5f0f\u3002\u6b64\u5916\uff0c\u4e32\u53e3\u901a\u4fe1\u8fd8\u6d89\u53ca\u5230\u6570\u636e\u5e27\u7684\u53d1\u9001\u548c\u63a5\u6536\uff0c\u4ee5\u53ca\u6570\u636e\u7f13\u51b2\u533a\u7684\u5904\u7406\u7b49\u65b9\u9762\u3002<\/p>\n

  \u6ce2\u7279\u7387\u7684\u9009\u62e9<\/h3>\n

  \u5728\u5b9e\u9a8c\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u6839\u636e\u5177\u4f53\u7684\u5e94\u7528\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u6ce2\u7279\u7387\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u8f83\u4f4e\u7684\u6ce2\u7279\u7387\uff08\u59829600bps\uff09\u9002\u7528\u4e8e\u8fdc\u8ddd\u79bb\u901a\u4fe1\uff0c\u800c\u8f83\u9ad8\u7684\u6ce2\u7279\u7387\uff08\u5982115200bps\uff09\u9002\u7528\u4e8e\u77ed\u8ddd\u79bb\u9ad8\u901f\u901a\u4fe1\u3002<\/p>\n

  \u6570\u636e\u5e27\u683c\u5f0f\u8bbe\u7f6e<\/h3>\n

  \u6570\u636e\u5e27\u683c\u5f0f\u5305\u62ec\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\u7684\u8bbe\u7f6e\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u9009\u62e98\u4f4d\u6570\u636e\u4f4d\u30011\u4f4d\u505c\u6b62\u4f4d\u548c\u65e0\u6821\u9a8c\u4f4d\u7684\u914d\u7f6e\uff0c\u8fd9\u662fUART<\/a>\u901a\u4fe1\u4e2d\u6700\u5e38\u89c1\u7684\u8bbe\u7f6e\u3002<\/p>\n

\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\u5fc3\u5f97<\/h2>\n

  \u5728\u8fdb\u884c\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u5173\u952e\u70b9\uff0c\u5305\u62ec\u8f6f\u786c\u4ef6\u5e73\u53f0\u9009\u62e9\u3001\u901a\u4fe1\u7a33\u5b9a\u6027\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u3002<\/p>\n

  \u9009\u62e9\u5408\u9002\u7684\u5f00\u53d1\u5e73\u53f0<\/h3>\n

  \u5bf9\u4e8eUART\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\uff0c\u9009\u62e9\u9002\u5408\u7684\u786c\u4ef6\u548c\u8f6f\u4ef6\u5e73\u53f0\u975e\u5e38\u91cd\u8981\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u9009\u62e9Arduino<\/a>\u5f00\u53d1\u677f\u4f5c\u4e3a\u5b9e\u9a8c\u5e73\u53f0\uff0c\u914d\u5408\u76f8\u5e94\u7684\u4e32\u53e3\u6a21\u5757\u8fdb\u884c\u901a\u4fe1\u5b9e\u9a8c\u3002<\/p>\n

  \u901a\u4fe1\u7a33\u5b9a\u6027\u4fdd\u969c<\/h3>\n

  \u5728\u5b9e\u9a8c\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u6ce8\u610f\u4e32\u53e3\u7ebf\u7684\u8fde\u63a5\u8d28\u91cf\u3001\u7535\u538b\u7535\u6d41\u7a33\u5b9a\u6027\u7b49\u56e0\u7d20\uff0c\u4fdd\u969c\u901a\u4fe1\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u9760\u6027\u3002\u53e6\u5916\uff0c\u8fd8\u9700\u8981\u6ce8\u610f\u6570\u636e\u7684\u6b63\u786e\u8bfb\u5199\u548c\u89e3\u6790\u5904\u7406\uff0c\u907f\u514d\u6570\u636e\u4e22\u5931\u548c\u9519\u8bef\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u901a\u8fc7\u8fd9\u4e9b\u5b9e\u9a8c\u5fc3\u5f97\uff0c\u6211\u4eec\u5bf9UART\u4e32\u53e3\u901a\u4fe1\u6709\u4e86\u66f4\u6df1\u5165\u7684\u7406\u89e3\u3002<\/strong>\u4e32\u53e3\u901a\u4fe1\u4f5c\u4e3a\u4e00\u79cd\u91cd\u8981\u7684\u901a\u4fe1\u65b9\u5f0f\uff0c\u5728\u73b0\u4ee3\u7535\u5b50\u9886\u57df\u6709\u7740\u5e7f\u6cdb\u7684\u5e94\u7528\u3002\u5e0c\u671b\u5927\u5bb6\u5728\u5b9e\u9a8c\u4e2d\u80fd\u591f\u5145\u5206\u638c\u63e1\u4e32\u53e3\u901a\u4fe1\u7684\u539f\u7406\u548c\u5e94\u7528\u6280\u5de7\uff0c\u4e3a\u540e\u7eed\u7684\u9879\u76ee\u5f00\u53d1\u548c\u5b9e\u9645\u5e94\u7528\u6253\u4e0b\u575a\u5b9e\u7684\u57fa\u7840\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u4e32\u53e3\u901a\u4fe1\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u3001\u5355\u7247\u673a\u7b49\u9886\u57df\u3002\u4e0b<\/p>\n","protected":false},"author":1,"featured_media":64183,"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-77457","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\/77457","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=77457"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/77457\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64183"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=77457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=77457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=77457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}