{"id":63746,"date":"2023-10-27T21:39:40","date_gmt":"2023-10-27T13:39:40","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=63746"},"modified":"2023-11-07T22:54:16","modified_gmt":"2023-11-07T14:54:16","slug":"ndazl","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/63746.html","title":{"rendered":"nRF24L01\u7684AT\u6307\u4ee4"},"content":{"rendered":"

  nRF24L01\u662f\u4e00\u6b3e\u57fa\u4e8e2.4GHz\u7684\u5c04\u9891\u82af\u7247\uff0c\u53ef\u4ee5\u7528\u4e8e\u65e0\u7ebf\u901a\u4fe1\u3002\u5b83\u4f7f\u7528AT\u6307\u4ee4\u6765\u63a7\u5236\u548c\u914d\u7f6e\u82af\u7247\uff0c\u8fd9\u4e9bAT\u6307\u4ee4\u53ef\u4ee5\u5b9e\u73b0\u65e0\u7ebf\u901a\u4fe1\u7684\u8bbe\u7f6e\u548c\u63a7\u5236\u3002\u672c\u6587\u5c06\u4ecb\u7ecdnRF24L01\u7684AT\u6307\u4ee4\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u65e0\u7ebf\u901a\u4fe1\u4e2d\u7684\u5e94\u7528\u3002<\/p>\n

AT\u6307\u4ee4\u6982\u8ff0<\/h2>\n

  nRF24L01\u7684AT\u6307\u4ee4\u662f\u4e00\u79cd\u4e13\u95e8\u7528\u4e8e\u63a7\u5236\u548c\u914d\u7f6enRF24L01\u82af\u7247\u7684\u6307\u4ee4\u96c6\uff0c\u5b83\u4eec\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u65e0\u7ebf\u901a\u4fe1\u7684\u53c2\u6570\uff0c\u5982\u4fe1\u9053\u3001\u53d1\u5c04\u529f\u7387\u3001\u53d1\u5c04\u901f\u7387\u7b49\u3002AT\u6307\u4ee4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a<\/p>\n

  AT+CMD<\/h3>\n

  AT+CMD\u6307\u4ee4\u662fnRF24L01\u6700\u5e38\u7528\u7684\u6307\u4ee4\u4e4b\u4e00\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u548c\u63a7\u5236\u82af\u7247\u7684\u53c2\u6570\u3002\u5b83\u7684\u683c\u5f0f\u662fAT+CMD=\u53c2\u6570\uff0c\u5176\u4e2d\u53c2\u6570\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u7528\u6765\u6307\u5b9a\u8981\u8bbe\u7f6e\u7684\u53c2\u6570\u503c\u3002<\/p>\n

  AT+TX<\/h3>\n

  AT+TX\u6307\u4ee4\u662f\u7528\u6765\u8bbe\u7f6e\u53d1\u5c04\u53c2\u6570\u7684\u6307\u4ee4\u3002\u5b83\u7684\u683c\u5f0f\u662fAT+TX=\u53c2\u6570\uff0c\u5176\u4e2d\u53c2\u6570\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u7528\u6765\u6307\u5b9a\u8981\u53d1\u5c04\u7684\u53c2\u6570\u503c\u3002<\/p>\n

  AT+RX<\/h3>\n

  AT+RX\u6307\u4ee4\u662f\u7528\u6765\u8bbe\u7f6e\u63a5\u6536\u53c2\u6570\u7684\u6307\u4ee4\u3002\u5b83\u7684\u683c\u5f0f\u662fAT+RX=\u53c2\u6570\uff0c\u5176\u4e2d\u53c2\u6570\u662f\u4e00\u4e2a\u6570\u5b57\uff0c\u7528\u6765\u6307\u5b9a\u8981\u63a5\u6536\u7684\u53c2\u6570\u503c\u3002<\/p>\n

AT\u6307\u4ee4\u7684\u5e94\u7528<\/h2>\n

  AT\u6307\u4ee4\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236nRF24L01\u7684\u53c2\u6570\uff0c\u4ece\u800c\u5b9e\u73b0\u65e0\u7ebf\u901a\u4fe1\u7684\u8bbe\u7f6e\u548c\u63a7\u5236\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528AT+CMD\u6307\u4ee4\u6765\u8bbe\u7f6e\u4fe1\u9053\uff0c\u4f7f\u7528AT+TX\u6307\u4ee4\u6765\u8bbe\u7f6e\u53d1\u5c04\u529f\u7387\uff0c\u4f7f\u7528AT+RX\u6307\u4ee4\u6765\u8bbe\u7f6e\u63a5\u6536\u901f\u7387\u7b49\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86nRF24L01\u7684AT\u6307\u4ee4\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u65e0\u7ebf\u901a\u4fe1\u4e2d\u7684\u5e94\u7528\u3002<\/strong>AT\u6307\u4ee4\u53ef\u4ee5\u7528\u6765\u63a7\u5236\u548c\u914d\u7f6enRF24L01\u82af\u7247\uff0c\u4ece\u800c\u5b9e\u73b0\u65e0\u7ebf\u901a\u4fe1\u7684\u8bbe\u7f6e\u548c\u63a7\u5236\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

nRF24L01\u662f\u4e00\u6b3e\u57fa\u4e8e2.4GHz\u7684\u5c04\u9891\u82af\u7247\uff0c\u53ef\u4ee5\u7528\u4e8e\u65e0\u7ebf\u901a\u4fe1\u3002\u5b83\u4f7f\u7528AT\u6307\u4ee4\u6765\u63a7\u5236\u548c\u914d\u7f6e\u82af\u7247\uff0c\u8fd9\u4e9bAT\u6307\u4ee4\u53ef\u4ee5\u5b9e\u73b0\u65e0\u7ebf\u901a\u4fe1\u7684\u8bbe\u7f6e\u548c\u63a7\u5236\u3002\u672c\u6587\u5c06\u4ecb\u7ecdnRF24L01\u7684<\/p>\n","protected":false},"author":1,"featured_media":1839,"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":[318,305],"class_list":["post-63746","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-nrf24l01","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/63746","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=63746"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/63746\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=63746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=63746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=63746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}