<
From version < 92.1 >
edited by Edwin Chen
on 2022/05/25 00:48
To version < 76.6 >
edited by Xiaoling
on 2022/05/23 15:39
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -1,5 +1,5 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20220523115324-1.jpeg||height="317" width="317"]]
2 +[[image:image-20220523115324-1.jpeg||height="500" width="500"]]
3 3  
4 4  
5 5  **LHT65N LoRaWAN Temperature & Humidity Sensor Manual**
... ... @@ -6,7 +6,6 @@
6 6  
7 7  
8 8  
9 -
10 10  **Table of Contents:**
11 11  
12 12  {{toc/}}
... ... @@ -13,9 +13,8 @@
13 13  
14 14  
15 15  
15 += 1.Introduction =
16 16  
17 -= 1. Introduction =
18 -
19 19  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
20 20  
21 21  (((
... ... @@ -134,7 +134,7 @@
134 134  
135 135  [[image:image-20220515123819-1.png||height="379" width="317"]]
136 136  
137 -[[image:image-20220523153201-19.png||height="180" width="818"]]
135 +[[image:image-20220523153201-19.png||height="163" width="739"]]
138 138  
139 139  == 2.3 Example to join LoRaWAN network ==
140 140  
... ... @@ -219,7 +219,7 @@
219 219  [[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]]
220 220  )))
221 221  )))|(% style="width:47px" %)(((
222 -[[Ext>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.5Ext23]] #
220 +[[Ext>>path:#Extension_Sensor]] #
223 223  )))|(% style="width:51px" %)(((
224 224  [[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]]
225 225  )))
... ... @@ -300,7 +300,7 @@
300 300  
301 301  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:
302 302  
303 -(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
301 +(% border="1" style="background-color:#ffffcc; color:green; width:468px" %)
304 304  |(% style="width:96px" %)(((
305 305  **Size(bytes)**
306 306  )))|(% style="width:71px" %)(((
... ... @@ -401,17 +401,10 @@
401 401  
402 402  == 2.6 Datalog Feature ==
403 403  
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.
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.
405 405  
406 -=== 2.6.1 Ways to get datalog via LoRaWAN ===
404 +=== 2.6.1 Unix TimeStamp ===
407 407  
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 sent all messages after network recover.
412 -
413 -=== 2.6.2 Unix TimeStamp ===
414 -
415 415  LHT65N uses Unix TimeStamp format based on
416 416  
417 417  [[image:image-20220523001219-11.png||height="97" width="627"]]
... ... @@ -429,7 +429,7 @@
429 429  
430 430  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
431 431  
432 -=== 2.6.3 Set Device Time ===
423 +=== 2.6.2 Set Device Time ===
433 433  
434 434  (((
435 435  There are two ways to set device’s time:
... ... @@ -463,7 +463,7 @@
463 463  User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
464 464  )))
465 465  
466 -=== 2.6.4 Poll sensor value ===
457 +=== 2.6.3 Poll sensor value ===
467 467  
468 468  User can poll sensor value based on timestamps from the server. Below is the downlink command.
469 469  
... ... @@ -474,7 +474,7 @@
474 474  )))
475 475  
476 476  (((
477 -For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05**
468 +For example, downlink command **31 5FC5F350 5FC6 0160 05**
478 478  )))
479 479  
480 480  (((
... ... @@ -486,7 +486,7 @@
486 486  )))
487 487  
488 488  
489 -=== 2.6.5 Datalog Uplink payload ===
480 +=== 2.6.4 Datalog Uplink payload ===
490 490  
491 491  The Datalog poll reply uplink will use below payload format.
492 492  
... ... @@ -494,7 +494,7 @@
494 494  **Retrieval data payload**
495 495  )))
496 496  
497 -(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
488 +(% border="1" style="background-color:#ffffcc; color:green; width:469px" %)
498 498  |(% style="width:93px" %)(((
499 499  (((
500 500  **Size(bytes)**
... ... @@ -749,55 +749,29 @@
749 749  
750 750  = 4. Configure LHT65N via AT Command or LoRaWAN Downlink =
751 751  
752 -(((
753 753  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
754 -)))
755 755  
756 -* (((
757 -AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
758 -)))
759 -* (((
760 -LoRaWAN Downlink instruction for different platforms:
761 -)))
745 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
746 +* LoRaWAN Downlink instruction for different platforms:
762 762  
763 -(((
764 764  [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]]
765 -)))
766 766  
767 -(((
768 768  There are two kinds of commands to configure LHT65N, they are:
769 -)))
770 770  
771 -(((
772 772  (% style="color:#4f81bd" %)* **General Commands**.
773 -)))
774 774  
775 -(((
776 776  These commands are to configure:
777 -)))
778 778  
779 -* (((
780 -General system settings like: uplink interval.
781 -)))
782 -* (((
783 -LoRaWAN protocol & radio-related commands.
784 -)))
756 +* General system settings like: uplink interval.
757 +* LoRaWAN protocol & radio-related commands.
785 785  
786 -(((
787 787  They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki:
788 -)))
789 789  
790 -(((
791 791  [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]
792 -)))
793 793  
794 -(((
795 795  (% style="color:#4f81bd" %)* **Commands special design for LHT65N**
796 -)))
797 797  
798 -(((
799 799  These commands are only valid for LHT65N, as below:
800 -)))
801 801  
802 802  == 4.1 Set Transmit Interval Time ==
803 803  
... ... @@ -807,24 +807,14 @@
807 807  
808 808  [[image:image-20220523150701-2.png]]
809 809  
810 -(((
811 811  **Downlink Command: 0x01**
812 -)))
813 813  
814 -(((
815 815  Format: Command Code (0x01) followed by 3 bytes time value.
816 -)))
817 817  
818 -(((
819 819  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
820 -)))
821 821  
822 -* (((
823 -**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
824 -)))
825 -* (((
826 -**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
827 -)))
781 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
782 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
828 828  
829 829  == 4.2 Set External Sensor Mode ==
830 830  
... ... @@ -834,27 +834,15 @@
834 834  
835 835  [[image:image-20220523150759-3.png]]
836 836  
837 -(((
838 838  **Downlink Command: 0xA2**
839 -)))
840 840  
841 -(((
842 842  Total bytes: 2 ~~ 5 bytes
843 -)))
844 844  
845 -(((
846 846  **Example:**
847 -)))
848 848  
849 -* (((
850 -0xA201: Set external sensor type to E1
851 -)))
852 -* (((
853 -0xA209: Same as AT+EXT=9
854 -)))
855 -* (((
856 -0xA20702003c,Same as AT+SETCNT=60
857 -)))
798 +* 0xA201: Set external sensor type to E1
799 +* 0xA209: Same as AT+EXT=9
800 +* 0xA20702003c,Same as AT+SETCNT=60
858 858  
859 859  == 4.3 Enable/Disable uplink Temperature probe ID ==
860 860  
... ... @@ -882,13 +882,9 @@
882 882  
883 883  [[image:image-20220523151052-5.png]]
884 884  
885 -(((
886 886  **Downlink Command:**
887 -)))
888 888  
889 -(((
890 890  No downlink command for this feature.
891 -)))
892 892  
893 893  == 4.5 Quit AT Command ==
894 894  
... ... @@ -928,17 +928,11 @@
928 928  
929 929  == 4.8 Set Time Sync Mode ==
930 930  
931 -(((
932 932  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
933 -)))
934 934  
935 -(((
936 936  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.
937 -)))
938 938  
939 -(((
940 940  **AT Command:**
941 -)))
942 942  
943 943  [[image:image-20220523151336-9.png]]
944 944  
... ... @@ -996,22 +996,6 @@
996 996  
997 997  * Example: 0xA301 ~/~/Same as AT+CLRDTA
998 998  
999 -== 4.13 Auto Send None-ACK messages ==
1000 -
1001 -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.
1002 -
1003 -
1004 -**AT Command: AT+PNACKMD**
1005 -
1006 -The default factory setting is 0
1007 -
1008 -|**Command Example**|**Function**|**Response**
1009 -|AT+PNACKMD=1|Poll None-ACK message|OK
1010 -
1011 -**Downlink Command: 0x34**
1012 -
1013 -* Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1014 -
1015 1015  = 5. Battery & How to replace =
1016 1016  
1017 1017  == 5.1 Battery Type ==
... ... @@ -1044,7 +1044,7 @@
1044 1044  = 6. Order Info =
1045 1045  
1046 1046  (((
1047 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY**
964 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX**
1048 1048  )))
1049 1049  
1050 1050  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0