Changes for page PG1302 -- LoRaWAN Concentrator User Manual
Last modified by Kilight Cao on 2024/06/22 10:43
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 5 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Xiao ling1 +XWiki.Xiaoye - Content
-
... ... @@ -20,7 +20,7 @@ 20 20 21 21 22 22 ((( 23 -The PG1302 is a (% style="color: blue" %)**multi-channel high-performance transmitter/receiver**(%%) designed to simultaneously receive several LoRa packets using random spreading factors on random channels. Its goal is to enable robust connection between a central wireless data concentrator and a massive amount of wireless end-points spread over a very wide range of distances.23 +The PG1302 is a (% style="color:green" %)**multi-channel high-performance transmitter/receiver**(%%) designed to simultaneously receive several LoRa packets using random spreading factors on random channels. Its goal is to enable robust connection between a central wireless data concentrator and a massive amount of wireless end-points spread over a very wide range of distances. 24 24 ))) 25 25 26 26 ((( ... ... @@ -28,7 +28,7 @@ 28 28 ))) 29 29 30 30 ((( 31 -PG1302 is fully compatible with (% style="color: blue" %)**RPi3/4 or Tinker Board**(%%), users can use the pre-build OS from Dragino to set up and easy to use the module by Web UI. Or install the raw LoRaWAN driver in the existing OS.31 +PG1302 is fully compatible with (% style="color:green" %)**RPi3/4 or Tinker Board**(%%), users can use the pre-build OS from Dragino to set up and easy to use the module by Web UI. Or install the raw LoRaWAN driver in the existing OS. 32 32 ))) 33 33 34 34 ... ... @@ -42,8 +42,6 @@ 42 42 * Mini-PCIe Interface 43 43 * Converter board to support Raspberry Pi 44 44 45 - 46 - 47 47 == 1.3 General Interfaces for PG1302 == 48 48 49 49 ... ... @@ -52,8 +52,6 @@ 52 52 * 1 x I-PEX for LoRa 53 53 * Working Temperature: -40 ℃ ~~ 80℃ 54 54 55 - 56 - 57 57 == 1.4 Pin Mapping == 58 58 59 59 ... ... @@ -88,8 +88,6 @@ 88 88 * Smart Cities 89 89 * Smart Factory 90 90 91 - 92 - 93 93 = 2. Example: Set up as LoRaWAN gateway = 94 94 95 95 == 2.1 System structure == ... ... @@ -120,20 +120,14 @@ 120 120 * Flash SD card with Dragino pre-build image which supports Web UI. 121 121 * Install [[Dragino-FWD>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/PG1302/#H5.2.2.A0Selecttheappropriatedeviceversiontodownload:]] in existing RPi OS. 122 122 123 - 124 - 125 125 **TinkerBoard2/2S, ** 126 126 127 127 * Install [[Dragino-FWD>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/PG1302/#H5.2.2.A0Selecttheappropriatedeviceversiontodownload:]] in the existing OS. 128 128 129 - 130 - 131 131 **Orange Pi PC/PC PLUS.** 132 132 133 133 * Install [[Dragino-FWD>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/PG1302/#H5.2.2.A0Selecttheappropriatedeviceversiontodownload:]] in the existing OS. 134 134 135 - 136 - 137 137 = 4. Flash with pre-build image = 138 138 139 139 == 4.1 Download the dragino image for RPI == ... ... @@ -270,6 +270,7 @@ 270 270 271 271 Show system log. 272 272 261 + 273 273 [[image:1651745003470-264.png||height="477" width="621"]] 274 274 275 275 ... ... @@ -278,6 +278,7 @@ 278 278 279 279 **Record the system log.** 280 280 270 + 281 281 [[image:1651745069814-662.png||height="144" width="621"]] 282 282 283 283 ... ... @@ -318,7 +318,7 @@ 318 318 319 319 (% class="box" %) 320 320 ((( 321 - **~pi@raspberrypi:~~$ cat /etc/os-release311 + pi@raspberrypi:~~$ cat /etc/os-release 322 322 PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" 323 323 NAME="Raspbian GNU/Linux" 324 324 VERSION_ID="8" ... ... @@ -327,7 +327,7 @@ 327 327 ID_LIKE=debian 328 328 HOME_URL="http:~/~/www.raspbian.org/" 329 329 SUPPORT_URL="http:~/~/www.raspbian.org/RaspbianForums" 330 - BUG_REPORT_URL="http:~/~/www.raspbian.org/RaspbianBugs" **320 + BUG_REPORT_URL="http:~/~/www.raspbian.org/RaspbianBugs" 331 331 332 332 333 333 ))) ... ... @@ -349,7 +349,7 @@ 349 349 === 5.2.1 Semtech UDP Mode === 350 350 351 351 352 -==== **a). Get a gateway EUI from the device ETH MAC.**====342 +==== a). Get a gateway EUI from the device ETH MAC. ==== 353 353 354 354 355 355 In RPI, run the below command to get a Gateway ID ... ... @@ -368,9 +368,7 @@ 368 368 369 369 370 370 371 -==== **b). Input this Gateway EUI to the TTN-Stack** ==== 372 - 373 - 361 +==== b). Input this Gateway EUI to the TTN-Stack ==== 374 374 ))) 375 375 ))) 376 376 ... ... @@ -379,17 +379,13 @@ 379 379 [[image:1651745306744-481.png||height="478" width="621"]] 380 380 381 381 370 +==== c). After Register, the status should show not connected as below: ==== 382 382 383 -==== **c). After Register, the status should show not connected as below:** ==== 384 - 385 - 386 386 [[image:1651745366987-458.png||height="363" width="621"]] 387 387 388 388 375 +==== d). Enable SPI and I2C on your device ==== 389 389 390 -==== **d). Enable SPI and I2C on your device** ==== 391 - 392 - 393 393 **the below example is using Raspberry 4B.** 394 394 395 395 ... ... @@ -405,16 +405,15 @@ 405 405 406 406 407 407 408 -==== **e). Access the root account:**====392 +==== e). Access the root account: ==== 409 409 410 410 ((( 411 411 [[image:1651745583363-614.png||height="151" width="732"]] 412 412 413 - 414 414 415 415 ))) 416 416 417 -==== **f). Modify the configuration of FWD**====400 +==== f). Modify the configuration of FWD ==== 418 418 419 419 420 420 ((( ... ... @@ -435,7 +435,6 @@ 435 435 436 436 At default, the users need to change two configurations file: global_conf.json and local_conf.json. 437 437 438 - 439 439 ===== **1.) Configure gateway EUI and server address, port for fwd** ===== 440 440 441 441 ... ... @@ -476,7 +476,7 @@ 476 476 [[image:1651745984006-868.png||height="87" width="745"]] 477 477 478 478 479 -==== (% style="color:inherit; font-family:inherit; font-size:23px" %) **g). Running the Fwd Server**(%%) ====461 +==== (% style="color:inherit; font-family:inherit; font-size:23px" %)g). Running the Fwd Server(%%) ==== 480 480 481 481 482 482 ((( ... ... @@ -526,7 +526,7 @@ 526 526 [[image:1651746139304-966.png||height="326" width="621"]] 527 527 528 528 529 -==== **h). Commands to handle service**====511 +==== h). Commands to handle service ==== 530 530 531 531 * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service: sudo systemctl stop draginofwd 532 532 * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd ... ... @@ -535,15 +535,14 @@ 535 535 * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd: sudo systemctl status draginofwd 536 536 537 537 520 +=== **5.2.2 Basic Station Mode.** === 538 538 539 -=== 5.2.2 Basic Station Mode. === 540 540 523 +==== a). Get a gateway EUI from the device ETH MAC. ==== 541 541 542 -==== **a). Get a gateway EUI from the device ETH MAC.** ==== 543 543 526 +In RPI, run the below command to get a Gateway ID 544 544 545 -In RPI, run the below command to get a Gateway EUI 546 - 547 547 (% class="box infomessage" %) 548 548 ((( 549 549 **~ ifconfig eth0** ... ... @@ -560,116 +560,35 @@ 560 560 561 561 562 562 563 -==== **b). Register the gateway with the Basic Station Mode on the TTN-Stack** ==== 564 564 545 +b 565 565 566 -[[image:image-20230329164417-5.png]] 567 567 568 568 569 569 570 - ==== **c). Download the gateway API keys, and then upload them to the gateway.** ====550 +c 571 571 552 +d 572 572 573 - [[image:image-20230329164704-6.png]]554 +e 574 574 556 +f 575 575 576 - ==== **d). The status Shows disconnect.** ====558 +g 577 577 560 +h 578 578 579 - [[image:image-20230329165619-7.png||height="568" width="948"]]562 +i 580 580 564 +j 581 581 582 - ==== **e.) Uploda APIkeys into the gateway** ====566 +k 583 583 584 584 585 -the User can find the Basic Station configuration directory in (% style="color:#0000ff" %)**/etc/station/**(%%) there is the station.conf files, and ttnstack directory. 586 586 587 - //**directorytree:**//570 += 6. Order Info = 588 588 589 -///etc/station/ 590 -├── station.conf 591 -└── ttnstack ~-~--> ** ttnstack configuration file directory** 592 - ├── cups.trust ~-~--> ttnstack auth file 593 - ├── cups.uri ~-~--> ttnstack server URI file 594 - └── station.conf ~-~-~-~-> backup configuration file// 595 595 596 - 597 - 598 -**and then upload the downloaded keys to this directory((% style="color:#0000ff" %)/etc/station/(%%))** 599 - 600 -eg: 601 - 602 -/etc/station/ 603 -├── cups.key ~-~--> uploaded by you 604 -├── lns.key ~-~--> uploaded by you 605 -├── station.conf 606 - 607 - 608 -==== **f). Configure gateway EUI and server address** ==== 609 - 610 - 611 -[[image:image-20230329195650-10.png]] 612 - 613 - 614 -After the user enters the correct parameters, the server will be run automatically 615 - 616 - 617 -Tree Directory: 618 - 619 -/etc/station/ 620 -├── cups.key 621 -├── cups.trust 622 -├── cups.uri 623 -├── lns.key 624 -├── start-configure.sh 625 -├── station.conf 626 -└── ttnstack 627 - ├── cups.trust 628 - ├── cups.uri 629 - └── station.conf 630 - 631 - 632 -==== **g). Check station running log** ==== 633 - 634 - 635 -tail -f /var/log/station.log 636 - 637 - 638 -[[image:image-20230329201624-11.png]] 639 - 640 - 641 -= 6. Trouble Shooting = 642 - 643 -== 6.1 Failed to start the concentrator how to debug == 644 - 645 - 646 -When the problem "failed to start the concentrator" occurs, the user needs to check whether the I2C and SPI are enabled, 647 - 648 -Users can enter the following command to check whether I2C is detected, and the detection of **"60"** is correct. 649 - 650 -(% class="box infomessage" %) 651 -((( 652 -**i2cdetect -y 1** 653 -))) 654 - 655 -[[image:image-20230518091900-1.png]] 656 - 657 - 658 -Check whether the SPI path of the configuration file is correct, 659 - 660 -(% class="box infomessage" %) 661 -((( 662 -**cat /etc/lora/global_conf.json ** 663 -))) 664 - 665 -(% class="wikigeneratedid" %) 666 -[[image:image-20230518092732-2.png||height="378" width="691"]] 667 - 668 - 669 - 670 -= 7. Order Info = 671 - 672 - 673 673 Part Number: (% style="color:#0000ff" %)**PG1302-XX** (%%) Or Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX **(%%)(Include RPi converter board for RPI 3/4) 674 674 675 675 **~ (% style="color:#0000ff" %)XX:(%%)** ... ... @@ -678,23 +678,24 @@ 678 678 * (% style="color:red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920) 679 679 * (% style="color:red" %)**470** (%%)(For Band: CN470) 680 680 581 += 7. Packing Info = 681 681 682 - 683 -= 8. Packing Info = 684 - 685 - 686 686 ((( 584 + 585 + 687 687 **PG1302 Package Includes**: 688 688 ))) 689 689 690 690 ((( 590 +((( 691 691 * PG1302 x 1 692 692 * LoRa Antenna x 1 693 693 ))) 594 +))) 694 694 695 - 696 - 697 697 ((( 597 + 598 + 698 698 **PG1302-PI Package Includes**: 699 699 ))) 700 700 ... ... @@ -703,22 +703,27 @@ 703 703 * RPi3/4 converter PCB 704 704 * Screws to hole converter PCB on RPI. 705 705 706 - 707 - 708 708 **PG1302-PI Dimension and weight: ** 709 709 710 710 * Device Size: 18 x 8 x 4 cm 711 711 * Weight: 150g 712 712 612 +((( 613 += 8. Support = 713 713 714 714 715 -= 9. Support = 616 +((( 617 +If you are experiencing issues and can't solve, you can send mail to 618 +))) 716 716 717 - 718 718 ((( 719 - If you are experiencing issues and can't solve, you can send mail to[[support@dragino.com>>mailto:support@dragino.com]].621 +[[support@dragino.com>>mailto:support@dragino.com]] 720 720 ))) 721 721 722 722 ((( 723 723 With your question as detail as possible. We will reply and help you in the shortest. 626 + 627 + 628 + 724 724 ))) 630 +)))
- image-20230329195442-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.9 KB - Content
- image-20230329195650-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.7 KB - Content
- image-20230329201624-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoye - Size
-
... ... @@ -1,1 +1,0 @@ 1 -20.1 KB - Content
- image-20230518091900-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.8 KB - Content
- image-20230518092732-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -35.1 KB - Content