Wiki source code of LPS8-V2

Version 42.1 by Edwin Chen on 2022/06/27 09:42

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