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
-
... ... @@ -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,7 @@ 45 45 * Tri-color LED to indicate working status 46 46 * Datalog feature 47 47 61 + 48 48 == 1.3 Specification == 49 49 50 50 ... ... @@ -69,23 +69,36 @@ 69 69 * ±2°C accuracy from -55°C to +125°C 70 70 * Operating Range: -55 °C ~~ 125 °C 71 71 86 + 72 72 = 2. Connect LHT65N to IoT Server = 73 73 74 74 == 2.1 How does LHT65N work? == 75 75 91 +((( 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. 93 +))) 77 77 95 +((( 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. 97 +))) 79 79 80 80 81 81 == 2.2 How to Activate LHT65N? == 82 82 102 +((( 83 83 The LHT65N has two working modes: 104 +))) 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. 106 +* ((( 107 +(% 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. 108 +))) 109 +* ((( 110 +(% 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. 111 +))) 87 87 113 +((( 88 88 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 115 +))) 89 89 90 90 91 91 [[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]] ... ... @@ -241,6 +241,7 @@ 241 241 242 242 243 243 271 + 244 244 === 2.4.1 Decoder in TTN V3 === 245 245 246 246 When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading. ... ... @@ -273,6 +273,8 @@ 273 273 274 274 275 275 304 + 305 + 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,9 @@ 284 284 * Temperature: (0xF5C6-65536)/100=-26.18℃ 285 285 286 286 317 + 318 + 319 + 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,9 @@ 291 291 * Humidity: 0x025C/10=60.4% 292 292 293 293 327 + 328 + 329 + 294 294 === 2.4.5 Ext # === 295 295 296 296 Bytes for External Sensor: ... ... @@ -445,6 +445,8 @@ 445 445 446 446 447 447 484 + 485 + 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 ... ... @@ -519,6 +519,10 @@ 519 519 1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 520 520 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. 521 521 560 + 561 + 562 + 563 + 522 522 === 2.6.2 Unix TimeStamp === 523 523 524 524 ... ... @@ -541,20 +541,37 @@ 541 541 542 542 === 2.6.3 Set Device Time === 543 543 586 +((( 544 544 There are two ways to set device's time: 588 +))) 545 545 590 +((( 546 546 **~1. Through LoRaWAN MAC Command (Default settings)** 592 +))) 547 547 594 +((( 548 548 User need to set SYNCMOD=1 to enable sync time via MAC command. 596 +))) 549 549 598 +((( 550 550 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 +))) 551 551 602 +((( 552 552 (% 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 +))) 553 553 606 +((( 607 + 608 +))) 554 554 610 +((( 555 555 **2. Manually Set Time** 612 +))) 556 556 614 +((( 557 557 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 +))) 558 558 559 559 560 560 ... ... @@ -906,9 +906,6 @@ 906 906 * RED LED when external sensor is not connected 907 907 * For each success downlink, the PURPLE LED will blink once 908 908 909 - 910 - 911 - 912 912 == 2.9 installation == 913 913 914 914 (% _mstvisible="1" %) ... ... @@ -943,9 +943,6 @@ 943 943 * Operating Range: -40 ~~ 125 °C 944 944 * Working voltage 2.35v ~~ 5v 945 945 946 - 947 - 948 - 949 949 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 950 950 951 951 Use can configure LHT65N via AT Command or LoRaWAN Downlink. ... ... @@ -989,7 +989,6 @@ 989 989 990 990 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 991 991 992 - 993 993 == 4.2 Set External Sensor Mode == 994 994 995 995 Feature: Change External Sensor Mode. ... ... @@ -1011,8 +1011,6 @@ 1011 1011 1012 1012 * 0xA20702003c: Same as AT+SETCNT=60 1013 1013 1014 - 1015 - 1016 1016 == 4.3 Enable/Disable uplink Temperature probe ID == 1017 1017 1018 1018 ((( ... ... @@ -1040,8 +1040,6 @@ 1040 1040 * **0xA800** **~-~->** AT+PID=0 1041 1041 * **0xA801** **~-~->** AT+PID=1 1042 1042 1043 - 1044 - 1045 1045 == 4.4 Set Password == 1046 1046 1047 1047 Feature: Set device password, max 9 digits ... ... @@ -1088,9 +1088,6 @@ 1088 1088 1089 1089 * There is no downlink command to set to Sleep mode. 1090 1090 1091 - 1092 - 1093 - 1094 1094 == 4.7 Set system time == 1095 1095 1096 1096 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] ... ... @@ -1187,9 +1187,6 @@ 1187 1187 1188 1188 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1189 1189 1190 - 1191 - 1192 - 1193 1193 == 4.13 Auto Send None-ACK messages == 1194 1194 1195 1195 (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %) ... ... @@ -1204,13 +1204,10 @@ 1204 1204 (% _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** 1205 1205 (% _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 1206 1206 1207 - 1208 1208 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1209 1209 1210 1210 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1211 1211 1212 - 1213 - 1214 1214 = 5. Battery & How to replace = 1215 1215 1216 1216 == 5.1 Battery Type == ... ... @@ -1616,9 +1616,6 @@ 1616 1616 1617 1617 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1618 1618 1619 - 1620 - 1621 - 1622 1622 = 8. Packing Info = 1623 1623 1624 1624 ... ... @@ -1625,23 +1625,17 @@ 1625 1625 **Package Includes**: 1626 1626 1627 1627 * LHT65N Temperature & Humidity Sensor x 1 1664 +* Optional external sensor 1628 1628 1629 -*Optional external sensor 1630 - 1631 - 1632 1632 **Dimension and weight**: 1633 1633 1634 1634 * Device Size: 10 x 10 x 3.5 cm 1635 - 1636 1636 * Device Weight: 120.5g 1637 1637 1638 - 1639 - 1640 1640 = 9. Reference material = 1641 1641 1642 1642 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1643 1643 1644 - 1645 1645 = 10. FCC Warning = 1646 1646 1647 1647 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: