Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
From version 99.1
edited by Mengting Qiu
on 2023/09/22 09:41
on 2023/09/22 09:41
Change comment:
There is no comment for this version
To version 92.1
edited by Mengting Qiu
on 2023/09/21 10:50
on 2023/09/21 10:50
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -386,17 +386,13 @@ 386 386 387 387 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard. 388 388 389 -(% style="color:#4472c4" %)** "866207058378443","Model":"DDS45-NB","distance":02,"battery":57,"signal":3}**389 +(% style="color:#4472c4" %)**{"IMEI":866207053462762,"temperature":29.2,"humidity":54.2,"battery":3.27,"signal":24}** 390 390 391 -[[image:image-20230922094043-2.png||height="558" width="851"]] 392 392 393 - 394 -=== === 395 - 396 396 === 2.2.4 ThingSpeak Payload(Type~=1) === 397 397 398 398 399 -This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~ 3are:395 +This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~4 are: 400 400 401 401 Distance, Battery & Signal. This payload type only valid for ThingsSpeak Platform 402 402 ... ... @@ -415,28 +415,21 @@ 415 415 ))) 416 416 417 417 ((( 418 -Uplink payload includes in total 21bytes.414 +Uplink payload includes in total 8 bytes. 419 419 ))) 420 420 421 421 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 422 -|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)8|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color: rgb(79, 129, 189); color: white; width: 49px;" %)1|=(% style="background-color: rgb(79, 129, 189); color: white; width: 79px;" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)4 423 -|(% style="width:95px" %)Value|(% style="width:61px" %)f+IMEI|(% style="width:61px" %)Ver|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:61px" %)((( 424 -Singal 418 +|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1 419 +|(% style="width:95px" %)Value|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|((( 420 +[[Distance>>||anchor="H2.3.2A0Distance"]] 421 +(unit: mm) 422 +)))|[[Digital Interrupt (Optional)>>||anchor="H2.3.3A0InterruptPin"]]|((( 423 +[[Temperature (Optional)>>||anchor="H2.3.4A0DS18B20Temperaturesensor"]] 424 +)))|[[Sensor Flag>>||anchor="H2.3.5A0SensorFlag"]] 425 425 426 -Strength 427 -)))|(% style="width:49px" %)Mod|(% style="width:79px" %)[[Digital Interrupt >>||anchor="H2.3.2A0Interrupt"]]|(% style="width:61px" %)[[Distance>>||anchor="H2.3.3A0Distance"]](unit: mm)|(% style="width:61px" %)((( 428 -Timestamp 426 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS20-LB_LoRaWAN_Ultrasonic_Liquid_Level_Sensor_User_Manual/WebHome/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230702135733.png?width=964&height=215&rev=1.1||alt="微信截图_20230702135733.png"]] 429 429 430 - 431 -))) 432 432 433 -If the cache upload mechanism is turned on, you will receive the payload shown in the figure below. 434 - 435 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:512px" %) 436 -|(% style="width:115px" %)**Frame header**|(% style="width:118px" %)**Frame data(1)**|(% style="width:116px" %)**Frame data(2)**|(% style="width:39px" %)**F…**|(% style="width:117px" %)**Frame data(X)** 437 - 438 -=== === 439 - 440 440 === 2.3.1 Battery Info === 441 441 442 442 ... ... @@ -447,9 +447,26 @@ 447 447 Ex2: 0x0B49 = 2889mV 448 448 449 449 450 -=== 2.3.2 Interrupt===439 +=== 2.3.2 Distance === 451 451 452 452 442 +((( 443 +Get the distance. Flat object range 30mm - 4500mm. 444 +))) 445 + 446 +((( 447 +For example, if the data you get from the register is **0x0B 0x05**, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** ** 448 + 449 +(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.** 450 +))) 451 + 452 +* If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor. 453 + 454 +* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00. 455 + 456 +=== 2.3.3 Interrupt Pin === 457 + 458 + 453 453 This data field shows if this packet is generated by interrupt or not. 454 454 455 455 **Example:** ... ... @@ -459,24 +459,28 @@ 459 459 0x01: Interrupt Uplink Packet. 460 460 461 461 462 -=== 2.3. 3Distance ===468 +=== 2.3.4 DS18B20 Temperature sensor === 463 463 464 464 465 -((( 466 -Get the distance. Flat object range 30mm - 4500mm. 467 -))) 471 +This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 468 468 469 -((( 470 -For example, if the data you get from the register is **0x0B 0x05**, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** ** 473 +**Example**: 471 471 472 -(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.** 473 -))) 475 +If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree 474 474 475 - *Ifthe sensor valueis 0x0000,itmeanssystemdoesn'tdetect ultrasonic sensor.477 +If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 476 476 477 -* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00. 478 478 480 +=== 2.3.5 Sensor Flag === 481 + 482 + 479 479 ((( 484 +0x01: Detect Ultrasonic Sensor 485 +))) 486 + 487 +((( 488 +0x00: No Ultrasonic Sensor 489 + 480 480 481 481 ))) 482 482
- image-20230922093814-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -125.1 KB - Content
- image-20230922094043-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -104.1 KB - Content