<
From version < 145.2 >
edited by Xiaoye
on 2024/02/26 16:24
To version < 125.1 >
edited by Xiaoye
on 2023/03/29 20:16
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -PG1302 -- LoRaWAN Concentrator User Manual
1 +PG1302 - LoRaWAN Concentrator User Manual
Content
... ... @@ -4,7 +4,7 @@
4 4  
5 5  
6 6  
7 -**Table of Contents:**
7 +**Table of Contents**
8 8  
9 9  {{toc/}}
10 10  
... ... @@ -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  
... ... @@ -53,7 +53,7 @@
53 53  == 1.4 Pin Mapping ==
54 54  
55 55  
56 -[[image:image-20240122140551-1.png]]
56 + [[image:1651743282627-547.png||height="402" width="425"]]
57 57  
58 58  
59 59  == 1.5 LEDs ==
... ... @@ -61,7 +61,7 @@
61 61  
62 62  (((
63 63  TX: Blink when transmit a packet
64 -RX: Blink when receiving a packet
64 +RX: Blink when receive a packet
65 65  Config: Always ON
66 66  )))
67 67  
... ... @@ -74,22 +74,9 @@
74 74  Detail Test Report see [[this link>>https://www.dropbox.com/sh/89virm4y0b02c7i/AAA-cgQEsSc8gNGFYAB0qZ_Za?dl=0]]
75 75  
76 76  
77 -== 1.7 Antenna Installation ==
77 +== 1.7 Applications ==
78 78  
79 79  
80 -Left:  **GPS antenna**
81 -
82 -Right:  **LoRa Antenna**
83 -
84 -[[image:https://www.thethingsnetwork.org/forum/uploads/default/original/3X/6/2/624619afa8d75a2c21bfd1e3687afaa75ad61cbc.jpeg||alt="PG1302_70"]]
85 -
86 -
87 -
88 -
89 -
90 -== 1.8 Applications ==
91 -
92 -
93 93  * Smart Buildings & Home Automation
94 94  * Logistics and Supply Chain Management
95 95  * Smart Metering
... ... @@ -97,7 +97,6 @@
97 97  * Smart Cities
98 98  * Smart Factory
99 99  
100 -
101 101  = 2. Example: Set up as LoRaWAN gateway =
102 102  
103 103  == 2.1 System structure ==
... ... @@ -117,7 +117,7 @@
117 117  
118 118  (% style="color:red" %)**Important Notice: Please power the RPI with 5V,3A cable.**
119 119  
120 -[[image:image-20220621104746-1.png||height="351" width="415"]]
106 +[[image:image-20220621104746-1.png||height="381" width="451"]]
121 121  
122 122  
123 123  = 3. Install the software? =
... ... @@ -272,6 +272,7 @@
272 272  
273 273  Show system log.
274 274  
261 +
275 275  [[image:1651745003470-264.png||height="477" width="621"]]
276 276  
277 277  
... ... @@ -280,6 +280,7 @@
280 280  
281 281  **Record the system log.**
282 282  
270 +
283 283  [[image:1651745069814-662.png||height="144" width="621"]]
284 284  
285 285  
... ... @@ -320,7 +320,7 @@
320 320  
321 321  (% class="box" %)
322 322  (((
323 -**~ pi@raspberrypi:~~$ cat /etc/os-release
311 + pi@raspberrypi:~~$ cat /etc/os-release
324 324   PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
325 325   NAME="Raspbian GNU/Linux"
326 326   VERSION_ID="8"
... ... @@ -329,7 +329,7 @@
329 329   ID_LIKE=debian
330 330   HOME_URL="http:~/~/www.raspbian.org/"
331 331   SUPPORT_URL="http:~/~/www.raspbian.org/RaspbianForums"
332 - BUG_REPORT_URL="http:~/~/www.raspbian.org/RaspbianBugs"**
320 + BUG_REPORT_URL="http:~/~/www.raspbian.org/RaspbianBugs"
333 333  
334 334  
335 335  )))
... ... @@ -351,7 +351,7 @@
351 351  === 5.2.1 Semtech UDP Mode ===
352 352  
353 353  
354 -==== **a). Get a gateway EUI from the device ETH MAC.** ====
342 +==== a). Get a gateway EUI from the device ETH MAC. ====
355 355  
356 356  
357 357  In RPI, run the below command to get a Gateway ID
... ... @@ -370,9 +370,7 @@
370 370  
371 371  
372 372  
373 -==== **b). Input this Gateway EUI to the TTN-Stack** ====
374 -
375 -
361 +==== b). Input this Gateway EUI to the TTN-Stack ====
376 376  )))
377 377  )))
378 378  
... ... @@ -381,17 +381,13 @@
381 381  [[image:1651745306744-481.png||height="478" width="621"]]
382 382  
383 383  
370 +==== c). After Register, the status should show not connected as below: ====
384 384  
385 -==== **c). After Register, the status should show not connected as below:** ====
386 -
387 -
388 388  [[image:1651745366987-458.png||height="363" width="621"]]
389 389  
390 390  
375 +==== d). Enable SPI and I2C on your device ====
391 391  
392 -==== **d). Enable SPI and I2C on your device** ====
393 -
394 -
395 395  **the below example is using Raspberry 4B.**
396 396  
397 397  
... ... @@ -407,16 +407,15 @@
407 407  
408 408  
409 409  
410 -==== **e). Access the root account:** ====
392 +==== e). Access the root account: ====
411 411  
412 412  (((
413 413  [[image:1651745583363-614.png||height="151" width="732"]]
414 414  
415 -
416 416  
417 417  )))
418 418  
419 -==== **f). Modify the configuration of FWD** ====
400 +==== f). Modify the configuration of FWD ====
420 420  
421 421  
422 422  (((
... ... @@ -437,7 +437,6 @@
437 437  
438 438  At default, the users need to change two configurations file: global_conf.json and local_conf.json.
439 439  
440 -
441 441  ===== **1.) Configure gateway EUI and server address, port for fwd** =====
442 442  
443 443  
... ... @@ -478,7 +478,7 @@
478 478  [[image:1651745984006-868.png||height="87" width="745"]]
479 479  
480 480  
481 -==== (% 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(%%) ====
482 482  
483 483  
484 484  (((
... ... @@ -528,7 +528,7 @@
528 528  [[image:1651746139304-966.png||height="326" width="621"]]
529 529  
530 530  
531 -==== **h). Commands to handle service** ====
511 +==== h). Commands to handle service ====
532 532  
533 533  * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service:  sudo systemctl stop draginofwd
534 534  * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd
... ... @@ -536,10 +536,10 @@
536 536  * (% style="color:#0000ff" %)**Auto run**(%%) dragino_fwd after boot:  sudo systemctl enable draginofwd
537 537  * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd:  sudo systemctl status draginofwd
538 538  
539 -=== 5.2.2 Basic Station Mode. ===
519 +=== **5.2.2 Basic Station Mode.** ===
540 540  
541 541  
542 -==== **a). Get a gateway EUI from the device ETH MAC.** ====
522 +==== a). Get a gateway EUI from the device ETH MAC. ====
543 543  
544 544  
545 545  In RPI, run the below command to get a Gateway EUI
... ... @@ -560,28 +560,27 @@
560 560  
561 561  
562 562  
563 -==== **b). Register the gateway with the Basic Station Mode on the TTN-Stack** ====
564 564  
544 +==== b). Register the gateway with the Basic Station Mode on the TTN-Stack ====
565 565  
566 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.** ====
571 571  
551 +==== c). Download the gateway API keys, and then upload them to the gateway. ====
572 572  
553 +
573 573  [[image:image-20230329164704-6.png]]
574 574  
575 575  
576 -==== **d). The status Shows disconnect.** ====
557 +==== d). The status Shows disconnect. ====
577 577  
578 -
579 579  [[image:image-20230329165619-7.png||height="568" width="948"]]
580 580  
581 581  
582 -==== **e.) Uploda API keys into the gateway** ====
562 +==== e.) Uploda API keys into the gateway ====
583 583  
584 -
585 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 587  //**directory tree:**//
... ... @@ -588,7 +588,7 @@
588 588  
589 589  ///etc/station/
590 590  ├── station.conf 
591 -└── ttnstack  ~-~--> ** ttnstack configuration file directory**
570 +└── ttnstack  ~-~--> ** ttnstack configuration file directory**
592 592   ├── cups.trust  ~-~-->  ttnstack auth file
593 593   ├── cups.uri  ~-~-->  ttnstack server URI file
594 594   └── station.conf  ~-~-~-~-> backup configuration file//
... ... @@ -605,7 +605,7 @@
605 605  ├── station.conf
606 606  
607 607  
608 -==== **f). Configure gateway EUI and server address** ====
587 +==== f). Configure gateway EUI and server address ====
609 609  
610 610  
611 611  [[image:image-20230329195650-10.png]]
... ... @@ -629,7 +629,7 @@
629 629   └── station.conf
630 630  
631 631  
632 -==== **g). Check station running log** ====
611 +==== g). Check station running log ====
633 633  
634 634  
635 635  tail -f /var/log/station.log
... ... @@ -639,92 +639,11 @@
639 639  
640 640  
641 641  
642 -= 6. Add GPS support in PG1302 =
643 643  
644 -The PG1302 supports GPS:
645 645  
646 -[[image:image-20240118160132-1.png||height="270" width="338"]]
623 += 6. Order Info =
647 647  
648 648  
649 -* **The users can find the GPS device in Raspberry: /dev/ttyS0 or /dev/ttyAMA0**
650 -
651 - [[image:image-20240118160407-2.png||height="71" width="458"]]
652 -
653 -
654 -* **Check the GPS output: cat /dev/ttyS0**
655 -
656 - [[image:image-20240118160454-3.png]]
657 -
658 -
659 -* **Add the GPS to the Semtech UDP package forwarder configuration.**
660 -
661 - [[image:image-20240118160928-4.png||height="426" width="464"]]
662 -
663 -
664 -* **Test GPS function**
665 -
666 -**~ 1.) Stop IoT service: systemctl stop draginofwd**
667 -
668 -
669 -**~ 2.) Run the fwd command and check the output**
670 -
671 -
672 - [[image:image-20240118161109-5.png]]
673 -
674 -
675 -**~ 3.) Trouble Shooting:**
676 -
677 - If you get many WARNING outputs, which should be the GPS location is invalid, you need to adjust the GPS location, it is recommended to put it outdoors
678 -
679 -
680 - [[image:image-20240118161333-6.png]]
681 -
682 -
683 - The user can check the PG1302 board GPS LED status to check the location,
684 -
685 - GPS location is valid  ~-~--> GPS LED will light up
686 -
687 - GPS location is invalid ~-~--> GPS LED will light down
688 -
689 -
690 - [[image:image-20240118162033-7.png]]
691 -
692 -
693 -
694 -= 7. Trouble Shooting =
695 -
696 -(% class="wikigeneratedid" %)
697 -7.1 Failed to start the concentrator how to debug
698 -
699 -
700 ---When the problem "failed to start the concentrator" occurs, the user needs to check whether the I2C and SPI are enabled,--
701 -
702 ---Users can enter the following command to check whether I2C is detected, and the detection of **"60"** is correct.--
703 -
704 -(% class="box infomessage" %)
705 -(((
706 ---**i2cdetect -y 1**--
707 -)))
708 -
709 -**Note: This method has been removed because the i2c had been removed on the latest PG1302.**
710 -
711 -
712 -
713 -Check whether the SPI path of the configuration file is correct,
714 -
715 -(% class="box infomessage" %)
716 -(((
717 -**cat /etc/lora/global_conf.json **
718 -)))
719 -
720 -(% class="wikigeneratedid" %)
721 -[[image:image-20230518092732-2.png||height="378" width="691"]]
722 -
723 -
724 -
725 -= 8. Order Info =
726 -
727 -
728 728  Part Number: (% style="color:#0000ff" %)**PG1302-XX**   (%%) Or  Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX   **(%%)(Include RPi converter board for RPI 3/4)
729 729  
730 730  **~ (% style="color:#0000ff" %)XX:(%%)**
... ... @@ -733,21 +733,24 @@
733 733  * (% style="color:red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920)
734 734  * (% style="color:red" %)**470** (%%)(For Band: CN470)
735 735  
736 -= 9. Packing Info =
634 += 7. Packing Info =
737 737  
738 -
739 739  (((
637 +
638 +
740 740  **PG1302 Package Includes**:
741 741  )))
742 742  
743 743  (((
643 +(((
744 744  * PG1302 x 1
745 745  * LoRa Antenna x 1
746 746  )))
647 +)))
747 747  
748 -
749 -
750 750  (((
650 +
651 +
751 751  **PG1302-PI Package Includes**:
752 752  )))
753 753  
... ... @@ -761,13 +761,22 @@
761 761  * Device Size: 18 x 8 x 4 cm
762 762  * Weight: 150g
763 763  
764 -= 10. Support =
665 +(((
666 += 8. Support =
765 765  
766 766  
767 767  (((
768 -If you are experiencing issues and can't solve, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].
670 +If you are experiencing issues and can't solve, you can send mail to
769 769  )))
770 770  
771 771  (((
674 +[[support@dragino.com>>mailto:support@dragino.com]]
675 +)))
676 +
677 +(((
772 772  With your question as detail as possible. We will reply and help you in the shortest.
679 +
680 +
681 +
773 773  )))
683 +)))
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
image-20231115174839-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -80.3 KB
Content
image-20231115180410-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -78.7 KB
Content
image-20240118160132-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -37.2 KB
Content
image-20240118160407-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -7.9 KB
Content
image-20240118160454-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -42.0 KB
Content
image-20240118160928-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -83.8 KB
Content
image-20240118161109-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -178.1 KB
Content
image-20240118161333-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -120.0 KB
Content
image-20240118162033-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -724.0 KB
Content
image-20240122140551-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -334.9 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0