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

From version 206.1
edited by Edwin Chen
on 2022/10/18 09:46
Change comment: There is no comment for this version
To version 203.1
edited by Edwin Chen
on 2022/10/06 19:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -199,7 +199,7 @@
199 199  
200 200  
201 201  
202 -== 2.4 Uplink Payload   ( Fport~=2) ==
202 +== 2.4 Uplink Payload ==
203 203  
204 204  
205 205  (((
... ... @@ -279,14 +279,18 @@
279 279  * 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.)
280 280  
281 281  
282 +
282 282  === 2.4.1 Decoder in TTN V3 ===
283 283  
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  
... ... @@ -309,6 +309,7 @@
309 309  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
310 310  
311 311  
316 +
312 312  === 2.4.3 Built-in Temperature ===
313 313  
314 314  
... ... @@ -320,6 +320,8 @@
320 320  
321 321  * Temperature:  (0xF5C6-65536)/100=-26.18℃
322 322  
328 +
329 +
323 323  === 2.4.4 Built-in Humidity ===
324 324  
325 325  
... ... @@ -328,6 +328,7 @@
328 328  * Humidity:    0x025C/10=60.4%
329 329  
330 330  
338 +
331 331  === 2.4.5 Ext # ===
332 332  
333 333  
... ... @@ -760,16 +760,9 @@
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.
771 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range.
772 +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 775  
... ... @@ -1001,9 +1001,9 @@
1001 1001  (((
1002 1002  [[image:image-20221006192726-1.png||height="112" width="754"]]
1003 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 +(% 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 1005  
1006 -(% class="mark" %)**Poll Message Flag**(%%): 1: This message is a poll message reply.
1007 +(% class="mark" %)Poll Message Flag(%%): 1: This message is a poll message reply.
1007 1007  
1008 1008  
1009 1009  )))
... ... @@ -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 data
1058 +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)
1069 +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 data
1080 +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.
1091 +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 0   
1102 +If devise doesnt have any data in the polling time. Device will uplink 11 bytes of 0   
1102 1102  )))
1103 1103  )))
1104 1104  )))
... ... @@ -1260,6 +1260,7 @@
1260 1260  * For each success downlink, the PURPLE LED will blink once
1261 1261  
1262 1262  
1264 +
1263 1263  == 2.9 installation ==
1264 1264  
1265 1265  
... ... @@ -1318,6 +1318,7 @@
1318 1318  * Working voltage 2.35v ~~ 5v
1319 1319  
1320 1320  
1323 +
1321 1321  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1322 1322  
1323 1323  
... ... @@ -1388,6 +1388,7 @@
1388 1388  * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1389 1389  
1390 1390  
1394 +
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  
1419 +
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  
1451 +
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  
1504 +
1498 1498  == 4.7 Set system time ==
1499 1499  
1500 1500  
... ... @@ -1550,7 +1550,7 @@
1550 1550  
1551 1551  (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1552 1552  
1553 -**0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
1560 +**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  ~/~/  Same as AT+CLRDTA
1611 +* Example: 0xA301 ~/~/Same as AT+CLRDTA
1605 1605  
1606 1606  
1614 +
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 ~/~/  Same as AT+PNACKMD=1
1633 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1626 1626  
1627 1627  
1636 +
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**
1706 +* (% 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.
... ... @@ -2093,6 +2093,8 @@
2093 2093  
2094 2094  * (% style="color:red" %)**E3**(%%): External Temperature Probe
2095 2095  
2106 +
2107 +
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  
2121 +
2122 +
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  
2128 +
2129 +
2114 2114  = 10. FCC Warning =
2115 2115  
2116 2116