Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 204.1
edited by Edwin Chen
on 2022/10/08 15:03
on 2022/10/08 15:03
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -61,6 +61,9 @@ 61 61 * Tri-color LED to indicate working status 62 62 * Datalog feature (Max 3328 records) 63 63 64 + 65 + 66 + 64 64 == 1.3 Specification == 65 65 66 66 ... ... @@ -85,6 +85,9 @@ 85 85 * ±2°C accuracy from -55°C to +125°C 86 86 * Operating Range: -55 °C ~~ 125 °C 87 87 91 + 92 + 93 + 88 88 = 2. Connect LHT65N to IoT Server = 89 89 90 90 ... ... @@ -132,7 +132,6 @@ 132 132 (% _msthash="315240" _msttexthash="9205482" _mstvisible="1" class="wikigeneratedid" %) 133 133 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. 134 134 135 - 136 136 (% _mstvisible="1" class="wikigeneratedid" %) 137 137 [[image:image-20220522232442-1.png||_mstalt="427830" _mstvisible="3" height="387" width="648"]] 138 138 ... ... @@ -277,6 +277,7 @@ 277 277 * 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.) 278 278 279 279 285 + 280 280 === 2.4.1 Decoder in TTN V3 === 281 281 282 282 ... ... @@ -310,6 +310,7 @@ 310 310 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 311 311 312 312 319 + 313 313 === 2.4.3 Built-in Temperature === 314 314 315 315 ... ... @@ -322,6 +322,7 @@ 322 322 * Temperature: (0xF5C6-65536)/100=-26.18℃ 323 323 324 324 332 + 325 325 === 2.4.4 Built-in Humidity === 326 326 327 327 ... ... @@ -330,6 +330,7 @@ 330 330 * Humidity: 0x025C/10=60.4% 331 331 332 332 341 + 333 333 === 2.4.5 Ext # === 334 334 335 335 ... ... @@ -488,6 +488,8 @@ 488 488 * (% 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) 489 489 490 490 500 + 501 + 491 491 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 492 492 493 493 ... ... @@ -537,12 +537,9 @@ 537 537 538 538 539 539 540 -==== 2.4.6.4 Ext~=2 TMP117 Sensor ( SinceFirmwarev1.3) ====551 +==== 2.4.6.4 Ext~=2 TMP117 Sensor (since v1.3) ==== 541 541 542 542 543 -[[image:image-20220927095645-1.png||height="534" width="460"]] 544 - 545 - 546 546 **Ext=2,Temperature Sensor(TMP117):** 547 547 548 548 [[image:image-20220906102307-7.png]] ... ... @@ -555,7 +555,7 @@ 555 555 556 556 557 557 558 -==== 2.4.6.5 Ext~=4 Interrupt Mode ( SinceFirmwarev1.3) ====566 +==== 2.4.6.5 Ext~=4 Interrupt Mode (since v1.3) ==== 559 559 560 560 561 561 (% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will send an uplink when there is a trigger.** ... ... @@ -603,7 +603,7 @@ 603 603 604 604 605 605 606 -==== 2.4.6.6 Ext~=8 Counting Mode( SinceFirmwarev1.3) ====614 +==== 2.4.6.6 Ext~=8 Counting Mode(since v1.3) ==== 607 607 608 608 609 609 (% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.** ... ... @@ -761,19 +761,11 @@ 761 761 762 762 There are two methods: 763 763 764 -**Method 1**: IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range. 772 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range. 773 +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. 765 765 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 - 774 774 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 775 775 776 - 777 777 [[image:image-20220703111700-2.png||height="381" width="1119"]] 778 778 779 779 ... ... @@ -995,18 +995,15 @@ 995 995 (% _msthash="315268" _msttexthash="390390" _mstvisible="3" %)**Poll message flag & Ext** 996 996 997 997 (% _mstvisible="1" %) 998 +[[image:image-20220523152208-14.png||_mstalt="452920" _mstvisible="3"]] 999 + 1000 +(% _mstvisible="1" %) 998 998 ((( 999 999 (% _mstvisible="2" %) 1000 1000 ((( 1001 1001 (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %) 1002 1002 ((( 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 - 1006 +Poll Message Flag: 1: This message is a poll message reply. 1010 1010 ))) 1011 1011 ))) 1012 1012 ))) ... ... @@ -1147,7 +1147,6 @@ 1147 1147 (% _mstvisible="1" %) 1148 1148 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 1149 1149 1150 - 1151 1151 (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %) 1152 1152 ((( 1153 1153 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E ... ... @@ -1261,6 +1261,8 @@ 1261 1261 * For each success downlink, the PURPLE LED will blink once 1262 1262 1263 1263 1260 + 1261 + 1264 1264 == 2.9 installation == 1265 1265 1266 1266 ... ... @@ -1319,6 +1319,7 @@ 1319 1319 * Working voltage 2.35v ~~ 5v 1320 1320 1321 1321 1320 + 1322 1322 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1323 1323 1324 1324 ... ... @@ -1389,6 +1389,8 @@ 1389 1389 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1390 1390 1391 1391 1391 + 1392 + 1392 1392 == 4.2 Set External Sensor Mode == 1393 1393 1394 1394 ... ... @@ -1413,6 +1413,8 @@ 1413 1413 * 0xA20702003c: Same as AT+SETCNT=60 1414 1414 1415 1415 1417 + 1418 + 1416 1416 == 4.3 Enable/Disable uplink Temperature probe ID == 1417 1417 1418 1418 ... ... @@ -1444,6 +1444,8 @@ 1444 1444 * **0xA801** **~-~->** AT+PID=1 1445 1445 1446 1446 1450 + 1451 + 1447 1447 == 4.4 Set Password == 1448 1448 1449 1449 ... ... @@ -1496,6 +1496,8 @@ 1496 1496 * There is no downlink command to set to Sleep mode. 1497 1497 1498 1498 1504 + 1505 + 1499 1499 == 4.7 Set system time == 1500 1500 1501 1501 ... ... @@ -1509,7 +1509,7 @@ 1509 1509 1510 1510 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1511 1511 1512 -0x306007806000 1519 +0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1513 1513 1514 1514 1515 1515 ... ... @@ -1533,8 +1533,8 @@ 1533 1533 1534 1534 (% style="color:#4f81bd" %)**Downlink Command:** 1535 1535 1536 -0x28 01 1537 -0x28 00 1543 +0x28 01 ~/~/ Same As AT+SYNCMOD=1 1544 +0x28 00 ~/~/ Same As AT+SYNCMOD=0 1538 1538 1539 1539 1540 1540 ... ... @@ -1605,6 +1605,8 @@ 1605 1605 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1606 1606 1607 1607 1615 + 1616 + 1608 1608 == 4.13 Auto Send None-ACK messages == 1609 1609 1610 1610 ... ... @@ -1626,6 +1626,8 @@ 1626 1626 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1627 1627 1628 1628 1638 + 1639 + 1629 1629 = 5. Battery & How to replace = 1630 1630 1631 1631 ... ... @@ -1947,7 +1947,7 @@ 1947 1947 == 6.3 How to change the uplink interval? == 1948 1948 1949 1949 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);"]]1961 +[[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"]] 1951 1951 1952 1952 1953 1953 ... ... @@ -1981,7 +1981,6 @@ 1981 1981 [[image:image-20220615170542-5.png]] 1982 1982 1983 1983 1984 - 1985 1985 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 1986 1986 1987 1987 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -1995,7 +1995,6 @@ 1995 1995 [[image:image-20220621170938-2.png]] 1996 1996 1997 1997 1998 - 1999 1999 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 2000 2000 2001 2001 [[image:image-20220615171334-6.png]] ... ... @@ -2044,7 +2044,6 @@ 2044 2044 [[image:image-20220615170542-5.png]] 2045 2045 2046 2046 2047 - 2048 2048 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 2049 2049 2050 2050 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -2057,7 +2057,6 @@ 2057 2057 Press and hold the start key to restart and enter (% _mstvisible="1" %)bootlaod(%%) mode. 2058 2058 2059 2059 2060 - 2061 2061 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 2062 2062 2063 2063 [[image:image-20220615171334-6.png]] ... ... @@ -2096,6 +2096,8 @@ 2096 2096 * (% style="color:red" %)**E3**(%%): External Temperature Probe 2097 2097 2098 2098 2106 + 2107 + 2099 2099 = 8. Packing Info = 2100 2100 2101 2101 ... ... @@ -2110,6 +2110,8 @@ 2110 2110 * Device Weight: 120.5g 2111 2111 2112 2112 2122 + 2123 + 2113 2113 = 9. Reference material = 2114 2114 2115 2115 ... ... @@ -2116,6 +2116,8 @@ 2116 2116 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2117 2117 2118 2118 2130 + 2131 + 2119 2119 = 10. FCC Warning = 2120 2120 2121 2121
- image-20220927095645-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -174.1 KB - Content
- image-20221006192726-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.3 KB - Content