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
-
... ... @@ -19,14 +19,18 @@ 19 19 20 20 21 21 22 +---- 22 22 23 23 {{toc/}} 24 24 26 +---- 25 25 26 -= 1.Introduction=28 +=== === 27 27 28 -== 1Whatis PG1302 LoRaWAN Concentrator?==30 +=== 1. Introduction === 29 29 32 +==== 1.1 What is PG1302 LoRaWAN Concentrator? ==== 33 + 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. 32 32 ))) ... ... @@ -45,7 +45,7 @@ 45 45 ))) 46 46 ))) 47 47 48 -1.2 Features 52 +==== 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 61 +==== 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 67 +==== 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 73 +==== 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 82 +==== 1.6 Power Consumption ==== 79 79 80 80 TBD 81 81 82 82 83 -1.7 Applications 87 +==== 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. 96 +=== 2. Example: Set up as LoRaWAN gateway. === 93 93 94 - 2.1 System structure 98 +==== 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 107 +==== 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? 116 +=== 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 123 +=== 4. Flash with pre-build image === 120 120 121 - 4.1 Download the dragino image for RPI 125 +==== 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 132 +==== 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. 144 +==== 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. 172 +==== 4.4 Access the WebUI of RPi4. ==== 169 169 170 - 174 +===== 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 193 +===== 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 217 +===== 4.4.3 LoRaWAN Page ===== 214 214 215 - 219 +====== 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 232 +====== 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 243 +===== 4.4.4 LogRead ===== 240 240 241 - 245 +====== 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 254 +====== 4.4.4.2 System Log ====== 251 251 252 252 Show system log. 253 253 ... ... @@ -256,18 +256,17 @@ 256 256 257 257 258 258 259 -4.4.4.3 Record Log 263 +====== 4.4.4.3 Record Log ====== 260 260 265 +**~ Record the system log.** 261 261 262 -**Record the system log.** 263 - 264 264 (% style="text-align:center" %) 265 265 [[image:1651745069814-662.png||height="144" width="621"]] 266 266 267 267 268 -5. Install stand alone LoRa Packet Forwarder. 271 +=== 5. Install stand alone LoRa Packet Forwarder. === 269 269 270 - 5.1 OS requirement 273 +==== 5.1 OS requirement ==== 271 271 272 272 RPI in this example is RPI model 4B with fresh Raspbian OS install. 273 273 ... ... @@ -292,7 +292,7 @@ 292 292 BUG_REPORT_URL="http:~/~/www.raspbian.org/RaspbianBugs" 293 293 294 294 295 -5.2 Get Gateway ID in Raspberry and input this in TTN v3. 298 +==== 5.2 Get Gateway ID in Raspberry and input this in TTN v3. ==== 296 296 297 297 In RPI, run below command to get a Gateway ID 298 298 ... ... @@ -318,9 +318,8 @@ 318 318 [[image:1651745366987-458.png||height="363" width="621"]] 319 319 320 320 324 +===== 5.2.1 Download and install LoRaWAN packet forwarder ===== 321 321 322 -5.2.1 Download and install LoRaWAN packet forwarder 323 - 324 324 Enable SPI and I2C first: 325 325 326 326 a)SPI needs to be enabled on the Raspberry Pi ... ... @@ -366,7 +366,7 @@ 366 366 [[image:1651745657252-173.png||height="426" width="621"]] 367 367 368 368 369 -5.5.2 Config Gateway ID, Frequency Band and Server address 371 +===== 5.5.2 Config Gateway ID, Frequency Band and Server address ===== 370 370 371 371 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** 372 372 ... ... @@ -405,8 +405,13 @@ 405 405 406 406 * If user wants to change to other LoRaWAN server, modify the **global_conf.json** file. 407 407 408 -5.2.3 Check result 410 +(% class="wikigeneratedid" %) 411 +((( 412 + 413 +))) 409 409 415 +===== 5.2.3 Check result ===== 416 + 410 410 Run below command to restart the dragino_fwd: 411 411 412 412 sudo systemctl stop draginofwd ... ... @@ -444,7 +444,7 @@ 444 444 445 445 446 446 447 -5.2.4 Commands to handle service 454 +===== 5.2.4 Commands to handle service ===== 448 448 449 449 * **Stop** dragino_fwd service: sudo systemctl stop draginofwd 450 450 * **Disable** dragino_fwd auto run after boot: sudo systemctl disable draginofwd ... ... @@ -452,7 +452,7 @@ 452 452 * **Auto run** dragino_fwd after boot: sudo systemctl enable draginofwd 453 453 * **Show status** of dragino_fwd: sudo systemctl status draginofwd 454 454 455 -6. Order Info 462 +=== 6. Order Info === 456 456 457 457 Part Number: **PG1302-XX** Or Part Number: **PG1302-PI-XX **(Include RPi converter board for RPI 3/4) 458 458 ... ... @@ -462,7 +462,7 @@ 462 462 * 915 (For Bands: US915,AU915,AS923,KR920) 463 463 * 470 (For Band: CN470) 464 464 465 -7. Packing Info 472 +=== 7. Packing Info === 466 466 467 467 **~ PG1302 Package Includes**: 468 468 ... ... @@ -476,7 +476,7 @@ 476 476 * RPi3/4 converter PCB 477 477 * Screws to hole converter PCB on RPI. 478 478 479 -8. Reference 486 +=== 8. Reference === 480 480 481 481 * Datasheet, User Manual & Software Download: 482 482 ... ... @@ -483,7 +483,7 @@ 483 483 [[https:~~/~~/www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0>>url:https://www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0]] 484 484 485 485 486 -9. Support 493 +=== 9. Support === 487 487 488 488 * 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. 489 489 * 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