<
From version < 26.1 >
edited by Xiaoling
on 2023/01/31 13:49
To version < 35.1 >
edited by Xiaoling
on 2023/01/31 14:04
>
Change comment: Uploaded new attachment "1675145051360-659.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -197,7 +197,7 @@
197 197  [[image:1675071855856-879.png]]
198 198  
199 199  
200 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:black; width:510px" %)
200 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
201 201  |(% style="width:138px" %)**Behavior on ACT**|(% style="width:100px" %)**Function**|**Action**
202 202  |(% style="width:138px" %)Pressing ACT between 1s < time < 3s|(% style="width:100px" %)Send an uplink|(((
203 203  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, **blue led** will blink once.
... ... @@ -244,21 +244,28 @@
244 244  [[image:1675143884058-338.png]]
245 245  
246 246  
247 +[[image:1675143899218-599.png]]
247 247  
248 248  
249 -1. Configure PS-LB to connect to LoRaWAN network
250 -11. How it works
250 +[[image:1675143909447-639.png]]
251 251  
252 +
253 += 2. Configure PS-LB to connect to LoRaWAN network =
254 +
255 +== 2.1 How it works ==
256 +
257 +
252 252  The PS-LB is configured as **LoRaWAN OTAA Class A** mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the PS-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
253 253  
254 254  
255 -1.
256 -11. ​Quick guide to connect to LoRaWAN server (OTAA)
257 257  
262 +== 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
263 +
264 +
258 258  Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
259 259  
260 260  
261 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
268 +[[image:1675144005218-297.png]]
262 262  
263 263  
264 264  The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
... ... @@ -268,58 +268,47 @@
268 268  
269 269  Each PS-LB is shipped with a sticker with the default device EUI as below:
270 270  
278 +[[image:image-20230131134744-2.jpeg]]
271 271  
272 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png]]
273 273  
274 274  
275 -
276 -
277 -
278 278  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
279 279  
280 280  
281 281  **Register the device**
282 282  
283 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]]
287 +[[image:1675144099263-405.png]]
284 284  
285 285  
286 286  **Add APP EUI and DEV EUI**
287 287  
292 +[[image:1675144117571-832.png]]
288 288  
289 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]]
290 290  
291 -
292 292  **Add APP EUI in the application**
293 293  
294 294  
295 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]]
298 +[[image:1675144143021-195.png]]
296 296  
297 297  
298 298  **Add APP KEY**
299 299  
300 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]]
303 +[[image:1675144157838-392.png]]
301 301  
302 -
303 303  **Step 2**: Activate on PS-LB
304 304  
305 305  
306 306  Press the button for 5 seconds to activate the PS-LB.
307 307  
308 -
309 309  **Green led** will fast blink 5 times, device will enter **OTA mode** for 3 seconds. And then start to JOIN LoRaWAN network. **Green led** will solidly turn on for 5 seconds after joined in network.
310 310  
311 -
312 312  After join success, it will start to upload messages to TTN and you can see the messages in the panel.
313 313  
314 314  
315 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]
316 316  
316 +== 2.3 ​Uplink Payload ==
317 317  
318 318  
319 -
320 -1.
321 -11. ​Uplink Payload
322 -
323 323  Uplink payloads have two types:
324 324  
325 325  * Distance Value: Use FPORT=2
... ... @@ -328,27 +328,24 @@
328 328  The application server should parse the correct value based on FPORT settings.
329 329  
330 330  
327 +=== 2.3.1 Device Status, FPORT~=5 ===
331 331  
332 -1.
333 -11.
334 -111. Device Status, FPORT=5
335 335  
336 336  Include device configure status. Once PS-LB Joined the network, it will uplink this message to the server.
337 337  
338 -
339 339  Users can also use the downlink command(0x26 01) to ask PS-LB to resend this uplink.
340 340  
341 341  
335 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
342 342  |(% colspan="6" %)**Device Status (FPORT=5)**
343 -|**Size (bytes)**|**1**|**2**|**1**|**1**|**2**
344 -|**Value**|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT
337 +|(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|**1**|**1**|**2**
338 +|(% style="width:103px" %)**Value**|(% style="width:72px" %)Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT
345 345  
346 346  Example parse in TTNv3
347 347  
348 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]
342 +[[image:1675144504430-490.png]]
349 349  
350 350  
351 -
352 352  **Sensor Model**: For PS-LB, this value is 0x16
353 353  
354 354  **Firmware Version**: 0x0100, Means: v1.0.0 version
... ... @@ -402,14 +402,13 @@
402 402  Ex2: 0x0B49 = 2889mV
403 403  
404 404  
398 +=== 1.3.2 Sensor value, FPORT~=2 ===
405 405  
406 -1.
407 -11.
408 -111. Sensor value, FPORT=2
409 409  
410 410  Uplink payload includes in total 9 bytes.
411 411  
412 412  
404 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
413 413  |(((
414 414  **Size**
415 415  
... ... @@ -977,3 +977,4 @@
977 977  
978 978  [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]
979 979  
972 +
1675144504430-490.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +37.2 KB
Content
1675144608950-310.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +31.5 KB
Content
1675144839454-913.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +59.2 KB
Content
1675144951092-237.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +62.2 KB
Content
1675144960452-126.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +66.6 KB
Content
1675145004465-869.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +112.9 KB
Content
1675145018212-853.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +199.6 KB
Content
1675145029119-717.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +77.6 KB
Content
1675145051360-659.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +49.2 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0