Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 206.1
edited by Edwin Chen
on 2022/10/18 09:46
on 2022/10/18 09:46
Change comment:
There is no comment for this version
To version 200.1
edited by Bei Jinggeng
on 2022/09/27 09:56
on 2022/09/27 09:56
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Bei - Content
-
... ... @@ -62,6 +62,7 @@ 62 62 * Datalog feature (Max 3328 records) 63 63 64 64 65 + 65 65 == 1.3 Specification == 66 66 67 67 ... ... @@ -87,6 +87,7 @@ 87 87 * Operating Range: -55 °C ~~ 125 °C 88 88 89 89 91 + 90 90 = 2. Connect LHT65N to IoT Server = 91 91 92 92 ... ... @@ -134,7 +134,6 @@ 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 137 - 138 138 (% _mstvisible="1" class="wikigeneratedid" %) 139 139 [[image:image-20220522232442-1.png||_mstalt="427830" _mstvisible="3" height="387" width="648"]] 140 140 ... ... @@ -199,7 +199,7 @@ 199 199 200 200 201 201 202 -== 2.4 Uplink Payload ( Fport~=2)==203 +== 2.4 Uplink Payload == 203 203 204 204 205 205 ((( ... ... @@ -284,9 +284,12 @@ 284 284 285 285 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. 286 286 287 -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]]288 +Below is the position to put the decoder and LHT65N decoder can be download from here: 288 288 289 289 291 +[[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0||_msthash="315253" _msttexthash="3509064" _mstvisible="2"]] 292 + 293 + 290 290 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 291 291 292 292 ... ... @@ -320,6 +320,7 @@ 320 320 321 321 * Temperature: (0xF5C6-65536)/100=-26.18℃ 322 322 327 + 323 323 === 2.4.4 Built-in Humidity === 324 324 325 325 ... ... @@ -536,12 +536,10 @@ 536 536 537 537 538 538 539 -==== 2.4.6.4 Ext~=2 TMP117 Sensor ( SinceFirmwarev1.3) ====544 +==== 2.4.6.4 Ext~=2 TMP117 Sensor (since v1.3) ==== 540 540 541 - 542 542 [[image:image-20220927095645-1.png||height="534" width="460"]] 543 543 544 - 545 545 **Ext=2,Temperature Sensor(TMP117):** 546 546 547 547 [[image:image-20220906102307-7.png]] ... ... @@ -554,7 +554,7 @@ 554 554 555 555 556 556 557 -==== 2.4.6.5 Ext~=4 Interrupt Mode ( SinceFirmwarev1.3) ====560 +==== 2.4.6.5 Ext~=4 Interrupt Mode (since v1.3) ==== 558 558 559 559 560 560 (% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will send an uplink when there is a trigger.** ... ... @@ -602,7 +602,7 @@ 602 602 603 603 604 604 605 -==== 2.4.6.6 Ext~=8 Counting Mode( SinceFirmwarev1.3) ====608 +==== 2.4.6.6 Ext~=8 Counting Mode(since v1.3) ==== 606 606 607 607 608 608 (% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.** ... ... @@ -760,19 +760,11 @@ 760 760 761 761 There are two methods: 762 762 763 -**Method 1**: IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range. 766 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range. 767 +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. 764 764 765 - 766 -**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. 767 - 768 -**Note for method 2:** 769 - 770 -* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server. 771 -* 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. 772 - 773 773 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 774 774 775 - 776 776 [[image:image-20220703111700-2.png||height="381" width="1119"]] 777 777 778 778 ... ... @@ -994,18 +994,15 @@ 994 994 (% _msthash="315268" _msttexthash="390390" _mstvisible="3" %)**Poll message flag & Ext** 995 995 996 996 (% _mstvisible="1" %) 992 +[[image:image-20220523152208-14.png||_mstalt="452920" _mstvisible="3"]] 993 + 994 +(% _mstvisible="1" %) 997 997 ((( 998 998 (% _mstvisible="2" %) 999 999 ((( 1000 1000 (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %) 1001 1001 ((( 1002 -[[image:image-20221006192726-1.png||height="112" width="754"]] 1003 - 1004 -(% 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) 1005 - 1006 -(% class="mark" %)**Poll Message Flag**(%%): 1: This message is a poll message reply. 1007 - 1008 - 1000 +Poll Message Flag: 1: This message is a poll message reply. 1009 1009 ))) 1010 1010 ))) 1011 1011 ))) ... ... @@ -1054,7 +1054,7 @@ 1054 1054 ((( 1055 1055 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 1056 1056 ((( 1057 - **a) DR0:**max is 11 bytes so one entry of data1049 +a) DR0: max is 11 bytes so one entry of data 1058 1058 ))) 1059 1059 ))) 1060 1060 ))) ... ... @@ -1065,7 +1065,7 @@ 1065 1065 ((( 1066 1066 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 1067 1067 ((( 1068 - **b) DR1:**max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)1060 +b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1069 1069 ))) 1070 1070 ))) 1071 1071 ))) ... ... @@ -1076,7 +1076,7 @@ 1076 1076 ((( 1077 1077 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 1078 1078 ((( 1079 - **c) DR2:**total payload includes 11 entries of data1071 +c) DR2: total payload includes 11 entries of data 1080 1080 ))) 1081 1081 ))) 1082 1082 ))) ... ... @@ -1087,7 +1087,7 @@ 1087 1087 ((( 1088 1088 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 1089 1089 ((( 1090 - **d) DR3:**total payload includes 22 entries of data.1082 +d) DR3: total payload includes 22 entries of data. 1091 1091 ))) 1092 1092 ))) 1093 1093 ))) ... ... @@ -1098,7 +1098,7 @@ 1098 1098 ((( 1099 1099 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 1100 1100 ((( 1101 -If devise doesn 't have any data in the polling time. Device will uplink 11 bytes of 01093 +If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 1102 1102 ))) 1103 1103 ))) 1104 1104 ))) ... ... @@ -1146,7 +1146,6 @@ 1146 1146 (% _mstvisible="1" %) 1147 1147 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 1148 1148 1149 - 1150 1150 (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %) 1151 1151 ((( 1152 1152 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E ... ... @@ -1260,6 +1260,7 @@ 1260 1260 * For each success downlink, the PURPLE LED will blink once 1261 1261 1262 1262 1254 + 1263 1263 == 2.9 installation == 1264 1264 1265 1265 ... ... @@ -1388,6 +1388,7 @@ 1388 1388 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1389 1389 1390 1390 1383 + 1391 1391 == 4.2 Set External Sensor Mode == 1392 1392 1393 1393 ... ... @@ -1412,6 +1412,7 @@ 1412 1412 * 0xA20702003c: Same as AT+SETCNT=60 1413 1413 1414 1414 1408 + 1415 1415 == 4.3 Enable/Disable uplink Temperature probe ID == 1416 1416 1417 1417 ... ... @@ -1443,6 +1443,7 @@ 1443 1443 * **0xA801** **~-~->** AT+PID=1 1444 1444 1445 1445 1440 + 1446 1446 == 4.4 Set Password == 1447 1447 1448 1448 ... ... @@ -1495,6 +1495,7 @@ 1495 1495 * There is no downlink command to set to Sleep mode. 1496 1496 1497 1497 1493 + 1498 1498 == 4.7 Set system time == 1499 1499 1500 1500 ... ... @@ -1508,7 +1508,7 @@ 1508 1508 1509 1509 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1510 1510 1511 -0x306007806000 1507 +0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1512 1512 1513 1513 1514 1514 ... ... @@ -1532,8 +1532,8 @@ 1532 1532 1533 1533 (% style="color:#4f81bd" %)**Downlink Command:** 1534 1534 1535 -0x28 01 1536 -0x28 00 1531 +0x28 01 ~/~/ Same As AT+SYNCMOD=1 1532 +0x28 00 ~/~/ Same As AT+SYNCMOD=0 1537 1537 1538 1538 1539 1539 ... ... @@ -1550,7 +1550,7 @@ 1550 1550 1551 1551 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1552 1552 1553 -**0x29 0A** 1549 +**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1554 1554 1555 1555 1556 1556 ... ... @@ -1601,9 +1601,10 @@ 1601 1601 1602 1602 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1603 1603 1604 -* Example: 0xA301 1600 +* Example: 0xA301 ~/~/Same as AT+CLRDTA 1605 1605 1606 1606 1603 + 1607 1607 == 4.13 Auto Send None-ACK messages == 1608 1608 1609 1609 ... ... @@ -1622,9 +1622,10 @@ 1622 1622 1623 1623 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1624 1624 1625 -* Example: 0x3401 ~/~/ 1622 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1626 1626 1627 1627 1625 + 1628 1628 = 5. Battery & How to replace = 1629 1629 1630 1630 ... ... @@ -1694,6 +1694,7 @@ 1694 1694 * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1695 1695 * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1696 1696 * (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1695 +* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1697 1697 1698 1698 ((( 1699 1699 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. ... ... @@ -1945,7 +1945,7 @@ 1945 1945 == 6.3 How to change the uplink interval? == 1946 1946 1947 1947 1948 - 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);"]]1947 +[[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"]] 1949 1949 1950 1950 1951 1951 ... ... @@ -1979,7 +1979,6 @@ 1979 1979 [[image:image-20220615170542-5.png]] 1980 1980 1981 1981 1982 - 1983 1983 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 1984 1984 1985 1985 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -1993,7 +1993,6 @@ 1993 1993 [[image:image-20220621170938-2.png]] 1994 1994 1995 1995 1996 - 1997 1997 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 1998 1998 1999 1999 [[image:image-20220615171334-6.png]] ... ... @@ -2042,7 +2042,6 @@ 2042 2042 [[image:image-20220615170542-5.png]] 2043 2043 2044 2044 2045 - 2046 2046 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 2047 2047 2048 2048 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -2055,7 +2055,6 @@ 2055 2055 Press and hold the start key to restart and enter (% _mstvisible="1" %)bootlaod(%%) mode. 2056 2056 2057 2057 2058 - 2059 2059 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 2060 2060 2061 2061 [[image:image-20220615171334-6.png]] ... ... @@ -2093,6 +2093,8 @@ 2093 2093 2094 2094 * (% style="color:red" %)**E3**(%%): External Temperature Probe 2095 2095 2091 + 2092 + 2096 2096 = 8. Packing Info = 2097 2097 2098 2098 ... ... @@ -2106,11 +2106,15 @@ 2106 2106 * Device Size: 10 x 10 x 3.5 cm 2107 2107 * Device Weight: 120.5g 2108 2108 2106 + 2107 + 2109 2109 = 9. Reference material = 2110 2110 2111 2111 2112 2112 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2113 2113 2113 + 2114 + 2114 2114 = 10. FCC Warning = 2115 2115 2116 2116
- image-20221006192726-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.3 KB - Content