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, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.Xiao ling1 +XWiki.Xiaoye - Content
-
... ... @@ -16,6 +16,7 @@ 16 16 17 17 = **1. Introduction** = 18 18 19 + 19 19 == **1.1 What is PG1302 LoRaWAN Concentrator?** == 20 20 21 21 ... ... @@ -64,9 +64,11 @@ 64 64 == **1.5 LEDs** == 65 65 66 66 68 +((( 67 67 TX: Blink when transmit a packet 68 68 RX: Blink when receive a packet 69 69 Config: Always ON 72 +))) 70 70 71 71 72 72 ... ... @@ -91,13 +91,16 @@ 91 91 92 92 93 93 94 -= **2. Example: Set up as LoRaWAN gateway .** =97 += **2. Example: Set up as LoRaWAN gateway** = 95 95 99 + 96 96 == **2.1 System structure** == 97 97 98 98 99 99 ((( 100 100 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 + 101 101 ))) 102 102 103 103 [[image:1651743698677-436.png||height="457" width="686"]] ... ... @@ -115,6 +115,7 @@ 115 115 116 116 = **3. Install the software?** = 117 117 124 + 118 118 There are two ways to install the software in RPi4 to use PG1302. 119 119 120 120 * Flash SD card with Dragino pre-build image which supports Web UI. ... ... @@ -124,6 +124,7 @@ 124 124 125 125 = **4. Flash with pre-build image** = 126 126 134 + 127 127 == **4.1 Download the dragino image for RPI** == 128 128 129 129 ... ... @@ -148,7 +148,9 @@ 148 148 == **4.3 Access the Linux console** == 149 149 150 150 159 +((( 151 151 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 +))) 152 152 153 153 154 154 [[image:1651744193675-591.png||height="450" width="466"]] ... ... @@ -183,14 +183,17 @@ 183 183 184 184 185 185 186 -== **4.4 Access the WebUI of RPi4 .** ==196 +== **4.4 Access the WebUI of RPi4** == 187 187 198 + 188 188 === **4.4.1 Home page** === 189 189 190 190 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) 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) 192 192 You will see the login interface of RPI as shown below. 193 193 The account details for Web Login are: 206 +))) 194 194 195 195 ((( 196 196 **~ (% style="color:#0000ff" %)User Name: root(%%)** ... ... @@ -208,14 +208,15 @@ 208 208 209 209 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. 210 210 224 + 211 211 [[image:1651744554845-970.png||height="328" width="621"]] 212 212 227 + 213 213 Different PG1302 hardware version can support different frequency range: 214 214 215 -➢** (% style="color:red" %)868: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.(%%)** 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** 216 216 217 -➢ (% style="color:red" %)**915: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920** 218 - 219 219 After user choose the frequency plan, he can see the actually frequency in used by checking the (% style="color:#037691" %)**page LogRead ~-~-> LoRa Log** 220 220 221 221 (% style="color:red" %)**Note *: [[See this instruction for how to customize frequency band>>doc:Main.How to customized LoRaWAN frequency band.WebHome]]** ... ... @@ -224,11 +224,13 @@ 224 224 225 225 === **4.4.3 LoRaWAN Page** === 226 226 241 + 227 227 ==== **4.4.3.1 Semtech UDP** ==== 228 228 229 229 230 230 [[image:1651744767914-283.png||height="352" width="621"]] 231 231 247 + 232 232 (% style="color:red" %)**Note *: [[See this instruction for how to configure TTN>>doc:Main.Notes for TTN.WebHome]].** 233 233 234 234 ... ... @@ -245,11 +245,13 @@ 245 245 246 246 === **4.4.4 LogRead** === 247 247 264 + 248 248 ==== **4.4.4.1 LoRa Log** ==== 249 249 250 250 251 251 [[image:1651744955955-452.png||height="571" width="621"]] 252 252 270 + 253 253 Show the frequency for LoRa Radio and traffics. 254 254 255 255 ... ... @@ -259,6 +259,7 @@ 259 259 260 260 Show system log. 261 261 280 + 262 262 [[image:1651745003470-264.png||height="477" width="621"]] 263 263 264 264 ... ... @@ -268,12 +268,14 @@ 268 268 269 269 **Record the system log.** 270 270 290 + 271 271 [[image:1651745069814-662.png||height="144" width="621"]] 272 272 273 273 274 274 275 -= **5. Install stand-alone LoRa Packet Forwarder .** =295 += **5. Install stand-alone LoRa Packet Forwarder** = 276 276 297 + 277 277 == **5.1 OS requirement** == 278 278 279 279 ... ... @@ -281,7 +281,7 @@ 281 281 282 282 (% class="box" %) 283 283 ((( 284 - pi@raspberrypi:~~$ cat /etc/os-release 305 + pi@raspberrypi:~~$ cat /etc/os-release 285 285 PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" 286 286 NAME="Raspbian GNU/Linux" 287 287 VERSION_ID="8" ... ... @@ -354,25 +354,31 @@ 354 354 355 355 ))) 356 356 357 -and then run: 358 358 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]]379 +Select the appropriate device version to download 360 360 361 -(% style="background-color:#dcdcdc" %)chmod +x ./auto_install.sh 362 362 363 -(% style="background-color:#dcdcdc" %)./auto_install.sh 364 - 365 365 ((( 366 -[[image:1651745611629-818.png||height="225" width="729"]] 383 +draginofwd-32bit 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 367 367 ))) 368 368 369 - Thisldownloadhepacket forwarder packagefromDraginoServer to RPI, andstartinstall the package.391 +wget https:~/~/www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/draginofwd-64bit.deb && dpkg -i draginofwd-64bit.deb 370 370 371 -You can get these output: 372 372 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 + 373 373 ((( 374 - [[image:1651745657252-173.png||height="426"width="621"]]400 + 375 375 402 +[[image:image-20220928181226-1.png]] 376 376 377 377 378 378 ))) ... ... @@ -404,18 +404,25 @@ 404 404 405 405 **~ 1). Chose your need the name of region frequency.** 406 406 434 + 407 407 [[image:1651745867516-322.png||height="83" width="740"]] 408 408 409 409 410 -* 411 -** 2). Use this command to copy it. 412 412 413 - c p /etc/lora/cfg-302/EU-global_conf.json/etc/lora/global_conf.json439 +**~ 2). Use this command to copy it.** 414 414 441 +(% class="box infomessage" %) 442 +((( 443 +**cp /etc/lora/cfg-302/EU-global_conf.json /etc/lora/global_conf.json** 444 +))) 445 + 415 415 [[image:1651745984006-868.png||height="87" width="745"]] 416 416 448 + 417 417 * If user wants to change to other LoRaWAN server, modify the (% style="color:#0000ff" %)**global_conf.json**(%%) file. 418 418 451 + 452 + 419 419 === **5.2.3 Check result** === 420 420 421 421 ... ... @@ -468,6 +468,7 @@ 468 468 [[image:1651746111963-838.png||height="184" width="730"]] 469 469 470 470 505 + 471 471 If there are LoRaWAN nodes transmitting nearby, we can see the traffic in (% style="color:#037691" %)**TTN v3 –> Gateway ~-~-> Live data** 472 472 473 473 [[image:1651746139304-966.png||height="326" width="621"]] ... ... @@ -484,6 +484,7 @@ 484 484 * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd: sudo systemctl status draginofwd 485 485 486 486 522 + 487 487 = **6. Order Info** = 488 488 489 489 ... ... @@ -524,6 +524,7 @@ 524 524 * RPi3/4 converter PCB 525 525 * Screws to hole converter PCB on RPI. 526 526 563 + 527 527 **PG1302-PI Dimension and weight: ** 528 528 529 529 * Device Size: 18 x 8 x 4 cm ... ... @@ -545,5 +545,8 @@ 545 545 546 546 ((( 547 547 With your question as detail as possible. We will reply and help you in the shortest. 585 + 586 + 587 + 548 548 ))) 549 549 )))
- image-20220928181226-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +29.1 KB - Content