<
From version < 76.7 >
edited by Xiaoling
on 2022/05/23 15:40
To version < 80.1 >
edited by Edwin Chen
on 2022/05/24 23:53
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
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-20220523153201-19.png||height="180" width="818"]]
136 136  
137 137  == 2.3 Example to join LoRaWAN network ==
138 138  
... ... @@ -217,7 +217,7 @@
217 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]]
218 218  )))
219 219  )))|(% style="width:47px" %)(((
220 -[[Ext>>path:#Extension_Sensor]] #
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]] #
221 221  )))|(% style="width:51px" %)(((
222 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]]
223 223  )))
... ... @@ -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" %)(((
... ... @@ -399,10 +399,18 @@
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>PollSensorValue].
411 +1.
412 +
413 +
414 +=== 2.6.2 Unix TimeStamp ===
415 +
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 ===
433 +=== 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 ===
467 +=== [[2.6.4 Poll sensor value>>2.6.4 Poll sensor value||anchor="PollSensorValue"]] ===
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**
478 +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 ===
490 +=== 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" %)
498 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
489 489  |(% style="width:93px" %)(((
490 490  (((
491 491  **Size(bytes)**
... ... @@ -798,14 +798,24 @@
798 798  
799 799  [[image:image-20220523150701-2.png]]
800 800  
811 +(((
801 801  **Downlink Command: 0x01**
813 +)))
802 802  
815 +(((
803 803  Format: Command Code (0x01) followed by 3 bytes time value.
817 +)))
804 804  
819 +(((
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.
821 +)))
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
823 +* (((
824 +**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
825 +)))
826 +* (((
827 +**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
828 +)))
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  
838 +(((
818 818  **Downlink Command: 0xA2**
840 +)))
819 819  
842 +(((
820 820  Total bytes: 2 ~~ 5 bytes
844 +)))
821 821  
846 +(((
822 822  **Example:**
848 +)))
823 823  
824 -* 0xA201: Set external sensor type to E1
825 -* 0xA209: Same as AT+EXT=9
826 -* 0xA20702003c,Same as AT+SETCNT=60
850 +* (((
851 +0xA201: Set external sensor type to E1
852 +)))
853 +* (((
854 +0xA209: Same as AT+EXT=9
855 +)))
856 +* (((
857 +0xA20702003c,Same as AT+SETCNT=60
858 +)))
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  
886 +(((
854 854  **Downlink Command:**
888 +)))
855 855  
890 +(((
856 856  No downlink command for this feature.
892 +)))
857 857  
858 858  == 4.5 Quit AT Command ==
859 859  
... ... @@ -893,11 +893,17 @@
893 893  
894 894  == 4.8 Set Time Sync Mode ==
895 895  
932 +(((
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.
934 +)))
897 897  
936 +(((
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.
938 +)))
899 899  
940 +(((
900 900  **AT Command:**
942 +)))
901 901  
902 902  [[image:image-20220523151336-9.png]]
903 903  
... ... @@ -987,7 +987,7 @@
987 987  = 6. Order Info =
988 988  
989 989  (((
990 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX**
1032 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY**
991 991  )))
992 992  
993 993  (((
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0