{"id":91301,"date":"2024-04-12T16:12:35","date_gmt":"2024-04-12T08:12:35","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=91301"},"modified":"2024-04-12T16:12:39","modified_gmt":"2024-04-12T08:12:39","slug":"lmkzmtx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/91301.html","title":{"rendered":"LoRa\u6a21\u5757\u600e\u4e48\u901a\u4fe1"},"content":{"rendered":"\n
\u3000\u3000LoRa\u6a21\u5757<\/strong>\u7684\u901a\u4fe1\u4e3b\u8981\u4f9d\u8d56\u4e8e\u5176\u7279\u6709\u7684\u901a\u4fe1\u534f\u8bae\u548c\u7269\u7406\u5c42\u6280\u672f\u3002\u9996\u5148\uff0cLoRa\u6a21\u5757\u901a\u8fc7\u8c03\u5236\u3001\u89e3\u8c03\u3001\u7f16\u7801\u548c\u89e3\u7801\u7b49\u57fa\u672c\u901a\u4fe1\u6280\u672f\u5b9e\u73b0\u6570\u636e\u7684\u4f20\u8f93\u3002\u5728\u7269\u7406\u5c42\uff0cLoRa\u91c7\u7528\u6269\u9891\u901a\u4fe1(CSS)\u6280\u672f\uff0c\u901a\u8fc7\u6539\u53d8\u65e0\u7ebf\u4fe1\u53f7\u7684\u8c03\u5236\u65b9\u5f0f\u548c\u53c2\u6570\uff0c\u5b9e\u73b0\u957f\u8ddd\u79bb\u3001\u4f4e\u529f\u8017\u3001\u4f4e\u6570\u636e\u901f\u7387\u7684\u901a\u4fe1\u3002\u8fd9\u79cd\u6280\u672f\u7279\u522b\u9002\u5408\u4e8e\u7269\u8054\u7f51\u5e94\u7528\u4e2d\u7684\u6570\u636e\u91c7\u96c6\u548c\u4f20\u8f93\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0cLoRa\u6a21\u5757\u901a\u5e38\u91c7\u7528AT\u6307\u4ee4\u96c6\u8fdb\u884c\u901a\u4fe1\u534f\u8bae\u7684\u914d\u7f6e\u548c\u7ba1\u7406\u3002\u901a\u8fc7\u7f16\u5199\u7a0b\u5e8f\uff0c\u5728\u5355\u7247\u673a\u4e0a\u4e0eLoRa\u6a21\u5757\u5efa\u7acb\u4e32\u53e3\u901a\u4fe1\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u6a21\u5757\u7684\u53c2\u6570\uff0c\u5982\u6ce2\u7279\u7387\u3001\u9891\u7387\u3001\u53d1\u9001\u529f\u7387\u7b49\u3002\u6b64\u5916\uff0cLoRaWAN\u4f5c\u4e3a\u57fa\u4e8eLoRa\u6280\u672f\u7684LPWAN\u534f\u8bae\uff0c\u5b9a\u4e49\u4e86\u7f51\u7edc\u67b6\u6784\u3001\u8bbe\u5907\u6ce8\u518c\u3001\u5bc6\u7801\u5b89\u5168\u7b49\u65b9\u9762\u7684\u6807\u51c6\uff0c\u4f7f\u5f97LoRa\u6a21\u5757\u80fd\u591f\u5728\u66f4\u5e7f\u6cdb\u7684\u7f51\u7edc\u73af\u5883\u4e2d\u5b9e\u73b0\u9ad8\u6548\u3001\u5b89\u5168\u7684\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000\u5bf9\u4e8e\u5177\u4f53\u7684\u901a\u4fe1\u5b9e\u73b0\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Arduino\u3001Raspberry Pi\u7b49\u5f00\u53d1\u677f\u548c\u4f20\u611f\u5668\uff0c\u7ed3\u5408LoRa\u6a21\u5757\u8fdb\u884c\u8fdc\u8ddd\u79bb\u3001\u4f4e\u529f\u8017\u3001\u4f4e\u6210\u672c\u7684\u65e0\u7ebf\u901a\u4fe1\u9879\u76ee\u642d\u5efa\u3002\u8fd9\u4e9b\u9879\u76ee\u4e0d\u4ec5\u5c55\u793a\u4e86LoRa\u6a21\u5757\u7684\u7279\u70b9\u548c\u5e94\u7528\u573a\u666f\uff0c\u8fd8\u80fd\u5e2e\u52a9\u5f00\u53d1\u8005\u6df1\u5165\u7406\u89e3LoRa\u901a\u4fe1\u6280\u672f\u7684\u5de5\u4f5c\u539f\u7406\u548c\u901a\u4fe1\u673a\u5236\u3002<\/p>\n\n\n\n \u3000\u3000LoRa\u6a21\u5757\u7684\u901a\u4fe1\u662f\u901a\u8fc7\u5176\u7279\u6709\u7684\u901a\u4fe1\u534f\u8bae\u548c\u7269\u7406\u5c42\u6280\u672f\u5b9e\u73b0\u7684\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u8c03\u5236\u89e3\u8c03\u3001\u7f16\u7801\u89e3\u7801\u3001\u6269\u9891\u901a\u4fe1\u7b49\u6280\u672f\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u901a\u8fc7\u7f16\u7a0b\u548c\u914d\u7f6e\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6a21\u5757\u4e4b\u95f4\u7684\u6709\u6548\u901a\u4fe1\uff0c\u9002\u7528\u4e8e\u591a\u79cd\u7269\u8054\u7f51\u5e94\u7528\u573a\u666f\u3002<\/strong><\/p>\n\n\n\n \u3000\u3000LoRa\u6a21\u5757\u7684\u7269\u7406\u5c42\u6280\u672f\uff0c\u7279\u522b\u662f\u6269\u9891\u901a\u4fe1CSS(Chirp Spread Spectrum)\uff0c\u4e3b\u8981\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u5de5\u4f5c\uff1a<\/p>\n\n\n\n \u3000\u3000LoRa\u6a21\u5757\u7684\u7269\u7406\u5c42\u6280\u672f\u901a\u8fc7\u6269\u9891\u8c03\u5236\u3001\u7ebf\u6027\u9891\u7387\u53d8\u5316\u3001\u5173\u952e\u53c2\u6570\u7684\u4f18\u5316\u4ee5\u53ca\u4f4e\u529f\u8017\u548c\u957f\u8ddd\u79bb\u901a\u4fe1\u7684\u7279\u70b9\uff0c\u5b9e\u73b0\u4e86\u8fdc\u8ddd\u79bb\u3001\u9ad8\u6548\u7387\u7684\u65e0\u7ebf\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000AT\u6307\u4ee4\u96c6\u5728LoRa\u6a21\u5757\u901a\u4fe1\u4e2d\u7684\u5177\u4f53\u5e94\u7528\u548c\u914d\u7f6e\u65b9\u6cd5\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n \u3000\u3000AT\u6307\u4ee4\u96c6\u5728LoRa\u6a21\u5757\u901a\u4fe1\u4e2d\u7684\u5e94\u7528\u4e3b\u8981\u6d89\u53ca\u6307\u4ee4\u7684\u5206\u7c7b\u3001\u901a\u4fe1\u6a21\u5f0f\u7684\u9009\u62e9\u3001\u53c2\u6570\u7684\u914d\u7f6e\u4ee5\u53ca\u7f51\u7edc\u5de5\u4f5c\u6a21\u5f0f\u7684\u5207\u6362\u7b49\u65b9\u9762\u3002\u901a\u8fc7\u5408\u7406\u4f7f\u7528AT\u6307\u4ee4\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u914d\u7f6e\u548c\u4f18\u5316LoRa\u6a21\u5757\u7684\u901a\u4fe1\u6027\u80fd\u3002<\/p>\n\n\n\n \u3000\u3000LoRaWAN\u534f\u8bae\u7684\u5177\u4f53\u67b6\u6784\u3001\u8bbe\u5907\u6ce8\u518c\u6d41\u7a0b\u548c\u5bc6\u7801\u5b89\u5168\u673a\u5236\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u3000\u3000\u4f7f\u7528Arduino\u6216Raspberry Pi\u5f00\u53d1\u677f\u4e0eLoRa\u6a21\u5757\u8fdb\u884c\u4e32\u53e3\u901a\u4fe1\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u786c\u4ef6\u8fde\u63a5\u6b63\u786e\u3002\u5bf9\u4e8eArduino\u6765\u8bf4\uff0c\u53ef\u4ee5\u901a\u8fc7SPI\u901a\u4fe1\u534f\u8bae\u5c06LoRa\u6a21\u5757(\u5982Ra-02\u6216SX1278)\u8fde\u63a5\u5230Arduino Uno\u4e0a\u3002\u5177\u4f53\u6765\u8bf4\uff0cLoRa\u6a21\u5757\u76843.3V\u5f15\u811a\u5e94\u8fde\u63a5\u5230Arduino\u76843.\u6b64\u5916\uff0c\u8fd8\u9700\u8981\u6839\u636e\u5177\u4f53\u7684LoRa\u6a21\u5757\u578b\u53f7\uff0c\u8bbe\u7f6e\u76f8\u5e94\u7684GPIO\u5f15\u811a\u548c\u5730\u7ebf\u5f15\u811a\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u8f6f\u4ef6\u5c42\u9762\uff0c\u53ef\u4ee5\u4f7f\u7528Arduino LoRa\u5e93\u6765\u7b80\u5316\u7f16\u7a0b\u8fc7\u7a0b\u3002\u8fd9\u4e2a\u5e93\u63d0\u4f9b\u4e86\u57fa\u4e8e\u5355\u4fe1\u9053\u7684LoRa\u901a\u4fe1\u529f\u80fd\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u901a\u8fc7\u7b80\u5355\u7684API\u8c03\u7528\u6765\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528Serial.begin()\u51fd\u6570\u6765\u521d\u59cb\u5316\u4e32\u53e3\u901a\u4fe1\uff0c\u5e76\u901a\u8fc7\u8bfb\u53d6Serial.available()\u548cSerial.read()\u51fd\u6570\u6765\u83b7\u53d6\u63a5\u6536\u5230\u7684\u6570\u636e\u3002<\/p>\n\n\n\n \u3000\u3000\u5bf9\u4e8eRaspberry Pi\uff0c\u7531\u4e8e\u5176\u5185\u7f6e\u4e86SPI\u7aef\u53e3\u548c3.3V\u8c03\u8282\u5668\uff0c\u53ef\u4ee5\u76f4\u63a5\u5c06LoRa\u6a21\u5757(\u5982SX1278)\u8fde\u63a5\u5230Raspberry Pi\u4e0a\u8fdb\u884c\u901a\u4fe1\u3002\u540c\u6837\u5730\uff0c\u4e5f\u9700\u8981\u786e\u4fddLoRa\u6a21\u5757\u7684\u903b\u8f91\u7535\u5e73\u4e3a3.\u65e0\u8bba\u662f\u4f7f\u7528Arduino\u8fd8\u662fRaspberry Pi\uff0c\u90fd\u9700\u8981\u786e\u4fdd\u786c\u4ef6\u8fde\u63a5\u6b63\u786e\uff0c\u5e76\u5229\u7528\u76f8\u5e94\u7684\u5e93\u6765\u7b80\u5316\u7f16\u7a0b\u8fc7\u7a0b\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0Arduino\u6216Raspberry Pi\u4e0eLoRa\u6a21\u5757\u4e4b\u95f4\u7684\u4e32\u53e3\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000LoRa\u6a21\u5757\u5728\u7269\u8054\u7f51\u5e94\u7528\u4e2d\u5b9e\u73b0\u957f\u8ddd\u79bb\u3001\u4f4e\u529f\u8017\u7279\u6027\u7684\u4e3b\u8981\u65b9\u6cd5\u5305\u62ec\uff1a<\/p>\n\n\n\n \u3000\u3000LoRa\u6a21\u5757\u901a\u8fc7\u6269\u9891\u6280\u672f\u7684\u5e94\u7528\u3001\u4f4e\u901f\u7387\u4f20\u8f93\u3001\u4f4e\u529f\u8017\u5c04\u9891\u6a21\u5757\u7684\u4f7f\u7528\u3001\u51cf\u5c11\u53d1\u9001\u6b21\u6570\u548c\u589e\u5927\u53d1\u9001\u95f4\u9694\u4ee5\u53caADR\u6280\u672f\u7684\u5e94\u7528\u7b49\u65b9\u6cd5\uff0c\u5b9e\u73b0\u4e86\u7269\u8054\u7f51\u5e94\u7528\u4e2d\u7684\u957f\u8ddd\u79bb\u3001\u4f4e\u529f\u8017\u7279\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" LoRa\u6a21\u5757\u7684\u901a\u4fe1\u662f\u901a\u8fc7\u5176\u7279\u6709\u7684\u901a\u4fe1\u534f\u8bae\u548c\u7269\u7406\u5c42\u6280\u672f\u5b9e\u73b0\u7684\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u8c03\u5236\u89e3\u8c03\u3001\u7f16\u7801\u89e3\u7801\u3001\u6269\u9891\u901a\u4fe1\u7b49\u6280\u672f\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u901a\u8fc7\u7f16\u7a0b\u548c\u914d\u7f6e<\/p>\n","protected":false},"author":1,"featured_media":90191,"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":[388],"class_list":["post-91301","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-loramodule"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/91301","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=91301"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/91301\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/90191"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=91301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=91301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=91301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 LoRa\u6a21\u5757\u7684\u7269\u7406\u5c42\u6280\u672f(\u5982\u6269\u9891\u901a\u4fe1CSS)\u662f\u5982\u4f55\u5de5\u4f5c\u7684?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e8c\u3001 AT\u6307\u4ee4\u96c6\u5728LoRa\u6a21\u5757\u901a\u4fe1\u4e2d\u7684\u5177\u4f53\u5e94\u7528\u548c\u914d\u7f6e\u65b9\u6cd5\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e09\u3001 LoRaWAN\u534f\u8bae\u7684\u5177\u4f53\u67b6\u6784\u3001\u8bbe\u5907\u6ce8\u518c\u6d41\u7a0b\u548c\u5bc6\u7801\u5b89\u5168\u673a\u5236\u6709\u54ea\u4e9b?<\/h2>\n\n\n\n
\u3000\u3000\u5177\u4f53\u67b6\u6784\uff1a<\/h3>\n\n\n\n
\n
\u3000\u3000\u8bbe\u5907\u6ce8\u518c\u6d41\u7a0b\uff1a<\/h3>\n\n\n\n
\n
\u3000\u3000\u5bc6\u7801\u5b89\u5168\u673a\u5236\uff1a<\/h3>\n\n\n\n
\n
\u3000\u3000\u56db\u3001 \u5982\u4f55\u4f7f\u7528Arduino\u6216Raspberry Pi\u5f00\u53d1\u677f\u4e0eLoRa\u6a21\u5757\u8fdb\u884c\u4e32\u53e3\u901a\u4fe1?<\/h2>\n\n\n\n
\u3000\u3000\u4e94\u3001 \u5728\u7269\u8054\u7f51\u5e94\u7528\u4e2d\uff0cLoRa\u6a21\u5757\u7684\u957f\u8ddd\u79bb\u3001\u4f4e\u529f\u8017\u7279\u6027\u5982\u4f55\u5b9e\u73b0?<\/h2>\n\n\n\n
\n