Last modified by Xiaoling on 2025/04/24 17:18

From version 215.3
edited by Xiaoling
on 2022/06/11 16:20
Change comment: There is no comment for this version
To version 215.5
edited by Xiaoling
on 2022/06/11 16:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -434,7 +434,7 @@
434 434  
435 435  
436 436  
437 -== 2.3  ​Uplink Payload ==
437 +== 2.4  ​Uplink Payload ==
438 438  
439 439  (((
440 440  (((
... ... @@ -455,20 +455,32 @@
455 455  (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
456 456  |=(% style="width: 62.5px;" %)(((
457 457  **Size (bytes)**
458 -)))|=(% style="width: 62.5px;" %)**2**|=**2**|=1|=2|=**1**
459 -|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(((
460 -[[Distance>>||anchor="H2.3.2A0Distance"]]
458 +)))|=(% style="width: 62.5px;" %)**2**|=**2**|=2|=2|=**2**|=1
459 +|(% style="width:62.5px" %)**Value**|(((
460 +[[BAT>>path:#bat]]
461 461  
462 -(unit: mm)
463 -)))|[[Digital Interrupt (Optional)>>||anchor="H2.3.3A0InterruptPin"]]|(((
464 -[[Temperature (Optional )>>||anchor="H2.3.4A0DS18B20Temperaturesensor"]]
465 -)))|[[Sensor Flag>>||anchor="H2.3.5A0SensorFlag"]]
462 +&
466 466  
464 +[[Interrupt  flag>>path:#Int_pin]]
465 +)))|(((
466 +[[Distance of UT sensor1>>path:#Distance]]
467 +)))|(((
468 +[[Distance of UT sensor2>>path:#Distance]]
469 +)))|(((
470 +[[Distance of UT sensor3>>path:#Distance]]
471 +)))|(((
472 +[[Distance of UT sensor4>>path:#Distance]]
473 +)))|(((
474 +[[Message>>path:#Message_Type]]
475 +
476 +[[Type>>path:#Message_Type]]
477 +)))
478 +
467 467  [[image:1654935473814-664.png||height="199" width="729"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​
468 468  
469 469  
470 470  
471 -=== 2.3.1  Battery Info ===
483 +=== 2.4.1  Battery Info ===
472 472  
473 473  
474 474  Check the battery voltage for LDDS45.
... ... @@ -479,34 +479,48 @@
479 479  
480 480  
481 481  
482 -=== 2.3.2  Distance ===
494 +=== 2.4.2  Interrupt Pin ===
483 483  
484 -(((
485 -Get the distance. Flat object range 30mm - 4500mm.
486 -)))
496 +This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H4.3A0SetInterruptMode"]] for the hardware and software set up.
487 487  
498 +Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>path:#pins]].
499 +
500 +
501 +**Example:**
502 +
503 +(0x0D4A & 0x8000) >>15 = 0: Normal uplink packet.
504 +
505 +(0x8D41 & 0x8000) >>15 = 1: Interrupt Uplink Packet.
506 +
507 +
508 +
509 +=== 2.4.3  Distance ===
510 +
488 488  (((
489 -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" %)** 0B05(H) = 2821 (D) = 2821 mm.**
490 -)))
512 +The measuring distance of the four distance measuring modules, the default unit is cm.
491 491  
492 492  
493 -* If the sensor value is 0x0000, it means system doesn’t detect ultrasonic sensor.
494 -* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00.
515 +**Example**:
495 495  
496 -=== 2.3.3  Interrupt Pin ===
517 +Uplink Payload: 0D 4A 03 16 03 18 03 1A 03 15 01
497 497  
498 -This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H4.3A0SetInterruptMode"]] for the hardware and software set up.
499 499  
500 -**Example:**
520 +Data analysis:
501 501  
502 -0x00: Normal uplink packet.
522 +Distance of UT sensor1 : 0316(H) = 790 (D)/10 = 79cm.
503 503  
504 -0x01: Interrupt Uplink Packet.
524 +Distance of UT sensor2 : 0318(H) = 792 (D)/10 = 79.2cm.
505 505  
526 +Distance of UT sensor3 : 031A(H) = 794 (D)/10 = 79.4cm.
506 506  
528 +Distance of UT sensor4 : 0315(H) = 789 (D)/10 = 78.9cm.
507 507  
508 -=== 2.3.4  DS18B20 Temperature sensor ===
530 +
531 +)))
509 509  
533 +
534 +=== 2.4.4  Message Type ===
535 +
510 510  This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
511 511  
512 512  **Example**: