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

From version 66.2
edited by Xiaoling
on 2023/05/30 14:00
Change comment: There is no comment for this version
To version 64.1
edited by Xiaoling
on 2023/05/30 11:14
Change comment: Uploaded new attachment "image-20230530111412-4.png", version {1}

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
... ... @@ -33,9 +33,6 @@
33 33  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.
34 34  
35 35  
36 -[[image:image-20230530135919-1.png||height="404" width="806"]]
37 -
38 -
39 39  == 1.2 ​Features ==
40 40  
41 41  
... ... @@ -53,7 +53,6 @@
53 53  * Downlink to change configure
54 54  * 8500mAh Battery for long term use
55 55  
56 -
57 57  == 1.3 Specification ==
58 58  
59 59  
... ... @@ -82,7 +82,6 @@
82 82  * Sleep Mode: 5uA @ 3.3v
83 83  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
84 84  
85 -
86 86  == 1.4 Applications ==
87 87  
88 88  
... ... @@ -90,7 +90,6 @@
90 90  * Pulse meter application
91 91  * Dry Contact Detection
92 92  
93 -
94 94  == 1.5 Sleep mode and working mode ==
95 95  
96 96  
... ... @@ -118,7 +118,6 @@
118 118  )))
119 119  |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
120 120  
121 -
122 122  == 1.7 BLE connection ==
123 123  
124 124  
... ... @@ -158,7 +158,6 @@
158 158  
159 159  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.
160 160  
161 -(% style="display:none" %) (%%)
162 162  
163 163  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
164 164  
... ... @@ -167,9 +167,7 @@
167 167  
168 168  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.
169 169  
170 -[[image:image-20230530135929-2.png||height="404" width="806"]](% style="display:none" %)
171 171  
172 -
173 173  (% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from CPL03-LB.
174 174  
175 175  Each CPL03-LB is shipped with a sticker with the default device EUI as below:
... ... @@ -323,7 +323,7 @@
323 323  )))
324 324  
325 325  (((
326 -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"]]
327 327  
328 328  
329 329  )))
... ... @@ -340,10 +340,10 @@
340 340  (% style="color:blue" %)** If Trigger mode = 1**(%%), count open to close event.
341 341  )))
342 342  
343 -[[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"]]
344 344  
345 345  
346 -[[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"]]
347 347  
348 348  
349 349  === 2.3.3 Real-Time Open/Close Status, Uplink FPORT~=2 ===
... ... @@ -357,7 +357,7 @@
357 357  
358 358  (((
359 359  (((
360 -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"]].
361 361  )))
362 362  )))
363 363  
... ... @@ -370,7 +370,7 @@
370 370  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
371 371  |=(% colspan="5" style="background-color:#D9E2F3;color:#0070C0; width: 520px;" %)**Real-Time Open/Close Status, FPORT=2**
372 372  |(% style="width:60px" %)**Size(bytes)**|(% style="width:65px" %)**1**|(% style="width:65px" %)**3**|(% style="width:240px" %)**3**|(% style="width:90px" %)**4**
373 -|(% 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"]]
374 374  
375 375  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
376 376  |=(% colspan="4" style="background-color:#D9E2F3;color:#0070C0; width: 502px;" %)**Status & Alarm field**
... ... @@ -398,7 +398,7 @@
398 398  )))
399 399  
400 400  (((
401 -Refer: [[Set Calculate Flag>>||anchor="H3.3.8Setthecalculateflag"]]
391 +Refer: [[Set Calculate Flag>>||anchor="H3.9Setthecalculateflag"]]
402 402  
403 403  
404 404  )))
... ... @@ -408,7 +408,7 @@
408 408  )))
409 409  
410 410  (((
411 -See [[Alarm Base on Timeout>>||anchor="H3.3.5AlarmBaseonTimeout"]]
401 +See [[Alarm Base on Timeout>>||anchor="H3.5AlarmBaseonTimeout"]]
412 412  
413 413  
414 414  )))
... ... @@ -453,7 +453,7 @@
453 453  Unit: min.
454 454  )))
455 455  
456 -[[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"]]
457 457  
458 458  
459 459  === 2.3.4 Real-Time Open/Close Status, 3 pulse mode, Uplink FPORT~=6 ===
... ... @@ -467,12 +467,12 @@
467 467  
468 468  (% style="color:blue" %)**CPL03-LB 3 Pulse Wiring:**
469 469  
470 -[[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"]]
471 471  
472 472  
473 473  (% style="color:blue" %)**Payload:**
474 474  
475 -[[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"]]
476 476  
477 477  
478 478  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:447px" %)
... ... @@ -547,7 +547,7 @@
547 547  
548 548  
549 549  (((
550 -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"]].
551 551  )))
552 552  
553 553  (((
... ... @@ -591,7 +591,7 @@
591 591  **0x31 61 E9 3A D4 61 E9 3D E0 05**
592 592  )))
593 593  
594 -[[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"]]
595 595  
596 596  
597 597  (% style="color:blue" %)** Uplink:**
... ... @@ -655,7 +655,7 @@
655 655  
656 656  )))
657 657  
658 -[[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]]
659 659  
660 660  
661 661  == 2.4 Payload Decoder file ==
... ... @@ -675,7 +675,7 @@
675 675  === 2.5.1 Ways to get datalog via LoRaWAN ===
676 676  
677 677  
678 -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.
679 679  
680 680  * (((
681 681  a) CPL03-LB will do an ACK check for data records sending to make sure every data arrive server.
... ... @@ -716,6 +716,7 @@
716 716  (% 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.**
717 717  
718 718  
709 +
719 719  === 2.5.4 Poll sensor value ===
720 720  
721 721  
... ... @@ -731,7 +731,7 @@
731 731  )))
732 732  
733 733  (((
734 -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]]
735 735  )))
736 736  
737 737  (((
... ... @@ -763,6 +763,7 @@
763 763  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
764 764  
765 765  
757 +
766 766  == 3.2 General Commands ==
767 767  
768 768  
... ... @@ -902,7 +902,7 @@
902 902  )))
903 903  
904 904  (((
905 -If** keep time = 0**, Disable Alarm Base on Timeout feature.
897 +If** keep time = 0**, Disable Alarm Base on Timeout feature.
906 906  )))
907 907  
908 908  (((
... ... @@ -978,6 +978,7 @@
978 978  
979 979  
980 980  
973 +
981 981  === 3.3.7 Set trigger mode ===
982 982  
983 983  
... ... @@ -1005,6 +1005,7 @@
1005 1005  * **Example**: 0xA401  ~/~/  Same as AT+ TTRMOD =1
1006 1006  
1007 1007  
1001 +
1008 1008  === 3.3.8 Set the calculate flag ===
1009 1009  
1010 1010  
... ... @@ -1021,7 +1021,6 @@
1021 1021  
1022 1022  * **Example**: 0XA501  ~/~/  Same as AT+CALCFLAG =1
1023 1023  
1024 -
1025 1025  === 3.3.9 Set count number ===
1026 1026  
1027 1027  
... ... @@ -1040,7 +1040,6 @@
1040 1040  
1041 1041  * **Example**: 0xA6000064  ~/~/  Same as AT+ SETCNT =100
1042 1042  
1043 -
1044 1044  === 3.3.10 Set Interrupt Mode ===
1045 1045  
1046 1046  
... ... @@ -1076,6 +1076,7 @@
1076 1076  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
1077 1077  
1078 1078  
1071 +
1079 1079  === 3.3.11 Set Power Output Duration ===
1080 1080  
1081 1081  
... ... @@ -1106,6 +1106,7 @@
1106 1106  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1107 1107  
1108 1108  
1102 +
1109 1109  = 4. Battery & Power Consumption =
1110 1110  
1111 1111  
... ... @@ -1128,6 +1128,7 @@
1128 1128  
1129 1129  Firmware and changelog can be downloaded from : **[[Firmware download link>>url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**
1130 1130  
1125 +
1131 1131  Methods to Update Firmware:
1132 1132  
1133 1133  * (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/]]
... ... @@ -1134,7 +1134,6 @@
1134 1134  
1135 1135  * Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
1136 1136  
1137 -
1138 1138  = 6. FAQ =
1139 1139  
1140 1140  == 6.1  AT Commands input doesn't work ==
... ... @@ -1166,7 +1166,6 @@
1166 1166  
1167 1167  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1168 1168  
1169 -
1170 1170  = 8. ​Packing Info =
1171 1171  
1172 1172  
... ... @@ -1184,7 +1184,6 @@
1184 1184  
1185 1185  * Weight / pcs : g
1186 1186  
1187 -
1188 1188  = 9. Support =
1189 1189  
1190 1190  
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