Changes for page PG1302 -- LoRaWAN Concentrator User Manual
Last modified by Kilight Cao on 2024/06/22 10:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -36,10 +36,6 @@ 36 36 * Mini-PCIe Interface 37 37 * Converter board to support Raspberry Pi 38 38 39 - 40 - 41 - 42 - 43 43 == **1.3 General Interfaces for PG1302** == 44 44 45 45 * SPI interface for LoRa ... ... @@ -46,10 +46,6 @@ 46 46 * Power Input: 5v, 1A 47 47 * 1 x I-PEX for LoRa 48 48 49 - 50 - 51 - 52 - 53 53 == **1.4 Pin Mapping** == 54 54 55 55 ... ... @@ -84,10 +84,6 @@ 84 84 * Smart Cities 85 85 * Smart Factory 86 86 87 - 88 - 89 - 90 - 91 91 = **2. Example: Set up as LoRaWAN gateway.** = 92 92 93 93 == **2.1 System structure** == ... ... @@ -115,21 +115,15 @@ 115 115 * Flash SD card with Dragino pre-build image which supports Web UI. 116 116 * Install Lora packet forwarder in existing RPi OS. 117 117 118 - 119 - 120 - 121 - 122 122 = **4. Flash with pre-build image** = 123 123 124 124 == **4.1 Download the dragino image for RPI** == 125 125 110 +Download PG1302_for_Rpi4_64_with_webui from 111 +[[https:~~/~~/www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0>>https://www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0]] 126 126 127 -((( 128 -Download PG1302_for_Rpi4_64_with_webui from: [[https:~~/~~/www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0>>https://www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0]] 129 -))) 130 130 131 131 132 - 133 133 == **4.2 Flash the image to an SD card** == 134 134 135 135 ... ... @@ -147,7 +147,6 @@ 147 147 148 148 Connect the RPI Ethernet port to your router, RPi 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 RPI. You can use this IP to connect the WEB UI or SSH access of RPI. Make sure your PC and the RPI is in the same network, then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]]) to access it. Below are screenshots 149 149 150 - 151 151 [[image:1651744193675-591.png||height="450" width="466"]] 152 152 153 153 The account details for Web Login are: ... ... @@ -383,30 +383,26 @@ 383 383 384 384 ((( 385 385 The default LoRaWAN server points to localhost, user need to put the correct server address to the server_address field in file (% style="color:#0000ff" %)**local_conf.json**(%%), like below. 386 - 387 - 388 388 ))) 389 389 390 390 [[image:1651745709709-887.png||height="820" width="621"]] 391 391 371 +User can find the TTN v3 server address from: 392 392 393 - User can find the TTN v3 server address from:[[Server Addresses ~| The Things Stack for LoRaWAN (thethingsindustries.com)>>url:https://www.thethingsindustries.com/docs/getting-started/server-addresses/#deployments]]373 +[[Server Addresses ~| The Things Stack for LoRaWAN (thethingsindustries.com)>>url:https://www.thethingsindustries.com/docs/getting-started/server-addresses/#deployments]] 394 394 395 395 And the default frequency band is US915 in (% style="color:#0000ff" %)**global_conf.json**(%%) file. 396 396 397 397 [[image:1651745838008-820.png||height="650" width="621"]] 398 398 399 - 400 400 * If user want to change to other frequency bands, User can copy the file from(% style="color:#0000ff" %)** /etc/lora/cfg-302**(%%) ** **and put it into** (% style="color:#0000ff" %)/etc/lora/global_conf.json(%%).** 401 401 402 - **~1).**381 + 1).Chose your need the name of region frequency. 403 403 404 404 [[image:1651745867516-322.png||height="83" width="740"]] 405 405 385 + 2). Use this command to copy it. 406 406 407 -* 408 -** 2). Use this command to copy it. 409 - 410 410 cp /etc/lora/cfg-302/EU-global_conf.json /etc/lora/global_conf.json 411 411 412 412 [[image:1651745984006-868.png||height="87" width="745"]] ... ... @@ -413,11 +413,8 @@ 413 413 414 414 * If user wants to change to other LoRaWAN server, modify the (% style="color:#0000ff" %)**global_conf.json**(%%) file. 415 415 393 +=== 5.2.3 Check result === 416 416 417 - 418 -=== **5.2.3 Check result** === 419 - 420 - 421 421 ((( 422 422 Run below command to restart the dragino_fwd: 423 423 ))) ... ... @@ -425,16 +425,15 @@ 425 425 ((( 426 426 (% class="box infomessage" %) 427 427 ((( 428 - **sudo systemctl stop draginofwd**402 +sudo systemctl stop draginofwd 429 429 ))) 430 430 431 431 (% class="box infomessage" %) 432 432 ((( 433 - **sudo systemctl start draginofwd**407 +sudo systemctl start draginofwd 434 434 ))) 435 435 ))) 436 436 437 - 438 438 ((( 439 439 debug check the ruing status of fwd: 440 440 ))) ... ... @@ -442,40 +442,33 @@ 442 442 ((( 443 443 (% class="box infomessage" %) 444 444 ((( 445 - **sudo systemctl status draginofwd**418 +sudo systemctl status draginofwd 446 446 ))) 447 447 ))) 448 448 449 449 [[image:1651746045057-414.png||height="193" width="729"]] 450 450 451 - 452 - 453 453 The dragino_fwd will start with the new gateway ID and TTN v3 should show the connection ok: 454 454 455 - 456 456 [[image:1651746078253-168.png||height="372" width="621"]] 457 457 458 458 459 - 460 460 We can check dragino_fwd running states in RPi by running: 461 461 462 462 (% class="box infomessage" %) 463 463 ((( 464 - **~sudo journalctl -u draginofwd -f**433 + sudo journalctl -u draginofwd -f 465 465 ))) 466 466 467 467 [[image:1651746111963-838.png||height="184" width="730"]] 468 468 438 + If there are LoRaWAN nodes transmitting nearby, we can see the traffic in **TTN v3 –> Gateway ~-~-> Live data** 469 469 470 - If there are LoRaWAN nodes transmitting nearby, we can see the traffic in (% style="color:#037691" %)**TTN v3 –> Gateway ~-~-> Live data** 471 - 472 472 [[image:1651746139304-966.png||height="326" width="621"]] 473 473 474 474 443 +=== 5.2.4 Commands to handle service === 475 475 476 -=== **5.2.4 Commands to handle service** === 477 - 478 - 479 479 * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service: sudo systemctl stop draginofwd 480 480 * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd 481 481 * (% style="color:#0000ff" %)**Start** (%%)dragino_fwd : sudo systemctl start draginofwd ... ... @@ -482,26 +482,18 @@ 482 482 * (% style="color:#0000ff" %)**Auto run**(%%) dragino_fwd after boot: sudo systemctl enable draginofwd 483 483 * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd: sudo systemctl status draginofwd 484 484 451 += 6. Order Info = 485 485 486 - 487 - 488 -= **6. Order Info** = 489 - 490 - 491 491 Part Number: (% style="color:#0000ff" %)**PG1302-XX** (%%) Or Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX **(%%)(Include RPi converter board for RPI 3/4) 492 492 493 493 **~ (% style="color:#0000ff" %)XX:(%%)** 494 494 495 -* (% style="color: red" %)**868** (%%)(For Bands: EU868,IN865)496 -* (% style="color: red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920)497 -* (% style="color: red" %)**470** (%%)(For Band: CN470)457 +* (% style="color:#0000ff" %)**868** (%%)(For Bands: EU868,IN865) 458 +* (% style="color:#0000ff" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920) 459 +* (% style="color:#0000ff" %)**470** (%%)(For Band: CN470) 498 498 461 += 7. Packing Info = 499 499 500 - 501 - 502 - 503 -= **7. Packing Info** = 504 - 505 505 ((( 506 506 507 507 ... ... @@ -532,16 +532,11 @@ 532 532 * Device Size: 18 x 8 x 4 cm 533 533 * Weight: 150g 534 534 535 - 536 - 537 - 538 - 539 539 ((( 540 -= **8. Support**=494 += 8. Support = 541 541 542 - 543 543 ((( 544 -If you are experiencing issues and can 't solve, you can send mail to497 +If you are experiencing issues and can’t solve, you can send mail to 545 545 ))) 546 546 547 547 (((