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.1
edited by Edwin Chen
on 2022/10/11 18:16
on 2022/10/11 18:16
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -61,6 +61,7 @@ 61 61 * Tri-color LED to indicate working status 62 62 * Datalog feature (Max 3328 records) 63 63 64 + 64 64 == 1.3 Specification == 65 65 66 66 ... ... @@ -85,6 +85,7 @@ 85 85 * ±2°C accuracy from -55°C to +125°C 86 86 * Operating Range: -55 °C ~~ 125 °C 87 87 89 + 88 88 = 2. Connect LHT65N to IoT Server = 89 89 90 90 ... ... @@ -276,6 +276,8 @@ 276 276 * The 7th byte (EXT #): defines the external sensor model. 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 281 + 282 + 279 279 === 2.4.1 Decoder in TTN V3 === 280 280 281 281 ... ... @@ -308,6 +308,8 @@ 308 308 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 309 309 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 310 310 315 + 316 + 311 311 === 2.4.3 Built-in Temperature === 312 312 313 313 ... ... @@ -319,6 +319,8 @@ 319 319 320 320 * Temperature: (0xF5C6-65536)/100=-26.18℃ 321 321 328 + 329 + 322 322 === 2.4.4 Built-in Humidity === 323 323 324 324 ... ... @@ -326,6 +326,8 @@ 326 326 327 327 * Humidity: 0x025C/10=60.4% 328 328 337 + 338 + 329 329 === 2.4.5 Ext # === 330 330 331 331 ... ... @@ -483,6 +483,8 @@ 483 483 * (% style="color:blue" %)**Sync time OK**: (%%) 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server. 484 484 * (% 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) 485 485 496 + 497 + 486 486 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 487 487 488 488 ... ... @@ -756,16 +756,9 @@ 756 756 757 757 There are two methods: 758 758 759 -**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. 760 760 761 - 762 -**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. 763 - 764 -**Note for method 2:** 765 - 766 -* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server. 767 -* 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. 768 - 769 769 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 770 770 771 771 ... ... @@ -1255,6 +1255,8 @@ 1255 1255 * RED LED when external sensor is not connected 1256 1256 * For each success downlink, the PURPLE LED will blink once 1257 1257 1263 + 1264 + 1258 1258 == 2.9 installation == 1259 1259 1260 1260 ... ... @@ -1312,6 +1312,8 @@ 1312 1312 * Operating Range: -40 ~~ 125 °C 1313 1313 * Working voltage 2.35v ~~ 5v 1314 1314 1322 + 1323 + 1315 1315 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1316 1316 1317 1317 ... ... @@ -1381,6 +1381,8 @@ 1381 1381 1382 1382 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1383 1383 1393 + 1394 + 1384 1384 == 4.2 Set External Sensor Mode == 1385 1385 1386 1386 ... ... @@ -1404,6 +1404,8 @@ 1404 1404 1405 1405 * 0xA20702003c: Same as AT+SETCNT=60 1406 1406 1418 + 1419 + 1407 1407 == 4.3 Enable/Disable uplink Temperature probe ID == 1408 1408 1409 1409 ... ... @@ -1434,6 +1434,8 @@ 1434 1434 * **0xA800** **~-~->** AT+PID=0 1435 1435 * **0xA801** **~-~->** AT+PID=1 1436 1436 1450 + 1451 + 1437 1437 == 4.4 Set Password == 1438 1438 1439 1439 ... ... @@ -1485,6 +1485,8 @@ 1485 1485 1486 1486 * There is no downlink command to set to Sleep mode. 1487 1487 1503 + 1504 + 1488 1488 == 4.7 Set system time == 1489 1489 1490 1490 ... ... @@ -1593,6 +1593,8 @@ 1593 1593 1594 1594 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1595 1595 1613 + 1614 + 1596 1596 == 4.13 Auto Send None-ACK messages == 1597 1597 1598 1598 ... ... @@ -1613,6 +1613,8 @@ 1613 1613 1614 1614 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1615 1615 1635 + 1636 + 1616 1616 = 5. Battery & How to replace = 1617 1617 1618 1618 ... ... @@ -1682,6 +1682,7 @@ 1682 1682 * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1683 1683 * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1684 1684 * (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1706 +* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1685 1685 1686 1686 ((( 1687 1687 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. ... ... @@ -2081,6 +2081,8 @@ 2081 2081 2082 2082 * (% style="color:red" %)**E3**(%%): External Temperature Probe 2083 2083 2106 + 2107 + 2084 2084 = 8. Packing Info = 2085 2085 2086 2086 ... ... @@ -2094,11 +2094,15 @@ 2094 2094 * Device Size: 10 x 10 x 3.5 cm 2095 2095 * Device Weight: 120.5g 2096 2096 2121 + 2122 + 2097 2097 = 9. Reference material = 2098 2098 2099 2099 2100 2100 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2101 2101 2128 + 2129 + 2102 2102 = 10. FCC Warning = 2103 2103 2104 2104