<
From version < 110.1 >
edited by Xiaoye
on 2022/09/28 18:13
To version < 108.10 >
edited by Xiaoling
on 2022/07/28 14:38
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoye
1 +XWiki.Xiaoling
Content
... ... @@ -16,7 +16,6 @@
16 16  
17 17  = **1. Introduction** =
18 18  
19 -
20 20  == **1.1 What is PG1302 LoRaWAN Concentrator?** ==
21 21  
22 22  
... ... @@ -65,11 +65,9 @@
65 65  == **1.5 LEDs** ==
66 66  
67 67  
68 -(((
69 69  TX: Blink when transmit a packet
70 70  RX: Blink when receive a packet
71 71  Config: Always ON
72 -)))
73 73  
74 74  
75 75  
... ... @@ -94,16 +94,13 @@
94 94  
95 95  
96 96  
97 -= **2. Example: Set up as LoRaWAN gateway** =
94 += **2. Example: Set up as LoRaWAN gateway.** =
98 98  
99 -
100 100  == **2.1 System structure** ==
101 101  
102 102  
103 103  (((
104 104  This example is an example to show how to set up the PG1302 + RPi as a LoRaWAN gateway to use with [[TheThingsNetwork>>url:http://www.thethingsnetwork.org/]](TTN) LoRaWAN server. Set up method for other server are similar.
105 -
106 -
107 107  )))
108 108  
109 109  [[image:1651743698677-436.png||height="457" width="686"]]
... ... @@ -121,7 +121,6 @@
121 121  
122 122  = **3. Install the software?** =
123 123  
124 -
125 125  There are two ways to install the software in RPi4 to use PG1302.
126 126  
127 127  * Flash SD card with Dragino pre-build image which supports Web UI.
... ... @@ -131,7 +131,6 @@
131 131  
132 132  = **4. Flash with pre-build image** =
133 133  
134 -
135 135  == **4.1 Download the dragino image for RPI** ==
136 136  
137 137  
... ... @@ -156,9 +156,7 @@
156 156  == **4.3 Access the Linux console** ==
157 157  
158 158  
159 -(((
160 160  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
161 -)))
162 162  
163 163  
164 164  [[image:1651744193675-591.png||height="450" width="466"]]
... ... @@ -193,17 +193,14 @@
193 193  
194 194  
195 195  
196 -== **4.4 Access the WebUI of RPi4** ==
186 +== **4.4 Access the WebUI of RPi4.** ==
197 197  
198 -
199 199  === **4.4.1 Home page** ===
200 200  
201 201  
202 -(((
203 -Open a browser on the PC and type the RPI ip address **http:~/~/IP_ADDRESS ** (If the IP is assigned by the uplink router)
191 +Open a browser on the PC and type the RPI ip address [[http:~~/~~/IP_ADDRESS** **>>url:http://192.168.1.xx/]] (If the IP is assigned by the uplink router)
204 204  You will see the login interface of RPI as shown below.
205 205  The account details for Web Login are:
206 -)))
207 207  
208 208  (((
209 209  **~ (% style="color:#0000ff" %)User Name: root(%%)**
... ... @@ -221,15 +221,14 @@
221 221  
222 222  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.
223 223  
224 -
225 225  [[image:1651744554845-970.png||height="328" width="621"]]
226 226  
227 -
228 228  Different PG1302 hardware version can support different frequency range:
229 229  
230 -* (% style="color:red" %)**868: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.**
231 -* (% style="color:red" %)**915: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920**
215 +➢** (% style="color:red" %)868: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.(%%)**
232 232  
217 +➢ (% style="color:red" %)**915: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920**
218 +
233 233  After user choose the frequency plan, he can see the actually frequency in used by checking the (% style="color:#037691" %)**page LogRead ~-~-> LoRa Log**
234 234  
235 235  (% style="color:red" %)**Note *: [[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]**
... ... @@ -238,13 +238,11 @@
238 238  
239 239  === **4.4.3 LoRaWAN Page** ===
240 240  
241 -
242 242  ==== **4.4.3.1 Semtech UDP** ====
243 243  
244 244  
245 245  [[image:1651744767914-283.png||height="352" width="621"]]
246 246  
247 -
248 248  (% style="color:red" %)**Note *: [[See this instruction for how to configure TTN>>doc:Main.Notes for TTN.WebHome]].**
249 249  
250 250  
... ... @@ -261,13 +261,11 @@
261 261  
262 262  === **4.4.4 LogRead** ===
263 263  
264 -
265 265  ==== **4.4.4.1 LoRa Log** ====
266 266  
267 267  
268 268  [[image:1651744955955-452.png||height="571" width="621"]]
269 269  
270 -
271 271  Show the frequency for LoRa Radio and traffics.
272 272  
273 273  
... ... @@ -277,7 +277,6 @@
277 277  
278 278  Show system log.
279 279  
280 -
281 281  [[image:1651745003470-264.png||height="477" width="621"]]
282 282  
283 283  
... ... @@ -287,14 +287,12 @@
287 287  
288 288  **Record the system log.**
289 289  
290 -
291 291  [[image:1651745069814-662.png||height="144" width="621"]]
292 292  
293 293  
294 294  
295 -= **5. Install stand-alone LoRa Packet Forwarder** =
275 += **5. Install stand-alone LoRa Packet Forwarder.** =
296 296  
297 -
298 298  == **5.1 OS requirement** ==
299 299  
300 300  
... ... @@ -302,7 +302,7 @@
302 302  
303 303  (% class="box" %)
304 304  (((
305 - pi@raspberrypi:~~$ cat /etc/os-release
284 + pi@raspberrypi:~~$ cat /etc/os-release
306 306   PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
307 307   NAME="Raspbian GNU/Linux"
308 308   VERSION_ID="8"
... ... @@ -375,31 +375,25 @@
375 375  
376 376  )))
377 377  
357 +and then run:
378 378  
379 -Select the appropriate device version to download
359 +(% style="background-color:#dcdcdc" %)wget [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/auto_install.sh>>url:https://www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/auto_install.sh]]
380 380  
361 +(% style="background-color:#dcdcdc" %)chmod +x ./auto_install.sh
381 381  
382 -(((
383 -draginofwd-32bit
363 +(% style="background-color:#dcdcdc" %)./auto_install.sh
384 384  
385 -wget https:~/~/www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/draginofwd-32bit.deb && dpkg -i draginofwd-32bit.deb
386 -
387 -
388 -dragino-64bit
365 +(((
366 +[[image:1651745611629-818.png||height="225" width="729"]]
389 389  )))
390 390  
391 -wget https:~/~/www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/draginofwd-64bit.deb && dpkg -i draginofwd-64bit.deb
369 +This will download the packet forwarder package from Dragino Server to RPI, and start install the package.
392 392  
371 +You can get these output:
393 393  
394 -dragino-tiker-32bit
395 -
396 -wget https:~/~/www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/draginofwd-tinker-32bit.deb && dpkg -i draginofwd-tinker-32bit.deb
397 -
398 -
399 399  (((
400 -
374 +[[image:1651745657252-173.png||height="426" width="621"]]
401 401  
402 -[[image:image-20220928181226-1.png]]
403 403  
404 404  
405 405  )))
... ... @@ -431,25 +431,18 @@
431 431  
432 432  **~ 1). Chose your need the name of region frequency.**
433 433  
434 -
435 435  [[image:1651745867516-322.png||height="83" width="740"]]
436 436  
437 437  
410 +*
411 +** 2). Use this command to copy it.
438 438  
439 -**~ 2). Use this command to copy it.**
413 + cp /etc/lora/cfg-302/EU-global_conf.json /etc/lora/global_conf.json
440 440  
441 -(% class="box infomessage" %)
442 -(((
443 -**cp /etc/lora/cfg-302/EU-global_conf.json /etc/lora/global_conf.json**
444 -)))
445 -
446 446  [[image:1651745984006-868.png||height="87" width="745"]]
447 447  
448 -
449 449  * If user wants to change to other LoRaWAN server, modify the (% style="color:#0000ff" %)**global_conf.json**(%%) file.
450 450  
451 -
452 -
453 453  === **5.2.3 Check result** ===
454 454  
455 455  
... ... @@ -502,7 +502,6 @@
502 502  [[image:1651746111963-838.png||height="184" width="730"]]
503 503  
504 504  
505 -
506 506   If there are LoRaWAN nodes transmitting nearby, we can see the traffic in (% style="color:#037691" %)**TTN v3 –> Gateway ~-~-> Live data**
507 507  
508 508  [[image:1651746139304-966.png||height="326" width="621"]]
... ... @@ -519,7 +519,6 @@
519 519  * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd:  sudo systemctl status draginofwd
520 520  
521 521  
522 -
523 523  = **6. Order Info** =
524 524  
525 525  
... ... @@ -560,7 +560,6 @@
560 560  * RPi3/4 converter PCB
561 561  * Screws to hole converter PCB on RPI.
562 562  
563 -
564 564  **PG1302-PI Dimension and weight: **
565 565  
566 566  * Device Size: 18 x 8 x 4 cm
... ... @@ -582,8 +582,5 @@
582 582  
583 583  (((
584 584  With your question as detail as possible. We will reply and help you in the shortest.
585 -
586 -
587 -
588 588  )))
589 589  )))
image-20220928181226-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoye
Size
... ... @@ -1,1 +1,0 @@
1 -29.1 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0