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

From version 201.1
edited by Bei Jinggeng
on 2022/09/27 13:34
Change comment: There is no comment for this version
To version 204.1
edited by Edwin Chen
on 2022/10/08 15:03
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,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  
... ... @@ -277,6 +277,7 @@
277 277  * The 7th byte (EXT #): defines the external sensor model.
278 278  * 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.)
279 279  
279 +
280 280  === 2.4.1 Decoder in TTN V3 ===
281 281  
282 282  
... ... @@ -309,6 +309,7 @@
309 309  * BAT status=(0Xcba4>>14)&0xFF=11(B),very good
310 310  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
311 311  
312 +
312 312  === 2.4.3 Built-in Temperature ===
313 313  
314 314  
... ... @@ -320,6 +320,7 @@
320 320  
321 321  * Temperature:  (0xF5C6-65536)/100=-26.18℃
322 322  
324 +
323 323  === 2.4.4 Built-in Humidity ===
324 324  
325 325  
... ... @@ -327,6 +327,7 @@
327 327  
328 328  * Humidity:    0x025C/10=60.4%
329 329  
332 +
330 330  === 2.4.5 Ext # ===
331 331  
332 332  
... ... @@ -536,8 +536,10 @@
536 536  
537 537  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
538 538  
542 +
539 539  [[image:image-20220927095645-1.png||height="534" width="460"]]
540 540  
545 +
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.
764 +**Method 1**: IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range.
761 761  
766 +
767 +**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.
768 +
769 +**Note for method 2:**
770 +
771 +* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server.
772 +* 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.
773 +
762 762  Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
763 763  
776 +
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.
1003 +[[image:image-20221006192726-1.png||height="112" width="754"]]
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)
1006 +
1007 +(% class="mark" %)Poll Message Flag(%%): 1: This message is a poll message reply.
1008 +
1009 +
994 994  )))
995 995  )))
996 996  )))
... ... @@ -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  
1150 +
1134 1134  (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %)
1135 1135  (((
1136 1136  7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
... ... @@ -1301,6 +1301,7 @@
1301 1301  * Operating Range: -40 ~~ 125 °C
1302 1302  * Working voltage 2.35v ~~ 5v
1303 1303  
1321 +
1304 1304  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1305 1305  
1306 1306  
... ... @@ -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
1512 +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
1536 +0x28 01  ~/~/  Same As AT+SYNCMOD=1
1537 +0x28 00  ~/~/  Same As AT+SYNCMOD=0
1520 1520  
1521 1521  
1522 1522  
... ... @@ -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"]]
1950 +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  
1984 +
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  
1998 +
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  
2047 +
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  
2060 +
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]]
image-20221006192726-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +17.3 KB
Content