Changes for page LPS8N -- LoRaWAN Gateway User Manual
Last modified by Kilight Cao on 2024/05/18 14:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -41,7 +41,6 @@ 41 41 42 42 [[image:1652411526195-923.png]] 43 43 44 - 45 45 == 1.2 Specifications == 46 46 47 47 **Hardware System:** ... ... @@ -131,12 +131,10 @@ 131 131 132 132 [[image:1652411641871-482.png||height="416" width="716"]] 133 133 134 - 135 135 == 1.5 DLOS8N Applications == 136 136 137 137 [[image:1652411671209-920.png||height="618" width="650"]] 138 138 139 - 140 140 == 1.6 LED Indicators == 141 141 142 142 [[image:1652411720670-489.png]] ... ... @@ -159,7 +159,6 @@ 159 159 ))) 160 160 ))) 161 161 162 - 163 163 == 1.7 WiFi Direction == 164 164 165 165 DLOS8N use directional WiFi Antenna. The best direction is as below: ... ... @@ -166,7 +166,6 @@ 166 166 167 167 [[image:1652412859663-161.png||height="341" width="333"]] 168 168 169 - 170 170 = 2. Access and Configure DLOS8N = 171 171 172 172 The DLOS8N is configured as a WiFi Access Point by default. User can access and configure the DLOS8N after connecting to its WiFi network, or via its Ethernet port. ... ... @@ -177,7 +177,6 @@ 177 177 178 178 [[image:1652412985720-934.png]] 179 179 180 - 181 181 At the first boot of DLOS8N, it will auto generate a WiFi network called (% style="color:green" %)**//dragino-xxxxxx //**(% style="color:black" %)with password: 182 182 183 183 [[image:1652413127647-377.png]] ... ... @@ -188,7 +188,6 @@ 188 188 User can use a PC to connect to this WiFi network. The PC will get an IP address 10.130.1.xxx and the DLOS8N has the default IP (% style="color:green" %)10.130.1.1 189 189 ))) 190 190 191 - 192 192 === 2.1.2 Connect via Ethernet with DHCP IP from router === 193 193 194 194 [[image:1652414114583-532.png]] ... ... @@ -198,7 +198,6 @@ 198 198 Alternatively, connect the DLOS8N Ethernet port to your router and DLOS8N will obtain an IP address from your router. In the router’s management portal, you should be able to find what IP address the router has assigned to the DLOS8N. You can also use this IP to connect. 199 199 ))) 200 200 201 - 202 202 === 2.1.3 Connect via WiFi with DHCP IP from router === 203 203 204 204 [[image:1652414137639-956.png]] ... ... @@ -206,12 +206,10 @@ 206 206 207 207 If the DLOS8N already connect to the router via WiFi, use can use the WiFi IP to connect to DLOS8N. 208 208 209 - 210 210 === 2.1.4 Connect via Ethernet with fall back ip === 211 211 212 212 The WAN port also has a [[fall back ip address>>path:#_I_configured_LPS8]] for access if user doesn’t connect to uplink router. Click [[here>>path:#_I_configured_LPS8]] to see how to configure. 213 213 214 - 215 215 == 2.2 Access Configure Web UI == 216 216 217 217 **Web Interface** ... ... @@ -235,9 +235,6 @@ 235 235 236 236 [[image:1652414287022-223.png]] 237 237 238 - 239 - 240 - 241 241 = 3. Typical Network Setup = 242 242 243 243 == 3.1 Overview == ... ... @@ -255,7 +255,6 @@ 255 255 256 256 [[image:1652420169255-959.png]] 257 257 258 - 259 259 == 3.3 Access the Internet as a WiFi Client == 260 260 261 261 In the WiFi Client Mode, DLOS8N acts as a WiFi client and gets DHCP from an upstream router via WiFi. ... ... @@ -270,7 +270,6 @@ 270 270 In the WiFi Survey Choose the WiFi AP, and input the Passphrase then click Save & Apply to connect. 271 271 ))) 272 272 273 - 274 274 == 3.4 Access the Internet via Cellular == 275 275 276 276 If the DLOS8N support 3G/4G Cellular modem option, When the label on the shell is displayed as Model : DLOS8N-EC25, it indicates that DLOS8 already has EC25 3G/4G modules,user can use it as main internet connection or back up. ... ... @@ -282,7 +282,7 @@ 282 282 [[image:1652420606018-181.png]] 283 283 284 284 285 -[[image:1652420718132-929.png||height="4 50" width="766"]]270 +[[image:1652420718132-929.png||height="427" width="727"]] 286 286 287 287 ((( 288 288 The set up page is (% style="color:#4f81bd" %)**System ~-~-> Cellular** ... ... @@ -297,18 +297,16 @@ 297 297 298 298 (% style="color:red" %)**Note** *: For DLOS8N which doesn’t have the cellular module, this page will shows Cellular not detected. 299 299 300 - 301 301 == 3.5 Check Internet connection == 302 302 303 303 In the (% style="color:#4f81bd" %)**home**(%%) page, we can check the Internet connection. 304 304 305 -* GREEN Tick [[image:1652436675869-206.png||height="1 6" width="17"]] : This interface has Internet connection.289 +* GREEN Tick [[image:1652436675869-206.png||height="14" width="15"]] : This interface has Internet connection. 306 306 * Yellow Tick [[image:1652436705761-420.png||height="15" width="15"]] : This interface has IP address but don’t use it for internet connection. 307 -* RED Cross : This interface doesn’t connected. 291 +* RED Cross [[image:1652436787176-950.png||height="14" width="15"]] : This interface doesn’t connected. 308 308 309 309 [[image:1652421351382-793.png||height="339" width="765"]] 310 310 311 - 312 312 = 4. Example: Configure as a LoRaWAN gateway = 313 313 314 314 DLOS8N is fully compatible with LoRaWAN protocol. It uses the legacy Semtech Packet forwarder to forward the LoRaWAN packets to server. The structure is as below. ... ... @@ -319,12 +319,13 @@ 319 319 320 320 [[T>>url:https://www.thethingsnetwork.org/]]heThingsNetwork v3(T[[TN>>url:https://www.thethingsnetwork.org/]] v3[[)>>url:http://)]][[ LoRaWAN Server>>url:https://www.thethingsnetwork.org/]] ([[www.thethingsnetwork.org>>url:http://www.thethingsnetwork.org/]]) 321 321 322 - 323 323 == 4.1 Create a gateway in TTN V3 Server == 324 324 325 325 (% style="color:#4f81bd" %)**Step 1: Get a Unique gateway ID.** 326 326 309 +((( 327 327 Every DLOS8N has a unique gateway id. The ID can be found at LoRaWAN page: 311 +))) 328 328 329 329 [[image:1652421929753-168.png||height="403" width="739"]] 330 330 ... ... @@ -368,7 +368,6 @@ 368 368 369 369 [[image:1652422509034-682.png||height="299" width="739"]] 370 370 371 - 372 372 == 4.2 Configure DLOS8N to connect to TTN v3 == 373 373 374 374 You can now configure the DLOS8N to let it connect to TTN network V3. ... ... @@ -389,7 +389,6 @@ 389 389 390 390 [[image:1652422703020-955.png||height="343" width="730"]] 391 391 392 - 393 393 == 4.3 Configure frequency == 394 394 395 395 We also need to set the frequency plan in DLOS8N to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor. ... ... @@ -401,33 +401,56 @@ 401 401 402 402 [[image:1652422763536-750.png||height="514" width="730"]] 403 403 386 +== 4.4 Add a LoRaWAN End Device == 404 404 405 -4.4 Add a LoRaWAN End Device 406 - 388 +((( 407 407 This section shows how to add a LoRaWAN End device to a LoRaWAN network and see the data from TTN web site. 390 +))) 408 408 392 +((( 409 409 We use [[LT-22222-L>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] IO Controller as a reference device - the setup for other LoRaWAN devices will be similar. 394 +))) 410 410 411 411 [[image:1652422794767-871.png]] 412 412 398 +((( 413 413 (% style="color:#4f81bd" %)**Step 1**: (% style="color:black" %)Create a Device definition in TTN v3 with the OTAA keys from the example LT-22222-L IO Controller device. 400 +))) 414 414 402 +((( 415 415 Three codes are required to define the device in TTN v3: 404 +))) 416 416 417 417 * DEV EUI - Unique ID code for a particular device. 418 418 * APP EUI - ID code for an Application defined in TTN v3. 419 419 * APP Key - Unique key to secure communications with a particular device. 420 420 410 +((( 421 421 A set of these codes are stored in each device by the manufacturer as the default codes for that particular device. Each device is shipped with a sticker with the default Device EUI as shown below. 412 +))) 422 422 423 423 [[image:1652422840936-838.png]] 424 424 425 425 417 +((( 426 426 (% style="color:red" %)Note: You may be able to change these codes in a device by using a configuration facility on the device e.g. the LT-22222 uses a serial port access and a series of AT commands. Changing the codes may be necessary in the case where you have to use codes assigned by a LoRa WAN server. 419 +))) 427 427 421 +((( 422 + 423 +))) 424 + 425 +((( 428 428 For the TTN v3 server, you can use the codes set in the device as in the following example. 427 +))) 429 429 429 +((( 430 + 431 +))) 432 + 433 +((( 430 430 Select **Add Application** to open the screen below. 435 +))) 431 431 432 432 [[image:1652422946999-255.png||height="356" width="744"]] 433 433 ... ... @@ -437,10 +437,14 @@ 437 437 438 438 [[image:1652422975885-591.png||height="359" width="726"]] 439 439 445 +((( 440 440 Select OTAA activation mode 447 +))) 441 441 442 442 450 +((( 443 443 The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification. The most commonly used LoRaWAN versions are v1.0.2 and v1.0.3. 452 +))) 444 444 445 445 [[image:1652422998005-968.png||height="352" width="744"]] 446 446 ... ... @@ -452,16 +452,21 @@ 452 452 453 453 [[image:1652423046741-467.png||height="355" width="736"]] 454 454 464 +((( 455 455 Finally, Application layer settings input the corresponding AppKey. Before saving the configuration, check that the data matches the device. 466 +))) 456 456 457 457 469 +((( 458 458 (% style="color:#4f81bd" %)**Step 2**: (% style="color:black" %)Power on LT-22222-L device and it will automatically join the TTN network. After joining successfully, it will start to upload messages to the TTN v3. Select the Live data tab and you will see the data appearing in the panel. 471 +))) 459 459 473 +((( 460 460 (% style="color:red" %)Note that it may take some time for the device data to appear in the TTN v3 display. 475 +))) 461 461 462 462 [[image:1652423277549-324.png||height="273" width="745"]] 463 463 464 - 465 465 = 5. Web Configure Pages = 466 466 467 467 == 5.1 Home == ... ... @@ -470,19 +470,24 @@ 470 470 471 471 [[image:1652423418568-752.png||height="329" width="724"]] 472 472 473 - 474 474 == 5.2 LoRa Settings == 475 475 476 476 === 5.2.1 LoRa ~-~-> LoRa === 477 477 491 +((( 478 478 This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customized the band* as well. 493 +))) 479 479 495 +((( 480 480 Different DLOS8N hardware version can support different frequency range: 497 +))) 481 481 482 482 * **868**: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865. 483 483 * **915**: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920 484 484 502 +((( 485 485 After user choose the frequency plan, he can see the actually frequency in used by checking the page **LogRead ~-~-> LoRa Log** 504 +))) 486 486 487 487 [[image:1652423554776-574.png||height="380" width="740"]] 488 488 ... ... @@ -490,7 +490,6 @@ 490 490 491 491 [[http:~~/~~/wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway>>url:http://wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway]] 492 492 493 - 494 494 === 5.2.2 LoRa ~-~-> ABP Decryption === 495 495 496 496 The DLOS8N can communicate with LoRaWAN ABP End Node without the need of LoRaWAN server. It can be used in some cases such as: ... ... @@ -498,11 +498,12 @@ 498 498 * No internet connection. 499 499 * User wants to get data forward in gateway and forward to their server based on MQTT/HTTP, etc. (Combine ABP communication method and [[MQTT forward together>>http://8.211.40.43:8080/xwiki/bin/view/Main/MQTT%20Forward%20Instruction/]]). 500 500 519 +((( 501 501 Detail of this feature: [[Communication with ABP End Node>>http://8.211.40.43:8080/xwiki/bin/view/Main/Communicate%20with%20ABP%20End%20Node%20without%20LoRaWAN%20Network%20Server%20---%20LG308/]] 521 +))) 502 502 503 503 [[image:1652423628833-467.png||height="357" width="755"]] 504 504 505 - 506 506 == 5.3 LoRaWAN Settings == 507 507 508 508 === 5.3.1 LoRaWAN ~-~-> LoRaWAN === ... ... @@ -519,23 +519,26 @@ 519 519 520 520 See :[[Filter unwanted LoRaWAN packets>>http://8.211.40.43:8080/xwiki/bin/view/Main/Filter%20unwanted%20LoRaWAN%20packets/]] 521 521 522 - 523 523 === 5.3.2 LoRaWAN ~-~-> Amazon AWS-IoT === 524 524 525 525 [[image:1652428499323-384.png||height="275" width="723"]] 526 526 545 +((( 527 527 Please see this instruction to know more detail and demo for how to connect to AWS-IoT LoRaWAN Core: [[http:~~/~~/wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core>>url:http://wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core]] 547 +))) 528 528 529 - 530 530 === 5.3.3 LoRaWAN ~-~-> LORIOT === 531 531 551 +((( 532 532 Settings to communicate to LORIOT LoRaWAN Network Server: [[https:~~/~~/www.loriot.io/>>url:https://www.loriot.io/]] 553 +))) 533 533 555 +((( 534 534 Instruction: [[http:~~/~~/wiki.dragino.com/index.php?title=Notes_for_LORIOT>>url:http://wiki.dragino.com/index.php?title=Notes_for_LORIOT]] 557 +))) 535 535 536 536 [[image:1652428648903-878.png||height="266" width="731"]] 537 537 538 - 539 539 == 5.4 MQTT Settings == 540 540 541 541 If end nodes works in ABP mode, user can configure DLOS8N to transfer the data to MQTT broker,