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)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- 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,7 +42,6 @@ 42 42 * Mini-PCIe Interface 43 43 * Converter board to support Raspberry Pi 44 44 45 - 46 46 == 1.3 General Interfaces for PG1302 == 47 47 48 48 ... ... @@ -51,7 +51,6 @@ 51 51 * 1 x I-PEX for LoRa 52 52 * Working Temperature: -40 ℃ ~~ 80℃ 53 53 54 - 55 55 == 1.4 Pin Mapping == 56 56 57 57 ... ... @@ -86,7 +86,6 @@ 86 86 * Smart Cities 87 87 * Smart Factory 88 88 89 - 90 90 = 2. Example: Set up as LoRaWAN gateway = 91 91 92 92 == 2.1 System structure == ... ... @@ -117,17 +117,14 @@ 117 117 * Flash SD card with Dragino pre-build image which supports Web UI. 118 118 * 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. 119 119 120 - 121 121 **TinkerBoard2/2S, ** 122 122 123 123 * 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. 124 124 125 - 126 126 **Orange Pi PC/PC PLUS.** 127 127 128 128 * 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. 129 129 130 - 131 131 = 4. Flash with pre-build image = 132 132 133 133 == 4.1 Download the dragino image for RPI == ... ... @@ -264,6 +264,7 @@ 264 264 265 265 Show system log. 266 266 261 + 267 267 [[image:1651745003470-264.png||height="477" width="621"]] 268 268 269 269 ... ... @@ -272,6 +272,7 @@ 272 272 273 273 **Record the system log.** 274 274 270 + 275 275 [[image:1651745069814-662.png||height="144" width="621"]] 276 276 277 277 ... ... @@ -312,7 +312,7 @@ 312 312 313 313 (% class="box" %) 314 314 ((( 315 - **~pi@raspberrypi:~~$ cat /etc/os-release311 + pi@raspberrypi:~~$ cat /etc/os-release 316 316 PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" 317 317 NAME="Raspbian GNU/Linux" 318 318 VERSION_ID="8" ... ... @@ -321,7 +321,7 @@ 321 321 ID_LIKE=debian 322 322 HOME_URL="http:~/~/www.raspbian.org/" 323 323 SUPPORT_URL="http:~/~/www.raspbian.org/RaspbianForums" 324 - BUG_REPORT_URL="http:~/~/www.raspbian.org/RaspbianBugs" **320 + BUG_REPORT_URL="http:~/~/www.raspbian.org/RaspbianBugs" 325 325 326 326 327 327 ))) ... ... @@ -343,7 +343,7 @@ 343 343 === 5.2.1 Semtech UDP Mode === 344 344 345 345 346 -==== **a). Get a gateway EUI from the device ETH MAC.**====342 +==== a). Get a gateway EUI from the device ETH MAC. ==== 347 347 348 348 349 349 In RPI, run the below command to get a Gateway ID ... ... @@ -362,9 +362,7 @@ 362 362 363 363 364 364 365 -==== **b). Input this Gateway EUI to the TTN-Stack** ==== 366 - 367 - 361 +==== b). Input this Gateway EUI to the TTN-Stack ==== 368 368 ))) 369 369 ))) 370 370 ... ... @@ -373,17 +373,13 @@ 373 373 [[image:1651745306744-481.png||height="478" width="621"]] 374 374 375 375 370 +==== c). After Register, the status should show not connected as below: ==== 376 376 377 -==== **c). After Register, the status should show not connected as below:** ==== 378 - 379 - 380 380 [[image:1651745366987-458.png||height="363" width="621"]] 381 381 382 382 375 +==== d). Enable SPI and I2C on your device ==== 383 383 384 -==== **d). Enable SPI and I2C on your device** ==== 385 - 386 - 387 387 **the below example is using Raspberry 4B.** 388 388 389 389 ... ... @@ -399,16 +399,15 @@ 399 399 400 400 401 401 402 -==== **e). Access the root account:**====392 +==== e). Access the root account: ==== 403 403 404 404 ((( 405 405 [[image:1651745583363-614.png||height="151" width="732"]] 406 406 407 - 408 408 409 409 ))) 410 410 411 -==== **f). Modify the configuration of FWD**====400 +==== f). Modify the configuration of FWD ==== 412 412 413 413 414 414 ((( ... ... @@ -429,7 +429,6 @@ 429 429 430 430 At default, the users need to change two configurations file: global_conf.json and local_conf.json. 431 431 432 - 433 433 ===== **1.) Configure gateway EUI and server address, port for fwd** ===== 434 434 435 435 ... ... @@ -470,7 +470,7 @@ 470 470 [[image:1651745984006-868.png||height="87" width="745"]] 471 471 472 472 473 -==== (% 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(%%) ==== 474 474 475 475 476 476 ((( ... ... @@ -520,7 +520,7 @@ 520 520 [[image:1651746139304-966.png||height="326" width="621"]] 521 521 522 522 523 -==== **h). Commands to handle service**====511 +==== h). Commands to handle service ==== 524 524 525 525 * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service: sudo systemctl stop draginofwd 526 526 * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd ... ... @@ -529,13 +529,13 @@ 529 529 * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd: sudo systemctl status draginofwd 530 530 531 531 532 -=== 5.2.2 Basic Station Mode. === 520 +=== **5.2.2 Basic Station Mode.** === 533 533 534 534 535 -==== **a). Get a gateway EUI from the device ETH MAC.**====523 +==== a). Get a gateway EUI from the device ETH MAC. ==== 536 536 537 537 538 -In RPI, run the below command to get a Gateway EUI526 +In RPI, run the below command to get a Gateway ID 539 539 540 540 (% class="box infomessage" %) 541 541 ((( ... ... @@ -553,117 +553,35 @@ 553 553 554 554 555 555 556 -==== **b). Register the gateway with the Basic Station Mode on the TTN-Stack** ==== 557 557 545 +b 558 558 559 -[[image:image-20230329164417-5.png]] 560 560 561 561 562 562 563 - ==== **c). Download the gateway API keys, and then upload them to the gateway.** ====550 +c 564 564 552 +d 565 565 566 - [[image:image-20230329164704-6.png]]554 +e 567 567 556 +f 568 568 569 - ==== **d). The status Shows disconnect.** ====558 +g 570 570 560 +h 571 571 572 - [[image:image-20230329165619-7.png||height="568" width="948"]]562 +i 573 573 564 +j 574 574 575 - ==== **e.) Uploda APIkeys into the gateway** ====566 +k 576 576 577 577 578 -the User can find the Basic Station configuration directory in (% style="color:#0000ff" %)**/etc/station/**(%%) there is the station.conf files, and ttnstack directory. 579 579 580 - //**directorytree:**//570 += 6. Order Info = 581 581 582 -///etc/station/ 583 -├── station.conf 584 -└── ttnstack ~-~--> ** ttnstack configuration file directory** 585 - ├── cups.trust ~-~--> ttnstack auth file 586 - ├── cups.uri ~-~--> ttnstack server URI file 587 - └── station.conf ~-~-~-~-> backup configuration file// 588 588 589 - 590 - 591 -**and then upload the downloaded keys to this directory((% style="color:#0000ff" %)/etc/station/(%%))** 592 - 593 -eg: 594 - 595 -/etc/station/ 596 -├── cups.key ~-~--> uploaded by you 597 -├── lns.key ~-~--> uploaded by you 598 -├── station.conf 599 - 600 - 601 -==== **f). Configure gateway EUI and server address** ==== 602 - 603 - 604 -[[image:image-20230329195650-10.png]] 605 - 606 - 607 -After the user enters the correct parameters, the server will be run automatically 608 - 609 - 610 -Tree Directory: 611 - 612 -/etc/station/ 613 -├── cups.key 614 -├── cups.trust 615 -├── cups.uri 616 -├── lns.key 617 -├── start-configure.sh 618 -├── station.conf 619 -└── ttnstack 620 - ├── cups.trust 621 - ├── cups.uri 622 - └── station.conf 623 - 624 - 625 -==== **g). Check station running log** ==== 626 - 627 - 628 -tail -f /var/log/station.log 629 - 630 - 631 -[[image:image-20230329201624-11.png]] 632 - 633 - 634 -= 6. Trouble Shooting = 635 - 636 -== 6.1 Failed to start the concentrator how to debug == 637 - 638 - 639 ---When the problem "failed to start the concentrator" occurs, the user needs to check whether the I2C and SPI are enabled,-- 640 - 641 ---Users can enter the following command to check whether I2C is detected, and the detection of **"60"** is correct.-- 642 - 643 -(% class="box infomessage" %) 644 -((( 645 ---**i2cdetect -y 1**-- 646 -))) 647 - 648 -**Note: This method has been removed because the i2c had been removed on the latest PG1302.** 649 - 650 - 651 - 652 -Check whether the SPI path of the configuration file is correct, 653 - 654 -(% class="box infomessage" %) 655 -((( 656 -**cat /etc/lora/global_conf.json ** 657 -))) 658 - 659 -(% class="wikigeneratedid" %) 660 -[[image:image-20230518092732-2.png||height="378" width="691"]] 661 - 662 - 663 - 664 -= 7. Order Info = 665 - 666 - 667 667 Part Number: (% style="color:#0000ff" %)**PG1302-XX** (%%) Or Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX **(%%)(Include RPi converter board for RPI 3/4) 668 668 669 669 **~ (% style="color:#0000ff" %)XX:(%%)** ... ... @@ -672,22 +672,24 @@ 672 672 * (% style="color:red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920) 673 673 * (% style="color:red" %)**470** (%%)(For Band: CN470) 674 674 581 += 7. Packing Info = 675 675 676 -= 8. Packing Info = 677 - 678 - 679 679 ((( 584 + 585 + 680 680 **PG1302 Package Includes**: 681 681 ))) 682 682 683 683 ((( 590 +((( 684 684 * PG1302 x 1 685 685 * LoRa Antenna x 1 686 686 ))) 594 +))) 687 687 688 - 689 - 690 690 ((( 597 + 598 + 691 691 **PG1302-PI Package Includes**: 692 692 ))) 693 693 ... ... @@ -696,20 +696,27 @@ 696 696 * RPi3/4 converter PCB 697 697 * Screws to hole converter PCB on RPI. 698 698 699 - 700 700 **PG1302-PI Dimension and weight: ** 701 701 702 702 * Device Size: 18 x 8 x 4 cm 703 703 * Weight: 150g 704 704 612 +((( 613 += 8. Support = 705 705 706 -= 9. Support = 707 707 616 +((( 617 +If you are experiencing issues and can't solve, you can send mail to 618 +))) 708 708 709 709 ((( 710 - 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]] 711 711 ))) 712 712 713 713 ((( 714 714 With your question as detail as possible. We will reply and help you in the shortest. 626 + 627 + 628 + 715 715 ))) 630 +)))
- 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