{"id":39365,"date":"2023-10-01T05:00:56","date_gmt":"2023-09-30T21:00:56","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=39365"},"modified":"2023-10-01T05:00:56","modified_gmt":"2023-09-30T21:00:56","slug":"smldq","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/39365.html","title":{"rendered":"SerialCom\u547d\u4ee4\u5927\u5168"},"content":{"rendered":"
SerialCom\uff08\u4e32\u884c\u901a\u4fe1\uff09\u662f\u4e00\u79cd\u53ef\u4ee5\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\u7684\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u4f7f\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u3002SerialCom\u547d\u4ee4\u5927\u5168\u662f\u4e00\u79cd\u63d0\u4f9b\u4f7f\u7528\u4e32\u884c\u901a\u4fe1\u6280\u672f\u7684\u5b8c\u6574\u6307\u4ee4\u96c6\uff0c\u5b83\u53ef\u4ee5\u8ba9\u7528\u6237\u53ef\u4ee5\u66f4\u52a0\u65b9\u4fbf\u5730\u64cd\u4f5c\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSerialCom\u547d\u4ee4\u5927\u5168\u7684\u57fa\u672c\u6982\u5ff5\uff0c\u5e76\u4ecb\u7ecd\u4e00\u4e9b\u5e38\u7528\u7684SerialCom\u6307\u4ee4\u3002<\/p>\n
SerialCom\u547d\u4ee4\u5927\u5168\u662f\u4e00\u79cd\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u6307\u4ee4\u96c6\uff0c\u5b83\u5305\u542b\u4e86\u4e00\u7cfb\u5217\u7684\u6307\u4ee4\uff0c\u8fd9\u4e9b\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u8fd0\u884c\uff0c\u6bd4\u5982\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u7684\u4f20\u8f93\u901f\u7387\u3001\u63a7\u5236\u8bbe\u5907\u7684\u5de5\u4f5c\u6a21\u5f0f\u3001\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u7684\u6570\u636e\u683c\u5f0f\u7b49\u7b49\u3002<\/p>\n
SerialCom\u7684\u4f20\u8f93\u901f\u7387\u662f\u6307\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u4f20\u8f93\u6570\u636e\u7684\u901f\u7387\uff0c\u5e38\u89c1\u7684\u4f20\u8f93\u901f\u7387\u67091200bps\u30012400bps\u30014800bps\u30019600bps\u7b49\uff0c\u8fd9\u4e9b\u4f20\u8f93\u901f\u7387\u7684\u5355\u4f4d\u662f\u6bd4\u7279\u6bcf\u79d2\uff08bps\uff09\uff0c\u6bd4\u7279\u6bcf\u79d2\u7684\u5355\u4f4d\u662f\u6bcf\u79d2\u4f20\u8f93\u7684\u6bd4\u7279\u6570\uff0c\u8d8a\u9ad8\u7684\u4f20\u8f93\u901f\u7387\uff0c\u8868\u660e\u8bbe\u5907\u4f20\u8f93\u6570\u636e\u7684\u901f\u5ea6\u5c31\u8d8a\u5feb\u3002SerialCom\u547d\u4ee4\u5927\u5168\u4e2d\u7684AT+BPS\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u4f20\u8f93\u901f\u7387\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u4f20\u8f93\u901f\u7387\u4e86\u3002<\/p>\n
SerialCom\u7684\u6570\u636e\u683c\u5f0f\u662f\u6307\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u4f20\u8f93\u6570\u636e\u7684\u683c\u5f0f\uff0c\u5e38\u89c1\u7684\u6570\u636e\u683c\u5f0f\u67098N1\u30017E1\u7b49\uff0c\u8fd9\u4e9b\u6570\u636e\u683c\u5f0f\u7684\u5355\u4f4d\u662f\u6bd4\u7279\uff0c\u6bd4\u7279\u7684\u5355\u4f4d\u662f\u6bcf\u6b21\u4f20\u8f93\u7684\u6bd4\u7279\u6570\uff0c\u8d8a\u9ad8\u7684\u6bd4\u7279\u6570\uff0c\u8868\u660e\u8bbe\u5907\u4f20\u8f93\u6570\u636e\u7684\u7cbe\u5ea6\u5c31\u8d8a\u9ad8\u3002SerialCom\u547d\u4ee4\u5927\u5168\u4e2d\u7684AT+DAT\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u6570\u636e\u683c\u5f0f\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u6570\u636e\u683c\u5f0f\u4e86\u3002<\/p>\n
SerialCom\u7684\u63a7\u5236\u65b9\u5f0f\u662f\u6307\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u63a7\u5236\u65b9\u5f0f\uff0c\u5e38\u89c1\u7684\u63a7\u5236\u65b9\u5f0f\u6709\u4e3b\u673a\u63a7\u5236\u3001\u4ece\u673a\u63a7\u5236\u7b49\uff0c\u8fd9\u4e9b\u63a7\u5236\u65b9\u5f0f\u7684\u5355\u4f4d\u662f\u6a21\u5f0f\uff0c\u6a21\u5f0f\u7684\u5355\u4f4d\u662f\u6bcf\u6b21\u63a7\u5236\u7684\u6a21\u5f0f\uff0c\u8d8a\u591a\u7684\u6a21\u5f0f\uff0c\u8868\u660e\u8bbe\u5907\u53ef\u4ee5\u63a7\u5236\u7684\u7a0b\u5e8f\u5c31\u8d8a\u591a\u3002SerialCom\u547d\u4ee4\u5927\u5168\u4e2d\u7684AT+MODE\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u63a7\u5236\u65b9\u5f0f\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u63a7\u5236\u65b9\u5f0f\u4e86\u3002<\/p>\n
SerialCom\u547d\u4ee4\u5927\u5168\u4e2d\u5305\u542b\u4e86\u5927\u91cf\u7684\u6307\u4ee4\uff0c\u8fd9\u4e9b\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u8fd0\u884c\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684SerialCom\u6307\u4ee4\uff1a<\/p>\n
AT+BPS\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u4f20\u8f93\u901f\u7387\uff0c\u5b83\u53ef\u4ee5\u8ba9\u7528\u6237\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u4f20\u8f93\u901f\u7387\uff0c\u4ee5\u8fbe\u5230\u6700\u4f73\u7684\u4f20\u8f93\u6548\u679c\u3002<\/p>\n
AT+DAT\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u6570\u636e\u683c\u5f0f\uff0c\u5b83\u53ef\u4ee5\u8ba9\u7528\u6237\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u6570\u636e\u683c\u5f0f\uff0c\u4ee5\u8fbe\u5230\u6700\u4f73\u7684\u4f20\u8f93\u6548\u679c\u3002<\/p>\n
AT+MODE\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u63a7\u5236\u65b9\u5f0f\uff0c\u5b83\u53ef\u4ee5\u8ba9\u7528\u6237\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u63a7\u5236\u65b9\u5f0f\uff0c\u4ee5\u8fbe\u5230\u6700\u4f73\u7684\u63a7\u5236\u6548\u679c\u3002<\/p>\n
SerialCom\u547d\u4ee4\u5927\u5168\u662f\u4e00\u79cd\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u6307\u4ee4\u96c6\uff0c\u5b83\u53ef\u4ee5\u8ba9\u7528\u6237\u53ef\u4ee5\u66f4\u52a0\u65b9\u4fbf\u5730\u64cd\u4f5c\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u3002<\/strong>SerialCom\u547d\u4ee4\u5927\u5168\u4e2d\u5305\u542b\u4e86\u5927\u91cf\u7684\u6307\u4ee4\uff0c\u8fd9\u4e9b\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u7684\u4f20\u8f93\u901f\u7387\u3001\u6570\u636e\u683c\u5f0f\u548c\u63a7\u5236\u65b9\u5f0f\uff0c\u4ee5\u8fbe\u5230\u6700\u4f73\u7684\u4f20\u8f93\u6548\u679c\u548c\u63a7\u5236\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" SerialCom\uff08\u4e32\u884c\u901a\u4fe1\uff09\u662f\u4e00\u79cd\u53ef\u4ee5\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\u7684\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u4f7f\u8ba1\u7b97\u673a\u4e0e\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u3002SerialCom\u547d\u4ee4\u5927\u5168\u662f\u4e00\u79cd\u63d0\u4f9b\u4f7f\u7528\u4e32\u884c\u901a\u4fe1\u6280\u672f\u7684\u5b8c\u6574\u6307\u4ee4\u96c6<\/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":[289],"class_list":["post-39365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-comport"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39365","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=39365"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39365\/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=39365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=39365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=39365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}