Last modified by Xiaoling on 2023/07/18 10:12

From version 210.1
edited by Bei Jinggeng
on 2022/10/18 10:49
Change comment: There is no comment for this version
To version 206.1
edited by Edwin Chen
on 2022/10/18 09:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Edwin
Content
... ... @@ -61,6 +61,7 @@
61 61  * Tri-color LED to indicate working status
62 62  * Datalog feature (Max 3328 records)
63 63  
64 +
64 64  == 1.3 Specification ==
65 65  
66 66  
... ... @@ -85,6 +85,7 @@
85 85  * ±2°C accuracy from -55°C to +125°C
86 86  * Operating Range: -55 °C ~~ 125 °C
87 87  
89 +
88 88  = 2. Connect LHT65N to IoT Server =
89 89  
90 90  
... ... @@ -276,6 +276,7 @@
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  
281 +
279 279  === 2.4.1 Decoder in TTN V3 ===
280 280  
281 281  
... ... @@ -305,6 +305,7 @@
305 305  * BAT status=(0Xcba4>>14)&0xFF=11(B),very good
306 306  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
307 307  
311 +
308 308  === 2.4.3 Built-in Temperature ===
309 309  
310 310  
... ... @@ -323,6 +323,7 @@
323 323  
324 324  * Humidity:    0x025C/10=60.4%
325 325  
330 +
326 326  === 2.4.5 Ext # ===
327 327  
328 328  
... ... @@ -480,6 +480,8 @@
480 480  * (% 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.
481 481  * (% 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)
482 482  
488 +
489 +
483 483  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
484 484  
485 485  
... ... @@ -645,8 +645,52 @@
645 645  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)
646 646  
647 647  
655 +(% style="color:blue" %)**Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm.**
648 648  
649 649  
658 +(% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
659 +
660 +(% style="color:#037691" %)**Parameter 1**(%%):  Alarm mode:
661 +
662 +0): Cancel
663 +
664 +1): Threshold alarm
665 +
666 +2): Fluctuation alarm
667 +
668 +
669 +(% style="color:#037691" %)** Parameter 2**(%%):  Sampling time. Unit: seconds, up to 255 seconds.
670 +
671 +(% style="color:red" %)**Note: When the collection time is less than 60 seconds and always exceeds the set alarm threshold, the sending interval will not be the collection time, but will be sent every 60 seconds.**
672 +
673 +
674 +(% style="color:#037691" %) **Parameter 3 and parameter 4:**
675 +
676 +1):  If Alarm Mode is set to 1: Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature.
677 +
678 +Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm.
679 +
680 +
681 +2):  If Alarm Mode is set to 2: Parameter 3 is valid, which represents the difference between the currently collected temperature and the last uploaded temperature.
682 +
683 +Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm.
684 +
685 +If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued.
686 +
687 +
688 +(% style="color:blue" %)** Downlink:**
689 +
690 +0xA5 00 ~-~- AT+WMOD=0.
691 +
692 +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 )
693 +
694 +0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2  (AT+WMOD = second byte, third byte, fourth byte)
695 +
696 +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.
697 +
698 +
699 +
700 +
650 650  == 2.5 Show data on Datacake ==
651 651  
652 652  
... ... @@ -1148,37 +1148,17 @@
1148 1148  (((
1149 1149  (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
1150 1150  
1151 -=== **2.7.1 ALARM MODE ( Since v1.3.1 firmware)** ===
1152 -
1153 -(((
1154 -(% class="box infomessage" %)
1155 -(((
1156 -**AT+WMOD=3,**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
1157 -
1158 -**AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
1159 -
1160 -**AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
1161 -
1162 -**AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
1163 -
1164 -**AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
1165 -
1166 -**AT+LEDALARM=1** :       Enable LED visual Alarm.
1167 -)))
1168 -)))
1169 -
1170 -
1171 1171  
1172 1172  )))
1173 1173  
1174 1174  (((
1175 -=== **2.7.2 ALARM MODE ( Before v1.3.1 firmware)** ===
1206 +**AT COMMAND FOR ALARM MODE:**
1176 1176  )))
1177 1177  
1178 1178  (% _mstvisible="1" class="box infomessage" %)
1179 1179  (((
1180 1180  (((
1181 -**AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
1212 +**AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
1182 1182  )))
1183 1183  
1184 1184  (((
... ... @@ -1228,6 +1228,7 @@
1228 1228  * RED LED when external sensor is not connected
1229 1229  * For each success downlink, the PURPLE LED will blink once
1230 1230  
1262 +
1231 1231  == 2.9 installation ==
1232 1232  
1233 1233  
... ... @@ -1285,6 +1285,7 @@
1285 1285  * Operating Range: -40 ~~ 125 °C
1286 1286  * Working voltage 2.35v ~~ 5v
1287 1287  
1320 +
1288 1288  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1289 1289  
1290 1290  
... ... @@ -1354,6 +1354,7 @@
1354 1354  
1355 1355  * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1356 1356  
1390 +
1357 1357  == 4.2 Set External Sensor Mode ==
1358 1358  
1359 1359  
... ... @@ -1377,6 +1377,7 @@
1377 1377  
1378 1378  * 0xA20702003c: Same as AT+SETCNT=60
1379 1379  
1414 +
1380 1380  == 4.3 Enable/Disable uplink Temperature probe ID ==
1381 1381  
1382 1382  
... ... @@ -1407,6 +1407,7 @@
1407 1407  * **0xA800**  **~-~->** AT+PID=0
1408 1408  * **0xA801**     **~-~->** AT+PID=1
1409 1409  
1445 +
1410 1410  == 4.4 Set Password ==
1411 1411  
1412 1412  
... ... @@ -1458,6 +1458,7 @@
1458 1458  
1459 1459  * There is no downlink command to set to Sleep mode.
1460 1460  
1497 +
1461 1461  == 4.7 Set system time ==
1462 1462  
1463 1463  
... ... @@ -1566,6 +1566,7 @@
1566 1566  
1567 1567  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1568 1568  
1606 +
1569 1569  == 4.13 Auto Send None-ACK messages ==
1570 1570  
1571 1571  
... ... @@ -1586,55 +1586,7 @@
1586 1586  
1587 1587  * Example: 0x3401 ~/~/  Same as AT+PNACKMD=1
1588 1588  
1589 -== 4.14 Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm ==
1590 1590  
1591 -
1592 -Feature: Set internal and external temperature sensor alarms.
1593 -
1594 -(% border="1" style="background-color:#ffffcc; color:green; width:450px" %)
1595 -|(%%)(% _msthash="1231737" _msttexthash="251862" _mstvisible="6" %)**Command Example**|(%%)(% _msthash="1231738" _msttexthash="116025" _mstvisible="6" %)**Function**|(%%)(% _msthash="1231739" _msttexthash="116831" _mstvisible="6" %)**Response**
1596 -|(%%)(% style="color:#037691" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|Set internal and external temperature sensor alarms|OK
1597 -
1598 -(% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
1599 -
1600 -(% style="color:#037691" %)**Parameter 1**(%%):  Alarm mode:
1601 -
1602 -0): Cancel
1603 -
1604 -1): Threshold alarm
1605 -
1606 -2): Fluctuation alarm
1607 -
1608 -
1609 -(% style="color:#037691" %)** Parameter 2**(%%):  Sampling time. Unit: seconds, up to 255 seconds.
1610 -
1611 -(% style="color:red" %)**Note: When the collection time is less than 60 seconds and always exceeds the set alarm threshold, the sending interval will not be the collection time, but will be sent every 60 seconds.**
1612 -
1613 -
1614 -(% style="color:#037691" %) **Parameter 3 and parameter 4:**
1615 -
1616 -1):  If Alarm Mode is set to 1: Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature.
1617 -
1618 -Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm.
1619 -
1620 -
1621 -2):  If Alarm Mode is set to 2: Parameter 3 is valid, which represents the difference between the currently collected temperature and the last uploaded temperature.
1622 -
1623 -Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm.
1624 -
1625 -If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued.
1626 -
1627 -
1628 -(% style="color:#4f81bd" %)**Downlink Command: 0xA5**
1629 -
1630 -0xA5 00 ~-~- AT+WMOD=0.
1631 -
1632 -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 )
1633 -
1634 -0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2  (AT+WMOD = second byte, third byte, fourth byte)
1635 -
1636 -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.
1637 -
1638 1638  = 5. Battery & How to replace =
1639 1639  
1640 1640