{"id":7590,"date":"2017-01-21T10:01:55","date_gmt":"2017-01-21T02:01:55","guid":{"rendered":"http:\/\/www.ifroglab.com\/?p=7590"},"modified":"2017-03-21T00:43:09","modified_gmt":"2017-03-20T16:43:09","slug":"%e4%bd%bf%e7%94%a8lora%e5%82%b3%e9%81%9e-gy-521-%e4%b8%89%e8%bb%b8%e5%88%b0gateway-dashboard","status":"publish","type":"post","link":"https:\/\/www.ifroglab.com\/tw\/?p=7590","title":{"rendered":"02, \u4f7f\u7528LoRa\u50b3\u905e GY-521 \u4e09\u8ef8\u5230Gateway Dashboard"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u5c08\u6848\u5b8c\u6210\u6548\u679c\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-7591\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-20-at-5.47.59-PM-300x183.png\" alt=\"Screen Shot 2017-01-20 at 5.47.59 PM\" width=\"300\" height=\"183\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-20-at-5.47.59-PM-300x183.png 300w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-20-at-5.47.59-PM-600x366.png 600w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-20-at-5.47.59-PM-768x468.png 768w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-20-at-5.47.59-PM.png 787w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u539f\u59cb\u7a0b\u5f0f\uff1a<\/h2>\n<p>https:\/\/github.com\/iFrogLab\/IL-LORA1272\/blob\/master\/LoRa-Gateway\/Node\/LoRa_TsuNaMi_02_GetGY-521-LoRa-Send\/LoRa_03_LoRaNode-Send\/LoRa_03_LoRaNode-Send.ino<\/p>\n<p>&nbsp;<\/p>\n<h2>\u4f7f\u7528\u65b9\u6cd5\uff1a<\/h2>\n<p>\u6703\u5efa\u8b70\u7528\u4ee5\u4e0b\u7684\u6b65\u9a5f\u4e00\u6b65\u4e00\u6b65\u7684\u6e2c\u8a66\u548c\u57f7\u884c\uff1a<\/p>\n<h4>Step1:<\/h4>\n<p>\u5148\u77ad\u89e3iFrogLab LoRa <a href=\"http:\/\/www.ifroglab.com\/?p=7086\">IL-LORA1272 <\/a>\u7684\u786c\u9ad4\uff0c\u8acb\u4f9d\u7167\u4ee5\u4e0b\u7684\u63a5\u8173\u63a5\u7dda\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8205 alignleft\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.15.39-AM.png\" alt=\"Screen Shot 2017-03-20 at 9.15.39 AM\" width=\"151\" height=\"193\" \/><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-8207 alignleft\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.15.31-AM.png\" alt=\"Screen Shot 2017-03-20 at 9.15.31 AM\" width=\"459\" height=\"154\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.15.31-AM.png 459w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.15.31-AM-300x101.png 300w\" sizes=\"(max-width: 459px) 100vw, 459px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8206 size-thumbnail\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.15.35-AM-150x150.png\" alt=\"Screen Shot 2017-03-20 at 9.15.35 AM\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.15.35-AM-150x150.png 150w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.15.35-AM-300x300.png 300w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.15.35-AM-100x100.png 100w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step2:<\/p>\n<p>\u628aArduino \u548c\u3000iFrogLab LoRa <a href=\"http:\/\/www.ifroglab.com\/?p=7086\">IL-LORA1272 <\/a>\u7684\u786c\u9ad4\uff0c\u8acb\u4f9d\u7167\u4ee5\u4e0b\u7684\u63a5\u8173\u63a5\u7dda\u3002\u8a73\u7d30\u6b65\u9a5f\u548c\u6559\u5b78\u5f71\u7247\u8acb\u770b<a href=\"http:\/\/www.ifroglab.com\/?p=7944\">\u9019\u88e1<\/a>\u3002<\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u529f\u80fd<\/th>\n<th>Arduino<\/th>\n<th>LoRa<\/th>\n<\/tr>\n<tr>\n<td>\u96fb\u6e90<\/td>\n<td>3.3V<\/td>\n<td>Pin 3 VCC<\/td>\n<\/tr>\n<tr>\n<td>\u63a5\u5730<\/td>\n<td>GND<\/td>\n<td>Pin 1GND<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>UART<\/td>\n<td>Pin 10<\/td>\n<td>Pin 7<\/td>\n<\/tr>\n<tr>\n<td>UART<\/td>\n<td>Pin 11<\/td>\n<td>Pin8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><\/h4>\n<h4>Step3: \u4e0b\u8f09Arduino<\/h4>\n<p>\u4e0b\u8f09Arduino\u3000\u7a0b\u5f0f\uff0c\u8a73\u7d30\u6b65\u9a5f\u548c\u6559\u5b78\u5f71\u7247\u8acb\u770b<a href=\"http:\/\/www.ifroglab.com\/?p=7951\">\u9019\u88e1<\/a>\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4>Step4: \u6e2c\u8a66LoRa \u7684\u786c\u9ad4\u63a5\u7dda<\/h4>\n<p>\u5230Github \u4e0b\u8f09iFrogLab LoRa Arduino \u51fd\u6578\u5eab<a href=\"https:\/\/github.com\/iFrogLab\/IL-LORA1272\/tree\/master\/Samples-Arduino\/Ver2\/iFrogLabLoRaLibrary\">iFrogLabLoRaLibrary<\/a>\uff0c\u3000\u4e26\u628a<a href=\"https:\/\/github.com\/iFrogLab\/IL-LORA1272\/tree\/master\/Samples-Arduino\/Ver2\/iFrogLabLoRaLibrary\">iFrogLabLoRaLibrary<\/a>\u3000\u8907\u88fd\u5230Arduino \u7684\u51fd\u793a\u5eab\u5340\u4e0b\uff0c\u8a73\u7d30\u6b65\u9a5f\u548c\u6559\u5b78\u5f71\u7247\u8acb\u770b<a href=\"http:\/\/www.ifroglab.com\/?p=7954\">\u9019\u88e1<\/a>\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u7528\u4f86\u78ba\u8a8d\u6e2c\u8a66LoRa \u7684\u786c\u9ad4\u63a5\u7dda \u662f\u5426\u6b63\u78ba\uff0c\u4e26\u6709\u56de\u50b3\u8a72\u6676\u7247\u7684\u8cc7\u6599\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>Step5: \u3000\u300c<a href=\"http:\/\/goods.ruten.com.tw\/item\/show?21505419927342\">GY-521<\/a> MPU6050 MPU-6050 6DOF \u9640\u87ba\u5100+\u52a0\u901f\u5ea6\u6a21\u7d44\u300d\u63a5\u7dda<\/h4>\n<p>\u8acb\u628a Arduino \u548c\u300cGY-521 MPU6050 MPU-6050 6DOF \u9640\u87ba\u5100+\u52a0\u901f\u5ea6\u6a21\u7d44\u300d\u7684\u786c\u9ad4\u4f9d\u7167\u4e0b\u63a5\u597d\u3002<\/p>\n<h3><\/h3>\n<table>\n<tbody>\n<tr>\n<th>\u529f\u80fd<\/th>\n<th>Arduino<\/th>\n<th>GY-521<\/th>\n<\/tr>\n<tr>\n<td>\u96fb\u6e90<\/td>\n<td>5V<\/td>\n<td>VCC<\/td>\n<\/tr>\n<tr>\n<td>\u63a5\u5730<\/td>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>A5<\/td>\n<td>\u00a0SCL<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>A4<\/td>\n<td>SDA<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>GND<\/td>\n<td>AD0<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Pin 2<\/td>\n<td>INT<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7926 size-medium\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/Arduino_GY-521_bb-300x191.png\" alt=\"Arduino_GY-521_bb\" width=\"300\" height=\"191\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Arduino_GY-521_bb-300x191.png 300w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Arduino_GY-521_bb-600x381.png 600w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Arduino_GY-521_bb-768x488.png 768w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Arduino_GY-521_bb-1024x651.png 1024w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Arduino_GY-521_bb.png 1293w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h4>Step6: \u3000\u4e0b\u8f09\u300c<a href=\"http:\/\/goods.ruten.com.tw\/item\/show?21505419927342\">GY<\/a><a href=\"http:\/\/goods.ruten.com.tw\/item\/show?21505419927342\">-521<\/a> MPU6050 MPU-6050 6DOF \u9640\u87ba\u5100+\u52a0\u901f\u5ea6\u6a21\u7d44\u300d\u6a21\u7d44<\/h4>\n<p>\u300cGY-521 MPU6050\u00a0\u300d\u7684\u51fd\u793a\u5eab\u9700\u8981 <a href=\"https:\/\/github.com\/jrowberg\/i2cdevlib\">I2C<\/a>\u00a0\u548c\u00a0<strong class=\"final-path\"><a href=\"https:\/\/github.com\/jrowberg\/i2cdevlib\/tree\/master\/Arduino\/MPU6050\">MPU6050<\/a>\u3000\uff0c\u8acb\u4e0b\u8f09\u4e26\u653e\u5230Arduino\u7684\u51fd\u793a\u5eab\u6a21\u7d44\uff0c\u540cStep4<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8214 size-full\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.30.49-AM.png\" alt=\"Screen Shot 2017-03-20 at 9.30.49 AM\" width=\"822\" height=\"182\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.30.49-AM.png 822w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.30.49-AM-600x133.png 600w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.30.49-AM-300x66.png 300w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.30.49-AM-768x170.png 768w\" sizes=\"(max-width: 822px) 100vw, 822px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Step7: \u3000<a href=\"http:\/\/goods.ruten.com.tw\/item\/show?21505419927342\">GY<\/a>\u57f7\u884c\u300c<a href=\"http:\/\/goods.ruten.com.tw\/item\/show?21505419927342\">-521<\/a> MPU6050\u300dMPU6050_raw.ino<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8215 size-full\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.35.45-AM.png\" alt=\"Screen Shot 2017-03-20 at 9.35.45 AM\" width=\"624\" height=\"153\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.35.45-AM.png 624w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.35.45-AM-600x147.png 600w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.35.45-AM-300x74.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>\u57f7\u884c\u57f7\u884c\u300cGY-521 MPU6050\u300dMPU6050_raw.ino\uff0c\u4e26\u78ba\u8a8d\u662f\u5426\u6709\u6293\u5230\u8a72\u8a2d\u5099\u7684\u8cc7\u6599\u3002\u6b63\u78ba\u7684\u8a71\u5982\u4e0b\u5716\u6240\u793a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-8217\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/IMG_5700-245x300.jpg\" alt=\"IMG_5700\" width=\"245\" height=\"300\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5700-245x300.jpg 245w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5700-600x735.jpg 600w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5700.jpg 757w\" sizes=\"(max-width: 245px) 100vw, 245px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Step8: \u3000\u57f7\u884c.ino<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8215 size-full\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.35.45-AM.png\" alt=\"Screen Shot 2017-03-20 at 9.35.45 AM\" width=\"624\" height=\"153\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.35.45-AM.png 624w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.35.45-AM-600x147.png 600w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-03-20-at-9.35.45-AM-300x74.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>\u57f7\u884c\u57f7\u884c<a href=\"https:\/\/github.com\/iFrogLab\/IL-LORA1272\/blob\/master\/LoRa-Gateway\/Node\/LoRa_TsuNaMi_02_GetGY-521-LoRa-Send\/LoRa_03_LoRaNode-Send\/LoRa_03_LoRaNode-Send.ino\">https:\/\/github.com\/iFrogLab\/IL-LORA1272\/blob\/master\/LoRa-Gateway\/Node\/LoRa_TsuNaMi_02_GetGY-521-LoRa-Send\/LoRa_03_LoRaNode-Send\/LoRa_03_LoRaNode-Send.ino<\/a>\uff0c\u4e26\u78ba\u8a8d\u662f\u5426\u6709\u6293\u5230\u8a72\u8a2d\u5099\u7684\u8cc7\u6599\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-8218\" src=\"http:\/\/www.ifroglab.com\/wp-content\/uploads\/2017\/01\/IMG_5699-300x225.jpg\" alt=\"IMG_5699\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-300x225.jpg 300w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-600x450.jpg 600w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-768x576.jpg 768w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-1024x768.jpg 1024w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-1170x878.jpg 1170w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-940x705.jpg 940w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-650x488.jpg 650w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-633x475.jpg 633w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-489x367.jpg 489w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-420x315.jpg 420w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-434x326.jpg 434w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699-70x53.jpg 70w, https:\/\/www.ifroglab.com\/tw\/wp-content\/uploads\/2017\/01\/IMG_5699.jpg 1478w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3>\u6578\u6885\u6d3e\u6216\u96fb\u8166gateway<\/h3>\n<p>1.. \u8acb\u4f9d\u7167\u9019<a href=\"http:\/\/www.ifroglab.com\/?p=7726\">\u6587\u7ae0<\/a>\uff0c\u67b6\u8a2d\u6578\u6885\u6d3e\u7684iFrogLab gateway<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; &nbsp; &nbsp; \u5c08\u6848\u5b8c\u6210\u6548\u679c\uff1a &#038;nbs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7591,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106],"tags":[],"class_list":["post-7590","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-9-"],"_links":{"self":[{"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=\/wp\/v2\/posts\/7590"}],"collection":[{"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7590"}],"version-history":[{"count":12,"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=\/wp\/v2\/posts\/7590\/revisions"}],"predecessor-version":[{"id":8219,"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=\/wp\/v2\/posts\/7590\/revisions\/8219"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=\/wp\/v2\/media\/7591"}],"wp:attachment":[{"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ifroglab.com\/tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}