Changes for page wiki_test

Last modified by Mengting Qiu on 2024/09/05 17:35

From version 88.2
edited by Mengting Qiu
on 2023/09/20 17:35
Change comment: There is no comment for this version
To version 90.2
edited by Xiaoling
on 2023/09/21 09:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ting
1 +XWiki.Xiaoling
Content
... ... @@ -311,14 +311,17 @@
311 311  
312 312  This is the General Json Format. As below:
313 313  
314 -(% style="color:#4472c4" %)**{"IMEI":866207053462762,"temperature":29.2,"humidity":54.2,"battery":3.27,"signal":24,"Model":DDS45-NB, "1":{28.2,48.3,2023/08/10 08:00:37},"2":{28.1,49.1,2023/08/10 07:57:37},"3":{28.1,48.5,2023/08/10 07:54:37},"4":{28.2,48.6,2023/08/10 07:51:37},"5":{28.1,48.9,2023/08/10 07:48:37},"6":{28.2,48.8,2023/08/10 07:45:37},"7":{28.2,48.8,2023/08/10 07:42:37},"8":{28.0,48.8,2023/08/10 07:39:37}}**
314 +(% style="color:#4472c4" %)**{"IMEI":"866207058378443","Model":"DDS45-NB","distance":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}}**
315 315  
316 316  
317 +[[image:image-20230920175015-3.png||height="627" width="911"]]
318 +
319 +
317 317  (% style="color:red" %)**Notice, from above payload:**
318 318  
319 -* Temperature , Humidity , Battery & Signal are the value at uplink time.
322 +* Distance , Battery & Signal are the value at uplink time.
320 320  
321 -* 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): Temperature, Humidity, Sampling time.
324 +* 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): Distance, Sampling time.
322 322  
323 323  === 2.2.2 HEX format Payload(Type~=0) ===
324 324  
... ... @@ -327,25 +327,26 @@
327 327  
328 328  (% style="color:#4472c4" %)**f8662070583784430b640dda15010003a4650abc400000650ab8180000650ab4940000650ab10f0000650aad8b0000650aaa070000650aa6840000650aa3000000650a9308**
329 329  
330 -[[image:image-20230920172200-1.png||height="198" width="1085"]]
333 +[[image:image-20230920172200-1.png||height="191" width="1047"]]
331 331  
332 332  
333 333  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
334 334  
335 -[[image:image-20230920173352-2.png||height="700" width="1012"]]
338 +[[image:image-20230920173352-2.png||height="647" width="936"]]
336 336  
340 +
337 337  (% style="color:blue" %)**Version:**
338 338  
339 339  These bytes include the hardware and software version.
340 340  
341 -(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x00 for DDS45-NB
345 +(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x0b for DDS45-NB
342 342  
343 -(% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 100
347 +(% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 1.0.0
344 344  
345 345  
346 346  (% style="color:blue" %)**BAT (Battery Info):**
347 347  
348 -Ex1: 0x0CBA = 3258mV
352 +Ex1: 0x0dda = 3546mV
349 349  
350 350  
351 351  (% style="color:blue" %)**Signal Strength:**
... ... @@ -352,7 +352,7 @@
352 352  
353 353  NB-IoT Network signal Strength.
354 354  
355 -**Ex1: 0x16 = 22**
359 +**Ex1: 0x15 = 21**
356 356  
357 357  **0**  -113dBm or less
358 358  
... ... @@ -365,13 +365,18 @@
365 365  **99**    Not known or not detectable
366 366  
367 367  
368 -(% style="color:blue" %)**TimeStamp  **
372 +(% style="color:blue" %)**Distance:  **
369 369  
370 -Unit TimeStamp Example: 64d49439(H) = 1691653177(D)
374 +Ex1: 0x03a4 = 932 mm
371 371  
372 -Put the decimal value into this link(https:~/~/www.epochconverter.com/) to get the time.
373 373  
377 +(% style="color:blue" %)**Timestamp:   **
374 374  
379 +Unit Timestamp Example: 650abc40(H) = 1695202368(D)
380 +
381 +Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]]) to get the time.
382 +
383 +
375 375  === 2.2.3 ThingsBoard Payload(Type~=3) ===
376 376  
377 377  
... ... @@ -385,7 +385,7 @@
385 385  
386 386  This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~4 are:
387 387  
388 -Temperature, Humidity, Battery & Signal. This payload type only valid for ThingsSpeak Platform
397 +Distance, Battery & Signal. This payload type only valid for ThingsSpeak Platform
389 389  
390 390  As below:
391 391  
... ... @@ -494,7 +494,7 @@
494 494  == 2.5 Multi-Samplings and One uplink ==
495 495  
496 496  
497 -To save battery life, DDS45-NB will sample temperature & humidity data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
506 +To save battery life, DDS45-NB will sample Distance data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
498 498  
499 499  * (% style="color:#037691" %)**AT+TR=900**   (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds (15 minutes, the minimum can be set to 180 seconds)
500 500  
image-20230920175015-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +76.6 KB
Content