Changes for page PG1302 -- LoRaWAN Concentrator User Manual
Last modified by Kilight Cao on 2024/06/22 10:43
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Xiao ye1 +XWiki.Xiaoling - Content
-
... ... @@ -16,27 +16,19 @@ 16 16 17 17 = **1. Introduction** = 18 18 19 - 20 20 == **1.1 What is PG1302 LoRaWAN Concentrator?** == 21 21 22 22 23 -((( 24 24 The PG1302 is a (% style="color:green" %)**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. 25 -))) 26 26 27 -((( 28 28 The PG1302 is designed to use with Raspberry Pi to build smart metering fixed networks and Internet of Things applications with up to 5000 nodes per km2 in a moderately interfered environment. 29 -))) 30 30 31 -((( 32 32 PG1302 is fully compatible with (% style="color:green" %)**RPi3/4 or Tinker Board**(%%), 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 existing OS. 33 -))) 34 34 35 35 36 36 37 37 == **1.2 Features** == 38 38 39 - 40 40 * Base on Semtech SX1302 solution 41 41 * Support Raspberry Pi 3B/3B+/4 42 42 * Up to -140dBm sensitivity ... ... @@ -44,17 +44,12 @@ 44 44 * Mini-PCIe Interface 45 45 * Converter board to support Raspberry Pi 46 46 47 - 48 - 49 49 == **1.3 General Interfaces for PG1302** == 50 50 51 - 52 52 * SPI interface for LoRa 53 53 * Power Input: 5v, 1A 54 54 * 1 x I-PEX for LoRa 55 55 56 - 57 - 58 58 == **1.4 Pin Mapping** == 59 59 60 60 ... ... @@ -65,11 +65,9 @@ 65 65 == **1.5 LEDs** == 66 66 67 67 68 -((( 69 -TX: Blink when transmit a packet 70 -RX: Blink when receive a packet 71 -Config: Always ON 72 -))) 55 + TX: Blink when transmit a packet 56 + RX: Blink when receive a packet 57 + Config: Always ON 73 73 74 74 75 75 ... ... @@ -84,7 +84,6 @@ 84 84 85 85 == **1.7 Applications** == 86 86 87 - 88 88 * Smart Buildings & Home Automation 89 89 * Logistics and Supply Chain Management 90 90 * Smart Metering ... ... @@ -92,20 +92,13 @@ 92 92 * Smart Cities 93 93 * Smart Factory 94 94 79 += **2. Example: Set up as LoRaWAN gateway.** = 95 95 96 - 97 -= **2. Example: Set up as LoRaWAN gateway** = 98 - 99 - 100 100 == **2.1 System structure** == 101 101 102 102 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 105 106 - 107 -))) 108 - 109 109 [[image:1651743698677-436.png||height="457" width="686"]] 110 110 111 111 ... ... @@ -121,26 +121,20 @@ 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. 128 128 * Install Lora packet forwarder in existing RPi OS. 129 129 130 - 131 - 132 132 = **4. Flash with pre-build image** = 133 133 134 - 135 135 == **4.1 Download the dragino image for RPI** == 136 136 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]] 137 137 138 -((( 139 -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]] 140 -))) 141 141 142 142 143 - 144 144 == **4.2 Flash the image to an SD card** == 145 145 146 146 ... ... @@ -156,11 +156,8 @@ 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 - 164 164 [[image:1651744193675-591.png||height="450" width="466"]] 165 165 166 166 The account details for Web Login are: ... ... @@ -193,17 +193,14 @@ 193 193 194 194 195 195 196 -== **4.4 Access the WebUI of RPi4** == 164 +== **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) 169 +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,17 +221,16 @@ 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** 193 +➢** (% style="color:red" %)868: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.(%%)** 232 232 233 - Afteruserchoosethefrequencyplan,hecansee theactuallyfrequencyinusedbychecking the (% style="color:#037691"%)**pageLogRead~-~-> LoRa Log**195 +➢ (% style="color:red" %)**915: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920** 234 234 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** 198 + 235 235 (% style="color:red" %)**Note *: [[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** 236 236 237 237 ... ... @@ -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** = 253 += **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 - 262 + 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 335 +and then run: 378 378 379 - Selecttheppropriate deviceversionto337 +(% 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 339 +(% style="background-color:#dcdcdc" %)chmod +x ./auto_install.sh 381 381 382 -((( 383 -draginofwd-32bit 341 +(% 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 343 +((( 344 +[[image:1651745611629-818.png||height="225" width="729"]] 389 389 ))) 390 390 391 - wgethttps:~/~/www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/draginofwd-64bit.deb&& dpkg-idraginofwd-64bit.deb347 +This will download the packet forwarder package from Dragino Server to RPI, and start install the package. 392 392 349 +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 - 352 +[[image:1651745657252-173.png||height="426" width="621"]] 401 401 402 -[[image:image-20220928181226-1.png]] 403 403 404 404 405 405 ))) ... ... @@ -431,21 +431,16 @@ 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 388 +* 389 +** 2). Use this command to copy it. 438 438 439 - **~2).Usethiscommandtopy it.**391 + 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 451 ... ... @@ -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"]] ... ... @@ -520,9 +520,10 @@ 520 520 521 521 522 522 523 -= **6. Order Info** = 524 524 469 += 6. Order Info = 525 525 471 + 526 526 Part Number: (% style="color:#0000ff" %)**PG1302-XX** (%%) Or Part Number: (% style="color:#0000ff" %)**PG1302-PI-XX **(%%)(Include RPi converter board for RPI 3/4) 527 527 528 528 **~ (% style="color:#0000ff" %)XX:(%%)** ... ... @@ -533,8 +533,10 @@ 533 533 534 534 535 535 536 -= **7. Packing Info** = 537 537 483 + 484 += 7. Packing Info = 485 + 538 538 ((( 539 539 540 540 ... ... @@ -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 ... ... @@ -568,8 +568,10 @@ 568 568 569 569 570 570 518 + 519 + 571 571 ((( 572 -= **8. Support**=521 += 8. Support = 573 573 574 574 575 575 ((( ... ... @@ -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