Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
From version 107.30
edited by Xiaoling
on 2023/10/12 16:20
on 2023/10/12 16:20
Change comment:
There is no comment for this version
To version 125.2
edited by Mengting Qiu
on 2023/11/15 15:11
on 2023/11/15 15:11
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 13 added, 0 removed)
- image-20231102094508-1.png
- image-20231102100109-2.png
- image-20231113180055-1.png
- image-20231113180254-2.png
- image-20231114091229-1.png
- image-20231114091247-2.png
- image-20231114094432-3.png
- image-20231114094816-4.png
- image-20231114094838-5.png
- image-20231114165017-6.png
- image-20231114165035-7.png
- image-20231114174523-8.png
- image-20231115150948-1.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.ting - Content
-
... ... @@ -44,7 +44,6 @@ 44 44 45 45 * NB-IoT Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B18/B19/B20/B25/B28/B66/B70/B85 @H-FDD 46 46 * Ultra-low power consumption 47 -* Upload water flow volume 48 48 * Door Open/Close detect 49 49 * Door open/close statistics 50 50 * Datalog Feature ... ... @@ -55,6 +55,7 @@ 55 55 * Downlink to change configure 56 56 * 8500mAh Battery for long term use 57 57 * Nano SIM card slot for NB-IoT SIM 57 +(% style="display:none" %) (%%) 58 58 59 59 == 1.3 Specification == 60 60 ... ... @@ -100,11 +100,8 @@ 100 100 101 101 * STOP Mode: 10uA @ 3.3v 102 102 * Max transmit power: 350mA@3.3v 103 - 104 -(% class="wikigeneratedid" id="H1.4Ratedenvironmentalconditions" %) 105 105 (% style="display:none" %) (%%) 106 106 107 - 108 108 == 1.4 Applications == 109 109 110 110 ... ... @@ -206,6 +206,7 @@ 206 206 207 207 * Wood Door: 10mm ~~ 30mm 208 208 * Iron Door: 30 ~~ 45mm 206 +(% style="display:none" %) (%%) 209 209 210 210 = 2. Use DS03A-NB to communicate with IoT Server = 211 211 ... ... @@ -285,10 +285,10 @@ 285 285 286 286 This is the General Json Format. As below: 287 287 288 -(% style="color:#4472c4" %)**{"IMEI":"866207058 378443","Model":"DS03A-NB","flow":217,"battery":3.54,"signal":24,"1":{221,2023/09/2009:47:01},"2":{0,2023/09/2009:15:04},"3":{0,2023/09/2009:00:04},"4":{0,2023/09/2008:45:03},"5":{0,2023/09/2008:30:03},"6":{0,2023/09/2008:15:03},"7":{0,2023/09/2008:00:04},"8":{0,2023/09/2007:45:04}}**286 +(% style="color:#4472c4" %)**{"IMEI":"866207052559857","Model":"DS03A-NB","level status":1,"alarm status":0,"door open num":0,"last open time":0,"level status2":1,"alarm status2":0,"door open num2":0,"last open time2":0,"battery":3.48,"signal":24,"1":{1,0,0,2023/11/13 09:59:01},"2":{0,0,261,2023/11/13 03:20:00},"3":{237,9896971,263,2023/11/13 03:05:00},"4":{0,29,263,2023/11/13 02:20:12},"5":{215,9897015,268,2023/11/13 01:58:16},"6":{0,79,261,2023/11/13 01:43:16},"7":{227,9896991,5368540,2023/11/13 01:18:46},"8":{0,19,5367640,2023/11/11 08:53:57}}** 289 289 290 290 291 -[[image:image-20230 920175015-3.png||height="613" width="890"]]289 +[[image:image-20231113180055-1.png]] 292 292 293 293 294 294 (% style="color:red" %)**Notice, from above payload:** ... ... @@ -296,22 +296,39 @@ 296 296 * Distance , Battery & Signal are the value at uplink time. 297 297 298 298 * 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. 297 +(% style="display:none" %) (%%) 299 299 300 300 === 2.2.2 HEX format Payload(Type~=0) === 301 301 302 302 303 -This is the HEX Format. Asbelow:302 +This is the HEX Format. HEX format Payload Single-channel and double-channel payload have different byte lengths.w 304 304 305 -(% style="color:#4472c4" %)**f8662070583784430b640dda15010003a4650abc400000650ab8180000650ab4940000650ab10f0000650aad8b0000650aaa070000650aa6840000650aa3000000650a9308** 306 306 307 - [[image:image-20230920172200-1.png||height="191"width="1047"]]305 +**The HEX format payload for the single-channel mode is as follows:** 308 308 307 +(% style="color:#4472c4" %)**f86620705255985712640d9c180101000000000000006551f424010000000000006551f36500000000000105655195e0ed97040b0001076551925c0000001d000107655187dcd797043700010c655182b80000004f00010565517f34e397041f51eadc655179760000001351e758654f4125** 309 309 309 +[[image:image-20231114091247-2.png||height="186" width="1363"]] 310 + 311 + 310 310 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 311 311 312 -[[image:image-202309 20173352-2.png||height="636" width="919"]]314 +[[image:image-20231114094432-3.png]] 313 313 314 314 317 + 318 +**The HEX format payload for the double-channel mode is as follows:** 319 + 320 +(% style="color:#4472c4" %)**f86620705255985712640db71701010000000000000001000000000000006552d13401000000000000000000000000006551f365000000000001050000005f00005f655195e0ed97040b0001070000005c00005c6551925c0000001d00010700000033000033655187dcd797043700010c00000033000033655182b80000004f0001050000003300003365517f34e397041f51eadc00000000000000655179760000001351e75800000000000000654f4125** 321 + 322 +[[image:image-20231114091229-1.png||height="180" width="1584"]] 323 + 324 + 325 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 326 + 327 +[[image:image-20231114094838-5.png]] 328 + 329 + 315 315 (% style="color:blue" %)**Version:** 316 316 317 317 These bytes include the hardware and software version. ... ... @@ -355,9 +355,22 @@ 355 355 356 356 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard. 357 357 358 -(% style="color:#4472c4" %)** {"IMEI": "866207058378443","Model": "DS03A","flow": 502,"battery": 3.57,"signal": 23}** 373 +(% style="color:#4472c4" %)**{ 374 + "IMEI": "866207058378443", 375 + "Model": "DS03A-NB", 376 + "level status": 1, 377 + "alarm status": 0, 378 + "door open num": 6, 379 + "last open time": 1, 380 + "level status2": 1, 381 + "alarm status2": 0, 382 + "door open num2": 2, 383 + "last open time2": 0, 384 + "battery": 3.4, 385 + "signal": 24 386 + }** 359 359 360 -[[image:image-202309 22094043-2.png||height="558" width="851"]]388 +[[image:image-20231115150948-1.png||height="625" width="1188"]] 361 361 362 362 363 363 === 2.2.4 ThingSpeak Payload(Type~=1) === ... ... @@ -369,11 +369,13 @@ 369 369 370 370 As below: 371 371 372 -(% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3= Singal value**400 +(% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3=signal value** 373 373 374 -[[image:image-2023 0921104741-1.png||height="565" width="826"]]402 +[[image:image-20231114165017-6.png]] 375 375 404 +[[image:image-20231114174523-8.png||height="682" width="1041"]] 376 376 406 + 377 377 == 2.3 Uplink Payload == 378 378 379 379 === 2.3.1 Sensor Configuration, FPORT~=4 === ... ... @@ -445,7 +445,7 @@ 445 445 |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2** 446 446 |(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4** 447 447 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 448 -Status & [[Alarm>>||anchor="2.10TTRIG126TTRIG2timeoutstatusalarm"]] 478 +Status & [[Alarm>>||anchor="H2.10TTRIG126TTRIG2timeoutstatusalarm"]] 449 449 )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)((( 450 450 The last door open duration (unit: sec) 451 451 )))|(% style="width:108px" %)Unix TimeStamp ... ... @@ -485,7 +485,7 @@ 485 485 (% style="color:#0000ff" %)**Alarm** 486 486 ))) 487 487 488 -See [[Alarm Base on Timeout>>||anchor="H 3.3.3A0AlarmBaseonTimeout"]]518 +See [[Alarm Base on Timeout>>||anchor="H2.9AlarmBaseonTimeout"]] 489 489 490 490 491 491 * ((( ... ... @@ -618,7 +618,7 @@ 618 618 |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3** 619 619 |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4** 620 620 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 621 -Status & [[Alarm>>||anchor=" H2.9A0AlarmBaseonTimeout"]]651 +Status & [[Alarm>>||anchor="2.9AlarmBaseonTimeout"]] 622 622 )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)((( 623 623 The last door open duration (unit: sec) 624 624 )))|(% style="width:108px" %)Unix TimeStamp ... ... @@ -737,6 +737,7 @@ 737 737 * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge 738 738 739 739 * (% style="color:#037691" %)**AT+INTMOD=3 **(%%) ~/~/ Trigger by rising edge 770 +(% style="display:none" %) (%%) 740 740 741 741 == 2.7 Set Transmit Interval Time == 742 742 ... ... @@ -778,11 +778,8 @@ 778 778 ))) 779 779 * ((( 780 780 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 812 +)))(% style="display:none" %) (%%) 781 781 782 - 783 - 784 -))) 785 - 786 786 == 2.8 Enable / Disable Alarm == 787 787 788 788 ... ... @@ -942,7 +942,7 @@ 942 942 Example: 0B aa => AT+COUNTMOD = second byte 943 943 944 944 945 -== 2.12 973 +== 2.12 Number of channel of door sensors == 946 946 947 947 948 948 Feature: Set the number of door sensor channels. ... ... @@ -971,7 +971,7 @@ 971 971 Example: 0D aa => AT+TTRCHANNEL = second byte 972 972 973 973 974 -== 2.13 1002 +== 2.13 Clear the open door times and the duration of the last open door == 975 975 976 976 977 977 (% style="color:blue" %)**AT Command:** ... ... @@ -987,7 +987,7 @@ 987 987 The sensor will clear the open door times and the duration of the last open door. 988 988 989 989 990 -== 2.14 1018 +== 2.14 Set the count value of the number of open door == 991 991 992 992 993 993 (% style="color:blue" %)**AT Command:** ... ... @@ -1029,6 +1029,7 @@ 1029 1029 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 1030 1030 1031 1031 * 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]]. 1060 +(% style="display:none" %) (%%) 1032 1032 1033 1033 == 3.2 AT Commands Set == 1034 1034 ... ... @@ -1134,6 +1134,7 @@ 1134 1134 * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]]. 1135 1135 1136 1136 * 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]]**. 1166 +(% style="display:none" %) (%%) 1137 1137 1138 1138 = 6. FAQ = 1139 1139 ... ... @@ -1177,6 +1177,7 @@ 1177 1177 * Package Size / pcs : 14.0 x 8x 5 cm 1178 1178 1179 1179 * Weight / pcs : 180g 1210 +(% style="display:none" %) (%%) 1180 1180 1181 1181 = 9. Support = 1182 1182
- image-20231102094508-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.6 KB - Content
- image-20231102100109-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.1 KB - Content
- image-20231113180055-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +85.2 KB - Content
- image-20231113180254-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +71.5 KB - Content
- image-20231114091229-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.8 KB - Content
- image-20231114091247-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.0 KB - Content
- image-20231114094432-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +73.6 KB - Content
- image-20231114094816-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +78.0 KB - Content
- image-20231114094838-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +78.0 KB - Content
- image-20231114165017-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.0 KB - Content
- image-20231114165035-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +50.7 KB - Content
- image-20231114174523-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.6 KB - Content
- image-20231115150948-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +91.1 KB - Content