Last modified by Mengting Qiu on 2023/12/14 11:15

From version 67.2
edited by Xiaoling
on 2023/05/30 14:01
Change comment: There is no comment for this version
To version 62.9
edited by Xiaoling
on 2023/05/30 10:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -SW3L-LB -- LoRaWAN Flow Sensor User Manual
1 +CPL03-LB -- LoRaWAN Pulse/Contact Sensor User Manual
Content
... ... @@ -1,10 +1,7 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20230530140053-1.jpeg||height="645" width="645"]]
2 +[[image:image-20230530084608-2.jpeg||height="707" width="707"]]
3 3  
4 4  
5 -
6 -
7 -
8 8  **Table of Contents:**
9 9  
10 10  {{toc/}}
... ... @@ -36,9 +36,6 @@
36 36  Each CPL03-LB is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
37 37  
38 38  
39 -[[image:image-20230530135919-1.png||height="404" width="806"]]
40 -
41 -
42 42  == 1.2 ​Features ==
43 43  
44 44  
... ... @@ -157,7 +157,6 @@
157 157  
158 158  The CPL03-LB is configured as (% style="color:#037691" %)**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 press the button to activate the CPL03-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
159 159  
160 -(% style="display:none" %) (%%)
161 161  
162 162  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
163 163  
... ... @@ -166,9 +166,7 @@
166 166  
167 167  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.
168 168  
169 -[[image:image-20230530135929-2.png||height="404" width="806"]](% style="display:none" %)
170 170  
171 -
172 172  (% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from CPL03-LB.
173 173  
174 174  Each CPL03-LB is shipped with a sticker with the default device EUI as below:
... ... @@ -322,7 +322,7 @@
322 322  )))
323 323  
324 324  (((
325 -Shows the configure value of [[Alarm Base on Timeout Feature>>||anchor="H3.3.5AlarmBaseonTimeout"]]
316 +Shows the configure value of [[Alarm Base on Timeout Feature>>||anchor="H3.5AlarmBaseonTimeout"]]
326 326  
327 327  
328 328  )))
... ... @@ -339,10 +339,10 @@
339 339  (% style="color:blue" %)** If Trigger mode = 1**(%%), count open to close event.
340 340  )))
341 341  
342 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652860064987-743.png?width=730&height=152&rev=1.1||alt="1652860064987-743.png"]]
333 +[[image:1652860064987-743.png||height="152" width="730"]]
343 343  
344 344  
345 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652860079526-831.png?width=729&height=209&rev=1.1||alt="1652860079526-831.png"]]
336 +[[image:1652860079526-831.png||height="209" width="729"]]
346 346  
347 347  
348 348  === 2.3.3 Real-Time Open/Close Status, Uplink FPORT~=2 ===
... ... @@ -356,7 +356,7 @@
356 356  
357 357  (((
358 358  (((
359 -periodically send this uplink every 2 hours, this interval [[can be changed>>||anchor="H3.3.1SetTransmitIntervalTime"]].
350 +periodically send this uplink every 2 hours, this interval [[can be changed>>||anchor="H3.1SetTransmitIntervalTime"]].
360 360  )))
361 361  )))
362 362  
... ... @@ -369,7 +369,7 @@
369 369  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
370 370  |=(% colspan="5" style="background-color:#D9E2F3;color:#0070C0; width: 520px;" %)**Real-Time Open/Close Status, FPORT=2**
371 371  |(% style="width:60px" %)**Size(bytes)**|(% style="width:65px" %)**1**|(% style="width:65px" %)**3**|(% style="width:240px" %)**3**|(% style="width:90px" %)**4**
372 -|(% style="width:101px" %)**Value**|(% style="width:133px" %)Status & [[Alarm>>||anchor="H3.3.5AlarmBaseonTimeout"]]|(% style="width:92px" %)Total pulse|(% style="width:247px" %)The last open duration (unit: min)|(% style="width:149px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]
363 +|(% style="width:101px" %)**Value**|(% style="width:133px" %)Status & [[Alarm>>||anchor="H3.5AlarmBaseonTimeout"]]|(% style="width:92px" %)Total pulse|(% style="width:247px" %)The last open duration (unit: min)|(% style="width:149px" %)[[Unix TimeStamp>>||anchor="H2.4.1UnixTimeStamp"]]
373 373  
374 374  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
375 375  |=(% colspan="4" style="background-color:#D9E2F3;color:#0070C0; width: 502px;" %)**Status & Alarm field**
... ... @@ -397,7 +397,7 @@
397 397  )))
398 398  
399 399  (((
400 -Refer: [[Set Calculate Flag>>||anchor="H3.3.8Setthecalculateflag"]]
391 +Refer: [[Set Calculate Flag>>||anchor="H3.9Setthecalculateflag"]]
401 401  
402 402  
403 403  )))
... ... @@ -407,7 +407,7 @@
407 407  )))
408 408  
409 409  (((
410 -See [[Alarm Base on Timeout>>||anchor="H3.3.5AlarmBaseonTimeout"]]
401 +See [[Alarm Base on Timeout>>||anchor="H3.5AlarmBaseonTimeout"]]
411 411  
412 412  
413 413  )))
... ... @@ -452,7 +452,7 @@
452 452  Unit: min.
453 453  )))
454 454  
455 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652860403792-491.png?width=735&height=153&rev=1.1||alt="1652860403792-491.png"]]
446 +[[image:1652860403792-491.png||height="153" width="735"]]
456 456  
457 457  
458 458  === 2.3.4 Real-Time Open/Close Status, 3 pulse mode, Uplink FPORT~=6 ===
... ... @@ -466,12 +466,12 @@
466 466  
467 467  (% style="color:blue" %)**CPL03-LB 3 Pulse Wiring:**
468 468  
469 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20221013153352-1.png?width=720&height=628&rev=1.1||alt="image-20221013153352-1.png"]]
460 +[[image:image-20221013153352-1.png||height="628" width="720"]]
470 470  
471 471  
472 472  (% style="color:blue" %)**Payload:**
473 473  
474 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20221013153352-2.png?width=1215&height=167&rev=1.1||alt="image-20221013153352-2.png"]]
465 +[[image:image-20221013153352-2.png||height="167" width="1215"]]
475 475  
476 476  
477 477  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:447px" %)
... ... @@ -546,7 +546,7 @@
546 546  
547 547  
548 548  (((
549 -CPL03-LB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5DatalogFeature"]].
540 +CPL03-LB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.4DatalogFeature"]].
550 550  )))
551 551  
552 552  (((
... ... @@ -590,7 +590,7 @@
590 590  **0x31 61 E9 3A D4 61 E9 3D E0 05**
591 591  )))
592 592  
593 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861353248-624.png?width=720&height=189&rev=1.1||alt="1652861353248-624.png"]]
584 +[[image:1652861353248-624.png||height="189" width="720"]]
594 594  
595 595  
596 596  (% style="color:blue" %)** Uplink:**
... ... @@ -654,7 +654,7 @@
654 654  
655 655  )))
656 656  
657 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861480446-216.png?rev=1.1||alt="1652861480446-216.png"]]
648 +[[image:1652861480446-216.png]]
658 658  
659 659  
660 660  == 2.4 Payload Decoder file ==
... ... @@ -674,7 +674,7 @@
674 674  === 2.5.1 Ways to get datalog via LoRaWAN ===
675 675  
676 676  
677 -Set PNACKMD=1, CPL03-LB will wait for ACK for every uplink, when there is no LoRaWAN network,CPL03-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
668 +Set [[PNACKMD=1>>||anchor="H2.5.4DatalogUplinkpayload28FPORT3D329"]], CPL03-LB will wait for ACK for every uplink, when there is no LoRaWAN network,CPL03-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
678 678  
679 679  * (((
680 680  a) CPL03-LB will do an ACK check for data records sending to make sure every data arrive server.
... ... @@ -715,6 +715,7 @@
715 715  (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
716 716  
717 717  
709 +
718 718  === 2.5.4 Poll sensor value ===
719 719  
720 720  
... ... @@ -730,7 +730,7 @@
730 730  )))
731 731  
732 732  (((
733 -For example, downlink command [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20220518162852-1.png?rev=1.1||alt="image-20220518162852-1.png"]]
725 +For example, downlink command[[image:image-20220518162852-1.png]]
734 734  )))
735 735  
736 736  (((
... ... @@ -761,6 +761,8 @@
761 761  * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
762 762  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
763 763  
756 +
757 +
764 764  == 3.2 General Commands ==
765 765  
766 766  
... ... @@ -900,7 +900,7 @@
900 900  )))
901 901  
902 902  (((
903 -If** keep time = 0**, Disable Alarm Base on Timeout feature.
897 +If** keep time = 0**, Disable Alarm Base on Timeout feature.
904 904  )))
905 905  
906 906  (((
... ... @@ -976,6 +976,7 @@
976 976  
977 977  
978 978  
973 +
979 979  === 3.3.7 Set trigger mode ===
980 980  
981 981  
... ... @@ -1002,6 +1002,8 @@
1002 1002  
1003 1003  * **Example**: 0xA401  ~/~/  Same as AT+ TTRMOD =1
1004 1004  
1000 +
1001 +
1005 1005  === 3.3.8 Set the calculate flag ===
1006 1006  
1007 1007  
... ... @@ -1070,6 +1070,8 @@
1070 1070  
1071 1071  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
1072 1072  
1070 +
1071 +
1073 1073  === 3.3.11 Set Power Output Duration ===
1074 1074  
1075 1075  
... ... @@ -1099,6 +1099,8 @@
1099 1099  
1100 1100  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1101 1101  
1101 +
1102 +
1102 1102  = 4. Battery & Power Consumption =
1103 1103  
1104 1104  
... ... @@ -1121,6 +1121,7 @@
1121 1121  
1122 1122  Firmware and changelog can be downloaded from : **[[Firmware download link>>url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**
1123 1123  
1125 +
1124 1124  Methods to Update Firmware:
1125 1125  
1126 1126  * (Recommanded way) OTA firmware update via wireless:   [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]
image-20230530111051-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -85.1 KB
Content
image-20230530111412-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -85.0 KB
Content
image-20230530135919-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -87.6 KB
Content
image-20230530135929-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -87.6 KB
Content
image-20230530140053-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.3 MB
Content