{"id":40072,"date":"2023-09-30T04:40:37","date_gmt":"2023-09-29T20:40:37","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=40072"},"modified":"2023-10-14T16:27:59","modified_gmt":"2023-10-14T08:27:59","slug":"eduyj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/40072.html","title":{"rendered":"ESP32C3 Mini\u7684UART\u5f15\u811a"},"content":{"rendered":"
ESP32C3 Mini\u7684UART\u5f15\u811a\u662f\u4e00\u79cd\u901a\u7528\u4e32\u884c\u603b\u7ebf\u63a5\u53e3\uff0c\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\uff0c\u4f8b\u5982\u6253\u5370\u673a\u3001GPS\u6a21\u5757\u3001\u6e29\u5ea6\u4f20\u611f\u5668\u7b49\u3002\u5b83\u5177\u6709\u826f\u597d\u7684\u517c\u5bb9\u6027\u548c\u4f4e\u529f\u8017\u7279\u6027\uff0c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002\u672c\u6587\u5c06\u4ecb\u7ecdESP32C3 Mini\u7684UART\u5f15\u811a\u7684\u7279\u6027\u3001\u8fde\u63a5\u65b9\u5f0f\u4ee5\u53ca\u5b83\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n
UART\uff08Universal Asynchronous Receiver \/ Transmitter\uff09\u662f\u4e00\u79cd\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u901a\u5e38\u7531\u4e24\u4e2a\u5f15\u811a\u7ec4\u6210\uff1aTX\uff08\u53d1\u9001\uff09\u548cRX\uff08\u63a5\u6536\uff09\u3002UART\u53ef\u4ee5\u7528\u6765\u4f20\u8f93\u63a7\u5236\u4fe1\u53f7\u3001\u6587\u672c\u548c\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u5b9e\u73b0\u7b80\u5355\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n
ESP32C3 Mini\u7684UART\u5f15\u811a\u5177\u6709\u826f\u597d\u7684\u517c\u5bb9\u6027\uff0c\u53ef\u4ee5\u4e0e\u4e0d\u540c\u7684\u8bbe\u5907\u8fdb\u884c\u8fde\u63a5\uff0c\u4f8b\u5982\u6253\u5370\u673a\u3001GPS\u6a21\u5757\u3001\u6e29\u5ea6\u4f20\u611f\u5668\u7b49\u3002\u5b83\u5177\u6709\u4f4e\u529f\u8017\u7279\u6027\uff0c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002\u5b83\u7684\u6700\u9ad8\u4f20\u8f93\u901f\u7387\u53ef\u8fbe\u5230115200 bps\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n
ESP32C3 Mini\u7684UART\u5f15\u811a\u53ef\u4ee5\u901a\u8fc7\u4e00\u6839\u6807\u51c6\u7684UART\u8fde\u63a5\u7ebf\u8fdb\u884c\u8fde\u63a5\uff0cUART\u8fde\u63a5\u7ebf\u53ef\u4ee5\u5728\u7535\u5b50\u5546\u5e97\u8d2d\u4e70\u3002UART\u8fde\u63a5\u7ebf\u4e00\u822c\u7531\u4e24\u4e2a\u5f15\u811a\u7ec4\u6210\uff1aTX\uff08\u53d1\u9001\uff09\u548cRX\uff08\u63a5\u6536\uff09\u3002\u5c06UART\u8fde\u63a5\u7ebf\u7684TX\u5f15\u811a\u63a5\u5728ESP32C3 Mini\u7684UART\u5f15\u811a\u7684RX\u5f15\u811a\u4e0a\uff0c\u5c06UART\u8fde\u63a5\u7ebf\u7684RX\u5f15\u811a\u63a5\u5728ESP32C3 Mini\u7684UART\u5f15\u811a\u7684TX\u5f15\u811a\u4e0a\uff0c\u5373\u53ef\u5b8c\u6210\u8fde\u63a5\u3002<\/p>\n
\u5728\u8fde\u63a5ESP32C3 Mini\u7684UART\u5f15\u811a\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n
ESP32C3 Mini\u7684UART\u5f15\u811a\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\uff0c\u4f8b\u5982\u6253\u5370\u673a\u3001GPS\u6a21\u5757\u3001\u6e29\u5ea6\u4f20\u611f\u5668\u7b49\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u4f20\u8f93\u63a7\u5236\u4fe1\u53f7\u3001\u6587\u672c\u548c\u6570\u636e\uff0c\u53ef\u4ee5\u7528\u6765\u5b9e\u73b0\u7b80\u5355\u7684\u6570\u636e\u4f20\u8f93\u3002\u6b64\u5916\uff0cESP32C3 Mini\u7684UART\u5f15\u811a\u8fd8\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5916\u90e8\u8bbe\u5907\uff0c\u4f8b\u5982\u63a7\u5236\u6253\u5370\u673a\u6216\u8005GPS\u6a21\u5757\u7684\u529f\u80fd\u3002<\/p>\n
\u603b\u4e4b\uff0cESP32C3 Mini\u7684UART\u5f15\u811a\u5177\u6709\u826f\u597d\u7684\u517c\u5bb9\u6027\u548c\u4f4e\u529f\u8017\u7279\u6027\uff0c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002<\/strong>\u5b83\u7684\u6700\u9ad8\u4f20\u8f93\u901f\u7387\u53ef\u8fbe\u5230115200 bps\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" ESP32C3Mini\u7684UART\u5f15\u811a\u662f\u4e00\u79cd\u901a\u7528\u4e32\u884c\u603b\u7ebf\u63a5\u53e3\uff0c\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\uff0c\u4f8b\u5982\u6253\u5370\u673a\u3001GPS\u6a21\u5757\u3001\u6e29\u5ea6\u4f20\u611f\u5668\u7b49\u3002\u5b83\u5177\u6709\u826f\u597d\u7684\u517c\u5bb9\u6027\u548c\u4f4e\u529f\u8017\u7279\u6027\uff0c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u5e94<\/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":[322,145],"class_list":["post-40072","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-esp32","tag-uart"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40072","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=40072"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40072\/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=40072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=40072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=40072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}