<
From version < 76.7 >
edited by Xiaoling
on 2022/05/23 15:40
To version < 103.2 >
edited by Xiaoling
on 2022/05/25 11:56
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,5 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20220523115324-1.jpeg||height="500" width="500"]]
2 +[[image:image-20220523115324-1.jpeg||height="317" width="317"]]
3 3  
4 4  
5 5  **LHT65N LoRaWAN Temperature & Humidity Sensor Manual**
... ... @@ -6,6 +6,7 @@
6 6  
7 7  
8 8  
9 +
9 9  **Table of Contents:**
10 10  
11 11  {{toc/}}
... ... @@ -12,8 +12,9 @@
12 12  
13 13  
14 14  
15 -= 1.Introduction =
16 16  
17 += 1. Introduction =
18 +
17 17  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
18 18  
19 19  (((
... ... @@ -132,7 +132,7 @@
132 132  
133 133  [[image:image-20220515123819-1.png||height="379" width="317"]]
134 134  
135 -[[image:image-20220523153201-19.png||height="163" width="739"]]
137 +[[image:image-20220525110604-2.png]]
136 136  
137 137  == 2.3 Example to join LoRaWAN network ==
138 138  
... ... @@ -203,23 +203,23 @@
203 203  |(% style="width:97px" %)(((
204 204  **Value**
205 205  )))|(% style="width:39px" %)(((
206 -[[BAT>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.2BAT-BatteryInfo]]
208 +[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]]
207 207  )))|(% style="width:100px" %)(((
208 208  (((
209 -[[Built-In Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
211 +[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
210 210  )))
211 211  )))|(% style="width:77px" %)(((
212 212  (((
213 -[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
215 +[[Built-in>>||anchor="H2.4.4Built-inHumidity"]]
214 214  )))
215 215  
216 216  (((
217 -[[Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
219 +[[Humidity>>||anchor="H2.4.4Built-inHumidity"]]
218 218  )))
219 219  )))|(% style="width:47px" %)(((
220 -[[Ext>>path:#Extension_Sensor]] #
222 +[[Ext>>||anchor="H2.4.5Ext23"]] #
221 221  )))|(% style="width:51px" %)(((
222 -[[Ext value>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]]
224 +[[Ext value>>||anchor="H2.4.6Extvalue"]]
223 223  )))
224 224  
225 225  * The First 6 bytes: has fix meanings for every LHT65N.
... ... @@ -298,7 +298,7 @@
298 298  
299 299  Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below:
300 300  
301 -(% border="1" style="background-color:#ffffcc; color:green; width:468px" %)
303 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
302 302  |(% style="width:96px" %)(((
303 303  **Size(bytes)**
304 304  )))|(% style="width:71px" %)(((
... ... @@ -315,14 +315,14 @@
315 315  |(% style="width:96px" %)(((
316 316  **Value**
317 317  )))|(% style="width:71px" %)(((
318 -[[External temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.2SetExternalSensorMode]]
320 +[[External temperature>>||anchor="H4.2SetExternalSensorMode"]]
319 319  )))|(% style="width:99px" %)(((
320 320  (((
321 -[[Built-In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
323 +[[Built-In>>||anchor="H2.4.3Built-inTemperature"]]
322 322  )))
323 323  
324 324  (((
325 -[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
327 +[[Temperature>>||anchor="H2.4.3Built-inTemperature"]]
326 326  )))
327 327  )))|(% style="width:132px" %)(((
328 328  (((
... ... @@ -330,13 +330,13 @@
330 330  )))
331 331  
332 332  (((
333 -[[Built-in Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
335 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
334 334  )))
335 335  )))|(% style="width:54px" %)(((
336 336  Status & Ext
337 337  )))|(% style="width:64px" %)(((
338 338  (((
339 -[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]]
341 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
340 340  )))
341 341  )))
342 342  
... ... @@ -355,7 +355,7 @@
355 355  
356 356  11(b): Good   (BAT >= 2.65v)
357 357  )))|(% style="width:134px" %)(((
358 -[[Built-in Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
360 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
359 359  
360 360  
361 361  )))
... ... @@ -399,10 +399,17 @@
399 399  
400 400  == 2.6 Datalog Feature ==
401 401  
402 -This feature is always enabled. When user wants to retrieve the sensor value, he can send a poll command from the IoT platform to ask LHT65N to send the value in the required time slot.
404 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N.
403 403  
404 -=== 2.6.1 Unix TimeStamp ===
406 +=== 2.6.1 Ways to get datalog via LoRaWAN ===
405 405  
408 +There are two methods:
409 +
410 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range.
411 +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 network recover.
412 +
413 +=== 2.6.2 Unix TimeStamp ===
414 +
406 406  LHT65N uses Unix TimeStamp format based on
407 407  
408 408  [[image:image-20220523001219-11.png||height="97" width="627"]]
... ... @@ -420,7 +420,7 @@
420 420  
421 421  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
422 422  
423 -=== 2.6.2 Set Device Time ===
432 +=== 2.6.3 Set Device Time ===
424 424  
425 425  (((
426 426  There are two ways to set device’s time:
... ... @@ -454,7 +454,7 @@
454 454  User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
455 455  )))
456 456  
457 -=== 2.6.3 Poll sensor value ===
466 +=== 2.6.4 Poll sensor value ===
458 458  
459 459  User can poll sensor value based on timestamps from the server. Below is the downlink command.
460 460  
... ... @@ -465,7 +465,7 @@
465 465  )))
466 466  
467 467  (((
468 -For example, downlink command **31 5FC5F350 5FC6 0160 05**
477 +For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05**
469 469  )))
470 470  
471 471  (((
... ... @@ -477,7 +477,7 @@
477 477  )))
478 478  
479 479  
480 -=== 2.6.4 Datalog Uplink payload ===
489 +=== 2.6.5 Datalog Uplink payload ===
481 481  
482 482  The Datalog poll reply uplink will use below payload format.
483 483  
... ... @@ -485,7 +485,7 @@
485 485  **Retrieval data payload**
486 486  )))
487 487  
488 -(% border="1" style="background-color:#ffffcc; color:green; width:469px" %)
497 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
489 489  |(% style="width:93px" %)(((
490 490  (((
491 491  **Size(bytes)**
... ... @@ -517,40 +517,40 @@
517 517  )))
518 518  )))|(% style="width:71px" %)(((
519 519  (((
520 -[[External sensor data>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]]
529 +[[External sensor data>>||anchor="H2.4.6Extvalue"]]
521 521  )))
522 522  )))|(% style="width:102px" %)(((
523 523  (((
524 524  (((
525 -[[Built In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
534 +[[Built In>>||anchor="H2.4.3Built-inTemperature"]]
526 526  )))
527 527  )))
528 528  
529 529  (((
530 530  (((
531 -[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
540 +[[Temperature>>||anchor="H2.4.3Built-inTemperature"]]
532 532  )))
533 533  )))
534 534  )))|(% style="width:86px" %)(((
535 535  (((
536 536  (((
537 -[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
546 +[[Built-in>>||anchor="H2.4.4Built-inHumidity"]]
538 538  )))
539 539  )))
540 540  
541 541  (((
542 542  (((
543 -[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
552 +[[Humidity>>||anchor="H2.4.4Built-inHumidity"]]
544 544  )))
545 545  )))
546 546  )))|(% style="width:86px" %)(((
547 547  (((
548 -[[Poll message flag & Ext>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.4DatalogUplinkpayload]]
557 +Poll message flag & Ext
549 549  )))
550 550  )))|(% style="width:48px" %)(((
551 551  (((
552 552  (((
553 -[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.1UnixTimeStamp]]
562 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
554 554  )))
555 555  )))
556 556  
... ... @@ -663,6 +663,7 @@
663 663  
664 664  Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
665 665  
675 +
666 666  == 2.7 Alarm Mode ==
667 667  
668 668  Alarm mode feature is added since firmware v1.5. When device is in Alarm mode, it will check the built-in sensor temperature in a short interval. If the temperature exceeds the pre-configure range, it will send an uplink immediately.
... ... @@ -671,24 +671,19 @@
671 671  (% style="color:red" %)Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature.
672 672  )))
673 673  
674 -(((
675 675  **AT Commands for Alarm mode:**
676 -)))
677 677  
678 678  (% class="box infomessage" %)
679 679  (((
680 680  (((
681 681  **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable)
682 -)))
683 -)))
684 -
685 -(% class="box infomessage" %)
686 -(((
687 -(((
688 688  **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute)
689 689  )))
690 690  )))
691 691  
694 +(% class="wikigeneratedid" %)
695 +== ==
696 +
692 692  == 2.8 LED Indicator ==
693 693  
694 694  (((
... ... @@ -798,14 +798,24 @@
798 798  
799 799  [[image:image-20220523150701-2.png]]
800 800  
806 +(((
801 801  **Downlink Command: 0x01**
808 +)))
802 802  
810 +(((
803 803  Format: Command Code (0x01) followed by 3 bytes time value.
812 +)))
804 804  
814 +(((
805 805  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
816 +)))
806 806  
807 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
808 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
818 +* (((
819 +**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
820 +)))
821 +* (((
822 +**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
823 +)))
809 809  
810 810  == 4.2 Set External Sensor Mode ==
811 811  
... ... @@ -815,15 +815,27 @@
815 815  
816 816  [[image:image-20220523150759-3.png]]
817 817  
833 +(((
818 818  **Downlink Command: 0xA2**
835 +)))
819 819  
837 +(((
820 820  Total bytes: 2 ~~ 5 bytes
839 +)))
821 821  
841 +(((
822 822  **Example:**
843 +)))
823 823  
824 -* 0xA201: Set external sensor type to E1
825 -* 0xA209: Same as AT+EXT=9
826 -* 0xA20702003c,Same as AT+SETCNT=60
845 +* (((
846 +0xA201: Set external sensor type to E1
847 +)))
848 +* (((
849 +0xA209: Same as AT+EXT=9
850 +)))
851 +* (((
852 +0xA20702003c,Same as AT+SETCNT=60
853 +)))
827 827  
828 828  == 4.3 Enable/Disable uplink Temperature probe ID ==
829 829  
... ... @@ -851,9 +851,13 @@
851 851  
852 852  [[image:image-20220523151052-5.png]]
853 853  
881 +(((
854 854  **Downlink Command:**
883 +)))
855 855  
885 +(((
856 856  No downlink command for this feature.
887 +)))
857 857  
858 858  == 4.5 Quit AT Command ==
859 859  
... ... @@ -881,7 +881,7 @@
881 881  
882 882  == 4.7 Set system time ==
883 883  
884 -Feature: Set system time, unix format. [[See here for format detail.>>path:#TimeStamp]]
915 +Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
885 885  
886 886  **AT Command:**
887 887  
... ... @@ -893,11 +893,17 @@
893 893  
894 894  == 4.8 Set Time Sync Mode ==
895 895  
927 +(((
896 896  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
929 +)))
897 897  
931 +(((
898 898  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.
933 +)))
899 899  
935 +(((
900 900  **AT Command:**
937 +)))
901 901  
902 902  [[image:image-20220523151336-9.png]]
903 903  
... ... @@ -955,6 +955,23 @@
955 955  
956 956  * Example: 0xA301 ~/~/Same as AT+CLRDTA
957 957  
995 +== 4.13 Auto Send None-ACK messages ==
996 +
997 +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.
998 +
999 +
1000 +**AT Command: AT+PNACKMD**
1001 +
1002 +The default factory setting is 0
1003 +
1004 +(% border="1" style="background-color:#ffffcc; color:green; width:450px" %)
1005 +|=(% style="width: 171px;" %)**Command Example**|=(% style="width: 219px;" %)**Function**|=(% style="width: 119px;" %)**Response**
1006 +|(% style="width:171px" %)AT+PNACKMD=1|(% style="width:219px" %)Poll None-ACK message|(% style="width:119px" %)OK
1007 +
1008 +**Downlink Command: 0x34**
1009 +
1010 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1011 +
958 958  = 5. Battery & How to replace =
959 959  
960 960  == 5.1 Battery Type ==
... ... @@ -987,7 +987,7 @@
987 987  = 6. Order Info =
988 988  
989 989  (((
990 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX**
1044 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY**
991 991  )))
992 992  
993 993  (((
image-20220525110512-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +28.7 KB
Content
image-20220525110604-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +28.0 KB
Content
image-20220525113731-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0