<
From version < 128.1 >
edited by Kilight Cao
on 2023/05/18 09:28
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
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Kilight
1 +XWiki.Xiaoye
Content
... ... @@ -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 ==
... ... @@ -125,7 +125,6 @@
125 125  
126 126  * 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.
127 127  
128 -
129 129  = 4. Flash with pre-build image =
130 130  
131 131  == 4.1 Download the dragino image for RPI ==
... ... @@ -262,6 +262,7 @@
262 262  
263 263  Show system log.
264 264  
261 +
265 265  [[image:1651745003470-264.png||height="477" width="621"]]
266 266  
267 267  
... ... @@ -270,6 +270,7 @@
270 270  
271 271  **Record the system log.**
272 272  
270 +
273 273  [[image:1651745069814-662.png||height="144" width="621"]]
274 274  
275 275  
... ... @@ -341,7 +341,7 @@
341 341  === 5.2.1 Semtech UDP Mode ===
342 342  
343 343  
344 -==== **a). Get a gateway EUI from the device ETH MAC.** ====
342 +==== a). Get a gateway EUI from the device ETH MAC. ====
345 345  
346 346  
347 347  In RPI, run the below command to get a Gateway ID
... ... @@ -360,9 +360,7 @@
360 360  
361 361  
362 362  
363 -==== **b). Input this Gateway EUI to the TTN-Stack** ====
364 -
365 -
361 +==== b). Input this Gateway EUI to the TTN-Stack ====
366 366  )))
367 367  )))
368 368  
... ... @@ -371,17 +371,13 @@
371 371  [[image:1651745306744-481.png||height="478" width="621"]]
372 372  
373 373  
370 +==== c). After Register, the status should show not connected as below: ====
374 374  
375 -==== **c). After Register, the status should show not connected as below:** ====
376 -
377 -
378 378  [[image:1651745366987-458.png||height="363" width="621"]]
379 379  
380 380  
375 +==== d). Enable SPI and I2C on your device ====
381 381  
382 -==== **d). Enable SPI and I2C on your device** ====
383 -
384 -
385 385  **the below example is using Raspberry 4B.**
386 386  
387 387  
... ... @@ -397,16 +397,15 @@
397 397  
398 398  
399 399  
400 -==== **e). Access the root account:** ====
392 +==== e). Access the root account: ====
401 401  
402 402  (((
403 403  [[image:1651745583363-614.png||height="151" width="732"]]
404 404  
405 -
406 406  
407 407  )))
408 408  
409 -==== **f). Modify the configuration of FWD** ====
400 +==== f). Modify the configuration of FWD ====
410 410  
411 411  
412 412  (((
... ... @@ -427,7 +427,6 @@
427 427  
428 428  At default, the users need to change two configurations file: global_conf.json and local_conf.json.
429 429  
430 -
431 431  ===== **1.) Configure gateway EUI and server address, port for fwd** =====
432 432  
433 433  
... ... @@ -468,7 +468,7 @@
468 468  [[image:1651745984006-868.png||height="87" width="745"]]
469 469  
470 470  
471 -==== (% 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(%%) ====
472 472  
473 473  
474 474  (((
... ... @@ -518,7 +518,7 @@
518 518  [[image:1651746139304-966.png||height="326" width="621"]]
519 519  
520 520  
521 -==== **h). Commands to handle service** ====
511 +==== h). Commands to handle service ====
522 522  
523 523  * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service:  sudo systemctl stop draginofwd
524 524  * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd
... ... @@ -526,13 +526,12 @@
526 526  * (% style="color:#0000ff" %)**Auto run**(%%) dragino_fwd after boot:  sudo systemctl enable draginofwd
527 527  * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd:  sudo systemctl status draginofwd
528 528  
519 +=== **5.2.2 Basic Station Mode.** ===
529 529  
530 -=== 5.2.2 Basic Station Mode. ===
531 531  
522 +==== a). Get a gateway EUI from the device ETH MAC. ====
532 532  
533 -==== **a). Get a gateway EUI from the device ETH MAC.** ====
534 534  
535 -
536 536  In RPI, run the below command to get a Gateway EUI
537 537  
538 538  (% class="box infomessage" %)
... ... @@ -551,28 +551,27 @@
551 551  
552 552  
553 553  
554 -==== **b). Register the gateway with the Basic Station Mode on the TTN-Stack** ====
555 555  
544 +==== b). Register the gateway with the Basic Station Mode on the TTN-Stack ====
556 556  
557 557  [[image:image-20230329164417-5.png]]
558 558  
559 559  
560 560  
561 -==== **c). Download the gateway API keys, and then upload them to the gateway.** ====
562 562  
551 +==== c). Download the gateway API keys, and then upload them to the gateway. ====
563 563  
553 +
564 564  [[image:image-20230329164704-6.png]]
565 565  
566 566  
567 -==== **d). The status Shows disconnect.** ====
557 +==== d). The status Shows disconnect. ====
568 568  
569 -
570 570  [[image:image-20230329165619-7.png||height="568" width="948"]]
571 571  
572 572  
573 -==== **e.) Uploda API keys into the gateway** ====
562 +==== e.) Uploda API keys into the gateway ====
574 574  
575 -
576 576  the User can find the Basic Station configuration directory in (% style="color:#0000ff" %)**/etc/station/**(%%) there is the station.conf files, and ttnstack directory.
577 577  
578 578  //**directory tree:**//
... ... @@ -579,7 +579,7 @@
579 579  
580 580  ///etc/station/
581 581  ├── station.conf 
582 -└── ttnstack  ~-~--> ** ttnstack configuration file directory**
570 +└── ttnstack  ~-~--> ** ttnstack configuration file directory**
583 583   ├── cups.trust  ~-~-->  ttnstack auth file
584 584   ├── cups.uri  ~-~-->  ttnstack server URI file
585 585   └── station.conf  ~-~-~-~-> backup configuration file//
... ... @@ -596,7 +596,7 @@
596 596  ├── station.conf
597 597  
598 598  
599 -==== **f). Configure gateway EUI and server address** ====
587 +==== f). Configure gateway EUI and server address ====
600 600  
601 601  
602 602  [[image:image-20230329195650-10.png]]
... ... @@ -620,7 +620,7 @@
620 620   └── station.conf
621 621  
622 622  
623 -==== **g). Check station running log** ====
611 +==== g). Check station running log ====
624 624  
625 625  
626 626  tail -f /var/log/station.log
... ... @@ -629,39 +629,12 @@
629 629  [[image:image-20230329201624-11.png]]
630 630  
631 631  
632 -= 6. Trouble Shooting =
633 633  
634 634  
635 -== 6.1 Failed to start the concentrator how to debug ==
636 636  
623 += 6. Order Info =
637 637  
638 -When the problem "failed to start the concentrator" occurs, the user needs to check whether the I2C and SPI are enabled,
639 639  
640 -Users can enter the following command to check whether I2C is detected, and the detection of **"60"** is correct.
641 -
642 -(% class="box infomessage" %)
643 -(((
644 -i2cdetect -y 1
645 -)))
646 -
647 -[[image:image-20230518091900-1.png]]
648 -
649 -
650 -Check whether the SPI path of the configuration file is correct,
651 -
652 -(% class="box infomessage" %)
653 -(((
654 -cat /etc/lora/global_conf.json
655 -)))
656 -
657 -(% class="wikigeneratedid" %)
658 -[[image:image-20230518092732-2.png||height="378" width="691"]]
659 -
660 -
661 -
662 -= 7. Order Info =
663 -
664 -
665 665  Part Number: (% style="color:#0000ff" %)**PG1302-XX**   (%%) Or  Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX   **(%%)(Include RPi converter board for RPI 3/4)
666 666  
667 667  **~ (% style="color:#0000ff" %)XX:(%%)**
... ... @@ -670,21 +670,24 @@
670 670  * (% style="color:red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920)
671 671  * (% style="color:red" %)**470** (%%)(For Band: CN470)
672 672  
634 += 7. Packing Info =
673 673  
674 -= 8. Packing Info =
675 -
676 -
677 677  (((
637 +
638 +
678 678  **PG1302 Package Includes**:
679 679  )))
680 680  
681 681  (((
643 +(((
682 682  * PG1302 x 1
683 683  * LoRa Antenna x 1
684 684  )))
647 +)))
685 685  
686 -
687 687  (((
650 +
651 +
688 688  **PG1302-PI Package Includes**:
689 689  )))
690 690  
... ... @@ -698,10 +698,10 @@
698 698  * Device Size: 18 x 8 x 4 cm
699 699  * Weight: 150g
700 700  
665 +(((
666 += 8. Support =
701 701  
702 -= 9. Support =
703 703  
704 -
705 705  (((
706 706  If you are experiencing issues and can't solve, you can send mail to
707 707  )))
... ... @@ -712,4 +712,8 @@
712 712  
713 713  (((
714 714  With your question as detail as possible. We will reply and help you in the shortest.
679 +
680 +
681 +
715 715  )))
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
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0