{"id":42468,"date":"2023-09-27T15:19:14","date_gmt":"2023-09-27T07:19:14","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=42468"},"modified":"2023-09-27T15:19:14","modified_gmt":"2023-09-27T07:19:14","slug":"gzujdyydljfs","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/42468.html","title":{"rendered":"GPIO\u8f6cUART\uff1a\u7b80\u5355\u6613\u7528\u7684\u8fde\u63a5\u65b9\u5f0f"},"content":{"rendered":"

  GPIO\u8f6cUART\u662f\u4e00\u79cd\u7b80\u5355\u6613\u7528\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u53ef\u4ee5\u5c06GPIO\u5f15\u811a\u76f4\u63a5\u8fde\u63a5\u5230UART\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u4e32\u884c\u901a\u4fe1\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u5927\u5927\u7b80\u5316\u8bbe\u5907\u4e4b\u95f4\u7684\u8fde\u63a5\uff0c\u8282\u7701\u65f6\u95f4\u548c\u6210\u672c\uff0c\u540c\u65f6\u4e5f\u51cf\u5c11\u4e86\u8bbe\u5907\u4e4b\u95f4\u7684\u63a5\u53e3\u6570\u91cf\u3002\u672c\u6587\u5c06\u8ba8\u8bbaGPIO\u8f6cUART\u7684\u539f\u7406\u3001\u4f18\u70b9\u548c\u5e94\u7528\u3002<\/p>\n

GPIO\u8f6cUART\u7684\u539f\u7406<\/h2>\n

  GPIO\u8f6cUART\u7684\u539f\u7406\u5f88\u7b80\u5355\uff0c\u5b83\u4f7f\u7528\u4e00\u79cd\u53eb\u505a\u591a\u8def\u590d\u7528\u5668\uff08MUX\uff09\u7684\u82af\u7247\uff0c\u53ef\u4ee5\u5c06\u591a\u4e2aGPIO\u5f15\u811a\u8fde\u63a5\u5230\u4e00\u4e2aUART\u8bbe\u5907\u4e0a\u3002\u5f53GPIO\u5f15\u811a\u6536\u5230\u4fe1\u53f7\u65f6\uff0c\u591a\u8def\u590d\u7528\u5668\u4f1a\u5c06\u4fe1\u53f7\u8f6c\u6362\u4e3aUART\u683c\u5f0f\uff0c\u4ece\u800c\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

  \u591a\u8def\u590d\u7528\u5668\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n

  \u591a\u8def\u590d\u7528\u5668\u7684\u5de5\u4f5c\u539f\u7406\u5f88\u7b80\u5355\uff0c\u5b83\u53ef\u4ee5\u5c06\u591a\u4e2a\u4fe1\u53f7\u6e90\u8fde\u63a5\u5230\u4e00\u4e2a\u76ee\u7684\u5730\uff0c\u4ece\u800c\u5b9e\u73b0\u4fe1\u53f7\u7684\u8f6c\u6362\u548c\u4f20\u8f93\u3002\u5b83\u7684\u4e3b\u8981\u529f\u80fd\u662f\u5c06\u591a\u4e2a\u4fe1\u53f7\u6e90\u7684\u4fe1\u53f7\u8f6c\u6362\u4e3a\u4e00\u79cd\u6807\u51c6\u7684\u4fe1\u53f7\uff0c\u4ece\u800c\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

  \u591a\u8def\u590d\u7528\u5668\u7684\u5e94\u7528<\/h3>\n

  \u591a\u8def\u590d\u7528\u5668\u53ef\u4ee5\u7528\u4e8e\u5404\u79cd\u4e0d\u540c\u7684\u5e94\u7528\uff0c\u4f8b\u5982\u7535\u6e90\u7ba1\u7406\u3001\u6a21\u62df\u4fe1\u53f7\u4f20\u8f93\u3001\u6570\u5b57\u4fe1\u53f7\u4f20\u8f93\u7b49\u3002\u5728GPIO\u8f6cUART\u7684\u5e94\u7528\u4e2d\uff0c\u591a\u8def\u590d\u7528\u5668\u53ef\u4ee5\u5c06\u591a\u4e2aGPIO\u5f15\u811a\u7684\u4fe1\u53f7\u8f6c\u6362\u4e3aUART\u683c\u5f0f\uff0c\u4ece\u800c\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

GPIO\u8f6cUART\u7684\u4f18\u70b9<\/h2>\n

  GPIO\u8f6cUART\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u662f\u53ef\u4ee5\u5927\u5927\u7b80\u5316\u8bbe\u5907\u4e4b\u95f4\u7684\u8fde\u63a5\u3002\u5b83\u53ef\u4ee5\u5c06\u591a\u4e2aGPIO\u5f15\u811a\u8fde\u63a5\u5230\u4e00\u4e2aUART\u8bbe\u5907\u4e0a\uff0c\u4ece\u800c\u51cf\u5c11\u8bbe\u5907\u4e4b\u95f4\u7684\u63a5\u53e3\u6570\u91cf\uff0c\u8282\u7701\u65f6\u95f4\u548c\u6210\u672c\u3002\u6b64\u5916\uff0cGPIO\u8f6cUART\u8fd8\u53ef\u4ee5\u63d0\u9ad8\u8bbe\u5907\u7684\u53ef\u9760\u6027\u548c\u7a33\u5b9a\u6027\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n

  GPIO\u8f6cUART\u7684\u7f3a\u70b9<\/h3>\n

  \u5c3d\u7ba1GPIO\u8f6cUART\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u4f46\u4e5f\u5b58\u5728\u4e00\u4e9b\u7f3a\u70b9\u3002\u5176\u4e2d\u6700\u4e3b\u8981\u7684\u662f\uff0cGPIO\u8f6cUART\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u8f83\u6162\uff0c\u800c\u4e14\u53d7\u5230\u73af\u5883\u6e29\u5ea6\u548c\u6e7f\u5ea6\u7684\u5f71\u54cd\u8f83\u5927\u3002\u6b64\u5916\uff0c\u7531\u4e8eGPIO\u8f6cUART\u7684\u4fe1\u53f7\u4f20\u8f93\u8ddd\u79bb\u6709\u9650\uff0c\u56e0\u6b64\u5728\u4f20\u8f93\u8ddd\u79bb\u8f83\u8fdc\u7684\u60c5\u51b5\u4e0b\u53ef\u80fd\u4f1a\u51fa\u73b0\u4fe1\u53f7\u4e22\u5931\u7684\u60c5\u51b5\u3002<\/p>\n

GPIO\u8f6cUART\u7684\u5e94\u7528<\/h2>\n

  GPIO\u8f6cUART\u53ef\u4ee5\u7528\u4e8e\u5404\u79cd\u4e0d\u540c\u7684\u5e94\u7528\uff0c\u4f8b\u5982\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u63a7\u5236\u3001\u6c7d\u8f66\u7535\u5b50\u7b49\u3002\u5728\u667a\u80fd\u5bb6\u5c45\u4e2d\uff0cGPIO\u8f6cUART\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u4e0d\u540c\u7684\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u4ea4\u4e92\u3002\u5728\u5de5\u4e1a\u63a7\u5236\u4e2d\uff0cGPIO\u8f6cUART\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5PLC\u548c\u5176\u4ed6\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002\u5728\u6c7d\u8f66\u7535\u5b50\u4e2d\uff0cGPIO\u8f6cUART\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u6c7d\u8f66\u7684\u5404\u4e2a\u90e8\u4ef6\uff0c\u4ece\u800c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u4ea4\u4e92\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u603b\u4e4b\uff0cGPIO\u8f6cUART\u662f\u4e00\u79cd\u7b80\u5355\u6613\u7528\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u53ef\u4ee5\u5927\u5927\u7b80\u5316\u8bbe\u5907\u4e4b\u95f4\u7684\u8fde\u63a5\uff0c\u8282\u7701\u65f6\u95f4\u548c\u6210\u672c\uff0c\u540c\u65f6\u4e5f\u51cf\u5c11\u4e86\u8bbe\u5907\u4e4b\u95f4\u7684\u63a5\u53e3\u6570\u91cf\u3002<\/strong>\u5b83\u53ef\u4ee5\u7528\u4e8e\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u63a7\u5236\u3001\u6c7d\u8f66\u7535\u5b50\u7b49\u5e94\u7528\uff0c\u4ece\u800c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

GPIO\u8f6cUART\u662f\u4e00\u79cd\u7b80\u5355\u6613\u7528\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u53ef\u4ee5\u5c06GPIO\u5f15\u811a\u76f4\u63a5\u8fde\u63a5\u5230UART\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u4e32\u884c\u901a\u4fe1\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u5927\u5927\u7b80\u5316\u8bbe\u5907\u4e4b\u95f4\u7684\u8fde\u63a5\uff0c\u8282\u7701\u65f6\u95f4\u548c\u6210\u672c\uff0c\u540c\u65f6\u4e5f\u51cf\u5c11\u4e86<\/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-42468","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\/42468","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=42468"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/42468\/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=42468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=42468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=42468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}