<
From version < 108.6 >
edited by Xiaoling
on 2022/07/28 14:25
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
... ... @@ -36,10 +36,6 @@
36 36  * Mini-PCIe Interface
37 37  * Converter board to support Raspberry Pi
38 38  
39 -
40 -
41 -
42 -
43 43  == **1.3 General Interfaces for PG1302** ==
44 44  
45 45  * SPI interface for LoRa
... ... @@ -46,10 +46,6 @@
46 46  * Power Input: 5v, 1A
47 47  * 1 x I-PEX for LoRa
48 48  
49 -
50 -
51 -
52 -
53 53  == **1.4 Pin Mapping** ==
54 54  
55 55  
... ... @@ -84,10 +84,6 @@
84 84  * Smart Cities
85 85  * Smart Factory
86 86  
87 -
88 -
89 -
90 -
91 91  = **2. Example: Set up as LoRaWAN gateway.** =
92 92  
93 93  == **2.1 System structure** ==
... ... @@ -115,21 +115,15 @@
115 115  * Flash SD card with Dragino pre-build image which supports Web UI.
116 116  * Install Lora packet forwarder in existing RPi OS.
117 117  
118 -
119 -
120 -
121 -
122 122  = **4. Flash with pre-build image** =
123 123  
124 124  == **4.1 Download the dragino image for RPI** ==
125 125  
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]]
126 126  
127 -(((
128 -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]]
129 -)))
130 130  
131 131  
132 -
133 133  == **4.2 Flash the image to an SD card** ==
134 134  
135 135  
... ... @@ -382,30 +382,26 @@
382 382  
383 383  (((
384 384  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.
385 -
386 -
387 387  )))
388 388  
389 389  [[image:1651745709709-887.png||height="820" width="621"]]
390 390  
371 +User can find the TTN v3 server address from:
391 391  
392 -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]]
393 393  
394 394  And the default frequency band is US915 in (% style="color:#0000ff" %)**global_conf.json**(%%) file.
395 395  
396 396  [[image:1651745838008-820.png||height="650" width="621"]]
397 397  
398 -
399 399  * 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(%%).**
400 400  
401 -**~ 1). Chose your need the name of region frequency.**
381 + 1).Chose your need the name of region frequency.
402 402  
403 403  [[image:1651745867516-322.png||height="83" width="740"]]
404 404  
385 + 2). Use this command to copy it.
405 405  
406 -*
407 -** 2). Use this command to copy it.
408 -
409 409   cp /etc/lora/cfg-302/EU-global_conf.json /etc/lora/global_conf.json
410 410  
411 411  [[image:1651745984006-868.png||height="87" width="745"]]
... ... @@ -412,11 +412,8 @@
412 412  
413 413  * If user wants to change to other LoRaWAN server, modify the (% style="color:#0000ff" %)**global_conf.json**(%%) file.
414 414  
393 +=== 5.2.3 Check result ===
415 415  
416 -
417 -=== **5.2.3 Check result** ===
418 -
419 -
420 420  (((
421 421  Run below command to restart the dragino_fwd:
422 422  )))
... ... @@ -424,16 +424,15 @@
424 424  (((
425 425  (% class="box infomessage" %)
426 426  (((
427 -**sudo systemctl stop draginofwd**
402 +sudo systemctl stop draginofwd
428 428  )))
429 429  
430 430  (% class="box infomessage" %)
431 431  (((
432 -**sudo systemctl start draginofwd**
407 +sudo systemctl start draginofwd
433 433  )))
434 434  )))
435 435  
436 -
437 437  (((
438 438  debug check the ruing status of fwd:
439 439  )))
... ... @@ -441,40 +441,33 @@
441 441  (((
442 442  (% class="box infomessage" %)
443 443  (((
444 -**sudo systemctl status draginofwd**
418 +sudo systemctl status draginofwd
445 445  )))
446 446  )))
447 447  
448 448  [[image:1651746045057-414.png||height="193" width="729"]]
449 449  
450 -
451 -
452 452  The dragino_fwd will start with the new gateway ID and TTN v3 should show the connection ok:
453 453  
454 -
455 455  [[image:1651746078253-168.png||height="372" width="621"]]
456 456  
457 457  
458 -
459 459  We can check dragino_fwd running states in RPi by running:
460 460  
461 461  (% class="box infomessage" %)
462 462  (((
463 -**~ sudo journalctl -u draginofwd -f**
433 + sudo journalctl -u draginofwd -f
464 464  )))
465 465  
466 466  [[image:1651746111963-838.png||height="184" width="730"]]
467 467  
438 + If there are LoRaWAN nodes transmitting nearby, we can see the traffic in **TTN v3 –> Gateway ~-~-> Live data**
468 468  
469 - If there are LoRaWAN nodes transmitting nearby, we can see the traffic in (% style="color:#037691" %)**TTN v3 –> Gateway ~-~-> Live data**
470 -
471 471  [[image:1651746139304-966.png||height="326" width="621"]]
472 472  
473 473  
443 +=== 5.2.4 Commands to handle service ===
474 474  
475 -=== **5.2.4 Commands to handle service** ===
476 -
477 -
478 478  * (% style="color:#0000ff" %)**Stop** (%%)dragino_fwd service:  sudo systemctl stop draginofwd
479 479  * (% style="color:#0000ff" %)**Disable**(%%) dragino_fwd auto run after boot: sudo systemctl disable draginofwd
480 480  * (% style="color:#0000ff" %)**Start** (%%)dragino_fwd : sudo systemctl start draginofwd
... ... @@ -481,26 +481,18 @@
481 481  * (% style="color:#0000ff" %)**Auto run**(%%) dragino_fwd after boot:  sudo systemctl enable draginofwd
482 482  * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd:  sudo systemctl status draginofwd
483 483  
451 += 6. Order Info =
484 484  
485 -
486 -
487 -= **6. Order Info** =
488 -
489 -
490 490  Part Number: (% style="color:#0000ff" %)**PG1302-XX**   (%%) Or  Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX   **(%%)(Include RPi converter board for RPI 3/4)
491 491  
492 492  **~ (% style="color:#0000ff" %)XX:(%%)**
493 493  
494 -* (% style="color:red" %)**868** (%%)(For Bands: EU868,IN865)
495 -* (% style="color:red" %)**915** (%%)(For Bands: US915,AU915,AS923,KR920)
496 -* (% 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)
497 497  
461 += 7. Packing Info =
498 498  
499 -
500 -
501 -
502 -= **7. Packing Info** =
503 -
504 504  (((
505 505  
506 506  
... ... @@ -531,16 +531,11 @@
531 531  * Device Size: 18 x 8 x 4 cm
532 532  * Weight: 150g
533 533  
534 -
535 -
536 -
537 -
538 538  (((
539 -= **8. Support** =
494 += 8. Support =
540 540  
541 -
542 542  (((
543 -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
544 544  )))
545 545  
546 546  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0