<
From version < 108.9 >
edited by Xiaoling
on 2022/07/28 14:30
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,15 +37,12 @@
37 37  * Mini-PCIe Interface
38 38  * Converter board to support Raspberry Pi
39 39  
40 -
41 41  == **1.3 General Interfaces for PG1302** ==
42 42  
43 -
44 44  * SPI interface for LoRa
45 45  * Power Input: 5v, 1A
46 46  * 1 x I-PEX for LoRa
47 47  
48 -
49 49  == **1.4 Pin Mapping** ==
50 50  
51 51  
... ... @@ -73,7 +73,6 @@
73 73  
74 74  == **1.7 Applications** ==
75 75  
76 -
77 77  * Smart Buildings & Home Automation
78 78  * Logistics and Supply Chain Management
79 79  * Smart Metering
... ... @@ -81,7 +81,6 @@
81 81  * Smart Cities
82 82  * Smart Factory
83 83  
84 -
85 85  = **2. Example: Set up as LoRaWAN gateway.** =
86 86  
87 87  == **2.1 System structure** ==
... ... @@ -109,19 +109,15 @@
109 109  * Flash SD card with Dragino pre-build image which supports Web UI.
110 110  * Install Lora packet forwarder in existing RPi OS.
111 111  
112 -
113 -
114 114  = **4. Flash with pre-build image** =
115 115  
116 116  == **4.1 Download the dragino image for RPI** ==
117 117  
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]]
118 118  
119 -(((
120 -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]]
121 -)))
122 122  
123 123  
124 -
125 125  == **4.2 Flash the image to an SD card** ==
126 126  
127 127  
... ... @@ -139,7 +139,6 @@
139 139  
140 140  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
141 141  
142 -
143 143  [[image:1651744193675-591.png||height="450" width="466"]]
144 144  
145 145  The account details for Web Login are:
... ... @@ -205,7 +205,7 @@
205 205  
206 206  ➢ (% style="color:red" %)**915: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920**
207 207  
208 -After user choose the frequency plan, he can see the actually frequency in used by checking the (% style="color:#037691" %)**page LogRead ~-~-> LoRa Log**
197 +After user choose the frequency plan, he can see the actually frequency in used by checking the (% style="color:blue" %)**page LogRead ~-~-> LoRa Log**
209 209  
210 210  (% style="color:red" %)**Note *: [[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]**
211 211  
... ... @@ -375,30 +375,26 @@
375 375  
376 376  (((
377 377  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.
378 -
379 -
380 380  )))
381 381  
382 382  [[image:1651745709709-887.png||height="820" width="621"]]
383 383  
371 +User can find the TTN v3 server address from:
384 384  
385 -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]]
386 386  
387 387  And the default frequency band is US915 in (% style="color:#0000ff" %)**global_conf.json**(%%) file.
388 388  
389 389  [[image:1651745838008-820.png||height="650" width="621"]]
390 390  
391 -
392 392  * 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(%%).**
393 393  
394 -**~ 1). Chose your need the name of region frequency.**
381 + 1).Chose your need the name of region frequency.
395 395  
396 396  [[image:1651745867516-322.png||height="83" width="740"]]
397 397  
385 + 2). Use this command to copy it.
398 398  
399 -*
400 -** 2). Use this command to copy it.
401 -
402 402   cp /etc/lora/cfg-302/EU-global_conf.json /etc/lora/global_conf.json
403 403  
404 404  [[image:1651745984006-868.png||height="87" width="745"]]
... ... @@ -405,9 +405,8 @@
405 405  
406 406  * If user wants to change to other LoRaWAN server, modify the (% style="color:#0000ff" %)**global_conf.json**(%%) file.
407 407  
408 -=== **5.2.3 Check result** ===
393 +=== 5.2.3 Check result ===
409 409  
410 -
411 411  (((
412 412  Run below command to restart the dragino_fwd:
413 413  )))
... ... @@ -415,16 +415,15 @@
415 415  (((
416 416  (% class="box infomessage" %)
417 417  (((
418 -**sudo systemctl stop draginofwd**
402 +sudo systemctl stop draginofwd
419 419  )))
420 420  
421 421  (% class="box infomessage" %)
422 422  (((
423 -**sudo systemctl start draginofwd**
407 +sudo systemctl start draginofwd
424 424  )))
425 425  )))
426 426  
427 -
428 428  (((
429 429  debug check the ruing status of fwd:
430 430  )))
... ... @@ -432,40 +432,33 @@
432 432  (((
433 433  (% class="box infomessage" %)
434 434  (((
435 -**sudo systemctl status draginofwd**
418 +sudo systemctl status draginofwd
436 436  )))
437 437  )))
438 438  
439 439  [[image:1651746045057-414.png||height="193" width="729"]]
440 440  
441 -
442 -
443 443  The dragino_fwd will start with the new gateway ID and TTN v3 should show the connection ok:
444 444  
445 -
446 446  [[image:1651746078253-168.png||height="372" width="621"]]
447 447  
448 448  
449 -
450 450  We can check dragino_fwd running states in RPi by running:
451 451  
452 452  (% class="box infomessage" %)
453 453  (((
454 -**~ sudo journalctl -u draginofwd -f**
433 + sudo journalctl -u draginofwd -f
455 455  )))
456 456  
457 457  [[image:1651746111963-838.png||height="184" width="730"]]
458 458  
438 + If there are LoRaWAN nodes transmitting nearby, we can see the traffic in **TTN v3 –> Gateway ~-~-> Live data**
459 459  
460 - If there are LoRaWAN nodes transmitting nearby, we can see the traffic in (% style="color:#037691" %)**TTN v3 –> Gateway ~-~-> Live data**
461 -
462 462  [[image:1651746139304-966.png||height="326" width="621"]]
463 463  
464 464  
443 +=== 5.2.4 Commands to handle service ===
465 465  
466 -=== **5.2.4 Commands to handle service** ===
467 -
468 -
469 469  * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service:  sudo systemctl stop draginofwd
470 470  * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd
471 471  * (% style="color:#0000ff" %)**Start** (%%)dragino_fwd : sudo systemctl start draginofwd
... ... @@ -472,22 +472,18 @@
472 472  * (% style="color:#0000ff" %)**Auto run**(%%) dragino_fwd after boot:  sudo systemctl enable draginofwd
473 473  * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd:  sudo systemctl status draginofwd
474 474  
451 += 6. Order Info =
475 475  
476 -= **6. Order Info** =
477 -
478 -
479 479  Part Number: (% style="color:#0000ff" %)**PG1302-XX**   (%%) Or  Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX   **(%%)(Include RPi converter board for RPI 3/4)
480 480  
481 481  **~ (% style="color:#0000ff" %)XX:(%%)**
482 482  
483 -* (% style="color:red" %)**868** (%%)(For Bands: EU868,IN865)
484 -* (% style="color:red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920)
485 -* (% 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)
486 486  
461 += 7. Packing Info =
487 487  
488 -
489 -= **7. Packing Info** =
490 -
491 491  (((
492 492  
493 493  
... ... @@ -518,14 +518,11 @@
518 518  * Device Size: 18 x 8 x 4 cm
519 519  * Weight: 150g
520 520  
521 -
522 -
523 523  (((
524 -= **8. Support** =
494 += 8. Support =
525 525  
526 -
527 527  (((
528 -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
529 529  )))
530 530  
531 531  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0