Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 204.1
edited by Edwin Chen
on 2022/10/08 15:03
on 2022/10/08 15:03
Change comment:
There is no comment for this version
To version 208.1
edited by Edwin Chen
on 2022/10/18 10:07
on 2022/10/18 10:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -197,7 +197,7 @@ 197 197 198 198 199 199 200 -== 2.4 Uplink Payload == 200 +== 2.4 Uplink Payload ( Fport~=2) == 201 201 202 202 203 203 ((( ... ... @@ -276,18 +276,14 @@ 276 276 * The 7th byte (EXT #): defines the external sensor model. 277 277 * 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.) 278 278 279 - 280 280 === 2.4.1 Decoder in TTN V3 === 281 281 282 282 283 283 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. 284 284 285 -Below is the position to put the decoder and LHT65N decoder can be download from here: 284 +Below is the position to put the decoder and LHT65N decoder can be download from here: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 286 286 287 287 288 -[[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0||_msthash="315253" _msttexthash="3509064" _mstvisible="2"]] 289 - 290 - 291 291 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 292 292 293 293 ... ... @@ -309,7 +309,6 @@ 309 309 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 310 310 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 311 311 312 - 313 313 === 2.4.3 Built-in Temperature === 314 314 315 315 ... ... @@ -321,7 +321,6 @@ 321 321 322 322 * Temperature: (0xF5C6-65536)/100=-26.18℃ 323 323 324 - 325 325 === 2.4.4 Built-in Humidity === 326 326 327 327 ... ... @@ -329,7 +329,6 @@ 329 329 330 330 * Humidity: 0x025C/10=60.4% 331 331 332 - 333 333 === 2.4.5 Ext # === 334 334 335 335 ... ... @@ -487,7 +487,6 @@ 487 487 * (% 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. 488 488 * (% 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) 489 489 490 - 491 491 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 492 492 493 493 ... ... @@ -1002,9 +1002,9 @@ 1002 1002 ((( 1003 1003 [[image:image-20221006192726-1.png||height="112" width="754"]] 1004 1004 1005 -(% class="mark" %)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) 997 +(% class="mark" %)**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) 1006 1006 1007 -(% class="mark" %)Poll Message Flag(%%): 1: This message is a poll message reply. 999 +(% class="mark" %)**Poll Message Flag**(%%): 1: This message is a poll message reply. 1008 1008 1009 1009 1010 1010 ))) ... ... @@ -1055,7 +1055,7 @@ 1055 1055 ((( 1056 1056 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 1057 1057 ((( 1058 -a) DR0: max is 11 bytes so one entry of data 1050 +**a) DR0:** max is 11 bytes so one entry of data 1059 1059 ))) 1060 1060 ))) 1061 1061 ))) ... ... @@ -1066,7 +1066,7 @@ 1066 1066 ((( 1067 1067 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 1068 1068 ((( 1069 -b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1061 +**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1070 1070 ))) 1071 1071 ))) 1072 1072 ))) ... ... @@ -1077,7 +1077,7 @@ 1077 1077 ((( 1078 1078 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 1079 1079 ((( 1080 -c) DR2: total payload includes 11 entries of data 1072 +**c) DR2:** total payload includes 11 entries of data 1081 1081 ))) 1082 1082 ))) 1083 1083 ))) ... ... @@ -1088,7 +1088,7 @@ 1088 1088 ((( 1089 1089 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 1090 1090 ((( 1091 -d) DR3: total payload includes 22 entries of data. 1083 +**d) DR3: **total payload includes 22 entries of data. 1092 1092 ))) 1093 1093 ))) 1094 1094 ))) ... ... @@ -1099,7 +1099,7 @@ 1099 1099 ((( 1100 1100 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 1101 1101 ((( 1102 -If devise doesn ’t have any data in the polling time. Device will uplink 11 bytes of 01094 +If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0 1103 1103 ))) 1104 1104 ))) 1105 1105 ))) ... ... @@ -1200,17 +1200,37 @@ 1200 1200 ((( 1201 1201 (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.** 1202 1202 1195 +=== **2.7.1 ALARM MODE ( Since v1.3.1 firmware)** === 1196 + 1197 +((( 1198 +(% class="box infomessage" %) 1199 +((( 1200 +**AT+WMOD=3,**: Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor) 1201 + 1202 +**AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 1203 + 1204 +**AT+ARTEMP**: Gets or sets the alarm range of the internal temperature sensor 1205 + 1206 +**AT+ARTEMP=? **: Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 1207 + 1208 +**AT+ARTEMP=45,105**: Set the internal temperature sensor alarm range from 45 to 105. 1209 + 1210 +**AT+LEDALARM=1** : Enable LED visual Alarm. 1211 +))) 1212 +))) 1213 + 1214 + 1203 1203 1204 1204 ))) 1205 1205 1206 1206 ((( 1207 -** ATCOMMAND FOR ALARM MODE:**1219 +=== **2.7.2 ALARM MODE ( Before v1.3.1 firmware)** === 1208 1208 ))) 1209 1209 1210 1210 (% _mstvisible="1" class="box infomessage" %) 1211 1211 ((( 1212 1212 ((( 1213 -**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled) 1225 +**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor) 1214 1214 ))) 1215 1215 1216 1216 ((( ... ... @@ -1260,7 +1260,6 @@ 1260 1260 * RED LED when external sensor is not connected 1261 1261 * For each success downlink, the PURPLE LED will blink once 1262 1262 1263 - 1264 1264 == 2.9 installation == 1265 1265 1266 1266 ... ... @@ -1318,7 +1318,6 @@ 1318 1318 * Operating Range: -40 ~~ 125 °C 1319 1319 * Working voltage 2.35v ~~ 5v 1320 1320 1321 - 1322 1322 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1323 1323 1324 1324 ... ... @@ -1388,7 +1388,6 @@ 1388 1388 1389 1389 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1390 1390 1391 - 1392 1392 == 4.2 Set External Sensor Mode == 1393 1393 1394 1394 ... ... @@ -1412,7 +1412,6 @@ 1412 1412 1413 1413 * 0xA20702003c: Same as AT+SETCNT=60 1414 1414 1415 - 1416 1416 == 4.3 Enable/Disable uplink Temperature probe ID == 1417 1417 1418 1418 ... ... @@ -1443,7 +1443,6 @@ 1443 1443 * **0xA800** **~-~->** AT+PID=0 1444 1444 * **0xA801** **~-~->** AT+PID=1 1445 1445 1446 - 1447 1447 == 4.4 Set Password == 1448 1448 1449 1449 ... ... @@ -1495,7 +1495,6 @@ 1495 1495 1496 1496 * There is no downlink command to set to Sleep mode. 1497 1497 1498 - 1499 1499 == 4.7 Set system time == 1500 1500 1501 1501 ... ... @@ -1551,7 +1551,7 @@ 1551 1551 1552 1552 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1553 1553 1554 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1560 +**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1555 1555 1556 1556 1557 1557 ... ... @@ -1602,9 +1602,8 @@ 1602 1602 1603 1603 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1604 1604 1605 -* Example: 0xA301 ~/~/Same as AT+CLRDTA 1611 +* Example: 0xA301 ~/~/ Same as AT+CLRDTA 1606 1606 1607 - 1608 1608 == 4.13 Auto Send None-ACK messages == 1609 1609 1610 1610 ... ... @@ -1623,9 +1623,8 @@ 1623 1623 1624 1624 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1625 1625 1626 -* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1631 +* Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1627 1627 1628 - 1629 1629 = 5. Battery & How to replace = 1630 1630 1631 1631 ... ... @@ -1695,7 +1695,6 @@ 1695 1695 * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1696 1696 * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1697 1697 * (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1698 -* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1699 1699 1700 1700 ((( 1701 1701 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. ... ... @@ -2095,7 +2095,6 @@ 2095 2095 2096 2096 * (% style="color:red" %)**E3**(%%): External Temperature Probe 2097 2097 2098 - 2099 2099 = 8. Packing Info = 2100 2100 2101 2101 ... ... @@ -2109,13 +2109,11 @@ 2109 2109 * Device Size: 10 x 10 x 3.5 cm 2110 2110 * Device Weight: 120.5g 2111 2111 2112 - 2113 2113 = 9. Reference material = 2114 2114 2115 2115 2116 2116 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2117 2117 2118 - 2119 2119 = 10. FCC Warning = 2120 2120 2121 2121