Last modified by Xiaoling on 2023/07/18 10:12

From version 189.8
edited by Xiaoling
on 2022/08/08 16:22
Change comment: There is no comment for this version
To version 205.2
edited by Xiaoling
on 2022/10/13 16:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -16,6 +16,7 @@
16 16  
17 17  = 1. Introduction =
18 18  
19 +
19 19  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
20 20  
21 21  
... ... @@ -44,6 +44,7 @@
44 44  )))
45 45  
46 46  
48 +
47 47  == 1.2 Features ==
48 48  
49 49  
... ... @@ -57,7 +57,7 @@
57 57  * Built-in Temperature & Humidity sensor
58 58  * Optional External Sensors
59 59  * Tri-color LED to indicate working status
60 -* Datalog feature
62 +* Datalog feature (Max 3328 records)
61 61  
62 62  
63 63  
... ... @@ -64,7 +64,7 @@
64 64  == 1.3 Specification ==
65 65  
66 66  
67 -**Built-in Temperature Sensor:**
69 +(% style="color:#037691" %)**Built-in Temperature Sensor:**
68 68  
69 69  * Resolution: 0.01 °C
70 70  * Accuracy Tolerance : Typ ±0.3 °C
... ... @@ -71,19 +71,15 @@
71 71  * Long Term Drift: < 0.02 °C/yr
72 72  * Operating Range: -40 ~~ 85 °C
73 73  
76 +(% style="color:#037691" %)**Built-in Humidity Sensor:**
74 74  
75 -
76 -**Built-in Humidity Sensor:**
77 -
78 78  * Resolution: 0.04 %RH
79 79  * Accuracy Tolerance : Typ ±3 %RH
80 80  * Long Term Drift: < 0.02 °C/yr
81 81  * Operating Range: 0 ~~ 96 %RH
82 82  
83 +(% style="color:#037691" %)**External Temperature Sensor:**
83 83  
84 -
85 -**External Temperature Sensor:**
86 -
87 87  * Resolution: 0.0625 °C
88 88  * ±0.5°C accuracy from -10°C to +85°C
89 89  * ±2°C accuracy from -55°C to +125°C
... ... @@ -93,6 +93,7 @@
93 93  
94 94  = 2. Connect LHT65N to IoT Server =
95 95  
94 +
96 96  == 2.1 How does LHT65N work? ==
97 97  
98 98  
... ... @@ -137,6 +137,7 @@
137 137  (% _msthash="315240" _msttexthash="9205482" _mstvisible="1" class="wikigeneratedid" %)
138 138  This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Use with other LoRaWAN IoT servers is of a similar procedure.
139 139  
139 +
140 140  (% _mstvisible="1" class="wikigeneratedid" %)
141 141  [[image:image-20220522232442-1.png||_mstalt="427830" _mstvisible="3" height="387" width="648"]]
142 142  
... ... @@ -287,12 +287,9 @@
287 287  
288 288  When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading.
289 289  
290 -Below is the position to put the decoder and LHT65N decoder can be download from here:
290 +Below is the position to put the decoder and LHT65N decoder can be download from here: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
291 291  
292 292  
293 -[[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0||_msthash="315253" _msttexthash="3509064" _mstvisible="2"]]
294 -
295 -
296 296  [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]]
297 297  
298 298  
... ... @@ -327,8 +327,6 @@
327 327  
328 328  * Temperature:  (0xF5C6-65536)/100=-26.18℃
329 329  
330 -
331 -
332 332  === 2.4.4 Built-in Humidity ===
333 333  
334 334  
... ... @@ -349,6 +349,7 @@
349 349  
350 350  === 2.4.6 Ext value ===
351 351  
347 +
352 352  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
353 353  
354 354  
... ... @@ -454,6 +454,7 @@
454 454  )))
455 455  )))
456 456  
453 +
457 457  (% _mstvisible="1" %)
458 458  * (% _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**
459 459  
... ... @@ -484,6 +484,7 @@
484 484  
485 485  )))
486 486  
484 +
487 487  * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte**
488 488  
489 489  (% border="1" cellspacing="8" style="background-color:#ffffcc; color:green; width:520px" %)
... ... @@ -496,6 +496,7 @@
496 496  
497 497  
498 498  
497 +
499 499  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
500 500  
501 501  
... ... @@ -505,7 +505,7 @@
505 505  
506 506  sensor by setting:
507 507  
508 -AT+EXT=6,timeout  (% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)Time to power this sensor, from 0 ~~ 65535ms
507 +AT+EXT=6,timeout  (% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)**Time to power this sensor, from 0 ~~ 65535ms**
509 509  
510 510  For example:
511 511  
... ... @@ -528,6 +528,7 @@
528 528  
529 529  When the voltage collected by ADC_IN1 is less than the minimum range, the minimum range will be used as the output; Similarly, when the collected voltage is greater than the maximum range, the maximum range will be used as the output.
530 530  
530 +
531 531  1) The minimum range is about 0.1V. Each chip has internal calibration, so this value is close to 0.1V
532 532  
533 533  [[image:image-20220628151005-5.png]]
... ... @@ -544,6 +544,168 @@
544 544  
545 545  
546 546  
547 +==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
548 +
549 +
550 +[[image:image-20220927095645-1.png||height="534" width="460"]]
551 +
552 +
553 +**Ext=2,Temperature Sensor(TMP117):**
554 +
555 +[[image:image-20220906102307-7.png]]
556 +
557 +
558 +(% style="color:blue" %)**Interrupt Mode and Counting Mode:**
559 +
560 +The external cable NE2 can be use for MOD4 and MOD8
561 +
562 +
563 +
564 +
565 +==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
566 +
567 +
568 +(% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will send an uplink when there is a trigger.**
569 +
570 +
571 +(% style="color:blue" %)**Interrupt Mode can be used to connect to external interrupt sensors such as:**
572 +
573 +**Case 1: Door Sensor.** 3.3v Out for such sensor is just to detect Open/Close.
574 +
575 + In Open State, the power consumption is the same as if there is no probe
576 +
577 + In Close state, the power consumption will be 3uA higher than normal.
578 +
579 +[[image:image-20220906100852-1.png||height="205" width="377"]]
580 +
581 +
582 +Ext=4,Interrupt Sensor:
583 +
584 +(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:512px" %)
585 +|(% style="width:117px" %)(((
586 +AT+EXT=4,1
587 +)))|(% style="width:371px" %)(((
588 +Sent uplink packet in both rising and falling interrupt
589 +)))
590 +|(% style="width:117px" %)(((
591 +AT+EXT=4,2
592 +)))|(% style="width:371px" %)(((
593 +Sent uplink packet only in falling interrupt
594 +)))
595 +|(% style="width:117px" %)(((
596 +AT+EXT=4,3
597 +)))|(% style="width:371px" %)(((
598 +Sent uplink packet only in rising interrupt
599 +)))
600 +
601 +Trigger by falling edge:
602 +
603 +[[image:image-20220906101145-2.png]]
604 +
605 +
606 +Trigger by raising edge:
607 +
608 +[[image:image-20220906101145-3.png]]
609 +
610 +
611 +
612 +
613 +==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
614 +
615 +
616 +(% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.**
617 +
618 +
619 +(% style="color:blue" %)**Case 1**(%%):  Low power consumption Flow Sensor, such flow sensor has pulse output and the power consumption in uA level and can be powered by LHT65N.
620 +
621 +[[image:image-20220906101320-4.png||height="366" width="698"]]
622 +
623 +
624 +(% style="color:blue" %)**Case 2**(%%):  Normal Flow Sensor: Such flow sensor has higher power consumption and is not suitable to be powered by LHT65N. It is powered by external power and output <3.3v pulse
625 +
626 +[[image:image-20220906101320-5.png||height="353" width="696"]]
627 +
628 +Ext=8, Counting Sensor ( 4 bytes):
629 +
630 +(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %)
631 +|(% style="width:138px" %)(((
632 +AT+EXT=8,0
633 +)))|(% style="width:240px" %)(((
634 +Count at falling interrupt
635 +)))
636 +|(% style="width:138px" %)(((
637 +AT+EXT=8,1
638 +)))|(% style="width:240px" %)(((
639 +Count at rising interrupt
640 +)))
641 +|(% style="width:138px" %)(((
642 +AT+SETCNT=60
643 +)))|(% style="width:240px" %)(((
644 +Sent current count to 60
645 +)))
646 +
647 +[[image:image-20220906101320-6.png]]
648 +
649 +
650 +(% style="color:blue" %)**A2 downlink Command:**
651 +
652 +A2 02:  Same as AT+EXT=2 (AT+EXT= second byte)
653 +
654 +A2 06 01 F4:  Same as AT+EXT=6,500 (AT+EXT= second byte, third and fourth bytes)
655 +
656 +A2 04 02:  Same as AT+EXT=4,2 (AT+EXT= second byte, third byte)
657 +
658 +A2 08 01 00:  Same as AT+EXT=8,0 (AT+EXT= second byte, fourth byte)
659 +
660 +A2 08 02 00 00 00 3C:  Same as AT+ SETCNT=60  (AT+ SETCNT = 4th byte and 5th byte and 6th byte and 7th byte)
661 +
662 +
663 +(% style="color:blue" %)**Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm.**
664 +
665 +
666 +(% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
667 +
668 +(% style="color:#037691" %)**Parameter 1**(%%):  Alarm mode:
669 +
670 +0): Cancel
671 +
672 +1): Threshold alarm
673 +
674 +2): Fluctuation alarm
675 +
676 +
677 +(% style="color:#037691" %)** Parameter 2**(%%):  Sampling time. Unit: seconds, up to 255 seconds.
678 +
679 +(% style="color:red" %)**Note: When the collection time is less than 60 seconds and always exceeds the set alarm threshold, the sending interval will not be the collection time, but will be sent every 60 seconds.**
680 +
681 +
682 +(% style="color:#037691" %) **Parameter 3 and parameter 4:**
683 +
684 +1):  If Alarm Mode is set to 1: Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature.
685 +
686 +Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm.
687 +
688 +
689 +2):  If Alarm Mode is set to 2: Parameter 3 is valid, which represents the difference between the currently collected temperature and the last uploaded temperature.
690 +
691 +Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm.
692 +
693 +If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued.
694 +
695 +
696 +(% style="color:blue" %)** Downlink:**
697 +
698 +0xA5 00 ~-~- AT+WMOD=0.
699 +
700 +0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105  (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 )
701 +
702 +0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2  (AT+WMOD = second byte, third byte, fourth byte)
703 +
704 +0xA5 FF ~-~- After the device receives it, upload the current alarm configuration (FPORT=8). Such as 01 0A 11 94 29 04 or 02 0A 02.
705 +
706 +
707 +
708 +
547 547  == 2.5 Show data on Datacake ==
548 548  
549 549  
... ... @@ -606,11 +606,19 @@
606 606  
607 607  There are two methods:
608 608  
609 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range.
610 -1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after the network recovery.
771 +**Method 1**: IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range.
611 611  
773 +
774 +**Method 2: **Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
775 +
776 +**Note for method 2:**
777 +
778 +* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server.
779 +* b) LHT65N will send data in **CONFIRMED Mode** when PNACKMD=1, but LHT65N won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if LHT65N gets a ACK, LHT65N will consider there is a network connection and resend all NONE-ACK Message.
780 +
612 612  Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
613 613  
783 +
614 614  [[image:image-20220703111700-2.png||height="381" width="1119"]]
615 615  
616 616  
... ... @@ -828,20 +828,22 @@
828 828  )))
829 829  )))
830 830  
831 -
832 832  (% _mstvisible="1" %)
833 833  (% _msthash="315268" _msttexthash="390390" _mstvisible="3" %)**Poll message flag & Ext**
834 834  
835 835  (% _mstvisible="1" %)
836 -[[image:image-20220523152208-14.png||_mstalt="452920" _mstvisible="3"]]
837 -
838 -(% _mstvisible="1" %)
839 839  (((
840 840  (% _mstvisible="2" %)
841 841  (((
842 842  (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %)
843 843  (((
844 -Poll Message Flag: 1: This message is a poll message reply.
1010 +[[image:image-20221006192726-1.png||height="112" width="754"]]
1011 +
1012 +(% class="mark" %)**No ACK Message**(%%): 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature)
1013 +
1014 +(% class="mark" %)**Poll Message Flag**(%%): 1: This message is a poll message reply.
1015 +
1016 +
845 845  )))
846 846  )))
847 847  )))
... ... @@ -890,7 +890,7 @@
890 890  (((
891 891  (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %)
892 892  (((
893 -a) DR0: max is 11 bytes so one entry of data
1065 +**a) DR0:** max is 11 bytes so one entry of data
894 894  )))
895 895  )))
896 896  )))
... ... @@ -901,7 +901,7 @@
901 901  (((
902 902  (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %)
903 903  (((
904 -b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
1076 +**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
905 905  )))
906 906  )))
907 907  )))
... ... @@ -912,7 +912,7 @@
912 912  (((
913 913  (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %)
914 914  (((
915 -c) DR2: total payload includes 11 entries of data
1087 +**c) DR2:** total payload includes 11 entries of data
916 916  )))
917 917  )))
918 918  )))
... ... @@ -923,7 +923,7 @@
923 923  (((
924 924  (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %)
925 925  (((
926 -d) DR3: total payload includes 22 entries of data.
1098 +**d) DR3: **total payload includes 22 entries of data.
927 927  )))
928 928  )))
929 929  )))
... ... @@ -934,7 +934,7 @@
934 934  (((
935 935  (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %)
936 936  (((
937 -If devise doesnt have any data in the polling time. Device will uplink 11 bytes of 0   
1109 +If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0   
938 938  )))
939 939  )))
940 940  )))
... ... @@ -982,6 +982,7 @@
982 982  (% _mstvisible="1" %)
983 983  [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]]
984 984  
1157 +
985 985  (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %)
986 986  (((
987 987  7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
... ... @@ -1026,12 +1026,15 @@
1026 1026  
1027 1027  == 2.7 Alarm Mode ==
1028 1028  
1202 +
1029 1029  (((
1030 1030  when the device is in alarm mode, it checks the built-in sensor temperature for a short time. if the temperature exceeds the preconfigured range, it sends an uplink immediately.
1031 1031  )))
1032 1032  
1033 1033  (((
1034 -(% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.
1208 +(% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
1209 +
1210 +
1035 1035  )))
1036 1036  
1037 1037  (((
... ... @@ -1076,8 +1076,10 @@
1076 1076  TEMPhigh=003C
1077 1077  
1078 1078  
1255 +
1079 1079  == 2.8 LED Indicator ==
1080 1080  
1258 +
1081 1081  The LHT65 has a triple color LED which for easy showing different stage .
1082 1082  
1083 1083  While user press ACT button, the LED will work as per LED status with ACT button.
... ... @@ -1090,8 +1090,10 @@
1090 1090  * For each success downlink, the PURPLE LED will blink once
1091 1091  
1092 1092  
1271 +
1093 1093  == 2.9 installation ==
1094 1094  
1274 +
1095 1095  (% _mstvisible="1" %)
1096 1096  [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]]
1097 1097  
... ... @@ -1099,10 +1099,13 @@
1099 1099  
1100 1100  = 3. Sensors and Accessories =
1101 1101  
1282 +
1102 1102  == 3.1 E2 Extension Cable ==
1103 1103  
1285 +
1104 1104  [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]]
1105 1105  
1288 +
1106 1106  **1m long breakout cable for LHT65N. Features:**
1107 1107  
1108 1108  * (((
... ... @@ -1119,6 +1119,9 @@
1119 1119  )))
1120 1120  * (((
1121 1121  Exposed All pins from the LHT65N Type-C connector.
1305 +
1306 +
1307 +
1122 1122  )))
1123 1123  
1124 1124  [[image:image-20220619092421-3.png||height="371" width="529"]]
... ... @@ -1141,8 +1141,10 @@
1141 1141  * Working voltage 2.35v ~~ 5v
1142 1142  
1143 1143  
1330 +
1144 1144  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1145 1145  
1333 +
1146 1146  (((
1147 1147  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
1148 1148  )))
... ... @@ -1187,10 +1187,13 @@
1187 1187  )))
1188 1188  
1189 1189  
1378 +
1190 1190  == 4.1 Set Transmit Interval Time ==
1191 1191  
1381 +
1192 1192  Feature: Change LoRaWAN End Node Transmit Interval.
1193 1193  
1384 +
1194 1194  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1195 1195  
1196 1196  [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]]
... ... @@ -1207,10 +1207,13 @@
1207 1207  * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1208 1208  
1209 1209  
1401 +
1210 1210  == 4.2 Set External Sensor Mode ==
1211 1211  
1404 +
1212 1212  Feature: Change External Sensor Mode.
1213 1213  
1407 +
1214 1214  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1215 1215  
1216 1216  [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]]
... ... @@ -1229,8 +1229,10 @@
1229 1229  * 0xA20702003c: Same as AT+SETCNT=60
1230 1230  
1231 1231  
1426 +
1232 1232  == 4.3 Enable/Disable uplink Temperature probe ID ==
1233 1233  
1429 +
1234 1234  (((
1235 1235  Feature: If PID is enabled, device will send the temperature probe ID on:
1236 1236  )))
... ... @@ -1244,6 +1244,8 @@
1244 1244  
1245 1245  (((
1246 1246  PID is default set to disable (0)
1443 +
1444 +
1247 1247  )))
1248 1248  
1249 1249  (% style="color:#4f81bd" %)**AT Command:**
... ... @@ -1257,10 +1257,13 @@
1257 1257  * **0xA801**     **~-~->** AT+PID=1
1258 1258  
1259 1259  
1458 +
1260 1260  == 4.4 Set Password ==
1261 1261  
1461 +
1262 1262  Feature: Set device password, max 9 digits
1263 1263  
1464 +
1264 1264  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1265 1265  
1266 1266  [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]]
... ... @@ -1274,8 +1274,10 @@
1274 1274  
1275 1275  == 4.5 Quit AT Command ==
1276 1276  
1478 +
1277 1277  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1278 1278  
1481 +
1279 1279  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1280 1280  
1281 1281  [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]]
... ... @@ -1289,6 +1289,7 @@
1289 1289  
1290 1290  == 4.6 Set to sleep mode ==
1291 1291  
1495 +
1292 1292  Feature: Set device to sleep mode
1293 1293  
1294 1294  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
... ... @@ -1304,10 +1304,13 @@
1304 1304  * There is no downlink command to set to Sleep mode.
1305 1305  
1306 1306  
1511 +
1307 1307  == 4.7 Set system time ==
1308 1308  
1514 +
1309 1309  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1310 1310  
1517 +
1311 1311  (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1312 1312  
1313 1313  [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]]
... ... @@ -1315,12 +1315,13 @@
1315 1315  
1316 1316  (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1317 1317  
1318 -0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1525 +0x306007806000  ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1319 1319  
1320 1320  
1321 1321  
1322 1322  == 4.8 Set Time Sync Mode ==
1323 1323  
1531 +
1324 1324  (((
1325 1325  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
1326 1326  )))
... ... @@ -1327,6 +1327,8 @@
1327 1327  
1328 1328  (((
1329 1329  SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0.
1538 +
1539 +
1330 1330  )))
1331 1331  
1332 1332  (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
... ... @@ -1336,15 +1336,17 @@
1336 1336  
1337 1337  (% style="color:#4f81bd" %)**Downlink Command:**
1338 1338  
1339 -0x28 01 ~/~/ Same As AT+SYNCMOD=1
1340 -0x28 00 ~/~/ Same As AT+SYNCMOD=0
1549 +0x28 01  ~/~/  Same As AT+SYNCMOD=1
1550 +0x28 00  ~/~/  Same As AT+SYNCMOD=0
1341 1341  
1342 1342  
1343 1343  
1344 1344  == 4.9 Set Time Sync Interval ==
1345 1345  
1556 +
1346 1346  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1347 1347  
1559 +
1348 1348  (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1349 1349  
1350 1350  [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]]
... ... @@ -1352,14 +1352,16 @@
1352 1352  
1353 1353  (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1354 1354  
1355 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A
1567 +**0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
1356 1356  
1357 1357  
1358 1358  
1359 1359  == 4.10 Print data entries base on page. ==
1360 1360  
1573 +
1361 1361  Feature: Print the sector data from start page to stop page (max is 416 pages).
1362 1362  
1576 +
1363 1363  (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA**
1364 1364  
1365 1365  [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]]
... ... @@ -1373,8 +1373,10 @@
1373 1373  
1374 1374  == 4.11 Print last few data entries. ==
1375 1375  
1590 +
1376 1376  Feature: Print the last few data entries
1377 1377  
1593 +
1378 1378  (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1379 1379  
1380 1380  [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]]
... ... @@ -1388,6 +1388,7 @@
1388 1388  
1389 1389  == 4.12 Clear Flash Record ==
1390 1390  
1607 +
1391 1391  Feature: Clear flash storage for data log feature.
1392 1392  
1393 1393  
... ... @@ -1398,14 +1398,17 @@
1398 1398  
1399 1399  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1400 1400  
1401 -* Example: 0xA301 ~/~/Same as AT+CLRDTA
1618 +* Example: 0xA301  ~/~/  Same as AT+CLRDTA
1402 1402  
1403 1403  
1621 +
1404 1404  == 4.13 Auto Send None-ACK messages ==
1405 1405  
1624 +
1406 1406  (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %)
1407 1407  Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message.
1408 1408  
1628 +
1409 1409  (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD**
1410 1410  
1411 1411  (% _msthash="315396" _msttexthash="734682" _mstvisible="1" %)
... ... @@ -1417,13 +1417,16 @@
1417 1417  
1418 1418  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
1419 1419  
1420 -* Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1640 +* Example: 0x3401 ~/~/  Same as AT+PNACKMD=1
1421 1421  
1422 1422  
1643 +
1423 1423  = 5. Battery & How to replace =
1424 1424  
1646 +
1425 1425  == 5.1 Battery Type ==
1426 1426  
1649 +
1427 1427  (((
1428 1428  (((
1429 1429  LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters.
... ... @@ -1444,8 +1444,10 @@
1444 1444  The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1445 1445  
1446 1446  
1670 +
1447 1447  == 5.2 Replace Battery ==
1448 1448  
1673 +
1449 1449  LHT65N has two screws on the back, Unscrew them, and changing the battery inside is ok. The battery is a general CR17450 battery. Any brand should be ok.
1450 1450  
1451 1451  [[image:image-20220515075440-2.png||_mstalt="429546" _mstvisible="3" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" _mstvisible="3" height="193" width="257"]]
... ... @@ -1453,6 +1453,7 @@
1453 1453  
1454 1454  == 5.3 Battery Life Analyze ==
1455 1455  
1681 +
1456 1456  (((
1457 1457  Dragino battery-powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimated battery life:
1458 1458  [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]]
... ... @@ -1470,8 +1470,10 @@
1470 1470  
1471 1471  = 6. FAQ =
1472 1472  
1699 +
1473 1473  == 6.1 How to use AT Command? ==
1474 1474  
1702 +
1475 1475  LHT65N supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below.
1476 1476  
1477 1477  [[image:image-20220530085651-1.png||_mstalt="429949"]]
... ... @@ -1482,7 +1482,6 @@
1482 1482  * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND**
1483 1483  * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
1484 1484  * (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11**
1485 -* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-**
1486 1486  
1487 1487  (((
1488 1488  In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**) (%%)to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
... ... @@ -1690,40 +1690,43 @@
1690 1690  AT+PID:  Get or set the PID
1691 1691  
1692 1692  
1920 +
1693 1693  == 6.2 Where to use AT commands and Downlink commands ==
1694 1694  
1695 -(% _msthash="506131" _msttexthash="14585714" %)
1696 -AT commands:
1697 1697  
1924 +**AT commands:**
1925 +
1698 1698  [[image:image-20220620153708-1.png||height="603" width="723"]]
1699 1699  
1700 -(% _msthash="506132" _msttexthash="337922" %)
1701 -Downlink commands:
1702 1702  
1929 +**Downlink commands:**
1703 1703  
1704 -(% _msthash="506133" _msttexthash="33046" %)
1705 -**TTN:**
1706 1706  
1932 +
1933 +(% style="color:blue" %)**TTN:**
1934 +
1707 1707  [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]
1708 1708  
1709 1709  
1710 -(% _msthash="506134" _msttexthash="11113791" %)
1711 -**Helium:**
1712 1712  
1939 +(% style="color:blue" %)**Helium:**
1940 +
1713 1713  [[image:image-20220615092551-3.png||_mstalt="430794" height="423" width="835"]]
1714 1714  
1715 1715  
1716 -(% _msthash="506135" _msttexthash="4159844" %)
1717 -**Chirpstack:The downlink window will not be displayed until the network is accessed**
1718 1718  
1945 +(% style="color:blue" %)**Chirpstack: The downlink window will not be displayed until the network is accessed**
1946 +
1947 +
1719 1719  [[image:image-20220615094850-6.png||_mstalt="433082"]]
1720 1720  
1950 +
1721 1721  [[image:image-20220615094904-7.png||_mstalt="433485" height="281" width="911"]]
1722 1722  
1723 1723  
1724 -(% _msthash="506136" _msttexthash="39286" %)
1725 -**Aws:**
1726 1726  
1955 +(% style="color:blue" %)**Aws:**
1956 +
1727 1727  [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
1728 1728  
1729 1729  
... ... @@ -1730,12 +1730,14 @@
1730 1730  
1731 1731  == 6.3 How to change the uplink interval? ==
1732 1732  
1733 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_msthash="506137" _msttexthash="5712018"]]
1734 1734  
1964 +Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_msthash="506137" _msttexthash="5712018" style="background-color: rgb(255, 255, 255);"]]
1735 1735  
1736 1736  
1967 +
1737 1737  == 6.4 How to use TTL-USB to connect a PC to input AT commands? ==
1738 1738  
1970 +
1739 1739  [[image:image-20220615153355-1.png]]
1740 1740  
1741 1741  [[image:1655802313617-381.png]]
... ... @@ -1763,6 +1763,7 @@
1763 1763  [[image:image-20220615170542-5.png]]
1764 1764  
1765 1765  
1998 +
1766 1766  (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
1767 1767  
1768 1768  (% _msthash="506146" _msttexthash="52173160" %)
... ... @@ -1776,6 +1776,7 @@
1776 1776  [[image:image-20220621170938-2.png]]
1777 1777  
1778 1778  
2012 +
1779 1779  (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
1780 1780  
1781 1781  [[image:image-20220615171334-6.png]]
... ... @@ -1792,13 +1792,16 @@
1792 1792  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
1793 1793  
1794 1794  
2029 +
1795 1795  == 6.6 Using USB-TYPE-C to connect to the computer using the AT command ==
1796 1796  
2032 +
1797 1797  [[image:image-20220623110706-1.png]]
1798 1798  
1799 1799  
1800 1800  [[image:image-20220623112117-4.png||height="459" width="343"]]
1801 1801  
2038 +
1802 1802  (((
1803 1803  In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
1804 1804  )))
... ... @@ -1809,15 +1809,19 @@
1809 1809  [[image:image-20220615154519-3.png||height="672" width="807"]]
1810 1810  
1811 1811  
2049 +
1812 1812  == 6.7 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1813 1813  
2052 +
1814 1814  [[image:image-20220623110706-1.png]]
1815 1815  
2055 +
1816 1816  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1817 1817  
1818 1818  [[image:image-20220615170542-5.png]]
1819 1819  
1820 1820  
2061 +
1821 1821  (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
1822 1822  
1823 1823  (% _msthash="506146" _msttexthash="52173160" %)
... ... @@ -1829,6 +1829,8 @@
1829 1829  (% _msthash="506146" _msttexthash="52173160" %)
1830 1830  Press and hold the start key to restart and enter  (% _mstvisible="1" %)bootlaod(%%) mode.
1831 1831  
2073 +
2074 +
1832 1832  (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
1833 1833  
1834 1834  [[image:image-20220615171334-6.png]]
... ... @@ -1845,6 +1845,7 @@
1845 1845  Finally,restart reset device again
1846 1846  
1847 1847  
2091 +
1848 1848  = 7. Order Info =
1849 1849  
1850 1850  
... ... @@ -1852,20 +1852,13 @@
1852 1852  
1853 1853  (% style="color:#4f81bd" %)**XX **(%%): The default frequency band
1854 1854  
1855 -(% style="color:#4f81bd" %)** **(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1856 -
2099 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1857 1857  * (% style="color:#4f81bd" %)** **(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1858 -
1859 1859  * (% style="color:#4f81bd" %)** **(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1860 -
1861 1861  * (% style="color:#4f81bd" %)** **(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1862 -
1863 1863  * (% style="color:#4f81bd" %)** **(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1864 -
1865 1865  * (% style="color:#4f81bd" %)** **(% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1866 -
1867 1867  * (% style="color:#4f81bd" %)** **(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1868 -
1869 1869  * (% style="color:#4f81bd" %)** **(% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1870 1870  
1871 1871  (% style="color:#4f81bd" %)**YY**(%%): Sensor Accessories
... ... @@ -1872,7 +1872,6 @@
1872 1872  
1873 1873  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1874 1874  
1875 -
1876 1876  = 8. Packing Info =
1877 1877  
1878 1878  
... ... @@ -1886,16 +1886,19 @@
1886 1886  * Device Size:  10 x 10 x 3.5 cm
1887 1887  * Device Weight: 120.5g
1888 1888  
1889 -
1890 1890  = 9. Reference material =
1891 1891  
2127 +
1892 1892  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
1893 1893  
1894 -
1895 1895  = 10. FCC Warning =
1896 1896  
2132 +
1897 1897  This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
1898 1898  
1899 1899  (1) This device may not cause harmful interference;
1900 1900  
1901 1901  (2) this device must accept any interference received, including interference that may cause undesired operation.
2138 +
2139 +
2140 +
image-20220906100852-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +251.9 KB
Content
image-20220906101145-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +6.3 KB
Content
image-20220906101145-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +6.6 KB
Content
image-20220906101320-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +202.3 KB
Content
image-20220906101320-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +206.1 KB
Content
image-20220906101320-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +7.1 KB
Content
image-20220906102307-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +7.3 KB
Content
image-20220927095645-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +174.1 KB
Content
image-20221006192726-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +17.3 KB
Content