Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 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
Details
- Page properties
-
- Content
-
... ... @@ -54,6 +54,7 @@ 54 54 * Downlink to change configure 55 55 * 8500mAh Battery for long term use 56 56 * Nano SIM card slot for NB-IoT SIM 57 +(% style="display:none" %) (%%) 57 57 58 58 == 1.3 Specification == 59 59 ... ... @@ -99,11 +99,8 @@ 99 99 100 100 * STOP Mode: 10uA @ 3.3v 101 101 * Max transmit power: 350mA@3.3v 102 - 103 -(% class="wikigeneratedid" id="H1.4Ratedenvironmentalconditions" %) 104 104 (% style="display:none" %) (%%) 105 105 106 - 107 107 == 1.4 Applications == 108 108 109 109 ... ... @@ -205,6 +205,7 @@ 205 205 206 206 * Wood Door: 10mm ~~ 30mm 207 207 * Iron Door: 30 ~~ 45mm 206 +(% style="display:none" %) (%%) 208 208 209 209 = 2. Use DS03A-NB to communicate with IoT Server = 210 210 ... ... @@ -284,10 +284,10 @@ 284 284 285 285 This is the General Json Format. As below: 286 286 287 -(% 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}}** 288 288 289 289 290 -[[image:image-20230 920175015-3.png||height="613" width="890"]]289 +[[image:image-20231113180055-1.png]] 291 291 292 292 293 293 (% style="color:red" %)**Notice, from above payload:** ... ... @@ -295,22 +295,39 @@ 295 295 * Distance , Battery & Signal are the value at uplink time. 296 296 297 297 * 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" %) (%%) 298 298 299 299 === 2.2.2 HEX format Payload(Type~=0) === 300 300 301 301 302 -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 303 303 304 -(% style="color:#4472c4" %)**f8662070583784430b640dda15010003a4650abc400000650ab8180000650ab4940000650ab10f0000650aad8b0000650aaa070000650aa6840000650aa3000000650a9308** 305 305 306 - [[image:image-20230920172200-1.png||height="191"width="1047"]]305 +**The HEX format payload for the single-channel mode is as follows:** 307 307 307 +(% style="color:#4472c4" %)**f86620705255985712640d9c180101000000000000006551f424010000000000006551f36500000000000105655195e0ed97040b0001076551925c0000001d000107655187dcd797043700010c655182b80000004f00010565517f34e397041f51eadc655179760000001351e758654f4125** 308 308 309 +[[image:image-20231114091247-2.png||height="186" width="1363"]] 310 + 311 + 309 309 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 310 310 311 -[[image:image-202309 20173352-2.png||height="636" width="919"]]314 +[[image:image-20231114094432-3.png]] 312 312 313 313 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 + 314 314 (% style="color:blue" %)**Version:** 315 315 316 316 These bytes include the hardware and software version. ... ... @@ -368,11 +368,13 @@ 368 368 369 369 As below: 370 370 371 -(% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3= Singal value**387 +(% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3=signal value** 372 372 373 -[[image:image-2023 0921104741-1.png||height="565" width="826"]]389 +[[image:image-20231114165017-6.png]] 374 374 391 +[[image:image-20231114174523-8.png||height="682" width="1041"]] 375 375 393 + 376 376 == 2.3 Uplink Payload == 377 377 378 378 === 2.3.1 Sensor Configuration, FPORT~=4 === ... ... @@ -444,7 +444,7 @@ 444 444 |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2** 445 445 |(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4** 446 446 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 447 -Status & [[Alarm>>||anchor="2.10TTRIG126TTRIG2timeoutstatusalarm"]] 465 +Status & [[Alarm>>||anchor="H2.10TTRIG126TTRIG2timeoutstatusalarm"]] 448 448 )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)((( 449 449 The last door open duration (unit: sec) 450 450 )))|(% style="width:108px" %)Unix TimeStamp ... ... @@ -484,7 +484,7 @@ 484 484 (% style="color:#0000ff" %)**Alarm** 485 485 ))) 486 486 487 -See [[Alarm Base on Timeout>>||anchor="H 3.3.3A0AlarmBaseonTimeout"]]505 +See [[Alarm Base on Timeout>>||anchor="H2.9AlarmBaseonTimeout"]] 488 488 489 489 490 490 * ((( ... ... @@ -617,7 +617,7 @@ 617 617 |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3** 618 618 |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4** 619 619 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 620 -Status & [[Alarm>>||anchor=" H2.9A0AlarmBaseonTimeout"]]638 +Status & [[Alarm>>||anchor="2.9AlarmBaseonTimeout"]] 621 621 )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)((( 622 622 The last door open duration (unit: sec) 623 623 )))|(% style="width:108px" %)Unix TimeStamp ... ... @@ -736,6 +736,7 @@ 736 736 * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge 737 737 738 738 * (% style="color:#037691" %)**AT+INTMOD=3 **(%%) ~/~/ Trigger by rising edge 757 +(% style="display:none" %) (%%) 739 739 740 740 == 2.7 Set Transmit Interval Time == 741 741 ... ... @@ -777,11 +777,8 @@ 777 777 ))) 778 778 * ((( 779 779 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 799 +)))(% style="display:none" %) (%%) 780 780 781 - 782 - 783 -))) 784 - 785 785 == 2.8 Enable / Disable Alarm == 786 786 787 787 ... ... @@ -941,7 +941,7 @@ 941 941 Example: 0B aa => AT+COUNTMOD = second byte 942 942 943 943 944 -== 2.12 960 +== 2.12 Number of channel of door sensors == 945 945 946 946 947 947 Feature: Set the number of door sensor channels. ... ... @@ -970,7 +970,7 @@ 970 970 Example: 0D aa => AT+TTRCHANNEL = second byte 971 971 972 972 973 -== 2.13 989 +== 2.13 Clear the open door times and the duration of the last open door == 974 974 975 975 976 976 (% style="color:blue" %)**AT Command:** ... ... @@ -986,7 +986,7 @@ 986 986 The sensor will clear the open door times and the duration of the last open door. 987 987 988 988 989 -== 2.14 1005 +== 2.14 Set the count value of the number of open door == 990 990 991 991 992 992 (% style="color:blue" %)**AT Command:** ... ... @@ -1028,6 +1028,7 @@ 1028 1028 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 1029 1029 1030 1030 * 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]]. 1047 +(% style="display:none" %) (%%) 1031 1031 1032 1032 == 3.2 AT Commands Set == 1033 1033 ... ... @@ -1133,6 +1133,7 @@ 1133 1133 * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]]. 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]]**. 1153 +(% style="display:none" %) (%%) 1136 1136 1137 1137 = 6. FAQ = 1138 1138 ... ... @@ -1176,6 +1176,7 @@ 1176 1176 * Package Size / pcs : 14.0 x 8x 5 cm 1177 1177 1178 1178 * Weight / pcs : 180g 1197 +(% style="display:none" %) (%%) 1179 1179 1180 1180 = 9. Support = 1181 1181
- 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