Last modified by Mengting Qiu on 2025/07/03 14:48

From version 181.2
edited by Xiaoling
on 2022/06/21 10:21
Change comment: There is no comment for this version
To version 181.1
edited by Xiaoling
on 2022/06/21 10:20
Change comment: Uploaded new attachment "image-20220621102026-10.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -489,46 +489,206 @@
489 489  
490 490  See more info about the [[Datalog feature>>path:#Datalog]].
491 491  
492 +(% _mstvisible="1" %)
493 +[[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]]
492 492  
495 +(% _mstvisible="1" %)
496 +* Temperature:  0x0ABB/100=27.47℃
493 493  
498 +(% _mstvisible="1" %)
499 +[[image:image-20220522235639-3.png||_mstalt="432120" _mstvisible="3"]]
494 494  
495 495  (% _mstvisible="1" %)
496 -=== (% _msthash="475891" _msttexthash="445120" _mstvisible="3" %)2.4.4 U(%%)plink FPORT~=4, DS18B20 ID ===
502 +* Temperature:  (0xF5C6-65536)/100=-26.18
497 497  
498 -User can get external DS18B20 ID through the downlink command.
504 +(% _mstvisible="1" %)
505 +=== (% _msthash="475891" _msttexthash="445120" _mstvisible="3" %)2.4.4 Built-in Humidity(%%) ===
499 499  
500 -Downlink:0x2302
507 +(% _mstvisible="1" %)
508 +[[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]]
501 501  
502 -[[image:image-20220621101853-9.png]]
510 +(% _mstvisible="1" %)
511 +* Humidity:    0x025C/10=60.4%
503 503  
504 -Example Payload (FPort=4):
513 +(% _mstvisible="1" %)
514 +=== (% _msthash="116532" _msttexthash="87958" _mstvisible="3" %)2.4.5 Ext #(%%) ===
505 505  
506 -28 86 63 B2 00 00 00 9F
516 +(% _msthash="315256" _msttexthash="552240" _mstvisible="1" %)
517 +Bytes for External Sensor:
507 507  
519 +(% _mstvisible="1" %)
520 +[[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]]
508 508  
509 -The External DS18B20 ID is 0x28 86 63 B2 00 00 00 9F
510 510  
523 +(% _mstvisible="1" %)
524 +=== (% _msthash="221429" _msttexthash="200655" _mstvisible="3" %)2.4.6 Ext value(%%) ===
511 511  
526 +(% _mstvisible="1" %)
527 +==== (% _msthash="1005901" _msttexthash="877578" _mstvisible="3" %)2.4.6.1 Ext~=1, E3 Temperature Sensor(%%) ====
512 512  
529 +(% _mstvisible="1" %)
530 +[[image:image-20220522235639-5.png||_mstalt="432848" _mstvisible="3"]]
513 513  
532 +
514 514  (% _mstvisible="1" %)
515 -=== (% _msthash="116532" _msttexthash="87958" _mstvisible="3" %)2.4.5  D(%%)ecoder in TTN V3 ===
534 +* DS18B20 temp=0x0ADD/100=27.81℃
516 516  
536 +(% _msthash="315257" _msttexthash="1038479" _mstvisible="1" %)
537 +The last 2 bytes of data are meaningless
517 517  
518 -In LoRaWAN protocol, the uplink payload is HEX format, user need to add a payload formatter/decoder in LoRaWAN Server to get human friendly string.
539 +(% _mstvisible="1" %)
540 +[[image:image-20220522235639-6.png||_mstalt="433212" _mstvisible="3"]]
519 519  
520 520  
521 -In TTN , add formatter as below:
543 +(% _mstvisible="1" %)
544 +* External temperature= (0xF54F-65536)/100=-27.37℃
522 522  
523 -[[image:image-20220621102026-10.png]]
546 +(% _mstvisible="1" %)
547 +(((
548 +(% _msthash="506063" _msttexthash="1038479" _mstvisible="2" %)
549 +The last 2 bytes of data are meaningless
550 +)))
524 524  
525 -Please check the decoder from this link:
552 +(% _mstvisible="1" %)
553 +(((
554 +(% _msthash="506064" _msttexthash="21185632" _mstvisible="2" %)
555 +If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
556 +)))
526 526  
527 -[[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LHT52/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LHT52/Decoder/]]
528 528  
559 +(% _mstvisible="1" %)
560 +==== (% _msthash="1389752" _msttexthash="1234766" _mstvisible="3" %)2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp(%%) ====
529 529  
562 +(% _msthash="315258" _msttexthash="41539368" _mstvisible="1" %)
563 +Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below:
530 530  
565 +(% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
566 +(% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 96px;" %)(% _mstvisible="5" %)
567 +(((
568 +(% _mstvisible="6" %)
569 +(% _msthash="1817488" _msttexthash="161122" _mstvisible="8" %)**Size(bytes)**
570 +)))|=(% _mstvisible="4" style="width: 71px;" %)(% _mstvisible="5" %)
571 +(((
572 +(% _mstvisible="6" %)
573 +(% _msthash="1817489" _msttexthash="4550" _mstvisible="8" %)**2**
574 +)))|=(% _mstvisible="4" style="width: 99px;" %)(% _mstvisible="5" %)
575 +(((
576 +(% _mstvisible="6" %)
577 +(% _msthash="1817490" _msttexthash="4550" _mstvisible="8" %)**2**
578 +)))|=(% _mstvisible="4" style="width: 132px;" %)(% _mstvisible="5" %)
579 +(((
580 +(% _mstvisible="6" %)
581 +(% _msthash="1817491" _msttexthash="4550" _mstvisible="8" %)**2**
582 +)))|=(% _mstvisible="4" style="width: 54px;" %)(% _mstvisible="5" %)
583 +(((
584 +(% _mstvisible="6" %)
585 +(% _msthash="1817492" _msttexthash="4459" _mstvisible="8" %)**1**
586 +)))|=(% _mstvisible="4" style="width: 64px;" %)(% _mstvisible="5" %)
587 +(((
588 +(% _mstvisible="6" %)
589 +(% _msthash="1817493" _msttexthash="4732" _mstvisible="8" %)**4**
590 +)))
591 +(% _mstvisible="3" %)|(% _mstvisible="4" style="width:96px" %)(% _mstvisible="5" %)
592 +(((
593 +(% _mstvisible="6" %)
594 +(% _msthash="1817494" _msttexthash="60203" _mstvisible="8" %)**Value**
595 +)))|(% _mstvisible="4" style="width:71px" %)(% _mstvisible="5" %)
596 +(((
597 +(% _mstvisible="6" %)
598 +[[External temperature>>||anchor="H4.2SetExternalSensorMode" _msthash="1817495" _msttexthash="426517" _mstvisible="7"]]
599 +)))|(% _mstvisible="4" style="width:99px" %)(% _mstvisible="5" %)
600 +(((
601 +(% _mstvisible="6" %)
602 +(((
603 +(% _mstvisible="7" %)
604 +[[Built-In>>||anchor="H2.4.3Built-inTemperature" _msthash="2224745" _msttexthash="100464" _mstvisible="8"]]
605 +)))
606 +
607 +(% _mstvisible="6" %)
608 +(((
609 +(% _mstvisible="7" %)
610 +[[Temperature>>||anchor="H2.4.3Built-inTemperature" _msthash="2224746" _msttexthash="184041" _mstvisible="8"]]
611 +)))
612 +)))|(% _mstvisible="4" style="width:132px" %)(% _mstvisible="5" %)
613 +(((
614 +(% _mstvisible="6" %)
615 +(((
616 +(% _msthash="2224747" _msttexthash="136331" _mstvisible="7" %)
617 +BAT Status &
618 +)))
619 +
620 +(% _mstvisible="6" %)
621 +(((
622 +(% _mstvisible="7" %)
623 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity" _msthash="2224748" _msttexthash="311181" _mstvisible="8"]]
624 +)))
625 +)))|(% _mstvisible="4" style="width:54px" %)(% _mstvisible="5" %)
626 +(((
627 +(% _msthash="1817496" _msttexthash="147225" _mstvisible="6" %)
628 +Status & Ext
629 +)))|(% _mstvisible="4" style="width:64px" %)(% _mstvisible="5" %)
630 +(((
631 +(% _mstvisible="6" %)
632 +(((
633 +(% _mstvisible="7" %)
634 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp" _msthash="2224749" _msttexthash="227175" _mstvisible="8"]]
635 +)))
636 +)))
637 +
531 531  (% _mstvisible="1" %)
639 +* (% _msthash="2539669" _msttexthash="857922" _mstvisible="3" %)**Battery status & **(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**Built-in Humidity**
640 +
641 +(% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:469px" %)
642 +(% _mstvisible="3" %)|=(% _msthash="1230918" _msttexthash="93158" _mstvisible="4" style="width: 65px;" %)Bit(bit)|=(% _msthash="1230919" _msttexthash="57954" _mstvisible="4" style="width: 267px;" %)[15:14]|=(% _msthash="1230920" _msttexthash="48022" _mstvisible="4" style="width: 134px;" %)[11:0]
643 +(% _mstvisible="3" %)|(% _msthash="1230921" _msttexthash="60203" _mstvisible="4" style="width:65px" %)Value|(% _mstvisible="4" style="width:267px" %)(% _mstvisible="5" %)
644 +(((
645 +(% _msthash="1817497" _msttexthash="128427" _mstvisible="6" %)
646 +BAT Status
647 +
648 +(% _msthash="1817498" _msttexthash="472784" _mstvisible="6" %)
649 +00(b): Ultra Low ( BAT <= 2.50v)
650 +
651 +(% _msthash="1817499" _msttexthash="483678" _mstvisible="6" %)
652 +01(b): Low  (2.50v <=BAT <= 2.55v)
653 +
654 +(% _msthash="1817500" _msttexthash="440791" _mstvisible="6" %)
655 +10(b): OK   (2.55v <= BAT <=2.65v)
656 +
657 +(% _msthash="1817501" _msttexthash="334191" _mstvisible="6" %)
658 +11(b): Good   (BAT >= 2.65v)
659 +)))|(% _mstvisible="4" style="width:134px" %)(% _mstvisible="5" %)
660 +(((
661 +(% _mstvisible="6" %)
662 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity" _msthash="1817502" _msttexthash="311181" _mstvisible="7"]]
663 +
664 +(% _mstvisible="6" %)
665 +
666 +)))
667 +
668 +(% _mstvisible="1" %)
669 +* (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte**
670 +
671 +(% _mstvisible="1" %)
672 +[[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]]
673 +
674 +(% _mstvisible="1" %)
675 +* Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink.
676 +* Sync time OK: 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server.
677 +* Unix Time Request:1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this)
678 +
679 +==== (% _msthash="1389752" _msttexthash="1234766" _mstvisible="3" %)2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable)(%%) ====
680 +
681 +In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can
682 +
683 +be used to power the external ADC sensor; user can control the power on time for this
684 +
685 +sensor by setting:
686 +
687 +AT+EXT=6,timeout  (% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)Time to power this sensor, from 0 ~~ 65535ms
688 +
689 +
690 +
691 +(% _mstvisible="1" %)
532 532  == (% _msthash="487097" _msttexthash="454818" _mstvisible="3" %)2.5 Show data on Datacake(%%) ==
533 533  
534 534  (% _msthash="315259" _msttexthash="20933341" _mstvisible="1" %)