<
From version < 108.8 >
edited by Xiaoling
on 2022/07/28 14:27
To version < 108.3 >
edited by Xiaoling
on 2022/07/28 14:15
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -29,7 +29,6 @@
29 29  
30 30  == **1.2 Features** ==
31 31  
32 -
33 33  * Base on Semtech SX1302 solution
34 34  * Support Raspberry Pi 3B/3B+/4
35 35  * Up to -140dBm sensitivity
... ... @@ -37,17 +37,12 @@
37 37  * Mini-PCIe Interface
38 38  * Converter board to support Raspberry Pi
39 39  
40 -
41 -
42 42  == **1.3 General Interfaces for PG1302** ==
43 43  
44 -
45 45  * SPI interface for LoRa
46 46  * Power Input: 5v, 1A
47 47  * 1 x I-PEX for LoRa
48 48  
49 -
50 -
51 51  == **1.4 Pin Mapping** ==
52 52  
53 53  
... ... @@ -75,7 +75,6 @@
75 75  
76 76  == **1.7 Applications** ==
77 77  
78 -
79 79  * Smart Buildings & Home Automation
80 80  * Logistics and Supply Chain Management
81 81  * Smart Metering
... ... @@ -83,8 +83,6 @@
83 83  * Smart Cities
84 84  * Smart Factory
85 85  
86 -
87 -
88 88  = **2. Example: Set up as LoRaWAN gateway.** =
89 89  
90 90  == **2.1 System structure** ==
... ... @@ -112,20 +112,15 @@
112 112  * Flash SD card with Dragino pre-build image which supports Web UI.
113 113  * Install Lora packet forwarder in existing RPi OS.
114 114  
115 -
116 -
117 -
118 118  = **4. Flash with pre-build image** =
119 119  
120 120  == **4.1 Download the dragino image for RPI** ==
121 121  
110 +Download PG1302_for_Rpi4_64_with_webui from
111 +[[https:~~/~~/www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0>>https://www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0]]
122 122  
123 -(((
124 -Download PG1302_for_Rpi4_64_with_webui from: [[https:~~/~~/www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0>>https://www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0]]
125 -)))
126 126  
127 127  
128 -
129 129  == **4.2 Flash the image to an SD card** ==
130 130  
131 131  
... ... @@ -143,7 +143,6 @@
143 143  
144 144  Connect the RPI Ethernet port to your router, RPi will obtain an IP address from your router. In the router's management portal, you should be able to find what IP address the router has assigned to the RPI. You can use this IP to connect the WEB UI or SSH access of RPI. Make sure your PC and the RPI is in the same network, then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]]) to access it. Below are screenshots
145 145  
146 -
147 147  [[image:1651744193675-591.png||height="450" width="466"]]
148 148  
149 149  The account details for Web Login are:
... ... @@ -379,30 +379,26 @@
379 379  
380 380  (((
381 381  The default LoRaWAN server points to localhost, user need to put the correct server address to the server_address field in file (% style="color:#0000ff" %)**local_conf.json**(%%), like below.
382 -
383 -
384 384  )))
385 385  
386 386  [[image:1651745709709-887.png||height="820" width="621"]]
387 387  
371 +User can find the TTN v3 server address from:
388 388  
389 -User can find the TTN v3 server address from: [[Server Addresses ~| The Things Stack for LoRaWAN (thethingsindustries.com)>>url:https://www.thethingsindustries.com/docs/getting-started/server-addresses/#deployments]]
373 +[[Server Addresses ~| The Things Stack for LoRaWAN (thethingsindustries.com)>>url:https://www.thethingsindustries.com/docs/getting-started/server-addresses/#deployments]]
390 390  
391 391  And the default frequency band is US915 in (% style="color:#0000ff" %)**global_conf.json**(%%) file.
392 392  
393 393  [[image:1651745838008-820.png||height="650" width="621"]]
394 394  
395 -
396 396  * If user want to change to other frequency bands, User can copy the file from(% style="color:#0000ff" %)** /etc/lora/cfg-302**(%%) ** **and put it into** (% style="color:#0000ff" %)/etc/lora/global_conf.json(%%).**
397 397  
398 -**~ 1). Chose your need the name of region frequency.**
381 + 1).Chose your need the name of region frequency.
399 399  
400 400  [[image:1651745867516-322.png||height="83" width="740"]]
401 401  
385 + 2). Use this command to copy it.
402 402  
403 -*
404 -** 2). Use this command to copy it.
405 -
406 406   cp /etc/lora/cfg-302/EU-global_conf.json /etc/lora/global_conf.json
407 407  
408 408  [[image:1651745984006-868.png||height="87" width="745"]]
... ... @@ -409,10 +409,8 @@
409 409  
410 410  * If user wants to change to other LoRaWAN server, modify the (% style="color:#0000ff" %)**global_conf.json**(%%) file.
411 411  
393 +=== 5.2.3 Check result ===
412 412  
413 -=== **5.2.3 Check result** ===
414 -
415 -
416 416  (((
417 417  Run below command to restart the dragino_fwd:
418 418  )))
... ... @@ -420,16 +420,15 @@
420 420  (((
421 421  (% class="box infomessage" %)
422 422  (((
423 -**sudo systemctl stop draginofwd**
402 +sudo systemctl stop draginofwd
424 424  )))
425 425  
426 426  (% class="box infomessage" %)
427 427  (((
428 -**sudo systemctl start draginofwd**
407 +sudo systemctl start draginofwd
429 429  )))
430 430  )))
431 431  
432 -
433 433  (((
434 434  debug check the ruing status of fwd:
435 435  )))
... ... @@ -437,40 +437,33 @@
437 437  (((
438 438  (% class="box infomessage" %)
439 439  (((
440 -**sudo systemctl status draginofwd**
418 +sudo systemctl status draginofwd
441 441  )))
442 442  )))
443 443  
444 444  [[image:1651746045057-414.png||height="193" width="729"]]
445 445  
446 -
447 -
448 448  The dragino_fwd will start with the new gateway ID and TTN v3 should show the connection ok:
449 449  
450 -
451 451  [[image:1651746078253-168.png||height="372" width="621"]]
452 452  
453 453  
454 -
455 455  We can check dragino_fwd running states in RPi by running:
456 456  
457 457  (% class="box infomessage" %)
458 458  (((
459 -**~ sudo journalctl -u draginofwd -f**
433 + sudo journalctl -u draginofwd -f
460 460  )))
461 461  
462 462  [[image:1651746111963-838.png||height="184" width="730"]]
463 463  
438 + If there are LoRaWAN nodes transmitting nearby, we can see the traffic in **TTN v3 –> Gateway ~-~-> Live data**
464 464  
465 - If there are LoRaWAN nodes transmitting nearby, we can see the traffic in (% style="color:#037691" %)**TTN v3 –> Gateway ~-~-> Live data**
466 -
467 467  [[image:1651746139304-966.png||height="326" width="621"]]
468 468  
469 469  
443 +=== 5.2.4 Commands to handle service ===
470 470  
471 -=== **5.2.4 Commands to handle service** ===
472 -
473 -
474 474  * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service:  sudo systemctl stop draginofwd
475 475  * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd
476 476  * (% style="color:#0000ff" %)**Start** (%%)dragino_fwd : sudo systemctl start draginofwd
... ... @@ -477,24 +477,18 @@
477 477  * (% style="color:#0000ff" %)**Auto run**(%%) dragino_fwd after boot:  sudo systemctl enable draginofwd
478 478  * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd:  sudo systemctl status draginofwd
479 479  
451 += 6. Order Info =
480 480  
481 -
482 -= **6. Order Info** =
483 -
484 -
485 485  Part Number: (% style="color:#0000ff" %)**PG1302-XX**   (%%) Or  Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX   **(%%)(Include RPi converter board for RPI 3/4)
486 486  
487 487  **~ (% style="color:#0000ff" %)XX:(%%)**
488 488  
489 -* (% style="color:red" %)**868** (%%)(For Bands: EU868,IN865)
490 -* (% style="color:red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920)
491 -* (% style="color:red" %)**470** (%%)(For Band: CN470)
457 +* (% style="color:#0000ff" %)**868** (%%)(For Bands: EU868,IN865)
458 +* (% style="color:#0000ff" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920)
459 +* (% style="color:#0000ff" %)**470** (%%)(For Band: CN470)
492 492  
461 += 7. Packing Info =
493 493  
494 -
495 -
496 -= **7. Packing Info** =
497 -
498 498  (((
499 499  
500 500  
... ... @@ -525,15 +525,11 @@
525 525  * Device Size: 18 x 8 x 4 cm
526 526  * Weight: 150g
527 527  
528 -
529 -
530 -
531 531  (((
532 -= **8. Support** =
494 += 8. Support =
533 533  
534 -
535 535  (((
536 -If you are experiencing issues and can't solve, you can send mail to
497 +If you are experiencing issues and cant solve, you can send mail to
537 537  )))
538 538  
539 539  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0