Version 69.5 by Xiaoling on 2022/07/28 17:11

Hide last authors
Xiaoling 69.2 1 (% style="text-align:center" %)
Edwin Chen 43.1 2 [[image:image-20220620202334-2.png||height="467" width="809"]]
Xiaoye 4.1 3
4
5 (((
Xiaoling 69.2 6
Xiaoye 4.1 7
8
9 )))
Xiaoye 5.1 10
11 **Table of Contents:**
12
13 {{toc/}}
14
Xiaoling 69.2 15
Kilight Cao 11.1 16 = **1. Introduction** =
Xiaoye 5.1 17
Kilight Cao 12.1 18 == **1.1 What is LPS8v2** ==
Xiaoye 5.1 19
Xiaoling 69.2 20
Xiaoye 5.1 21 (((
Edwin Chen 44.1 22 The LPS8v2 is an (% style="color:green" %)**open-source LoRaWAN Gateway**(%%). It lets you bridge LoRa wireless network to an IP network via (% style="color:green" %)**WiFi , Ethernet or Cellular Network**(%%) (via Optional 4G module). The LoRa wireless allows users to send data and reach extremely long ranges at low data rates.
Xiaoye 6.2 23
Edwin Chen 44.1 24 The LPS8v2 is fully compatible with LoRaWAN protocol. It supports different kinds of LoRaWAN Network Connections such as: (% style="color:green" %)**Semtech UDP Packet Forwarder, LoRaWAN Basic Station, ChirpStack MQTT Bridge**(%%), and so on. This makes LPS8V2 work with most LoRaWAN platforms in the market.
Xiaoye 6.2 25
Edwin Chen 44.1 26 LPS8v2 also includes a (% style="color:green" %)**built-in LoRaWAN Server and IoT server**(%%), which provide the possibility for the system integrator to deploy the IoT service without cloud service or 3rd servers.
Xiaoye 6.2 27
Edwin Chen 43.1 28 Different countries use different LoRaWAN frequency bands. LPS8v2 has these bands pre-configured. Users can also customize the frequency bands to use in their own LoRa network.
Xiaoye 6.2 29
Edwin Chen 44.1 30 LPS8v2 supports (% style="color:green" %)**remote management**(%%). System Integrator can easy to remote monitor the gateway and maintain it.
Edwin Chen 43.1 31
32
Xiaoling 69.2 33
Kilight Cao 11.1 34 == **1.2 Specifications** ==
Xiaoye 6.2 35
36
Xiaoling 69.2 37 (% style="color:#037691" %)**Hardware System:**
38
Edwin Chen 46.1 39 * CPU: Quad-core Cortex-A7 1.2Ghz
Xiaoye 6.2 40 * RAM: 512MB
41 * eMMC: 4GB
42
Xiaoling 69.2 43 (% style="color:#037691" %)**Interface:**
Xiaoye 6.2 44
45 * 10M/100M RJ45 Ports x 1
Edwin Chen 45.1 46 * Multi-Channel LoRaWAN Wireless
Edwin Chen 43.1 47 * WiFi 802.11 b/g/n
Xiaoye 6.2 48
Xiaoling 69.2 49 (% style="color:#037691" %)**Operating Condition:**
Xiaoye 6.2 50
51 * Work Temperature: -20 ~~ 65°C
52 * Storage Temperature: -20 ~~ 65°C
Edwin Chen 45.1 53 * Power Input: 5V, 2A, DC
Xiaoye 6.2 54
Kilight Cao 11.1 55 == **1.3 Features** ==
Xiaoye 6.2 56
Xiaoling 69.2 57
Xiaoye 6.2 58 * Open Source Debian system
59 * Managed by Web GUI, SSH via WAN or WiFi
Edwin Chen 45.1 60 * Remote Management
Edwin Chen 49.1 61 * Auto-provisioning for batch deployment and management
Xiaoye 6.2 62 * LoRaWAN Gateway
63 * 10 programmable parallel demodulation paths
Xiaoye 26.1 64 * Pre-configured to support different LoRaWAN regional settings.
Kilight Cao 11.1 65 * Allow customizing LoRaWAN regional parameters.
Edwin Chen 45.1 66 * Different kinds of LoRaWAN Connections such as
67 ** Semtech UDP Packet Forwarder
68 ** LoRaWAN Basic Station
69 ** ChirpStack-Gateway-Bridge (MQTT)
Xiaoling 69.2 70 * Built-in (% style="color:#037691" %)//**The Things Network**//(%%) local LoRaWAN server
71 * Built-in  (% style="color:#037691" %)//**Node-Red**// (%%)local Application server
Xiaoye 6.2 72
Kilight Cao 11.1 73 == **1.4 Block Diagram** ==
Xiaoye 6.2 74
75
Xiaoling 69.3 76
Xiaoye 35.1 77 == **1.5 LED Indicators** ==
78
Xiaoling 69.3 79
Xiaoye 35.1 80 LPS8-V2 has totally four LEDs, They are:
81
82
Xiaoling 69.3 83 (% style="color:blue" %)//**➢ Power LED**//(%%)//: This RED LED will be solid if the device is properly powered//
Xiaoye 35.1 84
85
Xiaoling 69.3 86 (% style="color:blue" %)//**➢ LoRa LED**//(%%)//: This RGB LED will blink GREEN when the LoRaWAN module starts or transmit a packet//
Xiaoye 35.1 87
88
Xiaoling 69.3 89 (% style="color:blue" %)//**➢ SYS LED**//(%%)//: This RGB LED will show different colors in different states~://
Xiaoye 35.1 90
Xiaoling 69.3 91 // ✓ **SOLID BLUE:** The device is alive with a LoRaWAN server connection.//
Xiaoye 35.1 92
Xiaoling 69.3 93 // ✓ **BLINKING BLUE:** a) Device has internet connection but no LoRaWAN Connection. or b) Device is in booting stage, in this stage, it will BLINKING BLUE for several seconds and then with SOLID RED and BLINKING BLUE together//
Xiaoye 35.1 94
Xiaoling 69.4 95 // ✓** SOLID RED:** Device doesn't have an Internet connection.//
Xiaoye 35.1 96
97
Xiaoling 69.3 98 (% style="color:blue" %)//**➢ ETH LED**//(%%)//: This LED shows the ETH interface connection status.//
Xiaoye 35.1 99
100
Xiaoling 69.3 101
Xiaoye 26.1 102 = **2. Quick Start** =
Xiaoye 8.1 103
Xiaoling 69.4 104
Xiaoye 26.1 105 The LPS8-V2 supports network access via Ethernet or Wi-Fi connection and runs without a network.
Xiaoye 8.1 106
Xiaoye 26.1 107 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network.
Xiaoye 8.1 108
109
Xiaoling 69.4 110
Xiaoye 35.1 111 == **2.1 Connects to the network and accesses the gateway Web UI** ==
Xiaoye 8.1 112
113
Xiaoye 35.1 114 == **2.1.1 connect the network.** ==
Xiaoye 8.1 115
Xiaoye 35.1 116 === ===
Xiaoye 8.1 117
Xiaoling 69.4 118 === (% style="color:blue" %)**Method 1**(%%):  Connect via Ethernet with DHCP IP from the router ===
Xiaoye 26.1 119
Xiaoling 69.4 120
Xiaoye 35.1 121 Connect the LPS8-V2 Ethernet port to your router and LPS8 can 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 LPS8-V2.
Xiaoye 26.1 122
Xiaoye 35.1 123 You can also use this IP to connect.
124
125 [[image:image-20220622100129-1.png||height="332" width="1263"]]
126
127
128
Xiaoling 69.4 129 === (% style="color:blue" %)**Method 2**(%%):  Connect via WiFi with DHCP IP from the router ===
Xiaoye 35.1 130
Xiaoling 69.4 131
Xiaoye 35.1 132 [[image:image-20220622100542-2.png||height="369" width="1256"]]
133
134
135 The LPS8-V2 has a fall-back IP address on its WAN port. you have to access the gateway Web-UI to configure the WiFi connection via the fallback IP address.
136
137
138
Xiaoling 69.4 139 (% style="color:#037691" %)**Steps to connect via fallback IP:**
Xiaoye 35.1 140
Xiaoling 69.4 141 1. Connect PC's Ethernet port to LPS8-V2's WAN port
142
Xiaoye 35.1 143 2. Configure PC's Ethernet port has  IP: 172.31.255.253 and Netmask: 255.255.255.252
144
145 [[image:image-20220622101433-4.png]]
146
147
148 and then On the PC, use the IP address **http:~/~/172.31.255.254** to access the LPS8-V2 via Web or Console.
149
150
151 [[image:image-20220622102210-5.png||height="569" width="1039"]]
152
153
Xiaoling 69.4 154 Fill in the WiFi information by checking the box and clicking (% style="color:red" %)**Save&Apply**
Xiaoye 35.1 155
156
157 [[image:image-20220622102702-6.png]]
158
159
Xiaoling 69.4 160
Xiaoye 35.1 161 **Wi-Fi configuration successful**
162
163
164 [[image:image-20220622102847-7.png]]
165
Xiaoling 69.4 166
Xiaoye 35.1 167 [[image:image-20220622102901-8.png||height="513" width="1011"]]
168
169
170
Xiaoye 26.1 171 == **2.2 The LPS8-V2 is registered and connected to The Things Network** ==
172
173
Xiaoye 41.1 174 === **2.2.1 Select your area frequency** ===
Xiaoye 26.1 175
Xiaoling 69.4 176
Xiaoye 41.1 177 First, you need to set the frequency plan in LPS8-V2 to match the end node we use, so to receive the LoRaWAN packets from the LoRaWAN sensor.
Xiaoye 26.1 178
Xiaoye 41.1 179 [[image:image-20220622103332-9.png]]
Xiaoye 26.1 180
181
Xiaoling 69.4 182
Xiaoye 41.1 183 === **2.2.2 Get the only gateway EUI** ===
184
Xiaoling 69.4 185
Xiaoye 41.1 186 Every LPS8-V2 has a unique gateway id. The ID can be found on LoRaWAN Semtech page:
187
188 [[image:image-20220622103355-10.png]]
189
190
Xiaoling 69.4 191 (% style="color:red" %)**Note: Choose the cluster that corresponds to a specific Gateway server address**
Xiaoye 41.1 192
Xiaoling 69.4 193
Xiaoye 41.1 194 **➢ Europe 1:**  corresponding Gateway server address:  **eu1.cloud.thethings.network**
195
196 **➢ North America 1:**  corresponding Gateway server address:  **nam1.cloud.thethings.network**
197
198 **➢ Australia 1: ** corresponding Gateway server address:  **au1.cloud.thethings.network**
199
200 **➢ Legacy V2 Console:** TTN v2 shuts down in December 2021
201
202
203 [[image:image-20220622103956-12.png]]
204
205
206
207 == 2.2.3 Register the gateway to The Things Network ==
208
Xiaoling 69.4 209
Xiaoye 41.1 210 **Login to The Things Network**
211
212 [[https:~~/~~/console.cloud.thethings.network/>>https://console.cloud.thethings.network/]]
213
Xiaoling 69.4 214
Xiaoye 41.1 215 **Add the gateway**
216
217 [[image:image-20220622104252-13.png||height="511" width="953"]]
218
219
220 **Get it online**
221
222
Xiaoling 69.4 223
Kilight Cao 15.1 224 = **3. Web Configure Pages** =
Xiaoye 8.1 225
226
Kilight Cao 15.1 227 == **3.1 Home** ==
Kilight Cao 11.1 228
Xiaoling 69.4 229
Kilight Cao 23.1 230 //Shows the system running status~://
Kilight Cao 15.1 231
Xiaoling 69.4 232
Kilight Cao 15.1 233 == **3.2 LoRa Settings** ==
234
235
Kilight Cao 23.1 236 === **3.2.1 LoRa ~-~-> LoRa** ===
Kilight Cao 15.1 237
238
Kilight Cao 23.1 239 //This page shows the LoRa Radio Settings. There is a set of default frequency bands according to LoRaWAN protocol, and users can customize the band* as well.//
Kilight Cao 15.1 240
Kilight Cao 23.1 241 //Different LPS8v2 hardware versions can support different frequency ranges~://
Kilight Cao 15.1 242
Kilight Cao 23.1 243 * (% style="color:#0000ff" %)//**868**//(% style="color:black" %)//: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.//
244 * (% style="color:#0000ff" %)//**915**//(% style="color:black" %)//: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920//
Xiaoye 8.1 245
Kilight Cao 23.1 246 (% class="wikigeneratedid" %)
Xiaoling 69.4 247 //After the user choose the frequency plan,  the user can see the actual frequency is used by checking the page (% style="color:#037691" %)**LogRead ~-~-> LoRa Log**//
Kilight Cao 23.1 248
249 (% class="wikigeneratedid" %)
250 [[image:image-20220616110739-1.png||height="372" width="682"]]
251
252
Xiaoling 69.4 253 (((
Xiaoling 69.5 254 (% style="color:red" %)//**Note *: See this instruction for how to customize the frequency band: **//(%%)**//__[[How to customized LoRaWAN frequency band - DRAGINO>>url:http://8.211.40.43/xwiki/bin/view/Main/How%20to%20customized%20LoRaWAN%20frequency%20band/]]__//**
Xiaoling 69.4 255 )))
Kilight Cao 23.1 256
257
258
259 == **3.3 LoRaWAN Settings** ==
260
261
262 === **3.3.1 LoRaWAN ~-~-> LoRaWAN Semtech UDP** ===
263
264
265 //This page is for the connection set up to a general LoRaWAN Network server such as [[TTN>>url:http://www.thethingsnetwork.org/]], [[ChirpStack>>url:https://www.chirpstack.io/]], etc.//
266
267 [[image:image-20220616111932-2.png||height="516" width="672"]]
268
269
Xiaoling 69.5 270
Kilight Cao 23.1 271 === **3.3.2 LoRaWAN ~-~-> LoRaWAN Basic Station** ===
272
273
274 //This page is for the connection set up to the TTN Basic Station, AWS-IoT, etc.//
275
276 [[image:image-20220616113246-3.png||height="396" width="672"]]
277
278
279 Please see this instruction to know more detail and a demo for how to use of LoRaWAN Basic Station: __[[Use of LoRaWAN Basic Station - DRAGINO>>url:http://8.211.40.43/xwiki/bin/view/Main/Use%20of%20LoRaWAN%20Basic%20Station/]]__
280
281
Xiaoling 69.5 282
Kilight Cao 23.1 283 == **3.4 Network Settings** ==
284
285
286 === **3.4.1 Network ~-~-> WiFi** ===
287
288
289 [[image:image-20220616114756-4.png||height="251" width="669"]]
290
291
Xiaoling 69.5 292
Kilight Cao 23.1 293 === **3.4.2 Network ~-~-> System Status** ===
294
295
296 [[image:image-20220616115229-5.png||height="548" width="665"]]
297
298
Xiaoling 69.5 299
Kilight Cao 23.1 300 === **3.4.3 Network ~-~-> Firewall** ===
301
302
303 [[image:image-20220616115351-6.png||height="244" width="661"]]
304
305
Xiaoling 69.5 306
Kilight Cao 23.1 307 == **3.5 System** ==
308
309
310 === **3.5.1  System ~-~-> System Overview** ===
311
312
313 Shows the system info:
314
315
Xiaoling 69.5 316
Kilight Cao 23.1 317 === **3.5.2 System ~-~-> Backup/Restore** ===
318
319
320 [[image:image-20220616115808-7.png||height="194" width="649"]]
321
322
323
Xiaoye 60.1 324 = **4. Build-in LoRaWAN Network  Server ~-~- The Things Network - Stack (TTN-V3)** =
Xiaoye 53.1 325
326
Xiaoling 69.5 327 The default factory version of LPS8-V2 is installed with the Built-in LoRaWAN Server: (% style="color:blue" %)**The Things Network - Stack (Open Source 3.19 Version).**
Xiaoye 53.1 328
Xiaoling 69.5 329 You can access the gateway's built-in LNS server of **The Things Network - Stack **via the URL( (% style="background-color:yellow" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser.
Xiaoye 53.1 330
Kilight Cao 58.1 331
Xiaoling 69.5 332 Such as  (% style="background-color:yellow" %)__**//http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>//**__
Kilight Cao 58.1 333
334
Xiaoye 60.1 335 Login account:
Kilight Cao 59.1 336
Xiaoling 69.5 337 **User ID: ** ** (% style="background-color:yellow" %)admin(%%)**
Xiaoye 60.1 338
Xiaoling 69.5 339 **Password: ** ** (% style="background-color:yellow" %)dragino(%%)**
Xiaoye 60.1 340
341
Kilight Cao 57.1 342 [[image:image-20220725171719-1.png||height="570" width="769"]]
343
344
Xiaoling 69.5 345 (% style="color:red" %)**Note:  A portion of the sample devices that were not installed with Node-Red.
346 You can complete the installation manually with the following command.**
Kilight Cao 58.1 347
Xiaoling 69.5 348
Xiaoye 67.1 349 (% class="box infomessage" %)
350 (((
351 (% class="mark" %)cd /tmp && wget http:~/~/repo.dragino.com/release/tool/ttnstack/autoinstall_ttn-stack.sh
352
353 (% style="background-color:#fcf8e3" %)chmod +x /tmp/autoinstall_ttn-stack.sh && /tmp/autoinstall_ttn-stack.sh ttn-stack
354 )))
355
356
Xiaoling 69.5 357
Xiaoye 60.1 358 = **5. Build-in Application Server ~-~- Node-Red** =
Xiaoye 53.1 359
360
Xiaoye 60.1 361 The default factory version of LPS8-V2 is installed with the built-in Applicant server: **Node-Red.**
Kilight Cao 59.1 362
Xiaoye 60.1 363 You can access the gateway's built-in AS server of **Node-Red **via the URL((% class="mark" %)__**//http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> //**__(%%)) in your browser.
Kilight Cao 59.1 364
365
Xiaoye 60.1 366 Such as (% class="mark" %)__**//http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>//**__
367
Kilight Cao 57.1 368 [[image:image-20220725172124-3.png||height="610" width="843"]]
Xiaoye 53.1 369
370
371
Xiaoye 61.1 372 **Note:  (% class="mark" %)A portion of the sample devices that were not installed with Node-Red.
Xiaoye 64.1 373 You can complete the installation manually with the following command.(%%)**
Xiaoye 61.1 374
375
Xiaoye 64.1 376 (% class="box infomessage" %)
377 (((
Xiaoye 67.1 378 (% class="mark" %)cd /tmp && wget  http:~/~/repo.dragino.com/release/tool/nodered/autoinstall_nodered.sh
379 chmod +x /tmp/autoinstall_nodered.sh && /tmp/autoinstall_nodered.sh node-red
Xiaoye 64.1 380 )))
Xiaoye 61.1 381
Xiaoye 69.1 382 [[image:image-20220728102000-1.png]]
Xiaoye 61.1 383
384
Kilight Cao 23.1 385 (% style="color:inherit; font-family:inherit; font-size:29px" %)**10. Supports**
386
Kilight Cao 14.1 387 (((
388 **//If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].//**
389 )))
Xiaoye 8.1 390
Kilight Cao 14.1 391 (((
392 **//With your question as detailed as possible. We will reply and help you in the shortest.//**
Kilight Cao 15.1 393
Edwin Chen 50.1 394
395 = **11 Reference** =
396
Edwin Chen 52.1 397 * Install Tago Core: Refer **Install Tago Core in LPS8v2** in[[ Instruction>>doc:Main.Tago\.IO.WebHome]].
Edwin Chen 50.1 398
Kilight Cao 15.1 399
Kilight Cao 14.1 400 )))
Xiaoye 8.1 401
Edwin Chen 50.1 402 = **12. Order Info** =
Xiaoye 8.1 403
Edwin Chen 42.1 404 (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
Xiaoye 8.1 405
Kilight Cao 14.1 406 (% style="color:#0000ff" %)**XXX**(% style="color:black" %): Frequency Band
Xiaoye 8.1 407
408 * **AS923**: LoRaWAN AS923 band
409 * **AU915**: LoRaWAN AU915 band
410 * **EU868**: LoRaWAN EU868 band
411 * **KR920**: LoRaWAN KR920 band
412 * **US915**: LoRaWAN US915 band
413 * **IN865**: LoRaWAN IN865 band
414
Edwin Chen 42.1 415 (% style="color:#0000ff" %)**YYY**(% style="color:black" %): 4G Cellular Option
416
417 * ** E**: EMEA, Korea, Thailand, India.
418 * ** A**: North America/ Rogers/AT&T/T-Mobile.
419 * ** AU**: Latin America, New Zeland, Taiwan
420 * ** J**: Japan, DOCOMO/SoftBank/ KDDI
421
422 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
423
424
Edwin Chen 50.1 425 = **13. Manufacturer Info** =
Xiaoye 8.1 426
427 **Shenzhen Dragino Technology Development co. LTD**
428
429 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
430
431 LongCheng Street, LongGang District ; Shenzhen 518116,China
432
433
Edwin Chen 50.1 434 = **14. FCC Warning** =
Xiaoye 8.1 435
436 This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
437
438 ~-~- Reorient or relocate the receiving antenna.
439
440 ~-~- Increase the separation between the equipment and receiver.
441
442 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
443
444 ~-~- Consult the dealer or an experienced radio/TV technician for help.
445
446
447 Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
448
449
450 The antenna(s) used for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co-located or operating in conjunction with any other antenna or transmitter.
451 )))