<
From version < 68.1 >
edited by Xiaoling
on 2022/05/06 11:24
To version < 67.1 >
edited by Xiaoling
on 2022/05/06 11:06
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -45,7 +45,7 @@
45 45  )))
46 46  )))
47 47  
48 -==== 1.2 Features ====
48 +1.2 Features
49 49  
50 50  * Base on Semtech SX1302 solution
51 51  * Support Raspberry Pi 3B/3B+/4
... ... @@ -54,19 +54,19 @@
54 54  * Mini-PCIe Interface
55 55  * Converter board to support Raspberry Pi
56 56  
57 -==== 1.3 General Interfaces ====
57 +1.3 General Interfaces
58 58  
59 59  * SPI interface for LoRa
60 60  * Power Input: 5v, 1A
61 61  * 1 x I-PEX for LoRa
62 62  
63 -==== 1.4 Pin Mapping ====
63 +1.4 Pin Mapping
64 64  
65 65   [[image:1651743282627-547.png||height="402" width="425"]]
66 66  
67 67  
68 68  
69 -==== 1.5 LEDs ====
69 +1.5 LEDs
70 70  
71 71   TX: Blink when transmit a packet
72 72  
... ... @@ -75,12 +75,12 @@
75 75   Config: Always ON
76 76  
77 77  
78 -==== 1.6 Power Consumption ====
78 +1.6 Power Consumption
79 79  
80 80   TBD
81 81  
82 82  
83 -==== 1.7 Applications ====
83 +1.7 Applications
84 84  
85 85  * Smart Buildings & Home Automation
86 86  * Logistics and Supply Chain Management
... ... @@ -89,9 +89,9 @@
89 89  * Smart Cities
90 90  * Smart Factory
91 91  
92 -=== 2. Example: Set up as LoRaWAN gateway. ===
92 +2. Example: Set up as LoRaWAN gateway.
93 93  
94 -==== 2.1 System structure ====
94 + 2.1 System structure
95 95  
96 96   This example is an example to show how to set up the PG1302 + RPi as a LoRaWAN gateway to use with [[TheThingsNetwork>>http://www.thethingsnetwork.org/]](TTN) LoRaWAN server.. Set up method for other  server are similar。
97 97  
... ... @@ -100,7 +100,7 @@
100 100  
101 101  
102 102  
103 -==== 2.2 Hardware Installation ====
103 +2.2 Hardware Installation
104 104  
105 105  **~ Important Notice: **Please power the RPI with 5V,3A cable.
106 106  
... ... @@ -109,7 +109,7 @@
109 109  
110 110  
111 111  
112 -=== 3. Install the software? ===
112 +3. Install the software?
113 113  
114 114   There are two ways to install software in RPi4 to use PG1302.
115 115  
... ... @@ -116,9 +116,9 @@
116 116  * Flash SD card with Dragino pre-build image which support Web UI.
117 117  * Install lora packet forwarder in existing RPi OS.
118 118  
119 -=== 4. Flash with pre-build image ===
119 +4. Flash with pre-build image
120 120  
121 -==== 4.1 Download the dragino image for RPI ====
121 + 4.1 Download the dragino image for RPI
122 122  
123 123   Download PG1302_for_Rpi4_64_with_webui from
124 124  
... ... @@ -125,7 +125,7 @@
125 125   [[https:~~/~~/www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0>>https://www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0]]
126 126  
127 127  
128 -==== 4.2 Flash the image to SD card ====
128 +4.2 Flash the image to SD card
129 129  
130 130   Flash the image to SD card:
131 131  
... ... @@ -137,7 +137,7 @@
137 137   [[https:~~/~~/www.balena.io/etcher/>>https://www.balena.io/etcher/]]
138 138  
139 139  
140 -==== 4.3 Access the Linux console. ====
140 +4.3 Access the Linux console.
141 141  
142 142   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.
143 143  
... ... @@ -165,9 +165,9 @@
165 165  [[image:1651744358515-107.png||height="366" width="581"]]
166 166  
167 167  
168 -==== 4.4 Access the WebUI of RPi4. ====
168 + 4.4 Access the WebUI of RPi4.
169 169  
170 -===== 4.4.1 Home page =====
170 + 4.4.1 Home page
171 171  
172 172   Open a browser on the PC and type the RPI ip address
173 173  
... ... @@ -186,7 +186,7 @@
186 186  [[image:1651744457761-993.png||height="352" width="621"]]
187 187  
188 188  
189 -===== 4.4.2 LoRa Page =====
189 +4.4.2 LoRa Page
190 190  
191 191   This page shows the LoRa Radio Settings. There are a set of default frequency band according to LoRaWAN protocol, and user can customize the band* as well.
192 192  
... ... @@ -210,9 +210,9 @@
210 210   [[http:~~/~~/wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway>>url:http://wiki.dragino.com/index.php?title=Customized_Frequency_Band_for_Gateway]]
211 211  
212 212  
213 -===== 4.4.3 LoRaWAN Page =====
213 +4.4.3 LoRaWAN Page
214 214  
215 -====== 4.4.3.1 Semtech UDP ======
215 + 4.4.3.1 Semtech UDP
216 216  
217 217  
218 218  (% style="text-align:center" %)
... ... @@ -225,7 +225,7 @@
225 225   [[https:~~/~~/wiki.dragino.com/index.php?title=Notes_for_TTN>>url:https://wiki.dragino.com/index.php?title=Notes_for_TTN]]
226 226  
227 227  
228 -====== 4.4.3.2 Basic Station ======
228 +4.4.3.2 Basic Station
229 229  
230 230  (% style="text-align:center" %)
231 231  [[image:1651744890629-683.png||height="380" width="621"]]
... ... @@ -236,9 +236,9 @@
236 236   [[https:~~/~~/wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core>>url:https://wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core]]
237 237  
238 238  
239 -===== 4.4.4 LogRead =====
239 +4.4.4 LogRead
240 240  
241 -====== 4.4.4.1 LoRa Log ======
241 + 4.4.4.1 LoRa Log
242 242  
243 243  (% style="text-align:center" %)
244 244  [[image:1651744955955-452.png||height="571" width="621"]]
... ... @@ -247,7 +247,7 @@
247 247   Show the frequency for LoRa Radio and traffics.
248 248  
249 249  
250 -====== 4.4.4.2 System Log ======
250 +4.4.4.2 System Log
251 251  
252 252   Show system log.
253 253  
... ... @@ -256,17 +256,18 @@
256 256  
257 257  
258 258  
259 -====== 4.4.4.3 Record Log ======
259 +4.4.4.3 Record Log
260 260  
261 -**~ Record the system log.**
262 262  
262 +**Record the system log.**
263 +
263 263  (% style="text-align:center" %)
264 264  [[image:1651745069814-662.png||height="144" width="621"]]
265 265  
266 266  
267 -=== 5. Install stand alone LoRa Packet Forwarder. ===
268 +5. Install stand alone LoRa Packet Forwarder.
268 268  
269 -==== 5.1 OS requirement ====
270 + 5.1 OS requirement
270 270  
271 271   RPI in this example is RPI model 4B with fresh Raspbian OS install.
272 272  
... ... @@ -291,7 +291,7 @@
291 291   BUG_REPORT_URL="http:~/~/www.raspbian.org/RaspbianBugs"
292 292  
293 293  
294 -==== 5.2 Get Gateway ID in Raspberry and input this in TTN v3. ====
295 +5.2 Get Gateway ID in Raspberry and input this in TTN v3.
295 295  
296 296   In RPI, run below command to get a Gateway ID
297 297  
... ... @@ -318,7 +318,7 @@
318 318  
319 319  
320 320  
321 -===== 5.2.1 Download and install LoRaWAN packet forwarder =====
322 +5.2.1 Download and install LoRaWAN packet forwarder
322 322  
323 323   Enable SPI and I2C first:
324 324  
... ... @@ -365,7 +365,7 @@
365 365  [[image:1651745657252-173.png||height="426" width="621"]]
366 366  
367 367  
368 -===== 5.5.2 Config Gateway ID, Frequency Band and Server address =====
369 +5.5.2 Config Gateway ID, Frequency Band and Server address
369 369  
370 370   After installation, user can find the configuration file in** /etc/lora/ **Replace the gateway ID we got above to the **gateway_ID** in file **local_conf.json**
371 371  
... ... @@ -404,10 +404,8 @@
404 404  
405 405  * If user wants to change to other LoRaWAN server, modify the **global_conf.json** file.
406 406  
407 -===== =====
408 +5.2.3 Check result
408 408  
409 -===== 5.2.3 Check result =====
410 -
411 411   Run below command to restart the dragino_fwd:
412 412  
413 413   sudo systemctl stop draginofwd
... ... @@ -445,7 +445,7 @@
445 445  
446 446  
447 447  
448 -===== 5.2.4 Commands to handle service =====
447 +5.2.4 Commands to handle service
449 449  
450 450  * **Stop** dragino_fwd service:  sudo systemctl stop draginofwd
451 451  * **Disable** dragino_fwd auto run after boot: sudo systemctl disable draginofwd
... ... @@ -453,7 +453,7 @@
453 453  * **Auto run** dragino_fwd after boot:  sudo systemctl enable draginofwd
454 454  * **Show status** of dragino_fwd:  sudo systemctl status draginofwd
455 455  
456 -=== 6. Order Info ===
455 +6. Order Info
457 457  
458 458   Part Number: **PG1302-XX**  Or Part Number: **PG1302-PI-XX   **(Include RPi converter board for RPI 3/4)
459 459  
... ... @@ -463,7 +463,7 @@
463 463  * 915 (For Bands: US915,AU915,AS923,KR920)
464 464  * 470 (For Band: CN470)
465 465  
466 -=== 7. Packing Info ===
465 +7. Packing Info
467 467  
468 468  **~ PG1302 Package Includes**:
469 469  
... ... @@ -477,7 +477,7 @@
477 477  * RPi3/4 converter PCB
478 478  * Screws to hole converter PCB on RPI.
479 479  
480 -=== 8. Reference ===
479 +8. Reference
481 481  
482 482  * Datasheet, User Manual & Software Download:
483 483  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0