Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
From version 107.28
edited by Xiaoling
on 2023/10/11 18:25
on 2023/10/11 18:25
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,9 +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 - 61 61 == 1.3 Specification == 62 62 63 63 ... ... @@ -102,11 +102,8 @@ 102 102 103 103 * STOP Mode: 10uA @ 3.3v 104 104 * Max transmit power: 350mA@3.3v 105 - 106 -(% class="wikigeneratedid" id="H1.4Ratedenvironmentalconditions" %) 107 107 (% style="display:none" %) (%%) 108 108 109 - 110 110 == 1.4 Applications == 111 111 112 112 ... ... @@ -140,6 +140,7 @@ 140 140 ))) 141 141 |(% 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. 142 142 138 +(% style="color:red" %)**Note: When the device is executing a program, the buttons may become invalid. It is best to press the buttons after the device has completed the program execution.** 143 143 144 144 145 145 == 1.7 BLE connection == ... ... @@ -207,9 +207,8 @@ 207 207 208 208 * Wood Door: 10mm ~~ 30mm 209 209 * Iron Door: 30 ~~ 45mm 206 +(% style="display:none" %) (%%) 210 210 211 - 212 - 213 213 = 2. Use DS03A-NB to communicate with IoT Server = 214 214 215 215 == 2.1 Send data to IoT server via NB-IoT network == ... ... @@ -288,10 +288,10 @@ 288 288 289 289 This is the General Json Format. As below: 290 290 291 -(% 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}}** 292 292 293 293 294 -[[image:image-20230 920175015-3.png||height="613" width="890"]]289 +[[image:image-20231113180055-1.png]] 295 295 296 296 297 297 (% style="color:red" %)**Notice, from above payload:** ... ... @@ -299,24 +299,39 @@ 299 299 * Distance , Battery & Signal are the value at uplink time. 300 300 301 301 * 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" %) (%%) 302 302 299 +=== 2.2.2 HEX format Payload(Type~=0) === 303 303 304 304 305 - ===2.2.2HEX format Payload(Type~=0)===302 +This is the HEX Format. HEX format Payload Single-channel and double-channel payload have different byte lengths.w 306 306 307 307 308 -Th is is the HEXFormat.Asbelow:305 +**The HEX format payload for the single-channel mode is as follows:** 309 309 310 -(% style="color:#4472c4" %)**f866207058 3784430b640dda15010003a4650abc400000650ab8180000650ab4940000650ab10f0000650aad8b0000650aaa070000650aa6840000650aa3000000650a9308**307 +(% style="color:#4472c4" %)**f86620705255985712640d9c180101000000000000006551f424010000000000006551f36500000000000105655195e0ed97040b0001076551925c0000001d000107655187dcd797043700010c655182b80000004f00010565517f34e397041f51eadc655179760000001351e758654f4125** 311 311 312 -[[image:image-202309 20172200-1.png||height="191" width="1047"]]309 +[[image:image-20231114091247-2.png||height="186" width="1363"]] 313 313 314 314 315 315 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 316 316 317 -[[image:image-202309 20173352-2.png||height="636" width="919"]]314 +[[image:image-20231114094432-3.png]] 318 318 319 319 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 + 320 320 (% style="color:blue" %)**Version:** 321 321 322 322 These bytes include the hardware and software version. ... ... @@ -360,9 +360,22 @@ 360 360 361 361 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard. 362 362 363 -(% 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 + }** 364 364 365 -[[image:image-202309 22094043-2.png||height="558" width="851"]]388 +[[image:image-20231115150948-1.png||height="625" width="1188"]] 366 366 367 367 368 368 === 2.2.4 ThingSpeak Payload(Type~=1) === ... ... @@ -374,11 +374,13 @@ 374 374 375 375 As below: 376 376 377 -(% 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** 378 378 379 -[[image:image-2023 0921104741-1.png||height="565" width="826"]]402 +[[image:image-20231114165017-6.png]] 380 380 404 +[[image:image-20231114174523-8.png||height="682" width="1041"]] 381 381 406 + 382 382 == 2.3 Uplink Payload == 383 383 384 384 === 2.3.1 Sensor Configuration, FPORT~=4 === ... ... @@ -450,7 +450,7 @@ 450 450 |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2** 451 451 |(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4** 452 452 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 453 -Status & [[Alarm>>||anchor="2.10TTRIG126TTRIG2timeoutstatusalarm"]] 478 +Status & [[Alarm>>||anchor="H2.10TTRIG126TTRIG2timeoutstatusalarm"]] 454 454 )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)((( 455 455 The last door open duration (unit: sec) 456 456 )))|(% style="width:108px" %)Unix TimeStamp ... ... @@ -490,7 +490,7 @@ 490 490 (% style="color:#0000ff" %)**Alarm** 491 491 ))) 492 492 493 -See [[Alarm Base on Timeout>>||anchor="H 3.3.3A0AlarmBaseonTimeout"]]518 +See [[Alarm Base on Timeout>>||anchor="H2.9AlarmBaseonTimeout"]] 494 494 495 495 496 496 * ((( ... ... @@ -623,7 +623,7 @@ 623 623 |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3** 624 624 |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4** 625 625 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 626 -Status & [[Alarm>>||anchor=" H2.9A0AlarmBaseonTimeout"]]651 +Status & [[Alarm>>||anchor="2.9AlarmBaseonTimeout"]] 627 627 )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)((( 628 628 The last door open duration (unit: sec) 629 629 )))|(% style="width:108px" %)Unix TimeStamp ... ... @@ -742,9 +742,8 @@ 742 742 * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge 743 743 744 744 * (% style="color:#037691" %)**AT+INTMOD=3 **(%%) ~/~/ Trigger by rising edge 770 +(% style="display:none" %) (%%) 745 745 746 - 747 - 748 748 == 2.7 Set Transmit Interval Time == 749 749 750 750 ... ... @@ -785,11 +785,8 @@ 785 785 ))) 786 786 * ((( 787 787 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 812 +)))(% style="display:none" %) (%%) 788 788 789 - 790 - 791 -))) 792 - 793 793 == 2.8 Enable / Disable Alarm == 794 794 795 795 ... ... @@ -949,7 +949,7 @@ 949 949 Example: 0B aa => AT+COUNTMOD = second byte 950 950 951 951 952 -== 2.12 973 +== 2.12 Number of channel of door sensors == 953 953 954 954 955 955 Feature: Set the number of door sensor channels. ... ... @@ -978,7 +978,7 @@ 978 978 Example: 0D aa => AT+TTRCHANNEL = second byte 979 979 980 980 981 -== 2.13 1002 +== 2.13 Clear the open door times and the duration of the last open door == 982 982 983 983 984 984 (% style="color:blue" %)**AT Command:** ... ... @@ -994,7 +994,7 @@ 994 994 The sensor will clear the open door times and the duration of the last open door. 995 995 996 996 997 -== 2.14 1018 +== 2.14 Set the count value of the number of open door == 998 998 999 999 1000 1000 (% style="color:blue" %)**AT Command:** ... ... @@ -1036,9 +1036,8 @@ 1036 1036 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 1037 1037 1038 1038 * 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" %) (%%) 1039 1039 1040 - 1041 - 1042 1042 == 3.2 AT Commands Set == 1043 1043 1044 1044 ... ... @@ -1143,9 +1143,8 @@ 1143 1143 * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]]. 1144 1144 1145 1145 * 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" %) (%%) 1146 1146 1147 - 1148 - 1149 1149 = 6. FAQ = 1150 1150 1151 1151 == 6.1 How can I access t BC660K-GL AT Commands? == ... ... @@ -1188,9 +1188,8 @@ 1188 1188 * Package Size / pcs : 14.0 x 8x 5 cm 1189 1189 1190 1190 * Weight / pcs : 180g 1210 +(% style="display:none" %) (%%) 1191 1191 1192 - 1193 - 1194 1194 = 9. Support = 1195 1195 1196 1196
- 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