Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 203.1
edited by Edwin Chen
on 2022/10/06 19:30
on 2022/10/06 19:30
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -199,7 +199,7 @@ 199 199 200 200 201 201 202 -== 2.4 Uplink Payload == 202 +== 2.4 Uplink Payload ( Fport~=2) == 203 203 204 204 205 205 ((( ... ... @@ -279,18 +279,14 @@ 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 - 283 283 === 2.4.1 Decoder in TTN V3 === 284 284 285 285 286 286 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. 287 287 288 -Below is the position to put the decoder and LHT65N decoder can be download from here: 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]] 289 289 290 290 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 - 294 294 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 295 295 296 296 ... ... @@ -313,7 +313,6 @@ 313 313 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 314 314 315 315 316 - 317 317 === 2.4.3 Built-in Temperature === 318 318 319 319 ... ... @@ -325,8 +325,6 @@ 325 325 326 326 * Temperature: (0xF5C6-65536)/100=-26.18℃ 327 327 328 - 329 - 330 330 === 2.4.4 Built-in Humidity === 331 331 332 332 ... ... @@ -335,7 +335,6 @@ 335 335 * Humidity: 0x025C/10=60.4% 336 336 337 337 338 - 339 339 === 2.4.5 Ext # === 340 340 341 341 ... ... @@ -768,9 +768,16 @@ 768 768 769 769 There are two methods: 770 770 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. 763 +**Method 1**: IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range. 773 773 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 + 774 774 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 775 775 776 776 ... ... @@ -1002,9 +1002,9 @@ 1002 1002 ((( 1003 1003 [[image:image-20221006192726-1.png||height="112" width="754"]] 1004 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) 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) 1006 1006 1007 -(% class="mark" %)Poll Message Flag(%%): 1: This message is a poll message reply. 1006 +(% class="mark" %)**Poll Message Flag**(%%): 1: This message is a poll message reply. 1008 1008 1009 1009 1010 1010 ))) ... ... @@ -1055,7 +1055,7 @@ 1055 1055 ((( 1056 1056 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 1057 1057 ((( 1058 -a) DR0: max is 11 bytes so one entry of data 1057 +**a) DR0:** max is 11 bytes so one entry of data 1059 1059 ))) 1060 1060 ))) 1061 1061 ))) ... ... @@ -1066,7 +1066,7 @@ 1066 1066 ((( 1067 1067 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 1068 1068 ((( 1069 -b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1068 +**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1070 1070 ))) 1071 1071 ))) 1072 1072 ))) ... ... @@ -1077,7 +1077,7 @@ 1077 1077 ((( 1078 1078 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 1079 1079 ((( 1080 -c) DR2: total payload includes 11 entries of data 1079 +**c) DR2:** total payload includes 11 entries of data 1081 1081 ))) 1082 1082 ))) 1083 1083 ))) ... ... @@ -1088,7 +1088,7 @@ 1088 1088 ((( 1089 1089 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 1090 1090 ((( 1091 -d) DR3: total payload includes 22 entries of data. 1090 +**d) DR3: **total payload includes 22 entries of data. 1092 1092 ))) 1093 1093 ))) 1094 1094 ))) ... ... @@ -1099,7 +1099,7 @@ 1099 1099 ((( 1100 1100 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 1101 1101 ((( 1102 -If devise doesn ’t have any data in the polling time. Device will uplink 11 bytes of 01101 +If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0 1103 1103 ))) 1104 1104 ))) 1105 1105 ))) ... ... @@ -1261,7 +1261,6 @@ 1261 1261 * For each success downlink, the PURPLE LED will blink once 1262 1262 1263 1263 1264 - 1265 1265 == 2.9 installation == 1266 1266 1267 1267 ... ... @@ -1320,7 +1320,6 @@ 1320 1320 * Working voltage 2.35v ~~ 5v 1321 1321 1322 1322 1323 - 1324 1324 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1325 1325 1326 1326 ... ... @@ -1391,7 +1391,6 @@ 1391 1391 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1392 1392 1393 1393 1394 - 1395 1395 == 4.2 Set External Sensor Mode == 1396 1396 1397 1397 ... ... @@ -1416,7 +1416,6 @@ 1416 1416 * 0xA20702003c: Same as AT+SETCNT=60 1417 1417 1418 1418 1419 - 1420 1420 == 4.3 Enable/Disable uplink Temperature probe ID == 1421 1421 1422 1422 ... ... @@ -1448,7 +1448,6 @@ 1448 1448 * **0xA801** **~-~->** AT+PID=1 1449 1449 1450 1450 1451 - 1452 1452 == 4.4 Set Password == 1453 1453 1454 1454 ... ... @@ -1501,7 +1501,6 @@ 1501 1501 * There is no downlink command to set to Sleep mode. 1502 1502 1503 1503 1504 - 1505 1505 == 4.7 Set system time == 1506 1506 1507 1507 ... ... @@ -1557,7 +1557,7 @@ 1557 1557 1558 1558 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1559 1559 1560 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1553 +**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1561 1561 1562 1562 1563 1563 ... ... @@ -1608,10 +1608,9 @@ 1608 1608 1609 1609 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1610 1610 1611 -* Example: 0xA301 ~/~/Same as AT+CLRDTA 1604 +* Example: 0xA301 ~/~/ Same as AT+CLRDTA 1612 1612 1613 1613 1614 - 1615 1615 == 4.13 Auto Send None-ACK messages == 1616 1616 1617 1617 ... ... @@ -1630,10 +1630,9 @@ 1630 1630 1631 1631 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1632 1632 1633 -* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1625 +* Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1634 1634 1635 1635 1636 - 1637 1637 = 5. Battery & How to replace = 1638 1638 1639 1639 ... ... @@ -1703,7 +1703,6 @@ 1703 1703 * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1704 1704 * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1705 1705 * (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1706 -* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1707 1707 1708 1708 ((( 1709 1709 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. ... ... @@ -2103,8 +2103,6 @@ 2103 2103 2104 2104 * (% style="color:red" %)**E3**(%%): External Temperature Probe 2105 2105 2106 - 2107 - 2108 2108 = 8. Packing Info = 2109 2109 2110 2110 ... ... @@ -2118,15 +2118,11 @@ 2118 2118 * Device Size: 10 x 10 x 3.5 cm 2119 2119 * Device Weight: 120.5g 2120 2120 2121 - 2122 - 2123 2123 = 9. Reference material = 2124 2124 2125 2125 2126 2126 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2127 2127 2128 - 2129 - 2130 2130 = 10. FCC Warning = 2131 2131 2132 2132