Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,7 +16,6 @@ 16 16 17 17 = 1. Introduction = 18 18 19 - 20 20 == 1.1 What is LHT65N Temperature & Humidity Sensor == 21 21 22 22 ... ... @@ -45,7 +45,6 @@ 45 45 ))) 46 46 47 47 48 - 49 49 == 1.2 Features == 50 50 51 51 ... ... @@ -61,6 +61,8 @@ 61 61 * Tri-color LED to indicate working status 62 62 * Datalog feature (Max 3328 records) 63 63 62 + 63 + 64 64 == 1.3 Specification == 65 65 66 66 ... ... @@ -85,9 +85,10 @@ 85 85 * ±2°C accuracy from -55°C to +125°C 86 86 * Operating Range: -55 °C ~~ 125 °C 87 87 88 -= 2. Connect LHT65N to IoT Server = 89 89 90 90 90 += 2. Connect LHT65N to IoT Server = 91 + 91 91 == 2.1 How does LHT65N work? == 92 92 93 93 ... ... @@ -100,7 +100,6 @@ 100 100 ))) 101 101 102 102 103 - 104 104 == 2.2 How to Activate LHT65N? == 105 105 106 106 ... ... @@ -109,7 +109,7 @@ 109 109 ))) 110 110 111 111 * ((( 112 -(% 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 doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. 113 113 ))) 114 114 * ((( 115 115 (% 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. ... ... @@ -125,7 +125,6 @@ 125 125 [[image:image-20220525110604-2.png||_mstalt="427531" _mstvisible="3"]] 126 126 127 127 128 - 129 129 == 2.3 Example to join LoRaWAN network == 130 130 131 131 ... ... @@ -142,7 +142,6 @@ 142 142 ))) 143 143 144 144 145 - 146 146 === 2.3.1 Step 1: Create Device n TTN === 147 147 148 148 ... ... @@ -183,8 +183,6 @@ 183 183 [[image:image-20220522233118-7.png||_mstalt="430430" _mstvisible="3"]] 184 184 185 185 186 - 187 - 188 188 === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 189 189 190 190 ... ... @@ -195,7 +195,6 @@ 195 195 [[image:image-20220522233300-8.png||_mstalt="428389" _mstvisible="3" height="219" width="722"]] 196 196 197 197 198 - 199 199 == 2.4 Uplink Payload ( Fport~=2) == 200 200 201 201 ... ... @@ -243,6 +243,8 @@ 243 243 * The 7th byte (EXT #): defines the external sensor model. 244 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.) 245 245 241 + 242 + 246 246 === 2.4.1 Decoder in TTN V3 === 247 247 248 248 ... ... @@ -254,7 +254,6 @@ 254 254 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 255 255 256 256 257 - 258 258 === 2.4.2 BAT-Battery Info === 259 259 260 260 ... ... @@ -271,6 +271,8 @@ 271 271 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 272 272 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 273 273 270 + 271 + 274 274 === 2.4.3 Built-in Temperature === 275 275 276 276 ... ... @@ -282,6 +282,8 @@ 282 282 283 283 * Temperature: (0xF5C6-65536)/100=-26.18℃ 284 284 283 + 284 + 285 285 === 2.4.4 Built-in Humidity === 286 286 287 287 ... ... @@ -289,6 +289,8 @@ 289 289 290 290 * Humidity: 0x025C/10=60.4% 291 291 292 + 293 + 292 292 === 2.4.5 Ext # === 293 293 294 294 ... ... @@ -297,10 +297,8 @@ 297 297 [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]] 298 298 299 299 300 - 301 301 === 2.4.6 Ext value === 302 302 303 - 304 304 ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== 305 305 306 306 ... ... @@ -311,6 +311,8 @@ 311 311 312 312 The last 2 bytes of data are meaningless 313 313 314 + 315 + 314 314 [[image:image-20220522235639-6.png||_mstalt="433212" _mstvisible="3"]] 315 315 316 316 ... ... @@ -321,7 +321,6 @@ 321 321 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 322 322 323 323 324 - 325 325 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 326 326 327 327 ... ... @@ -385,6 +385,8 @@ 385 385 * (% style="color:blue" %)**Sync time OK**: (%%) 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server. 386 386 * (% style="color:blue" %)**Unix Time Request**:(%%) 1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this) 387 387 389 + 390 + 388 388 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 389 389 390 390 ... ... @@ -433,7 +433,6 @@ 433 433 [[image:image-20220628151143-7.png]] 434 434 435 435 436 - 437 437 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 438 438 439 439 ... ... @@ -450,7 +450,6 @@ 450 450 The external cable NE2 can be use for MOD4 and MOD8 451 451 452 452 453 - 454 454 ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 455 455 456 456 ... ... @@ -497,8 +497,6 @@ 497 497 [[image:image-20220906101145-3.png]] 498 498 499 499 500 - 501 - 502 502 ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 503 503 504 504 ... ... @@ -550,7 +550,6 @@ 550 550 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) 551 551 552 552 553 - 554 554 == 2.5 Show data on Datacake == 555 555 556 556 ... ... @@ -598,7 +598,6 @@ 598 598 [[image:image-20220523000825-10.png||_mstalt="450619" _mstvisible="3" height="413" width="728"]] 599 599 600 600 601 - 602 602 == 2.6 Datalog Feature == 603 603 604 604 ... ... @@ -607,7 +607,6 @@ 607 607 ))) 608 608 609 609 610 - 611 611 === 2.6.1 Ways to get datalog via LoRaWAN === 612 612 613 613 ... ... @@ -618,6 +618,7 @@ 618 618 619 619 (% style="color:blue" %)**Method 2: **(%%)Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 620 620 617 + 621 621 (% style="color:red" %)**Note for method 2:** 622 622 623 623 * a) LHT65N will do an ACK check for data records sending to make sure every data arrive server. ... ... @@ -645,10 +645,10 @@ 645 645 646 646 [[image:image-20220523001219-12.png||_mstalt="450827" _mstvisible="3" height="298" width="720"]] 647 647 645 + 648 648 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 649 649 650 650 651 - 652 652 === 2.6.3 Set Device Time === 653 653 654 654 ... ... @@ -672,10 +672,8 @@ 672 672 (% 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.** 673 673 ))) 674 674 675 -((( 676 - 677 -))) 678 678 673 + 679 679 ((( 680 680 **2. Manually Set Time** 681 681 ))) ... ... @@ -685,7 +685,6 @@ 685 685 ))) 686 686 687 687 688 - 689 689 === 2.6.4 Poll sensor value === 690 690 691 691 ... ... @@ -703,7 +703,6 @@ 703 703 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 704 704 705 705 706 - 707 707 === 2.6.5 Datalog Uplink payload === 708 708 709 709 ... ... @@ -719,7 +719,6 @@ 719 719 720 720 **Poll message flag & Ext:** 721 721 722 - 723 723 [[image:image-20221006192726-1.png||height="112" width="754"]] 724 724 725 725 (% 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) ... ... @@ -730,7 +730,6 @@ 730 730 731 731 * Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 732 732 733 - 734 734 For example, in US915 band, the max payload for different DR is: 735 735 736 736 (% style="color:blue" %)**a) DR0:** (%%)max is 11 bytes so one entry of data ... ... @@ -763,7 +763,7 @@ 763 763 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 764 764 765 765 766 -7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E 757 +__**7FFF089801464160065F97**__ **__7FFF__ __088E__ __014B__ __41__ __60066009__** 7FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E 767 767 768 768 Where the first 11 bytes is for the first entry: 769 769 ... ... @@ -771,19 +771,18 @@ 771 771 772 772 Ext sensor data=0x7FFF/100=327.67 773 773 774 -Temp=0x08 98/100=22.00765 +Temp=0x088E/100=22.00 775 775 776 -Hum=0x014 6/10=32.6767 +Hum=0x014B/10=32.6 777 777 778 778 poll message flag & Ext=0x41,means reply data,Ext=1 779 779 780 -Unix time is 0x6006 5F97=1611030423s=21/1/19 04:27:03771 +Unix time is 0x60066009=1611030423s=21/1/19 04:27:03 781 781 782 782 774 +== 2.7 Alarm Mode & Feature "Multi sampling, one uplink" == 783 783 784 -== 2.7 Alarm Mode == 785 785 786 - 787 787 ((( 788 788 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. 789 789 ))) ... ... @@ -792,14 +792,15 @@ 792 792 (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.** 793 793 794 794 795 - 796 796 === 2.7.1 ALARM MODE ( Since v1.3.1 firmware) === 797 797 798 798 788 +**Internal GXHT30 temperature alarm(Acquisition time: fixed at one minute)** 789 + 799 799 ((( 800 800 (% class="box infomessage" %) 801 801 ((( 802 -**AT+WMOD=3 ,**: Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)793 +**AT+WMOD=3**: Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor) 803 803 804 804 **AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 805 805 ... ... @@ -813,15 +813,120 @@ 813 813 ))) 814 814 ))) 815 815 807 +(% style="color:#4f81bd" %)**Downlink Command:** 816 816 817 - 809 +AT+WMOD=1: A501 , AT+WMOD=0 : A600 810 + 811 +AT+CITEMP=1 : A60001 812 + 813 +AT+ARTEMP=1,60 : A70001003C 814 + 815 +AT+ARTEMP=-16,60 : A7FFF0003C 816 + 817 +AT+LEDALARM=1 : 3601 818 + 819 + 820 +(% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX** 821 + 822 +Total bytes: 8 bytes 823 + 824 +**Example: **AA0100010001003C 825 + 826 +WMOD=01 827 + 828 +CITEMP=0001 829 + 830 +TEMPlow=0001 831 + 832 +TEMPhigh=003C 833 + 834 + 835 +**DS18B20 and TMP117 Threshold Alarm** 836 + 837 +**~ AT+WMOD=1,60,-10,20** 838 + 839 +(% style="color:#4f81bd" %)**Downlink Command:** 840 + 841 +**Example: **A5013CFC180014 842 + 843 +MOD=01 844 + 845 +CITEMP=3C(S) 846 + 847 +TEMPlow=FC18 848 + 849 +TEMPhigh=0014 850 + 851 + 852 +**Fluctuation alarm for DS18B20 and TMP117(Acquisition time: minimum 1s)** 853 + 854 +**AT+WMOD=2,60,5** 855 + 856 +(% style="color:#4f81bd" %)**Downlink Command:** 857 + 858 +**Example: **A5023C05 859 + 860 +MOD=02 861 + 862 +CITEMP=3C(S) 863 + 864 +temperature fluctuation=05 865 + 866 + 867 +==== **Sampling multiple times and uplink together** ==== 868 + 869 +**AT+WMOD=3,1,60,20,-16,32,1** 870 + 871 +Explain: 872 + 873 +* Set Working Mode to **Mode 3** 874 +* Sampling Interval is **60**s. 875 +* 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) 876 +* Temperature alarm range is **-16** to **32**°C, 877 +* **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. 878 + 879 +(% style="color:#4f81bd" %)**Downlink Command:** 880 + 881 +**Example: **A50301003C14FFF0002001 882 + 883 +MOD=03 884 + 885 +EXT=01 886 + 887 +CITEMP=003C(S) 888 + 889 +Total number of acquisitions=14 890 + 891 +TEMPlow=FFF0 892 + 893 +TEMPhigh=0020 894 + 895 +ARTEMP=01 896 + 897 + 898 +**Uplink payload( Fport=3)** 899 + 900 +**Example: CBEA**01**0992**//0A41//**09C4** 901 + 902 +BatV=CBEA 903 + 904 +EXT=01 905 + 906 +Temp1=0992 ~/~/ 24.50℃ 907 + 908 +Temp2=0A41 ~/~/ 26.25℃ 909 + 910 +Temp3=09C4 ~/~/ 25.00℃ 911 + 912 + 913 +(% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 914 + 915 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 818 818 ))) 819 819 820 - (((918 + 821 821 === 2.7.2 ALARM MODE ( Before v1.3.1 firmware) === 822 822 823 - 824 -))) 825 825 826 826 (% _mstvisible="1" class="box infomessage" %) 827 827 ((( ... ... @@ -861,7 +861,6 @@ 861 861 TEMPhigh=003C 862 862 863 863 864 - 865 865 == 2.8 LED Indicator == 866 866 867 867 ... ... @@ -876,6 +876,8 @@ 876 876 * RED LED when external sensor is not connected 877 877 * For each success downlink, the PURPLE LED will blink once 878 878 974 + 975 + 879 879 == 2.9 installation == 880 880 881 881 ... ... @@ -883,10 +883,8 @@ 883 883 [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]] 884 884 885 885 886 - 887 887 = 3. Sensors and Accessories = 888 888 889 - 890 890 == 3.1 E2 Extension Cable == 891 891 892 892 ... ... @@ -917,8 +917,6 @@ 917 917 [[image:image-20220619092421-3.png||height="371" width="529"]] 918 918 919 919 920 - 921 - 922 922 == 3.2 E3 Temperature Probe == 923 923 924 924 ... ... @@ -933,6 +933,8 @@ 933 933 * Operating Range: -40 ~~ 125 °C 934 934 * Working voltage 2.35v ~~ 5v 935 935 1029 + 1030 + 936 936 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 937 937 938 938 ... ... @@ -980,7 +980,6 @@ 980 980 ))) 981 981 982 982 983 - 984 984 == 4.1 Set Transmit Interval Time == 985 985 986 986 ... ... @@ -1002,6 +1002,8 @@ 1002 1002 1003 1003 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1004 1004 1099 + 1100 + 1005 1005 == 4.2 Set External Sensor Mode == 1006 1006 1007 1007 ... ... @@ -1025,6 +1025,8 @@ 1025 1025 1026 1026 * 0xA20702003c: Same as AT+SETCNT=60 1027 1027 1124 + 1125 + 1028 1028 == 4.3 Enable/Disable uplink Temperature probe ID == 1029 1029 1030 1030 ... ... @@ -1055,6 +1055,8 @@ 1055 1055 * **0xA800** **~-~->** AT+PID=0 1056 1056 * **0xA801** **~-~->** AT+PID=1 1057 1057 1156 + 1157 + 1058 1058 == 4.4 Set Password == 1059 1059 1060 1060 ... ... @@ -1071,7 +1071,6 @@ 1071 1071 No downlink command for this feature. 1072 1072 1073 1073 1074 - 1075 1075 == 4.5 Quit AT Command == 1076 1076 1077 1077 ... ... @@ -1088,7 +1088,6 @@ 1088 1088 No downlink command for this feature. 1089 1089 1090 1090 1091 - 1092 1092 == 4.6 Set to sleep mode == 1093 1093 1094 1094 ... ... @@ -1106,6 +1106,8 @@ 1106 1106 1107 1107 * There is no downlink command to set to Sleep mode. 1108 1108 1207 + 1208 + 1109 1109 == 4.7 Set system time == 1110 1110 1111 1111 ... ... @@ -1122,7 +1122,6 @@ 1122 1122 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1123 1123 1124 1124 1125 - 1126 1126 == 4.8 Set Time Sync Mode == 1127 1127 1128 1128 ... ... @@ -1147,7 +1147,6 @@ 1147 1147 0x28 00 ~/~/ Same As AT+SYNCMOD=0 1148 1148 1149 1149 1150 - 1151 1151 == 4.9 Set Time Sync Interval == 1152 1152 1153 1153 ... ... @@ -1164,7 +1164,6 @@ 1164 1164 **0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1165 1165 1166 1166 1167 - 1168 1168 == 4.10 Print data entries base on page. == 1169 1169 1170 1170 ... ... @@ -1181,7 +1181,6 @@ 1181 1181 No downlink commands for feature 1182 1182 1183 1183 1184 - 1185 1185 == 4.11 Print last few data entries. == 1186 1186 1187 1187 ... ... @@ -1198,7 +1198,6 @@ 1198 1198 No downlink commands for feature 1199 1199 1200 1200 1201 - 1202 1202 == 4.12 Clear Flash Record == 1203 1203 1204 1204 ... ... @@ -1226,9 +1226,9 @@ 1226 1226 1227 1227 The default factory setting is 0 1228 1228 1229 -(% 270px" %)1230 -|=(% 00px;" %)**Command Example**|=(%20px;" %)**Function**|=(%50px;" %)**Response**1231 -|(% style="width:1 71px" %)AT+PNACKMD=1|(%219px" %)Poll None-ACK message|(% style="width:88px" %)OK1324 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %) 1325 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 118px;" %)**Function**|=(% style="width: 87px;" %)**Response** 1326 +|(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK 1232 1232 1233 1233 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1234 1234 ... ... @@ -1236,17 +1236,15 @@ 1236 1236 1237 1237 1238 1238 1334 +== 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1239 1239 1240 -== 4.14 Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm == 1241 1241 1242 - 1243 1243 Feature: Set internal and external temperature sensor alarms. 1244 1244 1245 -(% border="1" style="background-color:#ffffcc; color:green; width:500px" %) 1246 -|(% style="width:250px" %)**Command Example**|(% style="width:200px" %)**Function**|(% style="width:50px" %)**Response** 1247 -|(% style="width:2 71px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:462px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK1339 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %) 1340 +|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response** 1341 +|(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK 1248 1248 1249 - 1250 1250 (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4** 1251 1251 1252 1252 (% style="color:#037691" %)**Parameter 1**(%%): Alarm mode: ... ... @@ -1283,39 +1283,32 @@ 1283 1283 1284 1284 0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105 (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 ) 1285 1285 1379 +0XA5 01 0A F9 C0 29 04 ~-~-AT+WMOD=1,10,-16,105(Need to convert -16 to -1600 for calculation,-1600(DEC)=FFFFFFFFFFFFF9C0(HEX) FFFFFFFFFFFFF9C0(HEX) +10000(HEX)=F9C0(HEX)) 1380 + 1286 1286 0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2 (AT+WMOD = second byte, third byte, fourth byte) 1287 1287 1288 1288 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. 1289 1289 1290 1290 1291 - 1292 1292 = 5. Battery & How to replace = 1293 1293 1294 - 1295 1295 == 5.1 Battery Type == 1296 1296 1297 1297 1298 1298 ((( 1299 -((( 1300 1300 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. 1301 1301 ))) 1302 -))) 1303 1303 1304 1304 ((( 1305 - 1306 -))) 1307 - 1308 -((( 1309 -((( 1310 1310 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1397 + 1398 + 1311 1311 [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]] 1312 1312 ))) 1313 -))) 1314 1314 1315 1315 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1316 1316 1317 1317 1318 - 1319 1319 == 5.2 Replace Battery == 1320 1320 1321 1321 ... ... @@ -1332,9 +1332,6 @@ 1332 1332 [[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]] 1333 1333 ))) 1334 1334 1335 -((( 1336 - 1337 -))) 1338 1338 1339 1339 ((( 1340 1340 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]] ... ... @@ -1341,10 +1341,8 @@ 1341 1341 ))) 1342 1342 1343 1343 1344 - 1345 1345 = 6. FAQ = 1346 1346 1347 - 1348 1348 == 6.1 How to use AT Command? == 1349 1349 1350 1350 ... ... @@ -1565,7 +1565,6 @@ 1565 1565 AT+PID: Get or set the PID 1566 1566 1567 1567 1568 - 1569 1569 == 6.2 Where to use AT commands and Downlink commands == 1570 1570 1571 1571 ... ... @@ -1605,7 +1605,6 @@ 1605 1605 [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]] 1606 1606 1607 1607 1608 - 1609 1609 == 6.3 How to change the uplink interval? == 1610 1610 1611 1611 ... ... @@ -1612,7 +1612,6 @@ 1612 1612 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);"]] 1613 1613 1614 1614 1615 - 1616 1616 == 6.4 How to use TTL-USB to connect a PC to input AT commands? == 1617 1617 1618 1618 ... ... @@ -1631,7 +1631,6 @@ 1631 1631 [[image:image-20220615154519-3.png||height="672" width="807"]] 1632 1632 1633 1633 1634 - 1635 1635 == 6.5 How to use TTL-USB to connect PC to upgrade firmware? == 1636 1636 1637 1637 ... ... @@ -1674,7 +1674,6 @@ 1674 1674 Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. 1675 1675 1676 1676 1677 - 1678 1678 == 6.6 Using USB-TYPE-C to connect to the computer using the AT command == 1679 1679 1680 1680 ... ... @@ -1694,7 +1694,6 @@ 1694 1694 [[image:image-20220615154519-3.png||height="672" width="807"]] 1695 1695 1696 1696 1697 - 1698 1698 == 6.7 How to use USB-TYPE-C to connect PC to upgrade firmware? == 1699 1699 1700 1700 ... ... @@ -1716,7 +1716,7 @@ 1716 1716 [[image:image-20220623113959-5.png||height="528" width="397"]] 1717 1717 1718 1718 (% _msthash="506146" _msttexthash="52173160" %) 1719 - Pressandholdthestartkeytoestartand enter(% _mstvisible="1" %)bootlaod(%%)mode.1794 +Connect A8 and GND with Dupont wire for a while and then separate,enter reset mode 1720 1720 1721 1721 1722 1722 ... ... @@ -1733,10 +1733,9 @@ 1733 1733 [[image:image-20220620160723-8.png]] 1734 1734 1735 1735 1736 -Finally, restart resetdeviceagain1811 +Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode 1737 1737 1738 1738 1739 - 1740 1740 = 7. Order Info = 1741 1741 1742 1742 ... ... @@ -1757,6 +1757,7 @@ 1757 1757 1758 1758 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1759 1759 1834 + 1760 1760 = 8. Packing Info = 1761 1761 1762 1762 ... ... @@ -1767,14 +1767,16 @@ 1767 1767 1768 1768 **Dimension and weight**: 1769 1769 1770 -* Device Size: 10 x 10 x 3.5 cm1845 +* Device Size: 10 x 10 x 3.5 mm 1771 1771 * Device Weight: 120.5g 1772 1772 1848 + 1773 1773 = 9. Reference material = 1774 1774 1775 1775 1776 1776 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1777 1777 1854 + 1778 1778 = 10. FCC Warning = 1779 1779 1780 1780