Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
From version 107.29
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 126.1
edited by Mengting Qiu
on 2023/11/15 15:47
on 2023/11/15 15:47
Change comment:
Uploaded new attachment "image-20231115154757-2.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 14 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
- image-20231115154757-2.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,8 +55,8 @@ 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 - 60 60 == 1.3 Specification == 61 61 62 62 ... ... @@ -101,11 +101,8 @@ 101 101 102 102 * STOP Mode: 10uA @ 3.3v 103 103 * Max transmit power: 350mA@3.3v 104 - 105 -(% class="wikigeneratedid" id="H1.4Ratedenvironmentalconditions" %) 106 106 (% style="display:none" %) (%%) 107 107 108 - 109 109 == 1.4 Applications == 110 110 111 111 ... ... @@ -207,8 +207,8 @@ 207 207 208 208 * Wood Door: 10mm ~~ 30mm 209 209 * Iron Door: 30 ~~ 45mm 206 +(% style="display:none" %) (%%) 210 210 211 - 212 212 = 2. Use DS03A-NB to communicate with IoT Server = 213 213 214 214 == 2.1 Send data to IoT server via NB-IoT network == ... ... @@ -287,10 +287,10 @@ 287 287 288 288 This is the General Json Format. As below: 289 289 290 -(% 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}}** 291 291 292 292 293 -[[image:image-20230 920175015-3.png||height="613" width="890"]]289 +[[image:image-20231113180055-1.png]] 294 294 295 295 296 296 (% style="color:red" %)**Notice, from above payload:** ... ... @@ -298,23 +298,39 @@ 298 298 * Distance , Battery & Signal are the value at uplink time. 299 299 300 300 * 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" %) (%%) 301 301 302 - 303 303 === 2.2.2 HEX format Payload(Type~=0) === 304 304 305 305 306 -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 307 307 308 -(% style="color:#4472c4" %)**f8662070583784430b640dda15010003a4650abc400000650ab8180000650ab4940000650ab10f0000650aad8b0000650aaa070000650aa6840000650aa3000000650a9308** 309 309 310 - [[image:image-20230920172200-1.png||height="191"width="1047"]]305 +**The HEX format payload for the single-channel mode is as follows:** 311 311 307 +(% style="color:#4472c4" %)**f86620705255985712640d9c180101000000000000006551f424010000000000006551f36500000000000105655195e0ed97040b0001076551925c0000001d000107655187dcd797043700010c655182b80000004f00010565517f34e397041f51eadc655179760000001351e758654f4125** 312 312 309 +[[image:image-20231114091247-2.png||height="186" width="1363"]] 310 + 311 + 313 313 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 314 314 315 -[[image:image-202309 20173352-2.png||height="636" width="919"]]314 +[[image:image-20231114094432-3.png]] 316 316 317 317 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 + 318 318 (% style="color:blue" %)**Version:** 319 319 320 320 These bytes include the hardware and software version. ... ... @@ -358,9 +358,22 @@ 358 358 359 359 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard. 360 360 361 -(% 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 + }** 362 362 363 -[[image:image-202309 22094043-2.png||height="558" width="851"]]388 +[[image:image-20231115150948-1.png||height="625" width="1188"]] 364 364 365 365 366 366 === 2.2.4 ThingSpeak Payload(Type~=1) === ... ... @@ -372,11 +372,13 @@ 372 372 373 373 As below: 374 374 375 -(% 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** 376 376 377 -[[image:image-2023 0921104741-1.png||height="565" width="826"]]402 +[[image:image-20231114165017-6.png]] 378 378 404 +[[image:image-20231114174523-8.png||height="682" width="1041"]] 379 379 406 + 380 380 == 2.3 Uplink Payload == 381 381 382 382 === 2.3.1 Sensor Configuration, FPORT~=4 === ... ... @@ -448,7 +448,7 @@ 448 448 |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2** 449 449 |(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4** 450 450 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 451 -Status & [[Alarm>>||anchor="2.10TTRIG126TTRIG2timeoutstatusalarm"]] 478 +Status & [[Alarm>>||anchor="H2.10TTRIG126TTRIG2timeoutstatusalarm"]] 452 452 )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)((( 453 453 The last door open duration (unit: sec) 454 454 )))|(% style="width:108px" %)Unix TimeStamp ... ... @@ -488,7 +488,7 @@ 488 488 (% style="color:#0000ff" %)**Alarm** 489 489 ))) 490 490 491 -See [[Alarm Base on Timeout>>||anchor="H 3.3.3A0AlarmBaseonTimeout"]]518 +See [[Alarm Base on Timeout>>||anchor="H2.9AlarmBaseonTimeout"]] 492 492 493 493 494 494 * ((( ... ... @@ -621,7 +621,7 @@ 621 621 |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3** 622 622 |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4** 623 623 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 624 -Status & [[Alarm>>||anchor=" H2.9A0AlarmBaseonTimeout"]]651 +Status & [[Alarm>>||anchor="2.9AlarmBaseonTimeout"]] 625 625 )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)((( 626 626 The last door open duration (unit: sec) 627 627 )))|(% style="width:108px" %)Unix TimeStamp ... ... @@ -740,8 +740,8 @@ 740 740 * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge 741 741 742 742 * (% style="color:#037691" %)**AT+INTMOD=3 **(%%) ~/~/ Trigger by rising edge 770 +(% style="display:none" %) (%%) 743 743 744 - 745 745 == 2.7 Set Transmit Interval Time == 746 746 747 747 ... ... @@ -782,11 +782,8 @@ 782 782 ))) 783 783 * ((( 784 784 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 812 +)))(% style="display:none" %) (%%) 785 785 786 - 787 - 788 -))) 789 - 790 790 == 2.8 Enable / Disable Alarm == 791 791 792 792 ... ... @@ -946,7 +946,7 @@ 946 946 Example: 0B aa => AT+COUNTMOD = second byte 947 947 948 948 949 -== 2.12 973 +== 2.12 Number of channel of door sensors == 950 950 951 951 952 952 Feature: Set the number of door sensor channels. ... ... @@ -975,7 +975,7 @@ 975 975 Example: 0D aa => AT+TTRCHANNEL = second byte 976 976 977 977 978 -== 2.13 1002 +== 2.13 Clear the open door times and the duration of the last open door == 979 979 980 980 981 981 (% style="color:blue" %)**AT Command:** ... ... @@ -991,7 +991,7 @@ 991 991 The sensor will clear the open door times and the duration of the last open door. 992 992 993 993 994 -== 2.14 1018 +== 2.14 Set the count value of the number of open door == 995 995 996 996 997 997 (% style="color:blue" %)**AT Command:** ... ... @@ -1033,8 +1033,8 @@ 1033 1033 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 1034 1034 1035 1035 * 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" %) (%%) 1036 1036 1037 - 1038 1038 == 3.2 AT Commands Set == 1039 1039 1040 1040 ... ... @@ -1139,8 +1139,8 @@ 1139 1139 * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]]. 1140 1140 1141 1141 * 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" %) (%%) 1142 1142 1143 - 1144 1144 = 6. FAQ = 1145 1145 1146 1146 == 6.1 How can I access t BC660K-GL AT Commands? == ... ... @@ -1183,8 +1183,8 @@ 1183 1183 * Package Size / pcs : 14.0 x 8x 5 cm 1184 1184 1185 1185 * Weight / pcs : 180g 1210 +(% style="display:none" %) (%%) 1186 1186 1187 - 1188 1188 = 9. Support = 1189 1189 1190 1190
- 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
- image-20231115154757-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +66.4 KB - Content