<
From version < 87.1 >
edited by Xiaoling
on 2022/05/06 15:56
To version < 77.1 >
edited by Xiaoling
on 2022/05/06 14:55
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -30,53 +30,23 @@
30 30  ==== 1.1 What is PG1302 LoRaWAN Concentrator? ====
31 31  
32 32  (((
33 -(((
34 - The PG1302 is a multi-channel high performance transmitter/receiver designed to simultaneously receive several LoRa packets using random spreading factors on
33 +The PG1302 is a multi-channel high performance transmitter/receiver designed to simultaneously receive several LoRa packets using random spreading factors on random  channels. Its goal is to enable robust connection between a central wireless data concentrator and a massive amount of wireless end-points spread over a very wide range of distances.
35 35  )))
36 36  
37 37  (((
38 - random channels. Its goal is to enable robust connection between a central wireless data concentrator and a massive amount of wireless end-points spread over a
37 +The PG1302 is design to use with Raspberry Pi to build smart metering fixed networks and Internet of Things applications with up to 5000 nodes per km2 in moderately interfered environment.
39 39  )))
40 40  
41 41  (((
42 - very wide range of distances.
41 +PG1302 is fully compatible with RPi3/4, users can use the pre-build OS from Dragino to set up and easy to use the module by Web UI. Or install the raw lorawan driver in the exist OS.
43 43  )))
44 44  
45 45  (((
46 -
47 -)))
48 -)))
49 -
50 50  (((
51 -(((
52 - The PG1302 is design to use with Raspberry Pi to build smart metering fixed networks and Internet of Things applications with up to 5000 nodes per km2 in moderately
53 -)))
54 -
55 -(((
56 - interfered environment.
57 -)))
58 -
59 -(((
60 60  
61 61  )))
62 62  )))
63 63  
64 -(((
65 -(((
66 - PG1302 is fully compatible with RPi3/4, users can use the pre-build OS from Dragino to set up and easy to use the module by Web UI. Or install the raw lorawan driver
67 -)))
68 -
69 -(((
70 - in the exist OS.
71 -)))
72 -)))
73 -
74 -(((
75 -(((
76 -
77 -)))
78 -)))
79 -
80 80  ==== 1.2 Features ====
81 81  
82 82  * Base on Semtech SX1302 solution
... ... @@ -100,16 +100,16 @@
100 100  
101 101  ==== 1.5 LEDs ====
102 102  
103 - TX: Blink when transmit a packet
73 + TX: Blink when transmit a packet
104 104  
105 - RX: Blink when receive a packet
75 + RX: Blink when receive a packet
106 106  
107 - Config: Always ON
77 + Config: Always ON
108 108  
109 109  
110 110  ==== 1.6 Power Consumption ====
111 111  
112 - TBD
82 + TBD
113 113  
114 114  
115 115  ==== 1.7 Applications ====
... ... @@ -125,9 +125,9 @@
125 125  
126 126  ==== 2.1 System structure ====
127 127  
128 - 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.
98 + 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.
129 129  
130 - Set up method for other server are similar.
100 + Set up method for other server are similar
131 131  
132 132  (% style="text-align:center" %)
133 133  [[image:1651743698677-436.png||height="457" width="686"]]
... ... @@ -173,21 +173,10 @@
173 173  
174 174  ==== 4.3 Access the Linux console ====
175 175  
176 -(((
177 -(((
178 - 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
179 -)))
146 +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.
180 180  
181 -(((
182 - 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.
183 -)))
148 +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
184 184  
185 -(((
186 - 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
187 -)))
188 -)))
189 -
190 -
191 191  (% style="text-align:center" %)
192 192  [[image:1651744193675-591.png||height="450" width="466"]]
193 193  
... ... @@ -214,14 +214,15 @@
214 214  
215 215  ===== 4.4.1 Home page =====
216 216  
217 - Open a browser on the PC and type the RPI ip address
176 + Open a browser on the PC and type the RPI ip address
218 218  
219 - [[http:~~/~~/IP_ADDRESS** **>>url:http://192.168.1.xx/]] (If the IP is assigned by uplink router)
178 + [[http:~~/~~/IP_ADDRESS** **>>url:http://192.168.1.xx/]] (If the IP is assigned by uplink router)
220 220  
221 - You will see the login interface of RPI as shown below.
222 222  
223 - The account details for Web Login are:
181 + You will see the login interface of RPI as shown below.
224 224  
183 + The account details for Web Login are:
184 +
225 225  **~ User Name: root**
226 226  
227 227  **~ Password:   dragino**
... ... @@ -262,21 +262,24 @@
262 262  (% style="text-align:center" %)
263 263  [[image:1651744767914-283.png||height="352" width="621"]]
264 264  
265 - Note *: See this instruction for how to configure TTN.
266 266  
267 - [[https:~~/~~/wiki.dragino.com/index.php?title=Notes_for_TTN>>url:https://wiki.dragino.com/index.php?title=Notes_for_TTN||style="background-color: rgb(255, 255, 255);"]]
268 268  
227 + Note *: See this instruction for how to configure TTN.
269 269  
229 + [[https:~~/~~/wiki.dragino.com/index.php?title=Notes_for_TTN>>url:https://wiki.dragino.com/index.php?title=Notes_for_TTN]]
230 +
231 +
270 270  ====== 4.4.3.2 Basic Station ======
271 271  
272 272  (% style="text-align:center" %)
273 273  [[image:1651744890629-683.png||height="380" width="621"]]
274 274  
275 - Note *: See this instruction for how to configure TTN.
276 276  
277 - [[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]]
238 + Note *: See this instruction for how to configure TTN.
278 278  
240 + [[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]]
279 279  
242 +
280 280  ===== 4.4.4 LogRead =====
281 281  
282 282  ====== 4.4.4.1 LoRa Log ======
... ... @@ -284,12 +284,13 @@
284 284  (% style="text-align:center" %)
285 285  [[image:1651744955955-452.png||height="571" width="621"]]
286 286  
287 - Show the frequency for LoRa Radio and traffics.
288 288  
251 + Show the frequency for LoRa Radio and traffics.
289 289  
253 +
290 290  ====== 4.4.4.2 System Log ======
291 291  
292 - Show system log.
256 + Show system log.
293 293  
294 294  (% style="text-align:center" %)
295 295  [[image:1651745003470-264.png||height="477" width="621"]]
... ... @@ -308,7 +308,7 @@
308 308  
309 309  ==== 5.1 OS requirement ====
310 310  
311 - RPI in this example is RPI model 4B with fresh Raspbian OS install.
275 + RPI in this example is RPI model 4B with fresh Raspbian OS install.
312 312  
313 313   pi@raspberrypi:~~$ cat /etc/os-release
314 314  
... ... @@ -333,17 +333,17 @@
333 333  
334 334  ==== 5.2 Get Gateway ID in Raspberry and input this in TTN v3. ====
335 335  
336 - In RPI, run below command to get a Gateway ID
300 + In RPI, run below command to get a Gateway ID
337 337  
338 - (% class="mark" %)ifconfig eth0
302 + ifconfig eth0
339 339  
340 340  (% style="text-align:center" %)
341 341  [[image:1651745210205-512.png||height="130" width="621"]]
342 342  
343 343  
344 - We got the ether (eth0 MAC) address is b8:27:eb:49:62:bc). Add ffff at the end and remove “:” to get the gateway ID: b827ebxxxxbcffff. Input this to TTN v3.
308 + We got the ether (eth0 MAC) address is b8:27:eb:49:62:bc). Add ffff at the end and remove “:” to get the gateway ID: b827ebxxxxbcffff. Input this to TTN v3.
345 345  
346 - Make sure to select legacy packet forwarder.
310 + Make sure to select legacy packet forwarder.
347 347  
348 348  (% style="text-align:center" %)
349 349  [[image:1651745267862-321.png||height="526" width="621"]]
... ... @@ -408,20 +408,20 @@
408 408  
409 409  ===== 5.2.2 Config Gateway ID, Frequency Band and Server address =====
410 410  
411 - 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**
375 + 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**
412 412  
413 - The default LoRaWAN server points to localhost, user need to put the correct server address to the server_address field in file **local_conf.json**, like below.
377 + The default LoRaWAN server points to localhost, user need to put the correct server address to the server_address field in file **local_conf.json**, like below.
414 414  
415 415  (% style="text-align:center" %)
416 416  [[image:1651745709709-887.png||height="820" width="621"]]
417 417  
418 418  
419 - User can find the TTN v3 server address from:
383 + User can find the TTN v3 server address from:
420 420  
421 - [[Server Addresses ~| The Things Stack for LoRaWAN (thethingsindustries.com)>>url:https://www.thethingsindustries.com/docs/getting-started/server-addresses/#deployments]]
385 + [[Server Addresses ~| The Things Stack for LoRaWAN (thethingsindustries.com)>>url:https://www.thethingsindustries.com/docs/getting-started/server-addresses/#deployments]]
422 422  
423 423  
424 - And the default frequency band is US915 in **global_conf.json** file.
388 + And the default frequency band is US915 in **global_conf.json** file.
425 425  
426 426  (% style="text-align:center" %)
427 427  [[image:1651745838008-820.png||height="650" width="621"]]
... ... @@ -452,39 +452,43 @@
452 452  
453 453  ===== 5.2.3 Check result =====
454 454  
455 - Run below command to restart the dragino_fwd:
419 + Run below command to restart the dragino_fwd:
456 456  
457 457   sudo systemctl stop draginofwd
458 458  
459 459   sudo systemctl start draginofwd
460 460  
461 - debug check the ruing status of fwd:
425 + debug check the ruing status of fwd:
462 462  
463 - sudo systemctl status draginofwd
427 + sudo systemctl status draginofwd
464 464  
465 465  (% style="text-align:center" %)
466 466  [[image:1651746045057-414.png]]
467 467  
468 468  
469 - The dragino_fwd will start with the new gateway ID and TTN v3 should show the connection ok:
433 + The dragino_fwd will start with the new gateway ID and TTN v3 should show the connection ok:
470 470  
471 471  (% style="text-align:center" %)
472 472  [[image:1651746078253-168.png||height="372" width="621"]]
473 473  
474 474  
475 - We can check dragino_fwd running states in RPi by running:
476 476  
477 - //**sudo journalctl -u draginofwd -f**//
440 + We can check dragino_fwd running states in RPi by running:
478 478  
442 + //**sudo journalctl -u draginofwd -f**//
443 +
479 479  (% style="text-align:center" %)
480 480  [[image:1651746111963-838.png]]
481 481  
482 - If there are LoRaWAN nodes transmits nearby, we can see the traffic in TTN v3 –> Gateway ~-~-> Live data
483 483  
448 +
449 + If there are LoRaWAN nodes transmits nearby, we can see the traffic in TTN v3 –> Gateway ~-~-> Live data
450 +
484 484  (% style="text-align:center" %)
485 485  [[image:1651746139304-966.png||height="326" width="621"]]
486 486  
487 487  
455 +
488 488  ===== 5.2.4 Commands to handle service =====
489 489  
490 490  * **Stop** dragino_fwd service:  sudo systemctl stop draginofwd
... ... @@ -495,7 +495,7 @@
495 495  
496 496  === 6. Order Info ===
497 497  
498 - Part Number: **PG1302-XX**  Or  Part Number: **PG1302-PI-XX   **(Include RPi converter board for RPI 3/4)
466 + Part Number: **PG1302-XX**  Or Part Number: **PG1302-PI-XX   **(Include RPi converter board for RPI 3/4)
499 499  
500 500  **~ XX:**
501 501  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0