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
-
... ... @@ -20,13 +20,15 @@ 20 20 21 21 22 22 23 -{{toc/}} 23 +{{toc numbered="true" depth="4"/}} 24 24 25 25 26 -=== 1. Introduction === 27 27 28 -==== 1.1 What is PG1302 LoRaWAN Concentrator? ==== 29 29 28 +~1. Introduction 29 + 30 + 1.1 What is PG1302 LoRaWAN Concentrator? 31 + 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====50 +1.2 Features 49 49 50 50 * Base on Semtech SX1302 solution 51 51 * Support Raspberry Pi 3B/3B+/4 ... ... @@ -54,19 +54,21 @@ 54 54 * Mini-PCIe Interface 55 55 * Converter board to support Raspberry Pi 56 56 57 -==== 1.3 General Interfaces ==== 58 58 60 +1.3 General Interfaces 61 + 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 ==== 64 64 67 +1.4 Pin Mapping 68 + 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,10 +89,11 @@ 89 89 * Smart Cities 90 90 * Smart Factory 91 91 92 -=== 2. Example: Set up as LoRaWAN gateway. === 93 93 94 - ====2.1Systemstructure====97 +2. Example: Set up as LoRaWAN gateway. 95 95 99 + 2.1 System structure 100 + 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 98 98 (% style="text-align:center" %) ... ... @@ -100,7 +100,7 @@ 100 100 101 101 102 102 103 - ====2.2 Hardware Installation====108 +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?===117 +3. Install the software? 113 113 114 114 There are two ways to install software in RPi4 to use PG1302. 115 115 ... ... @@ -116,16 +116,17 @@ 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 === 120 120 121 - ====4.1Downloadthedraginoimagefor RPI ====125 +4. Flash with pre-build image 122 122 127 + 4.1 Download the dragino image for RPI 128 + 123 123 Download PG1302_for_Rpi4_64_with_webui from 124 124 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====134 +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.====146 +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.====174 + 4.4 Access the WebUI of RPi4. 169 169 170 - =====4.4.1 Home page=====176 + 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=====195 +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=====219 +4.4.3 LoRaWAN Page 214 214 215 - ============221 + 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======234 +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=====245 +4.4.4 LogRead 240 240 241 - ============247 + 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======256 +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======265 +4.4.4.3 Record Log 260 260 261 -**~ Record the system log.** 262 262 268 +**Record the system log.** 269 + 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.===274 +5. Install stand alone LoRa Packet Forwarder. 268 268 269 - ========276 + 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.====301 +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 ... ... @@ -318,7 +318,7 @@ 318 318 319 319 320 320 321 - =====5.2.1 Download and install LoRaWAN packet forwarder=====328 +5.2.1 Download and install LoRaWAN packet forwarder 322 322 323 323 Enable SPI and I2C first: 324 324 ... ... @@ -365,7 +365,7 @@ 365 365 [[image:1651745657252-173.png||height="426" width="621"]] 366 366 367 367 368 - =====5.5.2 Config Gateway ID, Frequency Band and Server address=====375 +5.5.2 Config Gateway ID, Frequency Band and Server address 369 369 370 370 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** 371 371 ... ... @@ -404,9 +404,8 @@ 404 404 405 405 * If user wants to change to other LoRaWAN server, modify the **global_conf.json** file. 406 406 407 -===== ===== 408 408 409 - =====5.2.3 Check result=====415 +5.2.3 Check result 410 410 411 411 Run below command to restart the dragino_fwd: 412 412 ... ... @@ -445,7 +445,7 @@ 445 445 446 446 447 447 448 - =====5.2.4 Commands to handle service=====454 +5.2.4 Commands to handle service 449 449 450 450 * **Stop** dragino_fwd service: sudo systemctl stop draginofwd 451 451 * **Disable** dragino_fwd auto run after boot: sudo systemctl disable draginofwd ... ... @@ -453,8 +453,9 @@ 453 453 * **Auto run** dragino_fwd after boot: sudo systemctl enable draginofwd 454 454 * **Show status** of dragino_fwd: sudo systemctl status draginofwd 455 455 456 -=== 6. Order Info === 457 457 463 +6. Order Info 464 + 458 458 Part Number: **PG1302-XX** Or Part Number: **PG1302-PI-XX **(Include RPi converter board for RPI 3/4) 459 459 460 460 **~ XX:** ... ... @@ -463,8 +463,9 @@ 463 463 * 915 (For Bands: US915,AU915,AS923,KR920) 464 464 * 470 (For Band: CN470) 465 465 466 -=== 7. Packing Info === 467 467 474 +7. Packing Info 475 + 468 468 **~ PG1302 Package Includes**: 469 469 470 470 * PG1302 x 1 ... ... @@ -477,8 +477,9 @@ 477 477 * RPi3/4 converter PCB 478 478 * Screws to hole converter PCB on RPI. 479 479 480 -=== 8. Reference === 481 481 489 +8. Reference 490 + 482 482 * Datasheet, User Manual & Software Download: 483 483 484 484 [[https:~~/~~/www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0>>url:https://www.dropbox.com/sh/f6nbldh1qbspya5/AACgL6pDkwdBQO1BQqq_Nubwa?dl=0]]