Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 201.1
edited by Bei Jinggeng
on 2022/09/27 13:34
on 2022/09/27 13:34
Change comment:
There is no comment for this version
To version 207.1
edited by Edwin Chen
on 2022/10/18 09:59
on 2022/10/18 09:59
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Edwin - Content
-
... ... @@ -61,7 +61,6 @@ 61 61 * Tri-color LED to indicate working status 62 62 * Datalog feature (Max 3328 records) 63 63 64 - 65 65 == 1.3 Specification == 66 66 67 67 ... ... @@ -86,7 +86,6 @@ 86 86 * ±2°C accuracy from -55°C to +125°C 87 87 * Operating Range: -55 °C ~~ 125 °C 88 88 89 - 90 90 = 2. Connect LHT65N to IoT Server = 91 91 92 92 ... ... @@ -134,6 +134,7 @@ 134 134 (% _msthash="315240" _msttexthash="9205482" _mstvisible="1" class="wikigeneratedid" %) 135 135 This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Use with other LoRaWAN IoT servers is of a similar procedure. 136 136 135 + 137 137 (% _mstvisible="1" class="wikigeneratedid" %) 138 138 [[image:image-20220522232442-1.png||_mstalt="427830" _mstvisible="3" height="387" width="648"]] 139 139 ... ... @@ -198,7 +198,7 @@ 198 198 199 199 200 200 201 -== 2.4 Uplink Payload == 200 +== 2.4 Uplink Payload ( Fport~=2) == 202 202 203 203 204 204 ((( ... ... @@ -282,12 +282,9 @@ 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 ... ... @@ -536,8 +536,10 @@ 536 536 537 537 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 538 538 535 + 539 539 [[image:image-20220927095645-1.png||height="534" width="460"]] 540 540 538 + 541 541 **Ext=2,Temperature Sensor(TMP117):** 542 542 543 543 [[image:image-20220906102307-7.png]] ... ... @@ -756,11 +756,19 @@ 756 756 757 757 There are two methods: 758 758 759 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range. 760 -1. 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 message and store the sensor data, and it will send all messages (10s interval) after the network recovery. note: a) LHT65N will do ack check for data records sending to make sure every data arrive server. b) LHT65N will send data in CONFIRMED Mode when PNACKMD=1, but it won't re-transmit the same packet , it will just mark it as NONE-ACK and resend after network is detected. 757 +**Method 1**: IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range. 761 761 759 + 760 +**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. 761 + 762 +**Note for method 2:** 763 + 764 +* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server. 765 +* b) LHT65N will send data in **CONFIRMED Mode** when PNACKMD=1, but LHT65N won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if LHT65N gets a ACK, LHT65N will consider there is a network connection and resend all NONE-ACK Message. 766 + 762 762 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 763 763 769 + 764 764 [[image:image-20220703111700-2.png||height="381" width="1119"]] 765 765 766 766 ... ... @@ -982,15 +982,18 @@ 982 982 (% _msthash="315268" _msttexthash="390390" _mstvisible="3" %)**Poll message flag & Ext** 983 983 984 984 (% _mstvisible="1" %) 985 -[[image:image-20220523152208-14.png||_mstalt="452920" _mstvisible="3"]] 986 - 987 -(% _mstvisible="1" %) 988 988 ((( 989 989 (% _mstvisible="2" %) 990 990 ((( 991 991 (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %) 992 992 ((( 993 -Poll Message Flag: 1: This message is a poll message reply. 996 +[[image:image-20221006192726-1.png||height="112" width="754"]] 997 + 998 +(% 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) 999 + 1000 +(% class="mark" %)**Poll Message Flag**(%%): 1: This message is a poll message reply. 1001 + 1002 + 994 994 ))) 995 995 ))) 996 996 ))) ... ... @@ -1039,7 +1039,7 @@ 1039 1039 ((( 1040 1040 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 1041 1041 ((( 1042 -a) DR0: max is 11 bytes so one entry of data 1051 +**a) DR0:** max is 11 bytes so one entry of data 1043 1043 ))) 1044 1044 ))) 1045 1045 ))) ... ... @@ -1050,7 +1050,7 @@ 1050 1050 ((( 1051 1051 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 1052 1052 ((( 1053 -b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1062 +**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1054 1054 ))) 1055 1055 ))) 1056 1056 ))) ... ... @@ -1061,7 +1061,7 @@ 1061 1061 ((( 1062 1062 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 1063 1063 ((( 1064 -c) DR2: total payload includes 11 entries of data 1073 +**c) DR2:** total payload includes 11 entries of data 1065 1065 ))) 1066 1066 ))) 1067 1067 ))) ... ... @@ -1072,7 +1072,7 @@ 1072 1072 ((( 1073 1073 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 1074 1074 ((( 1075 -d) DR3: total payload includes 22 entries of data. 1084 +**d) DR3: **total payload includes 22 entries of data. 1076 1076 ))) 1077 1077 ))) 1078 1078 ))) ... ... @@ -1083,7 +1083,7 @@ 1083 1083 ((( 1084 1084 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 1085 1085 ((( 1086 -If devise doesn ’t have any data in the polling time. Device will uplink 11 bytes of 01095 +If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0 1087 1087 ))) 1088 1088 ))) 1089 1089 ))) ... ... @@ -1131,6 +1131,7 @@ 1131 1131 (% _mstvisible="1" %) 1132 1132 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 1133 1133 1143 + 1134 1134 (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %) 1135 1135 ((( 1136 1136 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E ... ... @@ -1183,17 +1183,35 @@ 1183 1183 ((( 1184 1184 (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.** 1185 1185 1196 +=== **2.7.1 ALARM MODE ( Since v1.3.1 firmware)** === 1197 + 1198 +((( 1199 +(% class="box infomessage" %) 1200 +((( 1201 +**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor) 1202 + 1203 +**AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 1204 + 1205 +**AT+ARTEMP**: Gets or sets the alarm range of the internal temperature sensor 1206 + 1207 +**AT+ARTEMP=? **: Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 1208 + 1209 +**AT+ARTEMP=45,105**: Set the internal temperature sensor alarm range from 45 to 105. 1210 +))) 1211 +))) 1212 + 1213 + 1186 1186 1187 1187 ))) 1188 1188 1189 1189 ((( 1190 -** ATCOMMAND FOR ALARM MODE:**1218 +=== **2.7.2 ALARM MODE ( Before v1.3.1 firmware)** === 1191 1191 ))) 1192 1192 1193 1193 (% _mstvisible="1" class="box infomessage" %) 1194 1194 ((( 1195 1195 ((( 1196 -**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled) 1224 +**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor) 1197 1197 ))) 1198 1198 1199 1199 ((( ... ... @@ -1243,7 +1243,6 @@ 1243 1243 * RED LED when external sensor is not connected 1244 1244 * For each success downlink, the PURPLE LED will blink once 1245 1245 1246 - 1247 1247 == 2.9 installation == 1248 1248 1249 1249 ... ... @@ -1370,7 +1370,6 @@ 1370 1370 1371 1371 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1372 1372 1373 - 1374 1374 == 4.2 Set External Sensor Mode == 1375 1375 1376 1376 ... ... @@ -1394,7 +1394,6 @@ 1394 1394 1395 1395 * 0xA20702003c: Same as AT+SETCNT=60 1396 1396 1397 - 1398 1398 == 4.3 Enable/Disable uplink Temperature probe ID == 1399 1399 1400 1400 ... ... @@ -1425,7 +1425,6 @@ 1425 1425 * **0xA800** **~-~->** AT+PID=0 1426 1426 * **0xA801** **~-~->** AT+PID=1 1427 1427 1428 - 1429 1429 == 4.4 Set Password == 1430 1430 1431 1431 ... ... @@ -1477,7 +1477,6 @@ 1477 1477 1478 1478 * There is no downlink command to set to Sleep mode. 1479 1479 1480 - 1481 1481 == 4.7 Set system time == 1482 1482 1483 1483 ... ... @@ -1491,7 +1491,7 @@ 1491 1491 1492 1492 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1493 1493 1494 -0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1517 +0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1495 1495 1496 1496 1497 1497 ... ... @@ -1515,8 +1515,8 @@ 1515 1515 1516 1516 (% style="color:#4f81bd" %)**Downlink Command:** 1517 1517 1518 -0x28 01 ~/~/ Same As AT+SYNCMOD=1 1519 -0x28 00 ~/~/ Same As AT+SYNCMOD=0 1541 +0x28 01 ~/~/ Same As AT+SYNCMOD=1 1542 +0x28 00 ~/~/ Same As AT+SYNCMOD=0 1520 1520 1521 1521 1522 1522 ... ... @@ -1533,7 +1533,7 @@ 1533 1533 1534 1534 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1535 1535 1536 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1559 +**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1537 1537 1538 1538 1539 1539 ... ... @@ -1584,9 +1584,8 @@ 1584 1584 1585 1585 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1586 1586 1587 -* Example: 0xA301 ~/~/Same as AT+CLRDTA 1610 +* Example: 0xA301 ~/~/ Same as AT+CLRDTA 1588 1588 1589 - 1590 1590 == 4.13 Auto Send None-ACK messages == 1591 1591 1592 1592 ... ... @@ -1605,9 +1605,8 @@ 1605 1605 1606 1606 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1607 1607 1608 -* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1630 +* Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1609 1609 1610 - 1611 1611 = 5. Battery & How to replace = 1612 1612 1613 1613 ... ... @@ -1677,7 +1677,6 @@ 1677 1677 * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1678 1678 * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1679 1679 * (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1680 -* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1681 1681 1682 1682 ((( 1683 1683 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. ... ... @@ -1929,7 +1929,7 @@ 1929 1929 == 6.3 How to change the uplink interval? == 1930 1930 1931 1931 1932 -[[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"]] 1952 +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);"]] 1933 1933 1934 1934 1935 1935 ... ... @@ -1963,6 +1963,7 @@ 1963 1963 [[image:image-20220615170542-5.png]] 1964 1964 1965 1965 1986 + 1966 1966 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 1967 1967 1968 1968 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -1976,6 +1976,7 @@ 1976 1976 [[image:image-20220621170938-2.png]] 1977 1977 1978 1978 2000 + 1979 1979 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 1980 1980 1981 1981 [[image:image-20220615171334-6.png]] ... ... @@ -2024,6 +2024,7 @@ 2024 2024 [[image:image-20220615170542-5.png]] 2025 2025 2026 2026 2049 + 2027 2027 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 2028 2028 2029 2029 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -2036,6 +2036,7 @@ 2036 2036 Press and hold the start key to restart and enter (% _mstvisible="1" %)bootlaod(%%) mode. 2037 2037 2038 2038 2062 + 2039 2039 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 2040 2040 2041 2041 [[image:image-20220615171334-6.png]] ... ... @@ -2073,7 +2073,6 @@ 2073 2073 2074 2074 * (% style="color:red" %)**E3**(%%): External Temperature Probe 2075 2075 2076 - 2077 2077 = 8. Packing Info = 2078 2078 2079 2079 ... ... @@ -2087,13 +2087,11 @@ 2087 2087 * Device Size: 10 x 10 x 3.5 cm 2088 2088 * Device Weight: 120.5g 2089 2089 2090 - 2091 2091 = 9. Reference material = 2092 2092 2093 2093 2094 2094 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2095 2095 2096 - 2097 2097 = 10. FCC Warning = 2098 2098 2099 2099
- image-20221006192726-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +17.3 KB - Content