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

From version 229.1
edited by Bei Jinggeng
on 2023/03/02 14:10
Change comment: There is no comment for this version
To version 217.1
edited by Bei Jinggeng
on 2022/11/11 11:27
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,7 +5,8 @@
5 5  
6 6  
7 7  
8 -**Table of Contents:**
8 +(% _mstvisible="1" %)
9 +(% _msthash="315238" _msttexthash="18964465" _mstvisible="3" %)**Table of Contents:**
9 9  
10 10  {{toc/}}
11 11  
... ... @@ -15,6 +15,7 @@
15 15  
16 16  = 1. Introduction =
17 17  
19 +
18 18  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
19 19  
20 20  
... ... @@ -43,9 +43,11 @@
43 43  )))
44 44  
45 45  
48 +
46 46  == 1.2 Features ==
47 47  
48 48  
52 +* Wall mountable
49 49  * LoRaWAN v1.0.3 Class A protocol
50 50  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
51 51  * AT Commands to change parameters
... ... @@ -83,6 +83,7 @@
83 83  
84 84  = 2. Connect LHT65N to IoT Server =
85 85  
90 +
86 86  == 2.1 How does LHT65N work? ==
87 87  
88 88  
... ... @@ -95,6 +95,7 @@
95 95  )))
96 96  
97 97  
103 +
98 98  == 2.2 How to Activate LHT65N? ==
99 99  
100 100  
... ... @@ -103,7 +103,7 @@
103 103  )))
104 104  
105 105  * (((
106 -(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
112 +(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesnt have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
107 107  )))
108 108  * (((
109 109  (% style="color:blue" %)**Working Mode**(%%):  In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 
... ... @@ -114,20 +114,21 @@
114 114  )))
115 115  
116 116  
117 -[[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]]
123 +[[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]]
118 118  
119 -[[image:image-20220525110604-2.png||_mstalt="427531"]]
125 +[[image:image-20220525110604-2.png||_mstalt="427531" _mstvisible="3"]]
120 120  
121 121  
128 +
122 122  == 2.3 Example to join LoRaWAN network ==
123 123  
124 124  
125 -(% class="wikigeneratedid" %)
132 +(% _msthash="315240" _msttexthash="9205482" _mstvisible="1" class="wikigeneratedid" %)
126 126  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.
127 127  
128 128  
129 -(% class="wikigeneratedid" %)
130 -[[image:image-20220522232442-1.png||_mstalt="427830" height="387" width="648"]]
136 +(% _mstvisible="1" class="wikigeneratedid" %)
137 +[[image:image-20220522232442-1.png||_mstalt="427830" _mstvisible="3" height="387" width="648"]]
131 131  
132 132  
133 133  (((
... ... @@ -135,6 +135,7 @@
135 135  )))
136 136  
137 137  
145 +
138 138  === 2.3.1 Step 1: Create Device n TTN ===
139 139  
140 140  
... ... @@ -146,7 +146,7 @@
146 146  Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
147 147  )))
148 148  
149 -[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
157 +[[image:image-20220617150003-1.jpeg]]
150 150  
151 151  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
152 152  
... ... @@ -153,13 +153,13 @@
153 153  Add APP EUI in the application.
154 154  
155 155  
156 -[[image:image-20220522232916-3.png||_mstalt="430495"]]
164 +[[image:image-20220522232916-3.png||_mstalt="430495" _mstvisible="3"]]
157 157  
158 158  
159 -[[image:image-20220522232932-4.png||_mstalt="430157"]]
167 +[[image:image-20220522232932-4.png||_mstalt="430157" _mstvisible="3"]]
160 160  
161 161  
162 -[[image:image-20220522232954-5.png||_mstalt="431847"]]
170 +[[image:image-20220522232954-5.png||_mstalt="431847" _mstvisible="3"]]
163 163  
164 164  
165 165  
... ... @@ -166,15 +166,17 @@
166 166  (% style="color:red" %)**Note: LHT65N use same payload as LHT65.**
167 167  
168 168  
169 -[[image:image-20220522233026-6.png||_mstalt="429403"]]
177 +[[image:image-20220522233026-6.png||_mstalt="429403" _mstvisible="3"]]
170 170  
171 171  
172 172  Input APP EUI,  APP KEY and DEV EUI:
173 173  
174 174  
175 -[[image:image-20220522233118-7.png||_mstalt="430430"]]
183 +[[image:image-20220522233118-7.png||_mstalt="430430" _mstvisible="3"]]
176 176  
177 177  
186 +
187 +
178 178  === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
179 179  
180 180  
... ... @@ -182,18 +182,19 @@
182 182  Use ACT button to activate LHT65N and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel.
183 183  )))
184 184  
185 -[[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]]
195 +[[image:image-20220522233300-8.png||_mstalt="428389" _mstvisible="3" height="219" width="722"]]
186 186  
187 187  
198 +
188 188  == 2.4 Uplink Payload   ( Fport~=2) ==
189 189  
190 190  
191 191  (((
192 -The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
203 +The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% _mstvisible="3" style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
193 193  )))
194 194  
195 195  (((
196 -After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
207 +After each uplink, the (% _mstvisible="3" style="color:blue" %)**BLUE LED**(%%) will blink once.
197 197  )))
198 198  
199 199  (% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
... ... @@ -230,7 +230,7 @@
230 230  
231 231  * The First 6 bytes: has fix meanings for every LHT65N.
232 232  * The 7th byte (EXT #): defines the external sensor model.
233 -* The 8^^th^^ ~~ 11^^th^^ byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won't be these four bytes.)
244 +* The 8(% _msthash="734578" _msttexthash="21372" _mstvisible="4" %)^^th^^(%%) ~~ 11(% _msthash="734579" _msttexthash="21372" _mstvisible="4" %)^^th^^(%%) byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won't be these four bytes.)
234 234  
235 235  === 2.4.1 Decoder in TTN V3 ===
236 236  
... ... @@ -240,18 +240,19 @@
240 240  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]]
241 241  
242 242  
243 -[[image:image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]]
254 +[[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]]
244 244  
245 245  
257 +
246 246  === 2.4.2 BAT-Battery Info ===
247 247  
248 248  
249 249  These two bytes of BAT include the battery state and the actually voltage
250 250  
251 -[[image:image-20220523152839-18.png||_mstalt="457613"]]
263 +[[image:image-20220523152839-18.png||_mstalt="457613" _mstvisible="3"]]
252 252  
253 253  
254 -[[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
266 +[[image:image-20220522235639-1.png||_mstalt="431392" _mstvisible="3" height="139" width="727"]]
255 255  
256 256  
257 257  Check the battery voltage for LHT65N.
... ... @@ -262,11 +262,11 @@
262 262  === 2.4.3 Built-in Temperature ===
263 263  
264 264  
265 -[[image:image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]]
277 +[[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]]
266 266  
267 267  * Temperature:  0x0ABB/100=27.47℃
268 268  
269 -[[image:image-20220522235639-3.png||_mstalt="432120"]]
281 +[[image:image-20220522235639-3.png||_mstalt="432120" _mstvisible="3"]]
270 270  
271 271  * Temperature:  (0xF5C6-65536)/100=-26.18℃
272 272  
... ... @@ -273,7 +273,7 @@
273 273  === 2.4.4 Built-in Humidity ===
274 274  
275 275  
276 -[[image:image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]]
288 +[[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]]
277 277  
278 278  * Humidity:    0x025C/10=60.4%
279 279  
... ... @@ -282,15 +282,17 @@
282 282  
283 283  Bytes for External Sensor:
284 284  
285 -[[image:image-20220523152822-17.png||_mstalt="454545"]]
297 +[[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]]
286 286  
287 287  
300 +
288 288  === 2.4.6 Ext value ===
289 289  
303 +
290 290  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
291 291  
292 292  
293 -[[image:image-20220522235639-5.png||_mstalt="432848"]]
307 +[[image:image-20220522235639-5.png||_mstalt="432848" _mstvisible="3"]]
294 294  
295 295  
296 296  * DS18B20 temp=0x0ADD/100=27.81℃
... ... @@ -299,15 +299,11 @@
299 299  
300 300  
301 301  
302 -[[image:image-20220522235639-6.png||_mstalt="433212"]]
316 +[[image:image-20220522235639-6.png||_mstalt="433212" _mstvisible="3"]]
303 303  
304 304  
305 305  * External temperature= (0xF54F-65536)/100=-27.37℃
306 306  
307 -F54F :  (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃
308 -
309 -(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
310 -
311 311  The last 2 bytes of data are meaningless
312 312  
313 313  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
... ... @@ -355,7 +355,7 @@
355 355  
356 356  * **Battery status & Built-in Humidity**
357 357  
358 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %)
368 +(% _mstvisible="1" border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %)
359 359  |=(% style="width: 67px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]
360 360  |(% style="width:67px" %)Value|(% style="width:256px" %)(((
361 361  BAT Status
... ... @@ -386,7 +386,7 @@
386 386  
387 387  (% style="color:blue" %)**sensor by setting:**
388 388  
389 -**AT+EXT=6,timeout**  (% style="color:red" %)**Time to power this sensor, from 0 ~~ 65535ms**
399 +**AT+EXT=6,timeout**  (% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)**Time to power this sensor, from 0 ~~ 65535ms**
390 390  
391 391  **For example:**
392 392  
... ... @@ -399,12 +399,12 @@
399 399  
400 400  When the measured output voltage of the sensor is not within the range of 0.1V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and connect the corresponding resistance in series.
401 401  
402 -[[image:image-20220628150112-1.png||_mstalt="427414" height="241" width="285"]]
412 +[[image:image-20220628150112-1.png||height="241" width="285"]]
403 403  
404 404  
405 405  When ADC_IN1 pin is connected to GND or suspended, ADC value is 0
406 406  
407 -[[image:image-20220628150714-4.png||_mstalt="431054"]]
417 +[[image:image-20220628150714-4.png]]
408 408  
409 409  
410 410  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.
... ... @@ -412,17 +412,17 @@
412 412  
413 413  1) The minimum range is about 0.1V. Each chip has internal calibration, so this value is close to 0.1V
414 414  
415 -[[image:image-20220628151005-5.png||_mstalt="429546"]]
425 +[[image:image-20220628151005-5.png]]
416 416  
417 417  
418 418  2) The maximum range is about 1.1V. Each chip has internal calibration, so this value is close to 1.1v
419 419  
420 -[[image:image-20220628151056-6.png||_mstalt="431873"]]
430 +[[image:image-20220628151056-6.png]]
421 421  
422 422  
423 423  3) Within range
424 424  
425 -[[image:image-20220628151143-7.png||_mstalt="431210"]]
435 +[[image:image-20220628151143-7.png]]
426 426  
427 427  
428 428  
... ... @@ -429,12 +429,12 @@
429 429  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
430 430  
431 431  
432 -[[image:image-20220927095645-1.png||_mstalt="433771" height="534" width="460"]]
442 +[[image:image-20220927095645-1.png||height="534" width="460"]]
433 433  
434 434  
435 435  (% style="color:blue" %)**Ext=2,Temperature Sensor(TMP117):**
436 436  
437 -[[image:image-20220906102307-7.png||_mstalt="430443"]]
447 +[[image:image-20220906102307-7.png]]
438 438  
439 439  
440 440  (% style="color:blue" %)**Interrupt Mode and Counting Mode:**
... ... @@ -457,7 +457,7 @@
457 457  
458 458   In Close state, the power consumption will be 3uA higher than normal.
459 459  
460 -[[image:image-20220906100852-1.png||_mstalt="429156" height="205" width="377"]]
470 +[[image:image-20220906100852-1.png||height="205" width="377"]]
461 461  
462 462  
463 463  Ext=4,Interrupt Sensor:
... ... @@ -481,12 +481,12 @@
481 481  
482 482  Trigger by falling edge:
483 483  
484 -[[image:image-20220906101145-2.png||_mstalt="428324"]]
494 +[[image:image-20220906101145-2.png]]
485 485  
486 486  
487 487  Trigger by raising edge:
488 488  
489 -[[image:image-20220906101145-3.png||_mstalt="428688"]]
499 +[[image:image-20220906101145-3.png]]
490 490  
491 491  
492 492  
... ... @@ -498,12 +498,12 @@
498 498  
499 499  (% 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.
500 500  
501 -[[image:image-20220906101320-4.png||_mstalt="427336" height="366" width="698"]]
511 +[[image:image-20220906101320-4.png||height="366" width="698"]]
502 502  
503 503  
504 504  (% 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
505 505  
506 -[[image:image-20220906101320-5.png||_mstalt="427700" height="353" width="696"]]
516 +[[image:image-20220906101320-5.png||height="353" width="696"]]
507 507  
508 508  
509 509  Ext=8, Counting Sensor ( 4 bytes):
... ... @@ -525,7 +525,7 @@
525 525  Sent current count to 60
526 526  )))
527 527  
528 -[[image:image-20220906101320-6.png||_mstalt="428064"]]
538 +[[image:image-20220906101320-6.png]]
529 529  
530 530  
531 531  (% style="color:blue" %)**A2 downlink Command:**
... ... @@ -541,6 +541,7 @@
541 541  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)
542 542  
543 543  
554 +
544 544  == 2.5 Show data on Datacake ==
545 545  
546 546  
... ... @@ -569,7 +569,7 @@
569 569  )))
570 570  
571 571  
572 -[[image:image-20220523000825-7.png||_mstalt="429884" height="262" width="583"]]
583 +[[image:image-20220523000825-7.png||_mstalt="429884" _mstvisible="3" height="262" width="583"]]
573 573  
574 574  
575 575  
... ... @@ -576,18 +576,19 @@
576 576  Select default key as Access Key:
577 577  
578 578  
579 -[[image:image-20220523000825-8.png||_mstalt="430248" height="453" width="406"]]
590 +[[image:image-20220523000825-8.png||_mstalt="430248" _mstvisible="3" height="453" width="406"]]
580 580  
581 581  
582 -In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device.
593 +In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/||_mstvisible="2"]]) , add LHT65 device.
583 583  
584 584  
585 -[[image:image-20220523000825-9.png||_mstalt="430612" height="366" width="392"]]
596 +[[image:image-20220523000825-9.png||_mstalt="430612" _mstvisible="3" height="366" width="392"]]
586 586  
587 587  
588 -[[image:image-20220523000825-10.png||_mstalt="450619" height="413" width="728"]]
599 +[[image:image-20220523000825-10.png||_mstalt="450619" _mstvisible="3" height="413" width="728"]]
589 589  
590 590  
602 +
591 591  == 2.6 Datalog Feature ==
592 592  
593 593  
... ... @@ -596,6 +596,7 @@
596 596  )))
597 597  
598 598  
611 +
599 599  === 2.6.1 Ways to get datalog via LoRaWAN ===
600 600  
601 601  
... ... @@ -615,9 +615,10 @@
615 615  Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
616 616  
617 617  
618 -[[image:image-20220703111700-2.png||_mstalt="426244" height="381" width="1119"]]
631 +[[image:image-20220703111700-2.png||height="381" width="1119"]]
619 619  
620 620  
634 +
621 621  === 2.6.2 Unix TimeStamp ===
622 622  
623 623  
... ... @@ -624,20 +624,20 @@
624 624  LHT65N uses Unix TimeStamp format based on
625 625  
626 626  
627 -[[image:image-20220523001219-11.png||_mstalt="450450" height="97" width="627"]]
641 +[[image:image-20220523001219-11.png||_mstalt="450450" _mstvisible="3" height="97" width="627"]]
628 628  
629 629  
630 630  
631 -User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
645 +User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/||_mstvisible="3"]] :
632 632  
633 633  Below is the converter example
634 634  
635 -[[image:image-20220523001219-12.png||_mstalt="450827" height="298" width="720"]]
649 +[[image:image-20220523001219-12.png||_mstalt="450827" _mstvisible="3" height="298" width="720"]]
636 636  
637 -
638 638  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
639 639  
640 640  
654 +
641 641  === 2.6.3 Set Device Time ===
642 642  
643 643  
... ... @@ -661,6 +661,9 @@
661 661  (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
662 662  )))
663 663  
678 +(((
679 +
680 +)))
664 664  
665 665  (((
666 666  **2. Manually Set Time**
... ... @@ -671,23 +671,25 @@
671 671  )))
672 672  
673 673  
691 +
674 674  === 2.6.4 Poll sensor value ===
675 675  
676 676  
677 677  User can poll sensor value based on timestamps from the server. Below is the downlink command.
678 678  
679 -[[image:image-20220523152302-15.png||_mstalt="451581"]]
697 +[[image:image-20220523152302-15.png||_mstalt="451581" _mstvisible="3"]]
680 680  
681 681  
682 682  Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval.
683 683  
684 -For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
702 +For example, downlink command **31 5FC5F350 5FC6 0160 05**
685 685  
686 -Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data
704 +Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00s data
687 687  
688 688  Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s.
689 689  
690 690  
709 +
691 691  === 2.6.5 Datalog Uplink payload ===
692 692  
693 693  
... ... @@ -703,7 +703,7 @@
703 703  
704 704  **Poll message flag & Ext:**
705 705  
706 -[[image:image-20221006192726-1.png||_mstalt="430508" height="112" width="754"]]
725 +[[image:image-20221006192726-1.png||height="112" width="754"]]
707 707  
708 708  (% style="color:blue" %)**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)
709 709  
... ... @@ -730,7 +730,7 @@
730 730  
731 731  If LHT65N has below data inside Flash:
732 732  
733 -[[image:image-20220523144455-1.png||_mstalt="430040" height="335" width="735"]]
752 +[[image:image-20220523144455-1.png||_mstalt="430040" _mstvisible="3" height="335" width="735"]]
734 734  
735 735  
736 736  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
... ... @@ -742,7 +742,7 @@
742 742  
743 743  **LHT65N will uplink this payload.**
744 744  
745 -[[image:image-20220523001219-13.png||_mstalt="451204" height="421" style="text-align:left" width="727"]]
764 +[[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]]
746 746  
747 747  
748 748  __**7FFF089801464160065F97**__ **__7FFF__ __088E__ __014B__ __41__ __60066009__** 7FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
... ... @@ -762,6 +762,7 @@
762 762  Unix time is 0x60066009=1611030423s=21/1/19 04:27:03
763 763  
764 764  
784 +
765 765  == 2.7 Alarm Mode & Feature "Multi sampling, one uplink" ==
766 766  
767 767  
... ... @@ -773,10 +773,11 @@
773 773  (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
774 774  
775 775  
796 +
776 776  === 2.7.1 ALARM MODE ( Since v1.3.1 firmware) ===
777 777  
778 778  
779 -**Internal GXHT30 temperature alarm(Acquisition time: fixed at one minute)**
800 +**Internal GXHT30 temperature alarm**
780 780  
781 781  (((
782 782  (% class="box infomessage" %)
... ... @@ -787,7 +787,7 @@
787 787  
788 788  **AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
789 789  
790 -(% _mstmutation="1" %)**AT+ARTEMP=? **(%%):  Gets the alarm range of the internal temperature sensor(% style="display:none" %)
811 +**AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
791 791  
792 792  **AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
793 793  
... ... @@ -840,7 +840,7 @@
840 840  TEMPhigh=0014
841 841  
842 842  
843 -**Fluctuation alarm for DS18B20 and TMP117(Acquisition time: minimum 1s)**
864 +**Fluctuation alarm for DS18B20 and TMP117**
844 844  
845 845  **AT+WMOD=2,60,5** 
846 846  
... ... @@ -855,19 +855,10 @@
855 855  temperature fluctuation=05
856 856  
857 857  
858 -**Sampling multiple times and uplink together**
879 +==== **Sampling multiple times and uplink together** ====
859 859  
860 -**AT+WMOD=3,1,60,20,-16,32,1**   
881 +**AT+WMOD=3,1,60,20,-16,32,1**  ~/~/ Mode 3, the collection interval is 60s, the total number of collection is 20 times, and the data of these 20 times will be sent to the 20th time, with a maximum of 60 groups, the normal working temperature range is -16 to 32°C, 1 is to open the temperature alarm, 0 is to close the temperature alarm, and the temperature is turned on. After the alarm, if the temperature collected at the current time exceeds the normal working temperature, a data will be sent immediately.
861 861  
862 -Explain:
863 -
864 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3**
865 -* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30).
866 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s.
867 -* (% style="color:#037691" %)**parameter4:**(%%)When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink)
868 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C,
869 -* (% style="color:#037691" %)**parameter7:**(%%) 1 to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately  if temperate exceeds the Alarm range.
870 -
871 871  (% style="color:#4f81bd" %)**Downlink Command:**
872 872  
873 873  **Example: **A50301003C14FFF0002001
... ... @@ -874,7 +874,7 @@
874 874  
875 875  MOD=03
876 876  
877 -TEMP=DS18B20
889 +EXT=01
878 878  
879 879  CITEMP=003C(S)
880 880  
... ... @@ -886,13 +886,14 @@
886 886  
887 887  ARTEMP=01
888 888  
901 +
889 889  **Uplink payload( Fport=3)**
890 890  
891 -**Example: CBEA**01**0992**//0A41//**09C4**
904 +**Example: **CBEA0109920A4109C4
892 892  
893 893  BatV=CBEA
894 894  
895 -TEMP=DS18B20
908 +EXT=01
896 896  
897 897  Temp1=0992  ~/~/ 24.50℃
898 898  
... ... @@ -900,16 +900,22 @@
900 900  
901 901  Temp3=09C4  ~/~/ 25.00℃
902 902  
916 +
903 903  (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length**
904 904  
905 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
906 -)))
919 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
907 907  
908 908  
922 +
923 +)))
924 +
925 +(((
909 909  === 2.7.2 ALARM MODE ( Before v1.3.1 firmware) ===
910 910  
928 +
929 +)))
911 911  
912 -(% class="box infomessage" %)
931 +(% _mstvisible="1" class="box infomessage" %)
913 913  (((
914 914  (((
915 915  **AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
... ... @@ -924,7 +924,7 @@
924 924  )))
925 925  
926 926  (((
927 -(% _mstmutation="1" %)**AT+ARTEMP=? **(%%):  Gets the alarm range of the internal temperature sensor(% style="display:none" %)
946 +**AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
928 928  )))
929 929  
930 930  (((
... ... @@ -947,6 +947,7 @@
947 947  TEMPhigh=003C
948 948  
949 949  
969 +
950 950  == 2.8 LED Indicator ==
951 951  
952 952  
... ... @@ -964,15 +964,18 @@
964 964  == 2.9 installation ==
965 965  
966 966  
967 -[[image:image-20220516231650-1.png||_mstalt="428597" height="436" width="428"]]
987 +(% _mstvisible="1" %)
988 +[[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]]
968 968  
969 969  
991 +
970 970  = 3. Sensors and Accessories =
971 971  
994 +
972 972  == 3.1 E2 Extension Cable ==
973 973  
974 974  
975 -[[image:image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]]
998 +[[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]]
976 976  
977 977  
978 978  **1m long breakout cable for LHT65N. Features:**
... ... @@ -996,13 +996,15 @@
996 996  
997 997  )))
998 998  
999 -[[image:image-20220619092421-3.png||_mstalt="430547" height="371" width="529"]]
1022 +[[image:image-20220619092421-3.png||height="371" width="529"]]
1000 1000  
1001 1001  
1025 +
1026 +
1002 1002  == 3.2 E3 Temperature Probe ==
1003 1003  
1004 1004  
1005 -[[image:image-20220515080154-4.png||_mstalt="434681" alt="photo-20220515080154-4.png" height="182" width="161"]] [[image:image-20220515080330-5.png||_mstalt="428792" height="201" width="195"]]
1030 +[[image:image-20220515080154-4.png||_mstalt="434681" _mstvisible="3" alt="photo-20220515080154-4.png" height="182" width="161"]] [[image:image-20220515080330-5.png||_mstalt="428792" _mstvisible="3" height="201" width="195"]]
1006 1006  
1007 1007  
1008 1008  Temperature sensor with 2 meters cable long
... ... @@ -1060,6 +1060,7 @@
1060 1060  )))
1061 1061  
1062 1062  
1088 +
1063 1063  == 4.1 Set Transmit Interval Time ==
1064 1064  
1065 1065  
... ... @@ -1068,7 +1068,7 @@
1068 1068  
1069 1069  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1070 1070  
1071 -[[image:image-20220523150701-2.png||_mstalt="427453"]]
1097 +[[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]]
1072 1072  
1073 1073  
1074 1074  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
... ... @@ -1089,7 +1089,7 @@
1089 1089  
1090 1090  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1091 1091  
1092 -[[image:image-20220523150759-3.png||_mstalt="432146"]]
1118 +[[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]]
1093 1093  
1094 1094  
1095 1095  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
... ... @@ -1126,7 +1126,7 @@
1126 1126  
1127 1127  (% style="color:#4f81bd" %)**AT Command:**
1128 1128  
1129 -[[image:image-20220523150928-4.png||_mstalt="431821"]]
1155 +[[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]]
1130 1130  
1131 1131  
1132 1132  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1142,7 +1142,7 @@
1142 1142  
1143 1143  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1144 1144  
1145 -[[image:image-20220523151052-5.png||_mstalt="428623"]]
1171 +[[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]]
1146 1146  
1147 1147  
1148 1148  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1150,6 +1150,7 @@
1150 1150  No downlink command for this feature.
1151 1151  
1152 1152  
1179 +
1153 1153  == 4.5 Quit AT Command ==
1154 1154  
1155 1155  
... ... @@ -1158,7 +1158,7 @@
1158 1158  
1159 1159  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1160 1160  
1161 -[[image:image-20220523151132-6.png||_mstalt="428649"]]
1188 +[[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]]
1162 1162  
1163 1163  
1164 1164  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1166,6 +1166,7 @@
1166 1166  No downlink command for this feature.
1167 1167  
1168 1168  
1196 +
1169 1169  == 4.6 Set to sleep mode ==
1170 1170  
1171 1171  
... ... @@ -1174,12 +1174,12 @@
1174 1174  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
1175 1175  * **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
1176 1176  
1177 -(% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1205 +(% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1178 1178  
1179 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
1207 +[[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]]
1180 1180  
1181 1181  
1182 -(% style="color:#4f81bd" %)**Downlink Command:**
1210 +(% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1183 1183  
1184 1184  * There is no downlink command to set to Sleep mode.
1185 1185  
... ... @@ -1189,16 +1189,17 @@
1189 1189  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1190 1190  
1191 1191  
1192 -(% style="color:#4f81bd" %)**AT Command:**
1220 +(% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1193 1193  
1194 -[[image:image-20220523151253-8.png||_mstalt="430677"]]
1222 +[[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]]
1195 1195  
1196 1196  
1197 -(% style="color:#4f81bd" %)**Downlink Command:**
1225 +(% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1198 1198  
1199 1199  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1200 1200  
1201 1201  
1230 +
1202 1202  == 4.8 Set Time Sync Mode ==
1203 1203  
1204 1204  
... ... @@ -1212,9 +1212,9 @@
1212 1212  
1213 1213  )))
1214 1214  
1215 -(% style="color:#4f81bd" %)**AT Command:**
1244 +(% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1216 1216  
1217 -[[image:image-20220523151336-9.png||_mstalt="431717"]]
1246 +[[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]]
1218 1218  
1219 1219  
1220 1220  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1223,6 +1223,7 @@
1223 1223  0x28 00  ~/~/  Same As AT+SYNCMOD=0
1224 1224  
1225 1225  
1255 +
1226 1226  == 4.9 Set Time Sync Interval ==
1227 1227  
1228 1228  
... ... @@ -1229,16 +1229,17 @@
1229 1229  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1230 1230  
1231 1231  
1232 -(% style="color:#4f81bd" %)**AT Command:**
1262 +(% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1233 1233  
1234 -[[image:image-20220523151411-10.png||_mstalt="449696"]]
1264 +[[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]]
1235 1235  
1236 1236  
1237 -(% style="color:#4f81bd" %)**Downlink Command:**
1267 +(% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1238 1238  
1239 1239  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
1240 1240  
1241 1241  
1272 +
1242 1242  == 4.10 Print data entries base on page. ==
1243 1243  
1244 1244  
... ... @@ -1245,16 +1245,17 @@
1245 1245  Feature: Print the sector data from start page to stop page (max is 416 pages).
1246 1246  
1247 1247  
1248 -(% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1279 +(% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA**
1249 1249  
1250 -[[image:image-20220523151450-11.png||_mstalt="451035"]]
1281 +[[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]]
1251 1251  
1252 1252  
1253 -(% style="color:#4f81bd" %)**Downlink Command:**
1284 +(% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1254 1254  
1255 1255  No downlink commands for feature
1256 1256  
1257 1257  
1289 +
1258 1258  == 4.11 Print last few data entries. ==
1259 1259  
1260 1260  
... ... @@ -1261,16 +1261,17 @@
1261 1261  Feature: Print the last few data entries
1262 1262  
1263 1263  
1264 -(% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1296 +(% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1265 1265  
1266 -[[image:image-20220523151524-12.png||_mstalt="452101"]]
1298 +[[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]]
1267 1267  
1268 1268  
1269 -(% style="color:#4f81bd" %)**Downlink Command:**
1301 +(% _msthash="315261" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1270 1270  
1271 1271  No downlink commands for feature
1272 1272  
1273 1273  
1306 +
1274 1274  == 4.12 Clear Flash Record ==
1275 1275  
1276 1276  
... ... @@ -1279,7 +1279,7 @@
1279 1279  
1280 1280  (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1281 1281  
1282 -[[image:image-20220523151556-13.png||_mstalt="454129"]]
1315 +[[image:image-20220523151556-13.png||_mstalt="454129" _mstvisible="3"]]
1283 1283  
1284 1284  
1285 1285  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
... ... @@ -1356,33 +1356,43 @@
1356 1356  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.
1357 1357  
1358 1358  
1392 +
1359 1359  = 5. Battery & How to replace =
1360 1360  
1395 +
1361 1361  == 5.1 Battery Type ==
1362 1362  
1363 1363  
1364 1364  (((
1400 +(((
1365 1365  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.
1366 1366  )))
1403 +)))
1367 1367  
1368 1368  (((
1369 -The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1406 +
1407 +)))
1370 1370  
1371 -
1372 -[[image:image-20220515075034-1.png||_mstalt="428961" height="208" width="644"]]
1409 +(((
1410 +(((
1411 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1412 +[[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]]
1373 1373  )))
1414 +)))
1374 1374  
1375 1375  The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1376 1376  
1377 1377  
1419 +
1378 1378  == 5.2 Replace Battery ==
1379 1379  
1380 1380  
1381 1381  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.
1382 1382  
1383 -[[image:image-20220515075440-2.png||_mstalt="429546" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" height="193" width="257"]]
1425 +[[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"]]
1384 1384  
1385 1385  
1428 +
1386 1386  == 5.3 Battery Life Analyze ==
1387 1387  
1388 1388  
... ... @@ -1391,6 +1391,9 @@
1391 1391  [[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]]
1392 1392  )))
1393 1393  
1437 +(((
1438 +
1439 +)))
1394 1394  
1395 1395  (((
1396 1396  A full detail test report for LHT65N on different frequency can be found at : [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0>>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]]
... ... @@ -1397,8 +1397,10 @@
1397 1397  )))
1398 1398  
1399 1399  
1446 +
1400 1400  = 6. FAQ =
1401 1401  
1449 +
1402 1402  == 6.1 How to use AT Command? ==
1403 1403  
1404 1404  
... ... @@ -1407,7 +1407,7 @@
1407 1407  [[image:image-20220530085651-1.png||_mstalt="429949"]]
1408 1408  
1409 1409  
1410 -**Connection:**
1458 +(% _msthash="506061" _msttexthash="170755" %)**Connection:**
1411 1411  
1412 1412  * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND**
1413 1413  * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
... ... @@ -1423,148 +1423,215 @@
1423 1423  [[image:image-20220530095701-4.png||_mstalt="430014"]]
1424 1424  
1425 1425  
1474 +(% _msthash="506066" _msttexthash="544869" %)
1426 1426  AT Command List is as below:
1427 1427  
1477 +(% _msthash="506067" _msttexthash="361920" %)
1428 1428  AT+<CMD>? :  Help on <CMD>
1429 1429  
1480 +(% _msthash="506068" _msttexthash="243061" %)
1430 1430  AT+<CMD> :  Run <CMD>
1431 1431  
1483 +(% _msthash="506069" _msttexthash="704197" %)
1432 1432  AT+<CMD>=<value> :  Set the value
1433 1433  
1486 +(% _msthash="506070" _msttexthash="455676" %)
1434 1434  AT+<CMD>=? :  Get the value
1435 1435  
1489 +(% _msthash="506071" _msttexthash="670553" %)
1436 1436  AT+DEBUG:  Set more info output
1437 1437  
1492 +(% _msthash="506072" _msttexthash="485888" %)
1438 1438  ATZ:  Trig a reset of the MCU
1439 1439  
1495 +(% _msthash="506073" _msttexthash="2068872" %)
1440 1440  AT+FDR:  Reset Parameters to Factory Default, Keys Reserve
1441 1441  
1498 +(% _msthash="506074" _msttexthash="689169" %)
1442 1442  AT+DEUI:  Get or Set the Device EUI
1443 1443  
1501 +(% _msthash="506075" _msttexthash="960414" %)
1444 1444  AT+DADDR:  Get or Set the Device Address
1445 1445  
1504 +(% _msthash="506076" _msttexthash="1079897" %)
1446 1446  AT+APPKEY:  Get or Set the Application Key
1447 1447  
1507 +(% _msthash="506077" _msttexthash="1326143" %)
1448 1448  AT+NWKSKEY:  Get or Set the Network Session Key
1449 1449  
1510 +(% _msthash="506078" _msttexthash="1573000" %)
1450 1450  AT+APPSKEY:  Get or Set the Application Session Key
1451 1451  
1513 +(% _msthash="506079" _msttexthash="1041729" %)
1452 1452  AT+APPEUI:  Get or Set the Application EUI
1453 1453  
1516 +(% _msthash="506080" _msttexthash="2104206" %)
1454 1454  AT+ADR:  Get or Set the Adaptive Data Rate setting. (0: off, 1: on)
1455 1455  
1519 +(% _msthash="506081" _msttexthash="3369288" %)
1456 1456  AT+TXP:  Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)
1457 1457  
1522 +(% _msthash="506082" _msttexthash="1894529" %)
1458 1458  AT+DR:  Get or Set the Data Rate. (0-7 corresponding to DR_X)
1459 1459  
1525 +(% _msthash="506083" _msttexthash="3864172" %)
1460 1460  AT+DCS:  Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
1461 1461  
1528 +(% _msthash="506084" _msttexthash="1712204" %)
1462 1462  AT+PNM:  Get or Set the public network mode. (0: off, 1: on)
1463 1463  
1531 +(% _msthash="506085" _msttexthash="1281202" %)
1464 1464  AT+RX2FQ:  Get or Set the Rx2 window frequency
1465 1465  
1534 +(% _msthash="506086" _msttexthash="2796781" %)
1466 1466  AT+RX2DR:  Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
1467 1467  
1537 +(% _msthash="506087" _msttexthash="3285165" %)
1468 1468  AT+RX1DL:  Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
1469 1469  
1540 +(% _msthash="506088" _msttexthash="3286179" %)
1470 1470  AT+RX2DL:  Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
1471 1471  
1543 +(% _msthash="506089" _msttexthash="4703803" %)
1472 1472  AT+JN1DL:  Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms
1473 1473  
1546 +(% _msthash="506090" _msttexthash="4704999" %)
1474 1474  AT+JN2DL:  Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms
1475 1475  
1549 +(% _msthash="506091" _msttexthash="1528683" %)
1476 1476  AT+NJM:  Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1477 1477  
1552 +(% _msthash="506092" _msttexthash="757185" %)
1478 1478  AT+NWKID:  Get or Set the Network ID
1479 1479  
1555 +(% _msthash="506093" _msttexthash="1156597" %)
1480 1480  AT+FCU:  Get or Set the Frame Counter Uplink
1481 1481  
1558 +(% _msthash="506094" _msttexthash="1273987" %)
1482 1482  AT+FCD:  Get or Set the Frame Counter Downlink
1483 1483  
1561 +(% _msthash="506095" _msttexthash="859222" %)
1484 1484  AT+CLASS:  Get or Set the Device Class
1485 1485  
1564 +(% _msthash="506096" _msttexthash="384852" %)
1486 1486  AT+JOIN:  Join network
1487 1487  
1567 +(% _msthash="506097" _msttexthash="548626" %)
1488 1488  AT+NJS:  Get the join status
1489 1489  
1570 +(% _msthash="506098" _msttexthash="2546206" %)
1490 1490  AT+SENDB:  Send hexadecimal data along with the application port
1491 1491  
1573 +(% _msthash="506099" _msttexthash="1932307" %)
1492 1492  AT+SEND:  Send text data along with the application port
1493 1493  
1576 +(% _msthash="506100" _msttexthash="3560557" %)
1494 1494  AT+RECVB:  Print last received data in binary format (with hexadecimal values)
1495 1495  
1579 +(% _msthash="506101" _msttexthash="1429701" %)
1496 1496  AT+RECV:  Print last received data in raw format
1497 1497  
1582 +(% _msthash="506102" _msttexthash="1735981" %)
1498 1498  AT+VER:  Get current image version and Frequency Band
1499 1499  
1585 +(% _msthash="506103" _msttexthash="1189474" %)
1500 1500  AT+CFM:  Get or Set the confirmation mode (0-1)
1501 1501  
1588 +(% _msthash="506104" _msttexthash="1718210" %)
1502 1502  AT+CFS:  Get confirmation status of the last AT+SEND (0-1)
1503 1503  
1591 +(% _msthash="506105" _msttexthash="1339403" %)
1504 1504  AT+SNR:  Get the SNR of the last received packet
1505 1505  
1594 +(% _msthash="506106" _msttexthash="1452009" %)
1506 1506  AT+RSSI:  Get the RSSI of the last received packet
1507 1507  
1597 +(% _msthash="506107" _msttexthash="2768142" %)
1508 1508  AT+TDC:  Get or set the application data transmission interval in ms
1509 1509  
1600 +(% _msthash="506108" _msttexthash="1083914" %)
1510 1510  AT+PORT:  Get or set the application port
1511 1511  
1603 +(% _msthash="506109" _msttexthash="622440" %)
1512 1512  AT+DISAT:  Disable AT commands
1513 1513  
1606 +(% _msthash="506110" _msttexthash="868361" %)
1514 1514  AT+PWORD: Set password, max 9 digits
1515 1515  
1609 +(% _msthash="506111" _msttexthash="2210299" %)
1516 1516  AT+CHS:  Get or Set Frequency (Unit: Hz) for Single Channel Mode
1517 1517  
1612 +(% _msthash="506112" _msttexthash="2113462" %)
1518 1518  AT+CHE:  Get or Set eight channels mode,Only for US915,AU915,CN470
1519 1519  
1615 +(% _msthash="506113" _msttexthash="2087423" %)
1520 1520  AT+PDTA:  Print the sector data from start page to stop page
1521 1521  
1618 +(% _msthash="506114" _msttexthash="1063127" %)
1522 1522  AT+PLDTA:  Print the last few sets of data
1523 1523  
1621 +(% _msthash="506115" _msttexthash="1999426" %)
1524 1524  AT+CLRDTA:  Clear the storage, record position back to 1st
1525 1525  
1624 +(% _msthash="506116" _msttexthash="442130" %)
1526 1526  AT+SLEEP:  Set sleep mode
1527 1527  
1627 +(% _msthash="506117" _msttexthash="1080222" %)
1528 1528  AT+EXT:  Get or Set external sensor model
1529 1529  
1630 +(% _msthash="506118" _msttexthash="1309490" %)
1530 1530  AT+BAT:  Get the current battery voltage in mV
1531 1531  
1633 +(% _msthash="506119" _msttexthash="813891" %)
1532 1532  AT+CFG:  Print all configurations
1533 1533  
1636 +(% _msthash="506120" _msttexthash="551707" %)
1534 1534  AT+WMOD:  Get or Set Work Mode
1535 1535  
1639 +(% _msthash="506121" _msttexthash="2631499" %)
1536 1536  AT+ARTEMP:  Get or set the internal Temperature sensor alarm range
1537 1537  
1642 +(% _msthash="506122" _msttexthash="3907150" %)
1538 1538  AT+CITEMP:  Get or set the internal Temperature sensor collection interval in min
1539 1539  
1645 +(% _msthash="506123" _msttexthash="854620" %)
1540 1540  AT+SETCNT:  Set the count at present
1541 1541  
1648 +(% _msthash="506124" _msttexthash="2554877" %)
1542 1542  AT+RJTDC:  Get or set the ReJoin data transmission interval in min
1543 1543  
1651 +(% _msthash="506125" _msttexthash="771849" %)
1544 1544  AT+RPL:  Get or set response level
1545 1545  
1654 +(% _msthash="506126" _msttexthash="1484314" %)
1546 1546  AT+TIMESTAMP:  Get or Set UNIX timestamp in second
1547 1547  
1657 +(% _msthash="506127" _msttexthash="741728" %)
1548 1548  AT+LEAPSEC:  Get or Set Leap Second
1549 1549  
1660 +(% _msthash="506128" _msttexthash="1694017" %)
1550 1550  AT+SYNCMOD:  Get or Set time synchronization method
1551 1551  
1663 +(% _msthash="506129" _msttexthash="2235948" %)
1552 1552  AT+SYNCTDC:  Get or set time synchronization interval in day
1553 1553  
1666 +(% _msthash="506130" _msttexthash="425542" %)
1554 1554  AT+PID:  Get or set the PID
1555 1555  
1556 1556  
1670 +
1557 1557  == 6.2 Where to use AT commands and Downlink commands ==
1558 1558  
1559 1559  
1560 1560  **AT commands:**
1561 1561  
1562 -[[image:image-20220620153708-1.png||_mstalt="429806" height="603" width="723"]]
1676 +[[image:image-20220620153708-1.png||height="603" width="723"]]
1563 1563  
1564 1564  
1565 1565  **Downlink commands:**
1566 1566  
1567 1567  
1682 +
1568 1568  (% style="color:blue" %)**TTN:**
1569 1569  
1570 1570  [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]
... ... @@ -1592,18 +1592,20 @@
1592 1592  [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
1593 1593  
1594 1594  
1710 +
1595 1595  == 6.3 How to change the uplink interval? ==
1596 1596  
1597 1597  
1598 -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/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]]
1714 +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);"]]
1599 1599  
1600 1600  
1717 +
1601 1601  == 6.4 How to use TTL-USB to connect a PC to input AT commands? ==
1602 1602  
1603 1603  
1604 -[[image:image-20220615153355-1.png||_mstalt="430222"]]
1721 +[[image:image-20220615153355-1.png]]
1605 1605  
1606 -[[image:1655802313617-381.png||_mstalt="293917"]]
1723 +[[image:1655802313617-381.png]]
1607 1607  
1608 1608  
1609 1609  (((
... ... @@ -1613,37 +1613,39 @@
1613 1613  
1614 1614  Input password and ATZ to activate LHT65N,As shown below:
1615 1615  
1616 -[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
1733 +[[image:image-20220615154519-3.png||height="672" width="807"]]
1617 1617  
1618 1618  
1736 +
1619 1619  == 6.5 How to use TTL-USB to connect PC to upgrade firmware? ==
1620 1620  
1621 1621  
1622 -[[image:image-20220615153355-1.png||_mstalt="430222"]]
1740 +[[image:image-20220615153355-1.png]]
1623 1623  
1624 1624  
1625 1625  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1626 1626  
1627 -[[image:image-20220615170542-5.png||_mstalt="430638"]]
1745 +[[image:image-20220615170542-5.png]]
1628 1628  
1629 1629  
1630 1630  
1631 -(% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
1749 +(% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
1632 1632  
1751 +(% _msthash="506146" _msttexthash="52173160" %)
1633 1633  First connect the four lines;(% style="display:none" %)
1634 1634  
1635 -[[image:image-20220621170938-1.png||_mstalt="431340" height="413" width="419"]],(% style="display:none" %)
1754 +[[image:image-20220621170938-1.png||height="413" width="419"]](% _mstvisible="1" %),(% style="display:none" %)
1636 1636  
1637 1637  
1638 -Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode.
1757 +(% _mstvisible="1" %)Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode.
1639 1639  
1640 -[[image:image-20220621170938-2.png||_mstalt="431704"]]
1759 +[[image:image-20220621170938-2.png]]
1641 1641  
1642 1642  
1643 1643  
1644 1644  (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
1645 1645  
1646 -[[image:image-20220615171334-6.png||_mstalt="431028"]]
1765 +[[image:image-20220615171334-6.png]]
1647 1647  
1648 1648  
1649 1649  Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade.
... ... @@ -1651,27 +1651,22 @@
1651 1651  
1652 1652  When this interface appears, it indicates that the download has been completed.
1653 1653  
1654 -[[image:image-20220620160723-8.png||_mstalt="430703"]]
1773 +[[image:image-20220620160723-8.png]]
1655 1655  
1656 1656  
1657 1657  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
1658 1658  
1659 1659  
1779 +
1660 1660  == 6.6 Using USB-TYPE-C to connect to the computer using the AT command ==
1661 1661  
1662 1662  
1663 -[[image:image-20220623110706-1.png||_mstalt="427869"]]
1783 +[[image:image-20220623110706-1.png]]
1664 1664  
1665 1665  
1666 -**UART Port of LHT65N:**
1786 +[[image:image-20220623112117-4.png||height="459" width="343"]]
1667 1667  
1668 -* (% class="mark" %)**PB0: RXD**
1669 -* (% class="mark" %)**PB1: TXD**
1670 -* (% class="mark" %)**GND**
1671 1671  
1672 -[[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]]
1673 -
1674 -
1675 1675  (((
1676 1676  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.
1677 1677  )))
... ... @@ -1679,34 +1679,38 @@
1679 1679  
1680 1680  Input password and ATZ to activate LHT65N,As shown below:
1681 1681  
1682 -[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
1796 +[[image:image-20220615154519-3.png||height="672" width="807"]]
1683 1683  
1684 1684  
1799 +
1685 1685  == 6.7 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1686 1686  
1687 1687  
1688 -[[image:image-20220623110706-1.png||_mstalt="427869"]]
1803 +[[image:image-20220623110706-1.png]]
1689 1689  
1690 1690  
1691 1691  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1692 1692  
1693 -[[image:image-20220615170542-5.png||_mstalt="430638"]]
1808 +[[image:image-20220615170542-5.png]]
1694 1694  
1695 1695  
1696 1696  
1697 -(% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
1812 +(% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
1698 1698  
1814 +(% _msthash="506146" _msttexthash="52173160" %)
1699 1699  First connect the four lines;
1700 1700  
1701 -[[image:image-20220623113959-5.png||_mstalt="433485" height="528" width="397"]]
1817 +(% _msthash="506146" _msttexthash="52173160" %)
1818 +[[image:image-20220623113959-5.png||height="528" width="397"]]
1702 1702  
1703 -Connect A8 and GND with Dupont wire for a while and then separate,enter reset mode
1820 +(% _msthash="506146" _msttexthash="52173160" %)
1821 +Press and hold the start key to restart and enter  (% _mstvisible="1" %)bootlaod(%%) mode.
1704 1704  
1705 1705  
1706 1706  
1707 1707  (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
1708 1708  
1709 -[[image:image-20220615171334-6.png||_mstalt="431028"]]
1827 +[[image:image-20220615171334-6.png]]
1710 1710  
1711 1711  
1712 1712  Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade.
... ... @@ -1714,35 +1714,28 @@
1714 1714  
1715 1715  When this interface appears, it indicates that the download has been completed.
1716 1716  
1717 -[[image:image-20220620160723-8.png||_mstalt="430703"]]
1835 +[[image:image-20220620160723-8.png]]
1718 1718  
1719 1719  
1720 -Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode
1838 +Finally,restart reset device again
1721 1721  
1722 1722  
1723 -== 6.8 Why can't I see the datalog information ==
1724 1724  
1725 -
1726 -~1. The time is not aligned, and the correct query command is not used.
1727 -
1728 -2. Decoder error, did not parse the datalog data, the data was filtered.
1729 -
1730 -
1731 1731  = 7. Order Info =
1732 1732  
1733 1733  
1734 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY**
1845 +Part Number: (% _mstvisible="4" style="color:#4f81bd" %)** LHT65N-XX-YY**
1735 1735  
1736 1736  (% style="color:#4f81bd" %)**XX **(%%): The default frequency band
1737 1737  
1738 -* (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1739 -* (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1740 -* (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1741 -* (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1742 -* (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1743 -* (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**US915**(%%): LoRaWAN US915 band
1744 -* (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1745 -* (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1849 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1850 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1851 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1852 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1853 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1854 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1855 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1856 +* (% style="color:#4f81bd" %)** **(% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1746 1746  
1747 1747  (% style="color:#4f81bd" %)**YY**(%%): Sensor Accessories
1748 1748  
... ... @@ -1758,13 +1758,13 @@
1758 1758  
1759 1759  **Dimension and weight**:
1760 1760  
1761 -* Device Size:  10 x 10 x 3.5 mm
1872 +* Device Size:  10 x 10 x 3.5 cm
1762 1762  * Device Weight: 120.5g
1763 1763  
1764 1764  = 9. Reference material =
1765 1765  
1766 1766  
1767 -* [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1878 +* [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
1768 1768  
1769 1769  = 10. FCC Warning =
1770 1770