Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 205.2
edited by Xiaoling
on 2022/10/13 16:12
on 2022/10/13 16:12
Change comment:
There is no comment for this version
To 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
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. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -62,7 +62,6 @@ 62 62 * Datalog feature (Max 3328 records) 63 63 64 64 65 - 66 66 == 1.3 Specification == 67 67 68 68 ... ... @@ -88,7 +88,6 @@ 88 88 * Operating Range: -55 °C ~~ 125 °C 89 89 90 90 91 - 92 92 = 2. Connect LHT65N to IoT Server = 93 93 94 94 ... ... @@ -136,7 +136,6 @@ 136 136 (% _msthash="315240" _msttexthash="9205482" _mstvisible="1" class="wikigeneratedid" %) 137 137 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. 138 138 139 - 140 140 (% _mstvisible="1" class="wikigeneratedid" %) 141 141 [[image:image-20220522232442-1.png||_mstalt="427830" _mstvisible="3" height="387" width="648"]] 142 142 ... ... @@ -280,16 +280,17 @@ 280 280 * The 7th byte (EXT #): defines the external sensor model. 281 281 * 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.) 282 282 283 - 284 - 285 285 === 2.4.1 Decoder in TTN V3 === 286 286 287 287 288 288 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. 289 289 290 -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]]285 +Below is the position to put the decoder and LHT65N decoder can be download from here: 291 291 292 292 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 + 293 293 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 294 294 295 295 ... ... @@ -311,8 +311,6 @@ 311 311 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 312 312 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 313 313 314 - 315 - 316 316 === 2.4.3 Built-in Temperature === 317 317 318 318 ... ... @@ -331,8 +331,6 @@ 331 331 332 332 * Humidity: 0x025C/10=60.4% 333 333 334 - 335 - 336 336 === 2.4.5 Ext # === 337 337 338 338 ... ... @@ -450,7 +450,6 @@ 450 450 ))) 451 451 ))) 452 452 453 - 454 454 (% _mstvisible="1" %) 455 455 * (% _msthash="2539669" _msttexthash="857922" _mstvisible="3" %)**Battery status & **(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**Built-in Humidity** 456 456 ... ... @@ -481,7 +481,6 @@ 481 481 482 482 ))) 483 483 484 - 485 485 * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte** 486 486 487 487 (% border="1" cellspacing="8" style="background-color:#ffffcc; color:green; width:520px" %) ... ... @@ -493,8 +493,6 @@ 493 493 * (% style="color:blue" %)**Unix Time Request**:(%%) 1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this) 494 494 495 495 496 - 497 - 498 498 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 499 499 500 500 ... ... @@ -546,10 +546,8 @@ 546 546 547 547 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 548 548 549 - 550 550 [[image:image-20220927095645-1.png||height="534" width="460"]] 551 551 552 - 553 553 **Ext=2,Temperature Sensor(TMP117):** 554 554 555 555 [[image:image-20220906102307-7.png]] ... ... @@ -768,19 +768,11 @@ 768 768 769 769 There are two methods: 770 770 771 -**Method 1**: IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range. 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. 772 772 773 - 774 -**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. 775 - 776 -**Note for method 2:** 777 - 778 -* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server. 779 -* 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. 780 - 781 781 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 782 782 783 - 784 784 [[image:image-20220703111700-2.png||height="381" width="1119"]] 785 785 786 786 ... ... @@ -1002,18 +1002,15 @@ 1002 1002 (% _msthash="315268" _msttexthash="390390" _mstvisible="3" %)**Poll message flag & Ext** 1003 1003 1004 1004 (% _mstvisible="1" %) 985 +[[image:image-20220523152208-14.png||_mstalt="452920" _mstvisible="3"]] 986 + 987 +(% _mstvisible="1" %) 1005 1005 ((( 1006 1006 (% _mstvisible="2" %) 1007 1007 ((( 1008 1008 (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %) 1009 1009 ((( 1010 -[[image:image-20221006192726-1.png||height="112" width="754"]] 1011 - 1012 -(% 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) 1013 - 1014 -(% class="mark" %)**Poll Message Flag**(%%): 1: This message is a poll message reply. 1015 - 1016 - 993 +Poll Message Flag: 1: This message is a poll message reply. 1017 1017 ))) 1018 1018 ))) 1019 1019 ))) ... ... @@ -1062,7 +1062,7 @@ 1062 1062 ((( 1063 1063 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 1064 1064 ((( 1065 - **a) DR0:**max is 11 bytes so one entry of data1042 +a) DR0: max is 11 bytes so one entry of data 1066 1066 ))) 1067 1067 ))) 1068 1068 ))) ... ... @@ -1073,7 +1073,7 @@ 1073 1073 ((( 1074 1074 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 1075 1075 ((( 1076 - **b) DR1:**max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)1053 +b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1077 1077 ))) 1078 1078 ))) 1079 1079 ))) ... ... @@ -1084,7 +1084,7 @@ 1084 1084 ((( 1085 1085 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 1086 1086 ((( 1087 - **c) DR2:**total payload includes 11 entries of data1064 +c) DR2: total payload includes 11 entries of data 1088 1088 ))) 1089 1089 ))) 1090 1090 ))) ... ... @@ -1095,7 +1095,7 @@ 1095 1095 ((( 1096 1096 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 1097 1097 ((( 1098 - **d) DR3:**total payload includes 22 entries of data.1075 +d) DR3: total payload includes 22 entries of data. 1099 1099 ))) 1100 1100 ))) 1101 1101 ))) ... ... @@ -1106,7 +1106,7 @@ 1106 1106 ((( 1107 1107 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 1108 1108 ((( 1109 -If devise doesn 't have any data in the polling time. Device will uplink 11 bytes of 01086 +If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 1110 1110 ))) 1111 1111 ))) 1112 1112 ))) ... ... @@ -1154,7 +1154,6 @@ 1154 1154 (% _mstvisible="1" %) 1155 1155 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 1156 1156 1157 - 1158 1158 (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %) 1159 1159 ((( 1160 1160 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E ... ... @@ -1268,7 +1268,6 @@ 1268 1268 * For each success downlink, the PURPLE LED will blink once 1269 1269 1270 1270 1271 - 1272 1272 == 2.9 installation == 1273 1273 1274 1274 ... ... @@ -1326,8 +1326,6 @@ 1326 1326 * Operating Range: -40 ~~ 125 °C 1327 1327 * Working voltage 2.35v ~~ 5v 1328 1328 1329 - 1330 - 1331 1331 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1332 1332 1333 1333 ... ... @@ -1398,7 +1398,6 @@ 1398 1398 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1399 1399 1400 1400 1401 - 1402 1402 == 4.2 Set External Sensor Mode == 1403 1403 1404 1404 ... ... @@ -1423,7 +1423,6 @@ 1423 1423 * 0xA20702003c: Same as AT+SETCNT=60 1424 1424 1425 1425 1426 - 1427 1427 == 4.3 Enable/Disable uplink Temperature probe ID == 1428 1428 1429 1429 ... ... @@ -1455,7 +1455,6 @@ 1455 1455 * **0xA801** **~-~->** AT+PID=1 1456 1456 1457 1457 1458 - 1459 1459 == 4.4 Set Password == 1460 1460 1461 1461 ... ... @@ -1508,7 +1508,6 @@ 1508 1508 * There is no downlink command to set to Sleep mode. 1509 1509 1510 1510 1511 - 1512 1512 == 4.7 Set system time == 1513 1513 1514 1514 ... ... @@ -1522,7 +1522,7 @@ 1522 1522 1523 1523 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1524 1524 1525 -0x306007806000 1494 +0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1526 1526 1527 1527 1528 1528 ... ... @@ -1546,8 +1546,8 @@ 1546 1546 1547 1547 (% style="color:#4f81bd" %)**Downlink Command:** 1548 1548 1549 -0x28 01 1550 -0x28 00 1518 +0x28 01 ~/~/ Same As AT+SYNCMOD=1 1519 +0x28 00 ~/~/ Same As AT+SYNCMOD=0 1551 1551 1552 1552 1553 1553 ... ... @@ -1564,7 +1564,7 @@ 1564 1564 1565 1565 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1566 1566 1567 -**0x29 0A** 1536 +**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1568 1568 1569 1569 1570 1570 ... ... @@ -1615,10 +1615,9 @@ 1615 1615 1616 1616 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1617 1617 1618 -* Example: 0xA301 1587 +* Example: 0xA301 ~/~/Same as AT+CLRDTA 1619 1619 1620 1620 1621 - 1622 1622 == 4.13 Auto Send None-ACK messages == 1623 1623 1624 1624 ... ... @@ -1637,10 +1637,9 @@ 1637 1637 1638 1638 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1639 1639 1640 -* Example: 0x3401 ~/~/ 1608 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1641 1641 1642 1642 1643 - 1644 1644 = 5. Battery & How to replace = 1645 1645 1646 1646 ... ... @@ -1710,6 +1710,7 @@ 1710 1710 * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1711 1711 * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1712 1712 * (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1680 +* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1713 1713 1714 1714 ((( 1715 1715 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. ... ... @@ -1961,7 +1961,7 @@ 1961 1961 == 6.3 How to change the uplink interval? == 1962 1962 1963 1963 1964 - 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);"]]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"]] 1965 1965 1966 1966 1967 1967 ... ... @@ -1995,7 +1995,6 @@ 1995 1995 [[image:image-20220615170542-5.png]] 1996 1996 1997 1997 1998 - 1999 1999 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 2000 2000 2001 2001 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -2009,7 +2009,6 @@ 2009 2009 [[image:image-20220621170938-2.png]] 2010 2010 2011 2011 2012 - 2013 2013 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 2014 2014 2015 2015 [[image:image-20220615171334-6.png]] ... ... @@ -2058,7 +2058,6 @@ 2058 2058 [[image:image-20220615170542-5.png]] 2059 2059 2060 2060 2061 - 2062 2062 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 2063 2063 2064 2064 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -2071,7 +2071,6 @@ 2071 2071 Press and hold the start key to restart and enter (% _mstvisible="1" %)bootlaod(%%) mode. 2072 2072 2073 2073 2074 - 2075 2075 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 2076 2076 2077 2077 [[image:image-20220615171334-6.png]] ... ... @@ -2109,6 +2109,7 @@ 2109 2109 2110 2110 * (% style="color:red" %)**E3**(%%): External Temperature Probe 2111 2111 2076 + 2112 2112 = 8. Packing Info = 2113 2113 2114 2114 ... ... @@ -2122,11 +2122,13 @@ 2122 2122 * Device Size: 10 x 10 x 3.5 cm 2123 2123 * Device Weight: 120.5g 2124 2124 2090 + 2125 2125 = 9. Reference material = 2126 2126 2127 2127 2128 2128 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2129 2129 2096 + 2130 2130 = 10. FCC Warning = 2131 2131 2132 2132
- image-20221006192726-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.3 KB - Content