Wiki source code of LPS8v2 LoRaWAN Indoor Gateway

Version 48.1 by Edwin Chen on 2022/06/27 10:53

Hide last authors
Edwin Chen 43.1 1 [[image:image-20220620202334-2.png||height="467" width="809"]]
Xiaoye 4.1 2
3
4 (((
Kilight Cao 12.1 5 **LPS8v2 User Manual**
Xiaoye 4.1 6
7
8 )))
Xiaoye 5.1 9
10 **Table of Contents:**
11
12 {{toc/}}
13
Kilight Cao 11.1 14 = **1. Introduction** =
Xiaoye 5.1 15
Kilight Cao 12.1 16 == **1.1 What is LPS8v2** ==
Xiaoye 5.1 17
18 (((
Edwin Chen 44.1 19 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 20
Edwin Chen 44.1 21 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 22
Edwin Chen 44.1 23 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 24
Edwin Chen 43.1 25 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 26
Edwin Chen 44.1 27 LPS8v2 supports (% style="color:green" %)**remote management**(%%). System Integrator can easy to remote monitor the gateway and maintain it.
Edwin Chen 43.1 28
29
Kilight Cao 11.1 30 == **1.2 Specifications** ==
Xiaoye 6.2 31
32 **Hardware System:**
33
Edwin Chen 46.1 34 * CPU: Quad-core Cortex-A7 1.2Ghz
Xiaoye 6.2 35 * RAM: 512MB
36 * eMMC: 4GB
37
38 **Interface:**
39
40 * 10M/100M RJ45 Ports x 1
Edwin Chen 45.1 41 * Multi-Channel LoRaWAN Wireless
Edwin Chen 43.1 42 * WiFi 802.11 b/g/n
Xiaoye 6.2 43
44 **Operating Condition:**
45
46 * Work Temperature: -20 ~~ 65°C
47 * Storage Temperature: -20 ~~ 65°C
Edwin Chen 45.1 48 * Power Input: 5V, 2A, DC
Xiaoye 6.2 49
Kilight Cao 11.1 50 == **1.3 Features** ==
Xiaoye 6.2 51
52 * Open Source Debian system
53 * Managed by Web GUI, SSH via WAN or WiFi
Edwin Chen 45.1 54 * Remote Management
Xiaoye 6.2 55 * LoRaWAN Gateway
56 * 10 programmable parallel demodulation paths
Xiaoye 26.1 57 * Pre-configured to support different LoRaWAN regional settings.
Kilight Cao 11.1 58 * Allow customizing LoRaWAN regional parameters.
Edwin Chen 45.1 59 * Different kinds of LoRaWAN Connections such as
60 ** Semtech UDP Packet Forwarder
61 ** LoRaWAN Basic Station
62 ** ChirpStack-Gateway-Bridge (MQTT)
Xiaoye 26.1 63 * Built-in //**The Things Network**// local LoRaWAN server
64 * Built-in  //**Node-Red**// local Application server
Xiaoye 6.2 65
Kilight Cao 11.1 66 == **1.4 Block Diagram** ==
Xiaoye 6.2 67
68
Xiaoye 35.1 69 == **1.5 LED Indicators** ==
70
71 LPS8-V2 has totally four LEDs, They are:
72
73
74 //**➢ Power LED**: This RED LED will be solid if the device is properly powered//
75
76
77 //**➢ LoRa LED**: This RGB LED will blink GREEN when the LoRaWAN module starts or transmit a packet//
78
79
80 //**➢ SYS LED**: This RGB LED will show different colors in different states~://
81
82 // ✓ SOLID BLUE: The device is alive with a LoRaWAN server connection.//
83
84 // ✓ 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//
85
86 // ✓ SOLID RED: Device doesn’t have an Internet connection.//
87
88
89 //**➢ ETH LED**: This LED shows the ETH interface connection status.//
90
91
Xiaoye 26.1 92 = **2. Quick Start** =
Xiaoye 8.1 93
Xiaoye 26.1 94 The LPS8-V2 supports network access via Ethernet or Wi-Fi connection and runs without a network.
Xiaoye 8.1 95
Xiaoye 26.1 96 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network.
Xiaoye 8.1 97
98
Xiaoye 35.1 99 == **2.1 Connects to the network and accesses the gateway Web UI** ==
Xiaoye 8.1 100
101
Xiaoye 35.1 102 == **2.1.1 connect the network.** ==
Xiaoye 8.1 103
Xiaoye 35.1 104 === ===
Xiaoye 8.1 105
Xiaoye 35.1 106 === **Method 1**: Connect via Ethernet with DHCP IP from the router ===
Xiaoye 26.1 107
Xiaoye 35.1 108 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 109
Xiaoye 35.1 110 You can also use this IP to connect.
111
112 [[image:image-20220622100129-1.png||height="332" width="1263"]]
113
114
115 === **Method 2**: Connect via WiFi with DHCP IP from the router ===
116
117
118 [[image:image-20220622100542-2.png||height="369" width="1256"]]
119
120
121 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.
122
123
124 **Steps to connect via fallback IP:**
125
126 ~1. Connect PC’s Ethernet port to LPS8-V2's WAN port
127
128 2. Configure PC's Ethernet port has  IP: 172.31.255.253 and Netmask: 255.255.255.252
129
130 [[image:image-20220622101433-4.png]]
131
132
133 and then On the PC, use the IP address **http:~/~/172.31.255.254** to access the LPS8-V2 via Web or Console.
134
135
136 [[image:image-20220622102210-5.png||height="569" width="1039"]]
137
138
139 Fill in the WiFi information by checking the box and clicking **Save&Apply**
140
141
142 [[image:image-20220622102702-6.png]]
143
144
145 **Wi-Fi configuration successful**
146
147
148 [[image:image-20220622102847-7.png]]
149
150 [[image:image-20220622102901-8.png||height="513" width="1011"]]
151
152
153
154
Xiaoye 26.1 155 == **2.2 The LPS8-V2 is registered and connected to The Things Network** ==
156
157
Xiaoye 41.1 158 === **2.2.1 Select your area frequency** ===
Xiaoye 26.1 159
Xiaoye 41.1 160 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 161
Xiaoye 41.1 162 [[image:image-20220622103332-9.png]]
Xiaoye 26.1 163
164
Xiaoye 41.1 165 === **2.2.2 Get the only gateway EUI** ===
166
167 Every LPS8-V2 has a unique gateway id. The ID can be found on LoRaWAN Semtech page:
168
169 [[image:image-20220622103355-10.png]]
170
171
172 **Note: Choose the cluster that corresponds to a specific Gateway server address**
173
174 **➢ Europe 1:**  corresponding Gateway server address:  **eu1.cloud.thethings.network**
175
176 **➢ North America 1:**  corresponding Gateway server address:  **nam1.cloud.thethings.network**
177
178 **➢ Australia 1: ** corresponding Gateway server address:  **au1.cloud.thethings.network**
179
180 **➢ Legacy V2 Console:** TTN v2 shuts down in December 2021
181
182
183 [[image:image-20220622103956-12.png]]
184
185
186
187 == 2.2.3 Register the gateway to The Things Network ==
188
189 **Login to The Things Network**
190
191 [[https:~~/~~/console.cloud.thethings.network/>>https://console.cloud.thethings.network/]]
192
193 **Add the gateway**
194
195 [[image:image-20220622104252-13.png||height="511" width="953"]]
196
197
198 **Get it online**
199
200
Kilight Cao 15.1 201 = **3. Web Configure Pages** =
Xiaoye 8.1 202
203
Kilight Cao 15.1 204 == **3.1 Home** ==
Kilight Cao 11.1 205
Kilight Cao 23.1 206 //Shows the system running status~://
Kilight Cao 15.1 207
208 == **3.2 LoRa Settings** ==
209
210
Kilight Cao 23.1 211 === **3.2.1 LoRa ~-~-> LoRa** ===
Kilight Cao 15.1 212
213
Kilight Cao 23.1 214 //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 215
Kilight Cao 23.1 216 //Different LPS8v2 hardware versions can support different frequency ranges~://
Kilight Cao 15.1 217
Kilight Cao 23.1 218 * (% style="color:#0000ff" %)//**868**//(% style="color:black" %)//: valid frequency: 863Mhz ~~ 870Mhz. for bands EU868, RU864, IN865 or KZ865.//
219 * (% style="color:#0000ff" %)//**915**//(% style="color:black" %)//: valid frequency: 902Mhz ~~ 928Mhz. for bands US915, AU915, AS923 or KR920//
Xiaoye 8.1 220
Kilight Cao 23.1 221 (% class="wikigeneratedid" %)
222 //After the user choose the frequency plan,  the user can see the actual frequency is used by checking the page **LogRead ~-~-> LoRa Log**//
223
224 (% class="wikigeneratedid" %)
225 [[image:image-20220616110739-1.png||height="372" width="682"]]
226
227
228 //**Note ***: See this instruction for how to customize the frequency band~://
229
230 //__[[How to customized LoRaWAN frequency band - DRAGINO>>url:http://8.211.40.43/xwiki/bin/view/Main/How%20to%20customized%20LoRaWAN%20frequency%20band/]]__//
231
232
233 == **3.3 LoRaWAN Settings** ==
234
235
236 === **3.3.1 LoRaWAN ~-~-> LoRaWAN Semtech UDP** ===
237
238
239 //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.//
240
241 [[image:image-20220616111932-2.png||height="516" width="672"]]
242
243
244 === **3.3.2 LoRaWAN ~-~-> LoRaWAN Basic Station** ===
245
246
247 //This page is for the connection set up to the TTN Basic Station, AWS-IoT, etc.//
248
249 [[image:image-20220616113246-3.png||height="396" width="672"]]
250
251
252 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/]]__
253
254
255 == **3.4 Network Settings** ==
256
257
258 === **3.4.1 Network ~-~-> WiFi** ===
259
260
261 [[image:image-20220616114756-4.png||height="251" width="669"]]
262
263
264 === **3.4.2 Network ~-~-> System Status** ===
265
266
267 [[image:image-20220616115229-5.png||height="548" width="665"]]
268
269
270 === **3.4.3 Network ~-~-> Firewall** ===
271
272
273 [[image:image-20220616115351-6.png||height="244" width="661"]]
274
275
276 == **3.5 System** ==
277
278
279 === **3.5.1  System ~-~-> System Overview** ===
280
281
282 Shows the system info:
283
284
285 === **3.5.2 System ~-~-> Backup/Restore** ===
286
287
288 [[image:image-20220616115808-7.png||height="194" width="649"]]
289
290
291 3.5.3
292
293
294 (% style="color:inherit; font-family:inherit; font-size:29px" %)**10. Supports**
295
Kilight Cao 14.1 296 (((
297 **//If you are experiencing issues and can't solve them, you can send mail to [[support@dragino.com>>mailto:support@dragino.com]].//**
298 )))
Xiaoye 8.1 299
Kilight Cao 14.1 300 (((
301 **//With your question as detailed as possible. We will reply and help you in the shortest.//**
Kilight Cao 15.1 302
303
Kilight Cao 14.1 304 )))
Xiaoye 8.1 305
Kilight Cao 14.1 306 = **10. Order Info** =
Xiaoye 8.1 307
Edwin Chen 42.1 308 (% style="color:#0000ff" %)**LPS8v2-XXX-YYY**
Xiaoye 8.1 309
Kilight Cao 14.1 310 (% style="color:#0000ff" %)**XXX**(% style="color:black" %): Frequency Band
Xiaoye 8.1 311
312 * **AS923**: LoRaWAN AS923 band
313 * **AU915**: LoRaWAN AU915 band
314 * **EU868**: LoRaWAN EU868 band
315 * **KR920**: LoRaWAN KR920 band
316 * **US915**: LoRaWAN US915 band
317 * **IN865**: LoRaWAN IN865 band
318
Edwin Chen 42.1 319 (% style="color:#0000ff" %)**YYY**(% style="color:black" %): 4G Cellular Option
320
321 * ** E**: EMEA, Korea, Thailand, India.
322 * ** A**: North America/ Rogers/AT&T/T-Mobile.
323 * ** AU**: Latin America, New Zeland, Taiwan
324 * ** J**: Japan, DOCOMO/SoftBank/ KDDI
325
326 More info about valid bands, please see [[EC25-E product page>>url:https://www.quectel.com/product/ec25.htm]].
327
328
Kilight Cao 14.1 329 = **11. Manufacturer Info** =
Xiaoye 8.1 330
331 **Shenzhen Dragino Technology Development co. LTD**
332
333 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
334
335 LongCheng Street, LongGang District ; Shenzhen 518116,China
336
337
Kilight Cao 14.1 338 = **12. FCC Warning** =
Xiaoye 8.1 339
340 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:
341
342 ~-~- Reorient or relocate the receiving antenna.
343
344 ~-~- Increase the separation between the equipment and receiver.
345
346 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
347
348 ~-~- Consult the dealer or an experienced radio/TV technician for help.
349
350
351 Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
352
353
354 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.
355 )))