Wiki source code of LPS8-V2

Version 41.1 by Xiaoye on 2022/06/22 10:58

Show last authors
1 [[image:image-20220620202334-2.png]]
2
3
4 (((
5 **LPS8v2 User Manual**
6
7
8 )))
9
10 **Table of Contents:**
11
12 {{toc/}}
13
14 = **1. Introduction** =
15
16 == **1.1 What is LPS8v2** ==
17
18 (((
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
25 == **1.2 Specifications** ==
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
50 == **1.3 Features** ==
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
58 * Pre-configured to support different LoRaWAN regional settings.
59 * Allow customizing LoRaWAN regional parameters.
60 * Support Local decode ABP end node info and transfer to MQTT server
61 * Support different level login.
62 * Built-in //**The Things Network**// local LoRaWAN server
63 * Built-in  //**Node-Red**// local Application server
64 * Built-in local //**Chirpstack-gateway-bridge**//
65
66 World Widely. Include US and EU
67
68 == **1.4 Block Diagram** ==
69
70
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
94 = **2. Quick Start** =
95
96 The LPS8-V2 supports network access via Ethernet or Wi-Fi connection and runs without a network.
97
98 In most cases, the first thing you need to do is make the lps8-v2 accessible to the network.
99
100
101 == **2.1 Connects to the network and accesses the gateway Web UI** ==
102
103
104 == **2.1.1 connect the network.** ==
105
106 === ===
107
108 === **Method 1**: Connect via Ethernet with DHCP IP from the router ===
109
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.
111
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
157 == **2.2 The LPS8-V2 is registered and connected to The Things Network** ==
158
159
160 === **2.2.1 Select your area frequency** ===
161
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.
163
164 [[image:image-20220622103332-9.png]]
165
166
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
203 = **3. Web Configure Pages** =
204
205
206 == **3.1 Home** ==
207
208 //Shows the system running status~://
209
210 == **3.2 LoRa Settings** ==
211
212
213 === **3.2.1 LoRa ~-~-> LoRa** ===
214
215
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.//
217
218 //Different LPS8v2 hardware versions can support different frequency ranges~://
219
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//
222
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
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 )))
301
302 (((
303 **//With your question as detailed as possible. We will reply and help you in the shortest.//**
304
305
306 )))
307
308 = **10. Order Info** =
309
310 (% style="color:#0000ff" %)**LPS8v2-XXX**
311
312 (% style="color:#0000ff" %)**XXX**(% style="color:black" %): Frequency Band
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
321 = **11. Manufacturer Info** =
322
323 **Shenzhen Dragino Technology Development co. LTD**
324
325 Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad
326
327 LongCheng Street, LongGang District ; Shenzhen 518116,China
328
329
330 = **12. FCC Warning** =
331
332 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:
333
334 ~-~- Reorient or relocate the receiving antenna.
335
336 ~-~- Increase the separation between the equipment and receiver.
337
338 ~-~- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
339
340 ~-~- Consult the dealer or an experienced radio/TV technician for help.
341
342
343 Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
344
345
346 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.
347 )))