Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
From version 119.2
edited by Mengting Qiu
on 2023/11/14 10:42
on 2023/11/14 10:42
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 9 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Xiaoling - Content
-
... ... @@ -44,6 +44,7 @@ 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 47 47 * Door Open/Close detect 48 48 * Door open/close statistics 49 49 * Datalog Feature ... ... @@ -55,6 +55,8 @@ 55 55 * 8500mAh Battery for long term use 56 56 * Nano SIM card slot for NB-IoT SIM 57 57 59 + 60 + 58 58 == 1.3 Specification == 59 59 60 60 ... ... @@ -137,7 +137,6 @@ 137 137 ))) 138 138 |(% 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. 139 139 140 -(% 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.** 141 141 142 142 143 143 == 1.7 BLE connection == ... ... @@ -206,6 +206,8 @@ 206 206 * Wood Door: 10mm ~~ 30mm 207 207 * Iron Door: 30 ~~ 45mm 208 208 211 + 212 + 209 209 = 2. Use DS03A-NB to communicate with IoT Server = 210 210 211 211 == 2.1 Send data to IoT server via NB-IoT network == ... ... @@ -284,10 +284,10 @@ 284 284 285 285 This is the General Json Format. As below: 286 286 287 -(% style="color:#4472c4" %)**{"IMEI":"86620705 2559857","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/1309:59:01},"2":{0,0,261,2023/11/1303:20:00},"3":{237,9896971,263,2023/11/1303:05:00},"4":{0,29,263,2023/11/1302:20:12},"5":{215,9897015,268,2023/11/1301:58:16},"6":{0,79,261,2023/11/1301:43:16},"7":{227,9896991,5368540,2023/11/1301:18:46},"8":{0,19,5367640,2023/11/1108:53:57}}**291 +(% style="color:#4472c4" %)**{"IMEI":"866207058378443","Model":"DS03A-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}}** 288 288 289 289 290 -[[image:image-2023 1113180055-1.png]]294 +[[image:image-20230920175015-3.png||height="613" width="890"]] 291 291 292 292 293 293 (% style="color:red" %)**Notice, from above payload:** ... ... @@ -296,40 +296,23 @@ 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. 298 298 299 -=== 2.2.2 HEX format Payload(Type~=0) === 300 300 301 301 302 - Thisis the HEX Format. HEX format PayloadSingle-channel and double-channel payload havedifferent byte lengths.305 +=== 2.2.2 HEX format Payload(Type~=0) === 303 303 304 304 305 - **The HEXformatpayload for thesingle-channelmodeis as follows:**308 +This is the HEX Format. As below: 306 306 307 -(% style="color:#4472c4" %)**f86620705 255985712640d9c180101000000000000006551f424010000000000006551f36500000000000105655195e0ed97040b0001076551925c0000001d000107655187dcd797043700010c655182b80000004f00010565517f34e397041f51eadc655179760000001351e758654f4125**310 +(% style="color:#4472c4" %)**f8662070583784430b640dda15010003a4650abc400000650ab8180000650ab4940000650ab10f0000650aad8b0000650aaa070000650aa6840000650aa3000000650a9308** 308 308 309 -[[image:image-2023 1114091247-2.png||height="186" width="1363"]]312 +[[image:image-20230920172200-1.png||height="191" width="1047"]] 310 310 311 311 312 312 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 313 313 317 +[[image:image-20230920173352-2.png||height="636" width="919"]] 314 314 315 -[[image:image-20231114094432-3.png]] 316 316 317 - 318 -**The HEX format payload for the double-channel mode is as follows:** 319 - 320 -f86620705255985712640db71701010000000000000001000000000000006552d13401000000000000000000000000006551f365000000000001050000005f00005f655195e0ed97040b0001070000005c00005c6551925c0000001d00010700000033000033655187dcd797043700010c00000033000033655182b80000004f0001050000003300003365517f34e397041f51eadc00000000000000655179760000001351e75800000000000000654f4125 321 - 322 - 323 -[[image:image-20231114091229-1.png||height="180" width="1584"]] 324 - 325 - 326 - 327 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 328 - 329 - 330 -[[image:image-20231114094838-5.png]] 331 - 332 - 333 333 (% style="color:blue" %)**Version:** 334 334 335 335 These bytes include the hardware and software version. ... ... @@ -387,7 +387,7 @@ 387 387 388 388 As below: 389 389 390 -(% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3= signal value**377 +(% 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 ... ... @@ -756,6 +756,8 @@ 756 756 757 757 * (% style="color:#037691" %)**AT+INTMOD=3 **(%%) ~/~/ Trigger by rising edge 758 758 746 + 747 + 759 759 == 2.7 Set Transmit Interval Time == 760 760 761 761 ... ... @@ -1048,6 +1048,8 @@ 1048 1048 1049 1049 * 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]]. 1050 1050 1040 + 1041 + 1051 1051 == 3.2 AT Commands Set == 1052 1052 1053 1053 ... ... @@ -1153,6 +1153,8 @@ 1153 1153 1154 1154 * 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]]**. 1155 1155 1147 + 1148 + 1156 1156 = 6. FAQ = 1157 1157 1158 1158 == 6.1 How can I access t BC660K-GL AT Commands? == ... ... @@ -1196,6 +1196,8 @@ 1196 1196 1197 1197 * Weight / pcs : 180g 1198 1198 1192 + 1193 + 1199 1199 = 9. Support = 1200 1200 1201 1201
- image-20231102094508-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -26.6 KB - Content
- image-20231102100109-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.1 KB - Content
- image-20231113180055-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.2 KB - Content
- image-20231113180254-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -71.5 KB - Content
- image-20231114091229-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -32.8 KB - Content
- image-20231114091247-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -26.0 KB - Content
- image-20231114094432-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -73.6 KB - Content
- image-20231114094816-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -78.0 KB - Content
- image-20231114094838-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -78.0 KB - Content