Changes for page wiki_test

Last modified by Mengting Qiu on 2024/09/05 17:35

From version 101.25
edited by Xiaoling
on 2023/10/10 17:10
Change comment: There is no comment for this version
To version 101.36
edited by Xiaoling
on 2023/10/11 09:18
Change comment: Update document after refactoring.

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -SW3L-NB -- NB-IoT Flow Sensor User Manual
1 +DS03A-NB_NB-IoT_Door_Sensor_User_Manual
Content
... ... @@ -53,6 +53,8 @@
53 53  * 8500mAh Battery for long term use
54 54  * Nano SIM card slot for NB-IoT SIM
55 55  
56 +
57 +
56 56  == 1.3 Specification ==
57 57  
58 58  
... ... @@ -101,6 +101,7 @@
101 101  (% class="wikigeneratedid" id="H1.4Ratedenvironmentalconditions" %)
102 102  (% style="display:none" %) (%%)
103 103  
106 +
104 104  == 1.4 Flow Sensor Spec ==
105 105  
106 106  
... ... @@ -113,6 +113,7 @@
113 113  )))
114 114  
115 115  
119 +
116 116  == 1.5 Applications ==
117 117  
118 118  
... ... @@ -121,6 +121,8 @@
121 121  * Toilet Flow Sensor
122 122  * Monitor Waste water
123 123  
128 +
129 +
124 124  == 1.6 Sleep mode and working mode ==
125 125  
126 126  
... ... @@ -148,6 +148,8 @@
148 148  )))
149 149  |(% 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.
150 150  
157 +
158 +
151 151  == 1.8 BLE connection ==
152 152  
153 153  
... ... @@ -297,7 +297,7 @@
297 297  
298 298  This is the General Json Format. As below:
299 299  
300 -(% style="color:#4472c4" %)**{"IMEI":"866207058378443","Model":"SW3L-NB","distance":217,"battery":3.54,"signal":24,"1":{221,2023/09/20 09:47:01},"2":{0,2023/09/20 09:15:04},"3":{0,2023/09/20 09:00:04},"4":{0,2023/09/20 08:45:03},"5":{0,2023/09/20 08:30:03},"6":{0,2023/09/20 08:15:03},"7":{0,2023/09/20 08:00:04},"8":{0,2023/09/20 07:45:04}}**
308 +(% style="color:#4472c4" %)**{"IMEI":"866207058378443","Model":"SW3L-NB","flow":217,"battery":3.54,"signal":24,"1":{221,2023/09/20 09:47:01},"2":{0,2023/09/20 09:15:04},"3":{0,2023/09/20 09:00:04},"4":{0,2023/09/20 08:45:03},"5":{0,2023/09/20 08:30:03},"6":{0,2023/09/20 08:15:03},"7":{0,2023/09/20 08:00:04},"8":{0,2023/09/20 07:45:04}}**
301 301  
302 302  
303 303  [[image:image-20230920175015-3.png||height="613" width="890"]]
... ... @@ -307,8 +307,10 @@
307 307  
308 308  * Distance , Battery & Signal are the value at uplink time.
309 309  
310 -* Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right): Distance, Sampling time.
318 +* Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right): Water Flow, Sampling time.
311 311  
320 +
321 +
312 312  === 2.2.2 HEX format Payload(Type~=0) ===
313 313  
314 314  
... ... @@ -328,7 +328,7 @@
328 328  
329 329  These bytes include the hardware and software version.
330 330  
331 -(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x0b for SW3L-NB
341 +(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x11 for SW3L-NB
332 332  
333 333  (% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 1.0.0
334 334  
... ... @@ -355,11 +355,6 @@
355 355  **99**    Not known or not detectable
356 356  
357 357  
358 -(% style="color:blue" %)**Distance:  **
359 -
360 -Ex1: 0x03a4 = 932 mm
361 -
362 -
363 363  (% style="color:blue" %)**Timestamp:   **
364 364  
365 365  Unit Timestamp Example: 650abc40(H) = 1695202368(D)
... ... @@ -372,7 +372,7 @@
372 372  
373 373  Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
374 374  
375 -(% style="color:#4472c4" %)** {"IMEI": "866207058378443","Model": "SW3L","distance": 502,"battery": 3.57,"signal": 23}**
380 +(% style="color:#4472c4" %)** {"IMEI": "866207058378443","Model": "SW3L","flow": 502,"battery": 3.57,"signal": 23}**
376 376  
377 377  [[image:image-20230922094043-2.png||height="558" width="851"]]
378 378  
... ... @@ -387,7 +387,7 @@
387 387  
388 388  As below:
389 389  
390 -(% style="color:#4472c4" %)**field1=Distance value&field2=Battery value&field3=Singal value**
395 +(% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3=Singal value**
391 391  
392 392  [[image:image-20230921104741-1.png||height="565" width="826"]]
393 393  
... ... @@ -400,12 +400,12 @@
400 400  SW3L-NB will only send this command after getting the downlink command **(0x26 02)** from the server.
401 401  
402 402  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
403 -|(% style="background-color:#4F81BD;color:white; width:70px" %) **Size(bytes)**|(% style="background-color:#4F81BD;color:white; width:105px" %)**3**|(% style="background-color:#4F81BD;color:white; width:60px" %)**1**|(% style="background-color:#4F81BD;color:white; width:96px" %)**1**|(% style="background-color:#4F81BD;color:white; width:105px" %)**2**|(% style="background-color:#4F81BD;color:white; width:74px" %)**1**
408 +|(% style="background-color:#4f81bd; color:white; width:70px" %) **Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:105px" %)**3**|(% style="background-color:#4f81bd; color:white; width:60px" %)**1**|(% style="background-color:#4f81bd; color:white; width:96px" %)**1**|(% style="background-color:#4f81bd; color:white; width:105px" %)**2**|(% style="background-color:#4f81bd; color:white; width:74px" %)**1**
404 404  |**Value**|(% style="width:104px" %)TDC(unit:sec)|(% style="width:43px" %)N/A|(% style="width:91px" %)Stop Timer|(% style="width:100px" %)Alarm Timer|(% style="width:69px" %)Reserve
405 405  
406 406  Example parse in TTNv3
407 407  
408 -[[image:image-20230614172555-4.png||height="151" width="853"]]
413 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L-LB_LoRaWAN_Flow_Sensor_User_Manual/WebHome/image-20230614172555-4.png?width=853&height=151&rev=1.1||alt="image-20230614172555-4.png"]]
409 409  
410 410  
411 411  * (% style="color:blue" %)**TDC: (default: 0x0004B0)**
... ... @@ -440,21 +440,21 @@
440 440  Total pulse Or Last Pulse
441 441  )))|(% style="width:78px" %)(((
442 442  MOD & PA4_status & PB15_status
443 -)))|(% style="width:92px" %)Reserve(0x01)|(% style="width:134px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]
448 +)))|(% style="width:92px" %)Reserve(0x01)|(% style="width:134px" %)Unix TimeStamp
444 444  
445 445  **Calculate Flag & Alarm:**
446 446  
447 447  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
448 -|(% style="background-color:#4F81BD;color:white; width:70px" %)**Size(bit)**|(% style="background-color:#4F81BD;color:white; width:70px" %)**[bit7:bit6]**|(% style="background-color:#4F81BD;color:white; width:90px" %)**[bit5:bit2]**|(% style="background-color:#4F81BD;color:white; width:140px" %)**bit1**|(% style="background-color:#4F81BD;color:white; width:130px" %)**bit0**
453 +|(% style="background-color:#4f81bd; color:white; width:70px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:70px" %)**[bit7:bit6]**|(% style="background-color:#4f81bd; color:white; width:90px" %)**[bit5:bit2]**|(% style="background-color:#4f81bd; color:white; width:140px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:130px" %)**bit0**
449 449  |(% style="width:88px" %)**Value**|(% style="width:117px" %)Reserve|(% style="width:117px" %)Calculate Flag|(% style="width:169px" %)Alarm: 0: No Alarm; 1: Alarm|(% style="width:150px" %)TDC flag 0:No;1:Yes
450 450  
451 451  **MOD & PA4_status & PB15_status:**
452 452  
453 453  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:230px" %)
454 -|(% style="background-color:#4F81BD;color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4F81BD;color:white; width:60px" %)**bit7**|(% style="background-color:#4F81BD;color:white; width:60px" %)**bit6**|(% style="background-color:#4F81BD;color:white; width:60px" %)**[bit5:bit0]**
459 +|(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:60px" %)**[bit5:bit0]**
455 455  |(% style="width:88px" %)**Value**|(% style="width:117px" %)PA4_status|(% style="width:117px" %)PB15_status|(% style="width:118px" %)MOD
456 456  
457 -(% style="color:#037691" %)** **[[image:image-20230626093242-1.png||height="276" width="892"]]
462 +(% style="color:#037691" %)** **[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L-LB_LoRaWAN_Flow_Sensor_User_Manual/WebHome/image-20230626093242-1.png?width=892&height=276&rev=1.1||alt="image-20230626093242-1.png"]]
458 458  
459 459  
460 460  * (((
... ... @@ -494,7 +494,7 @@
494 494  )))
495 495  
496 496  (((
497 -(% style="color:red" %)**NOTE: User need to set Calculate Flag to proper value before use Flow Sensor. Downlink or AT Command see: **(%%)Refer: [[Set Calculate Flag>>||anchor="H3.3.5Setthecalculateflag"]]
502 +(% style="color:red" %)**NOTE: User need to set Calculate Flag to proper value before use Flow Sensor. Downlink or AT Command see: **(%%)Refer: [[Set Calculate Flag>>||anchor="H2.8Setthecalculateflag"]]
498 498  
499 499  (((
500 500  
... ... @@ -609,7 +609,7 @@
609 609  
610 610  
611 611  (((
612 -SW3L-NB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5DatalogFeature"]].
617 +SW3L-NB stores sensor values and users can retrieve these history values via the downlink command.
613 613  )))
614 614  
615 615  (((
... ... @@ -622,12 +622,12 @@
622 622  Total pulse Or Last Pulse
623 623  )))|(% style="width:78px" %)(((
624 624  MOD & PA4_status & PB15_status
625 -)))|(% style="width:92px" %)Reserve(0x01)|(% style="width:134px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]
630 +)))|(% style="width:92px" %)Reserve(0x01)|(% style="width:134px" %)Unix TimeStamp
626 626  
627 627  **Calculate Flag & Alarm:**
628 628  
629 629  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
630 -|(% style="background-color:#4F81BD;color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4F81BD;color:white; width:89px" %)**bit7**|(% style="background-color:#4F81BD;color:white; width:89px" %)**bit6**|(% style="background-color:#4F81BD;color:white; width:69px" %)**[bit5:bit2]**|(% style="background-color:#4F81BD;color:white; width:129px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:89px" %)**bit0**
635 +|(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:89px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:89px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:69px" %)**[bit5:bit2]**|(% style="background-color:#4f81bd; color:white; width:129px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:89px" %)**bit0**
631 631  |(% style="width:88px" %)**Value**|(% style="width:96px" %)(((
632 632  No ACK message
633 633  )))|(% style="width:94px" %)Poll Message Flag|(% style="width:115px" %)Calculate Flag|(% style="width:136px" %)Alarm: 0: No Alarm; 1: Alarm|(% style="width:120px" %)TDC flag 0:No;1:Yes
... ... @@ -635,7 +635,7 @@
635 635  **MOD & PA4_status & PB15_status:**
636 636  
637 637  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:240px" %)
638 -|(% style="background-color:#4F81BD;color:white; width:60px" %)**Size(bit)**|(% style="background-color:#4F81BD;color:white; width:60px" %)**bit7**|(% style="background-color:#4F81BD;color:white; width:60px" %)**bit6**|(% style="background-color:#4F81BD;color:white; width:60px" %)**[bit5:bit0]**
643 +|(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:60px" %)**[bit5:bit0]**
639 639  |(% style="width:88px" %)**Value**|(% style="width:117px" %)PA4_status|(% style="width:117px" %)PB15_status|(% style="width:118px" %)MOD
640 640  )))
641 641  
... ... @@ -677,7 +677,7 @@
677 677  0x31 64 92 C5 AC 64 92 C7 8C 05
678 678  )))
679 679  
680 -[[image:image-20230626093440-2.png||height="160" width="890"]]
685 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L-LB_LoRaWAN_Flow_Sensor_User_Manual/WebHome/image-20230626093440-2.png?width=890&height=160&rev=1.1||alt="image-20230626093440-2.png"]]
681 681  
682 682  
683 683  (((
... ... @@ -709,14 +709,11 @@
709 709  [YES,FALSE,2,H,L,1,0, 0.0,2023-06-21 09:47:32],
710 710  
711 711  [NO,TRUE ,2, L,L,1,45,0.7,2023-06-21 09:48:44],
712 -
713 -
714 714  )))
715 715  
716 -[[image:image-20230626093703-3.png||height="156" width="894"]]
719 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L-LB_LoRaWAN_Flow_Sensor_User_Manual/WebHome/image-20230626093703-3.png?width=894&height=156&rev=1.1||alt="image-20230626093703-3.png"]]
717 717  
718 718  
719 -
720 720  == 2.4 Test Uplink and Change Update Interval ==
721 721  
722 722  
... ... @@ -732,7 +732,7 @@
732 732  == 2.5 Multi-Samplings and One uplink ==
733 733  
734 734  
735 -To save battery life, SW3L-NB will sample Distance data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
737 +To save battery life, SW3L-NB will sample Water Flow data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
736 736  
737 737  * (% style="color:#037691" %)**AT+TR=900**   (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds (15 minutes, the minimum can be set to 180 seconds)
738 738  
... ... @@ -760,6 +760,8 @@
760 760  
761 761  * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
762 762  
765 +
766 +
763 763  == 2.7 Alarm for continuously water flow ==
764 764  
765 765  
... ... @@ -852,6 +852,8 @@
852 852  
853 853  * **Example**: 0XA501  ~/~/  Same as AT+CALCFLAG =1
854 854  
859 +
860 +
855 855  == 2.9 Set count number ==
856 856  
857 857  
... ... @@ -870,6 +870,8 @@
870 870  
871 871  * **Example**: 0xA6000064  ~/~/  Same as AT+ SETCNT =100
872 872  
879 +
880 +
873 873  == 2.10 Set Transmit Interval Time ==
874 874  
875 875  
... ... @@ -910,6 +910,9 @@
910 910  )))
911 911  * (((
912 912  Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
921 +
922 +
923 +
913 913  )))
914 914  
915 915  = 3. Configure SW3L-NB =
... ... @@ -923,6 +923,8 @@
923 923  
924 924  * 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]].
925 925  
937 +
938 +
926 926  == 3.2 AT Commands Set ==
927 927  
928 928  
... ... @@ -1028,6 +1028,8 @@
1028 1028  
1029 1029  * 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]]**.
1030 1030  
1044 +
1045 +
1031 1031  = 6. FAQ =
1032 1032  
1033 1033  == 6.1 How can I access t BC660K-GL AT Commands? ==
... ... @@ -1101,6 +1101,8 @@
1101 1101  
1102 1102  * Weight / pcs : 180g
1103 1103  
1119 +
1120 +
1104 1104  = 9. Support =
1105 1105  
1106 1106