<
From version < 125.2 >
edited by Xiaoling
on 2023/03/30 16:05
To version < 128.1 >
edited by Kilight Cao
on 2023/05/18 09:28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Kilight
Content
... ... @@ -43,8 +43,6 @@
43 43  * Converter board to support Raspberry Pi
44 44  
45 45  
46 -
47 -
48 48  == 1.3 General Interfaces for PG1302 ==
49 49  
50 50  
... ... @@ -54,8 +54,6 @@
54 54  * Working Temperature: -40 ℃ ~~ 80℃
55 55  
56 56  
57 -
58 -
59 59  == 1.4 Pin Mapping ==
60 60  
61 61  
... ... @@ -90,6 +90,7 @@
90 90  * Smart Cities
91 91  * Smart Factory
92 92  
89 +
93 93  = 2. Example: Set up as LoRaWAN gateway =
94 94  
95 95  == 2.1 System structure ==
... ... @@ -128,6 +128,7 @@
128 128  
129 129  * 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.
130 130  
128 +
131 131  = 4. Flash with pre-build image =
132 132  
133 133  == 4.1 Download the dragino image for RPI ==
... ... @@ -264,7 +264,6 @@
264 264  
265 265  Show system log.
266 266  
267 -
268 268  [[image:1651745003470-264.png||height="477" width="621"]]
269 269  
270 270  
... ... @@ -273,7 +273,6 @@
273 273  
274 274  **Record the system log.**
275 275  
276 -
277 277  [[image:1651745069814-662.png||height="144" width="621"]]
278 278  
279 279  
... ... @@ -345,7 +345,7 @@
345 345  === 5.2.1 Semtech UDP Mode ===
346 346  
347 347  
348 -==== a). Get a gateway EUI from the device ETH MAC. ====
344 +==== **a). Get a gateway EUI from the device ETH MAC.** ====
349 349  
350 350  
351 351  In RPI, run the below command to get a Gateway ID
... ... @@ -364,7 +364,9 @@
364 364  
365 365  
366 366  
367 -==== b). Input this Gateway EUI to the TTN-Stack ====
363 +==== **b). Input this Gateway EUI to the TTN-Stack** ====
364 +
365 +
368 368  )))
369 369  )))
370 370  
... ... @@ -373,13 +373,17 @@
373 373  [[image:1651745306744-481.png||height="478" width="621"]]
374 374  
375 375  
376 -==== c). After Register, the status should show not connected as below: ====
377 377  
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  
381 -==== d). Enable SPI and I2C on your device ====
382 382  
382 +==== **d). Enable SPI and I2C on your device** ====
383 +
384 +
383 383  **the below example is using Raspberry 4B.**
384 384  
385 385  
... ... @@ -395,15 +395,16 @@
395 395  
396 396  
397 397  
398 -==== e). Access the root account: ====
400 +==== **e). Access the root account:** ====
399 399  
400 400  (((
401 401  [[image:1651745583363-614.png||height="151" width="732"]]
402 402  
405 +
403 403  
404 404  )))
405 405  
406 -==== f). Modify the configuration of FWD ====
409 +==== **f). Modify the configuration of FWD** ====
407 407  
408 408  
409 409  (((
... ... @@ -424,6 +424,7 @@
424 424  
425 425  At default, the users need to change two configurations file: global_conf.json and local_conf.json.
426 426  
430 +
427 427  ===== **1.) Configure gateway EUI and server address, port for fwd** =====
428 428  
429 429  
... ... @@ -464,7 +464,7 @@
464 464  [[image:1651745984006-868.png||height="87" width="745"]]
465 465  
466 466  
467 -==== (% style="color:inherit; font-family:inherit; font-size:23px" %)g). Running the Fwd Server(%%) ====
471 +==== (% style="color:inherit; font-family:inherit; font-size:23px" %)**g). Running the Fwd Server**(%%) ====
468 468  
469 469  
470 470  (((
... ... @@ -514,7 +514,7 @@
514 514  [[image:1651746139304-966.png||height="326" width="621"]]
515 515  
516 516  
517 -==== h). Commands to handle service ====
521 +==== **h). Commands to handle service** ====
518 518  
519 519  * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service:  sudo systemctl stop draginofwd
520 520  * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd
... ... @@ -522,12 +522,13 @@
522 522  * (% style="color:#0000ff" %)**Auto run**(%%) dragino_fwd after boot:  sudo systemctl enable draginofwd
523 523  * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd:  sudo systemctl status draginofwd
524 524  
525 -=== **5.2.2 Basic Station Mode.** ===
526 526  
530 +=== 5.2.2 Basic Station Mode. ===
527 527  
528 -==== a). Get a gateway EUI from the device ETH MAC. ====
529 529  
533 +==== **a). Get a gateway EUI from the device ETH MAC.** ====
530 530  
535 +
531 531  In RPI, run the below command to get a Gateway EUI
532 532  
533 533  (% class="box infomessage" %)
... ... @@ -546,27 +546,28 @@
546 546  
547 547  
548 548  
554 +==== **b). Register the gateway with the Basic Station Mode on the TTN-Stack** ====
549 549  
550 -==== b). Register the gateway with the Basic Station Mode on the TTN-Stack ====
551 551  
552 552  [[image:image-20230329164417-5.png]]
553 553  
554 554  
555 555  
561 +==== **c). Download the gateway API keys, and then upload them to the gateway.** ====
556 556  
557 -==== c). Download the gateway API keys, and then upload them to the gateway. ====
558 558  
559 -
560 560  [[image:image-20230329164704-6.png]]
561 561  
562 562  
563 -==== d). The status Shows disconnect. ====
567 +==== **d). The status Shows disconnect.** ====
564 564  
569 +
565 565  [[image:image-20230329165619-7.png||height="568" width="948"]]
566 566  
567 567  
568 -==== e.) Uploda API keys into the gateway ====
573 +==== **e.) Uploda API keys into the gateway** ====
569 569  
575 +
570 570  the User can find the Basic Station configuration directory in (% style="color:#0000ff" %)**/etc/station/**(%%) there is the station.conf files, and ttnstack directory.
571 571  
572 572  //**directory tree:**//
... ... @@ -590,7 +590,7 @@
590 590  ├── station.conf
591 591  
592 592  
593 -==== f). Configure gateway EUI and server address ====
599 +==== **f). Configure gateway EUI and server address** ====
594 594  
595 595  
596 596  [[image:image-20230329195650-10.png]]
... ... @@ -614,7 +614,7 @@
614 614   └── station.conf
615 615  
616 616  
617 -==== g). Check station running log ====
623 +==== **g). Check station running log** ====
618 618  
619 619  
620 620  tail -f /var/log/station.log
... ... @@ -623,12 +623,39 @@
623 623  [[image:image-20230329201624-11.png]]
624 624  
625 625  
632 += 6. Trouble Shooting =
626 626  
627 627  
635 +== 6.1 Failed to start the concentrator how to debug ==
628 628  
629 -= 6. Order Info =
630 630  
638 +When the problem "failed to start the concentrator" occurs, the user needs to check whether the I2C and SPI are enabled,
631 631  
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 +
632 632  Part Number: (% style="color:#0000ff" %)**PG1302-XX**   (%%) Or  Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX   **(%%)(Include RPi converter board for RPI 3/4)
633 633  
634 634  **~ (% style="color:#0000ff" %)XX:(%%)**
... ... @@ -637,24 +637,21 @@
637 637  * (% style="color:red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920)
638 638  * (% style="color:red" %)**470** (%%)(For Band: CN470)
639 639  
640 -= 7. Packing Info =
641 641  
642 -(((
643 -
674 += 8. Packing Info =
644 644  
676 +
677 +(((
645 645  **PG1302 Package Includes**:
646 646  )))
647 647  
648 648  (((
649 -(((
650 650  * PG1302 x 1
651 651  * LoRa Antenna x 1
652 652  )))
653 -)))
654 654  
655 -(((
656 -
657 657  
687 +(((
658 658  **PG1302-PI Package Includes**:
659 659  )))
660 660  
... ... @@ -668,10 +668,10 @@
668 668  * Device Size: 18 x 8 x 4 cm
669 669  * Weight: 150g
670 670  
671 -(((
672 -= 8. Support =
673 673  
702 += 9. Support =
674 674  
704 +
675 675  (((
676 676  If you are experiencing issues and can't solve, you can send mail to
677 677  )))
... ... @@ -682,8 +682,4 @@
682 682  
683 683  (((
684 684  With your question as detail as possible. We will reply and help you in the shortest.
685 -
686 -
687 -
688 688  )))
689 -)))
image-20230518091900-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +6.8 KB
Content
image-20230518092732-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +35.1 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0