Changes for page PG1302 -- LoRaWAN Concentrator User Manual
Last modified by Kilight Cao on 2024/06/22 10:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -23,9 +23,9 @@ 23 23 {{toc/}} 24 24 25 25 26 -= ==1. Introduction ===26 += 1. Introduction = 27 27 28 -== ==1.1 What is PG1302 LoRaWAN Concentrator? ====28 +== 1.1 What is PG1302 LoRaWAN Concentrator? == 29 29 30 30 ((( 31 31 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. ... ... @@ -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 ... ... @@ -317,8 +317,9 @@ 317 317 [[image:1651745366987-458.png||height="363" width="621"]] 318 318 319 319 320 -===== 5.2.1 Download and install LoRaWAN packet forwarder ===== 321 321 322 +5.2.1 Download and install LoRaWAN packet forwarder 323 + 322 322 Enable SPI and I2C first: 323 323 324 324 a)SPI needs to be enabled on the Raspberry Pi ... ... @@ -364,7 +364,7 @@ 364 364 [[image:1651745657252-173.png||height="426" width="621"]] 365 365 366 366 367 - =====5.5.2 Config Gateway ID, Frequency Band and Server address=====369 +5.5.2 Config Gateway ID, Frequency Band and Server address 368 368 369 369 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** 370 370 ... ... @@ -403,13 +403,8 @@ 403 403 404 404 * If user wants to change to other LoRaWAN server, modify the **global_conf.json** file. 405 405 406 -(% class="wikigeneratedid" %) 407 -((( 408 - 409 -))) 408 +5.2.3 Check result 410 410 411 -===== 5.2.3 Check result ===== 412 - 413 413 Run below command to restart the dragino_fwd: 414 414 415 415 sudo systemctl stop draginofwd ... ... @@ -447,7 +447,7 @@ 447 447 448 448 449 449 450 - =====5.2.4 Commands to handle service=====447 +5.2.4 Commands to handle service 451 451 452 452 * **Stop** dragino_fwd service: sudo systemctl stop draginofwd 453 453 * **Disable** dragino_fwd auto run after boot: sudo systemctl disable draginofwd ... ... @@ -455,7 +455,7 @@ 455 455 * **Auto run** dragino_fwd after boot: sudo systemctl enable draginofwd 456 456 * **Show status** of dragino_fwd: sudo systemctl status draginofwd 457 457 458 - ===6. Order Info===455 +6. Order Info 459 459 460 460 Part Number: **PG1302-XX** Or Part Number: **PG1302-PI-XX **(Include RPi converter board for RPI 3/4) 461 461 ... ... @@ -465,7 +465,7 @@ 465 465 * 915 (For Bands: US915,AU915,AS923,KR920) 466 466 * 470 (For Band: CN470) 467 467 468 - ===7. Packing Info===465 +7. Packing Info 469 469 470 470 **~ PG1302 Package Includes**: 471 471 ... ... @@ -479,7 +479,7 @@ 479 479 * RPi3/4 converter PCB 480 480 * Screws to hole converter PCB on RPI. 481 481 482 - ===8. Reference===479 +8. Reference 483 483 484 484 * Datasheet, User Manual & Software Download: 485 485 ... ... @@ -486,7 +486,7 @@ 486 486 [[https:~~/~~/www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0>>url:https://www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0]] 487 487 488 488 489 - ===9. Support===486 +9. Support 490 490 491 491 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 492 492 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to