Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 170.23
edited by Xiaoling
on 2022/06/22 11:09
on 2022/06/22 11:09
Change comment:
There is no comment for this version
To version 174.1
edited by Bei Jinggeng
on 2022/06/23 11:21
on 2022/06/23 11:21
Change comment:
Uploaded new attachment "image-20220623112117-4.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -18,17 +18,30 @@ 18 18 19 19 == 1.1 What is LHT65N Temperature & Humidity Sensor == 20 20 21 + 22 +((( 21 21 The Dragino LHT65N Temperature & Humidity sensor is a Long Range LoRaWAN Sensor. It includes a (% style="color:#4f81bd" %)**built-in Temperature & Humidity sensor**(%%) and has an external sensor connector to connect to an external (% style="color:#4f81bd" %)**Temperature Sensor.** 24 +))) 22 22 26 +((( 23 23 The LHT65N allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on. 28 +))) 24 24 30 +((( 25 25 LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*. 32 +))) 26 26 34 +((( 27 27 LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway. 36 +))) 28 28 38 +((( 29 29 LHT65N supports (% style="color:#4f81bd" %)**Datalog Feature**(%%). It will record the data when there is no network coverage and users can retrieve the sensor value later to ensure no miss for every sensor reading. 40 +))) 30 30 42 +((( 31 31 *The actual battery life depends on how often to send data, please see the battery analyzer chapter. 44 +))) 32 32 33 33 34 34 == 1.2 Features == ... ... @@ -45,6 +45,10 @@ 45 45 * Tri-color LED to indicate working status 46 46 * Datalog feature 47 47 61 + 62 + 63 + 64 + 48 48 == 1.3 Specification == 49 49 50 50 ... ... @@ -69,23 +69,39 @@ 69 69 * ±2°C accuracy from -55°C to +125°C 70 70 * Operating Range: -55 °C ~~ 125 °C 71 71 89 + 90 + 91 + 92 + 72 72 = 2. Connect LHT65N to IoT Server = 73 73 74 74 == 2.1 How does LHT65N work? == 75 75 97 +((( 76 76 LHT65N is configured as LoRaWAN OTAA Class A mode by default. Each LHT65N is shipped with a worldwide unique set of OTAA keys. To use LHT65N in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N. 99 +))) 77 77 101 +((( 78 78 If LHT65N is under the coverage of this LoRaWAN network. LHT65N can join the LoRaWAN network automatically. After successfully joining, LHT65N will start to measure environment temperature and humidity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes. 103 +))) 79 79 80 80 81 81 == 2.2 How to Activate LHT65N? == 82 82 108 +((( 83 83 The LHT65N has two working modes: 110 +))) 84 84 85 -* (% 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. 86 -* (% 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. 112 +* ((( 113 +(% 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. 114 +))) 115 +* ((( 116 +(% 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. 117 +))) 87 87 119 +((( 88 88 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 121 +))) 89 89 90 90 91 91 [[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]] ... ... @@ -273,6 +273,7 @@ 273 273 274 274 275 275 309 + 276 276 === 2.4.3 Built-in Temperature === 277 277 278 278 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] ... ... @@ -284,6 +284,8 @@ 284 284 * Temperature: (0xF5C6-65536)/100=-26.18℃ 285 285 286 286 321 + 322 + 287 287 === 2.4.4 Built-in Humidity === 288 288 289 289 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] ... ... @@ -291,6 +291,8 @@ 291 291 * Humidity: 0x025C/10=60.4% 292 292 293 293 330 + 331 + 294 294 === 2.4.5 Ext # === 295 295 296 296 Bytes for External Sensor: ... ... @@ -445,6 +445,7 @@ 445 445 446 446 447 447 486 + 448 448 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 449 449 450 450 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can ... ... @@ -544,20 +544,37 @@ 544 544 545 545 === 2.6.3 Set Device Time === 546 546 586 +((( 547 547 There are two ways to set device's time: 588 +))) 548 548 590 +((( 549 549 **~1. Through LoRaWAN MAC Command (Default settings)** 592 +))) 550 550 594 +((( 551 551 User need to set SYNCMOD=1 to enable sync time via MAC command. 596 +))) 552 552 598 +((( 553 553 Once LHT65N Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LHT65N. If LHT65N fails to get the time from the server, LHT65N will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 600 +))) 554 554 602 +((( 555 555 (% 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. 604 +))) 556 556 606 +((( 607 + 608 +))) 557 557 610 +((( 558 558 **2. Manually Set Time** 612 +))) 559 559 614 +((( 560 560 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 616 +))) 561 561 562 562 563 563 ... ... @@ -724,9 +724,11 @@ 724 724 (% _mstvisible="2" %) 725 725 ((( 726 726 (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %) 783 +((( 727 727 Poll Message Flag: 1: This message is a poll message reply. 728 728 ))) 729 729 ))) 787 +))) 730 730 731 731 (% _mstvisible="1" %) 732 732 * (% _mstvisible="3" %) ... ... @@ -734,17 +734,21 @@ 734 734 (% _mstvisible="4" %) 735 735 ((( 736 736 (% _msthash="1197157" _msttexthash="561548" _mstvisible="5" %) 795 +((( 737 737 Poll Message Flag is set to 1. 738 738 ))) 739 739 ))) 799 +))) 740 740 * (% _mstvisible="3" %) 741 741 ((( 742 742 (% _mstvisible="4" %) 743 743 ((( 744 744 (% _msthash="1197158" _msttexthash="9284964" _mstvisible="5" %) 805 +((( 745 745 Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 746 746 ))) 747 747 ))) 809 +))) 748 748 749 749 (% _mstvisible="1" %) 750 750 ((( ... ... @@ -751,12 +751,16 @@ 751 751 (% _mstvisible="2" %) 752 752 ((( 753 753 (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %) 816 +((( 754 754 818 +))) 755 755 756 756 (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %) 821 +((( 757 757 For example, in US915 band, the max payload for different DR is: 758 758 ))) 759 759 ))) 825 +))) 760 760 761 761 (% _mstvisible="1" %) 762 762 ((( ... ... @@ -763,9 +763,11 @@ 763 763 (% _mstvisible="2" %) 764 764 ((( 765 765 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 832 +((( 766 766 a) DR0: max is 11 bytes so one entry of data 767 767 ))) 768 768 ))) 836 +))) 769 769 770 770 (% _mstvisible="1" %) 771 771 ((( ... ... @@ -772,9 +772,11 @@ 772 772 (% _mstvisible="2" %) 773 773 ((( 774 774 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 843 +((( 775 775 b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 776 776 ))) 777 777 ))) 847 +))) 778 778 779 779 (% _mstvisible="1" %) 780 780 ((( ... ... @@ -781,9 +781,11 @@ 781 781 (% _mstvisible="2" %) 782 782 ((( 783 783 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 854 +((( 784 784 c) DR2: total payload includes 11 entries of data 785 785 ))) 786 786 ))) 858 +))) 787 787 788 788 (% _mstvisible="1" %) 789 789 ((( ... ... @@ -790,9 +790,11 @@ 790 790 (% _mstvisible="2" %) 791 791 ((( 792 792 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 865 +((( 793 793 d) DR3: total payload includes 22 entries of data. 794 794 ))) 795 795 ))) 869 +))) 796 796 797 797 (% _mstvisible="1" %) 798 798 ((( ... ... @@ -799,9 +799,11 @@ 799 799 (% _mstvisible="2" %) 800 800 ((( 801 801 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 876 +((( 802 802 If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 803 803 ))) 804 804 ))) 880 +))) 805 805 806 806 807 807 (% _mstvisible="1" style="text-align: left;" %) ... ... @@ -847,55 +847,86 @@ 847 847 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 848 848 849 849 (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %) 926 +((( 850 850 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E 928 +))) 851 851 852 852 (% _msthash="315237" _msttexthash="1385839" %) 931 +((( 853 853 Where the first 11 bytes is for the first entry: 933 +))) 854 854 855 855 (% _msthash="315238" _msttexthash="274846" %) 936 +((( 856 856 7FFF089801464160065F97 938 +))) 857 857 858 858 (% _msthash="315239" _msttexthash="617435" %) 941 +((( 859 859 Ext sensor data=0x7FFF/100=327.67 943 +))) 860 860 861 861 (% _msthash="315240" _msttexthash="270543" %) 946 +((( 862 862 Temp=0x0898/100=22.00 948 +))) 863 863 864 864 (% _msthash="315241" _msttexthash="211783" %) 951 +((( 865 865 Hum=0x0146/10=32.6 953 +))) 866 866 867 867 (% _msthash="315242" _msttexthash="1569776" %) 956 +((( 868 868 poll message flag & Ext=0x41,means reply data,Ext=1 958 +))) 869 869 870 870 (% _msthash="315243" _msttexthash="1120509" %) 961 +((( 871 871 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 963 +))) 872 872 873 873 874 874 875 875 == 2.7 Alarm Mode == 876 876 969 +((( 877 877 when the device is in alarm mode, it checks the built-in sensor temperature for a short time. if the temperature exceeds the preconfigured range, it sends an uplink immediately. 971 +))) 878 878 973 +((( 879 879 (% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled. 975 +))) 880 880 977 +((( 881 881 **AT COMMAND FOR ALARM MODE:** 979 +))) 882 882 883 883 (% _mstvisible="1" class="box infomessage" %) 884 884 ((( 983 +((( 885 885 **AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled) 985 +))) 886 886 987 +((( 887 887 **AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 989 +))) 888 888 991 +((( 889 889 **AT+ARTEMP**: Gets or sets the alarm range of the internal temperature sensor 993 +))) 890 890 995 +((( 891 891 **AT+ARTEMP=? **: Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 997 +))) 892 892 999 +((( 893 893 **AT+ARTEMP=45,105**: Set the internal temperature sensor alarm range from 45 to 105. 894 894 ))) 1002 +))) 895 895 896 896 897 897 898 - 899 899 == 2.8 LED Indicator == 900 900 901 901 The LHT65 has a triple color LED which for easy showing different stage . ... ... @@ -905,7 +905,7 @@ 905 905 In a normal working state: 906 906 907 907 * For each uplink, the BLUE LED or RED LED will blink once. 908 - 1015 +BLUE LED when external sensor is connected. 909 909 * RED LED when external sensor is not connected 910 910 * For each success downlink, the PURPLE LED will blink once 911 911 ... ... @@ -951,26 +951,48 @@ 951 951 952 952 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 953 953 1061 +((( 954 954 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 1063 +))) 955 955 956 -* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1065 +* ((( 1066 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1067 +))) 957 957 958 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1069 +* ((( 1070 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1071 +))) 959 959 1073 +((( 960 960 There are two kinds of commands to configure LHT65N, they are: 1075 +))) 961 961 962 -* (% style="color:#4f81bd" %)**General Commands**. 1077 +* ((( 1078 +(% style="color:#4f81bd" %)**General Commands**. 1079 +))) 963 963 1081 +((( 964 964 These commands are to configure: 1083 +))) 965 965 966 -1. General system settings like: uplink interval. 967 -1. LoRaWAN protocol & radio-related commands. 1085 +1. ((( 1086 +General system settings like: uplink interval. 1087 +))) 1088 +1. ((( 1089 +LoRaWAN protocol & radio-related commands. 1090 +))) 968 968 1092 +((( 969 969 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: [[End Device Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 1094 +))) 970 970 971 -* (% style="color:#4f81bd" %)**Commands special design for LHT65N** 1096 +* ((( 1097 +(% style="color:#4f81bd" %)**Commands special design for LHT65N** 1098 +))) 972 972 1100 +((( 973 973 These commands are only valid for LHT65N, as below: 1102 +))) 974 974 975 975 976 976 == 4.1 Set Transmit Interval Time == ... ... @@ -993,6 +993,8 @@ 993 993 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 994 994 995 995 1125 + 1126 + 996 996 == 4.2 Set External Sensor Mode == 997 997 998 998 Feature: Change External Sensor Mode. ... ... @@ -1016,6 +1016,7 @@ 1016 1016 1017 1017 1018 1018 1150 + 1019 1019 == 4.3 Enable/Disable uplink Temperature probe ID == 1020 1020 1021 1021 ((( ... ... @@ -1045,6 +1045,7 @@ 1045 1045 1046 1046 1047 1047 1180 + 1048 1048 == 4.4 Set Password == 1049 1049 1050 1050 Feature: Set device password, max 9 digits ... ... @@ -1207,7 +1207,6 @@ 1207 1207 (% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 171px;" %)(% _msthash="1231737" _msttexthash="251862" _mstvisible="6" %)**Command Example**|=(% _mstvisible="4" style="width: 219px;" %)(% _msthash="1231738" _msttexthash="116025" _mstvisible="6" %)**Function**|=(% _mstvisible="4" style="width: 119px;" %)(% _msthash="1231739" _msttexthash="116831" _mstvisible="6" %)**Response** 1208 1208 (% _mstvisible="3" %)|(% _msthash="1231321" _msttexthash="130455" _mstvisible="4" style="width:171px" %)AT+PNACKMD=1|(% _msthash="1231322" _msttexthash="377026" _mstvisible="4" style="width:219px" %)Poll None-ACK message|(% _msthash="1231323" _msttexthash="14989" _mstvisible="4" style="width:119px" %)OK 1209 1209 1210 - 1211 1211 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1212 1212 1213 1213 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 ... ... @@ -1214,6 +1214,7 @@ 1214 1214 1215 1215 1216 1216 1349 + 1217 1217 = 5. Battery & How to replace = 1218 1218 1219 1219 == 5.1 Battery Type == ... ... @@ -1273,16 +1273,11 @@ 1273 1273 1274 1274 (% _msthash="506061" _msttexthash="170755" %)**Connection:** 1275 1275 1276 -(% _msthash="506062" _msttexthash="1187732" %) 1277 -**✓ (% style="background-color:yellow" %)USB to TTL GND <~-~->GND(%%)** 1409 +* (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1410 +* (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1411 +* (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1412 +* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1278 1278 1279 -(% _msthash="506063" _msttexthash="1158313" %)**✓ **(% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1280 - 1281 -(% _msthash="506064" _msttexthash="1175629" %)**✓ **(% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1282 - 1283 -(% _msthash="506065" _msttexthash="1164696" %)**✓ **(% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1284 - 1285 - 1286 1286 ((( 1287 1287 In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**) (%%)to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 1288 1288 ))) ... ... @@ -1630,7 +1630,6 @@ 1630 1630 * LHT65N Temperature & Humidity Sensor x 1 1631 1631 * Optional external sensor 1632 1632 1633 - 1634 1634 **Dimension and weight**: 1635 1635 1636 1636 * Device Size: 10 x 10 x 3.5 cm ... ... @@ -1638,11 +1638,14 @@ 1638 1638 1639 1639 1640 1640 1768 + 1641 1641 = 9. Reference material = 1642 1642 1643 1643 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1644 1644 1645 1645 1774 + 1775 + 1646 1646 = 10. FCC Warning = 1647 1647 1648 1648 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
- image-20220623110706-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +689.7 KB - Content
- image-20220623110723-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +501.5 KB - Content
- image-20220623111949-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.6 MB - Content
- image-20220623112117-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +513.9 KB - Content