Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 176.1
edited by Bei Jinggeng
on 2022/06/23 11:43
on 2022/06/23 11:43
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 9 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -58,9 +58,6 @@ 58 58 * Tri-color LED to indicate working status 59 59 * Datalog feature 60 60 61 - 62 - 63 - 64 64 == 1.3 Specification == 65 65 66 66 ... ... @@ -85,9 +85,6 @@ 85 85 * ±2°C accuracy from -55°C to +125°C 86 86 * Operating Range: -55 °C ~~ 125 °C 87 87 88 - 89 - 90 - 91 91 = 2. Connect LHT65N to IoT Server = 92 92 93 93 == 2.1 How does LHT65N work? == ... ... @@ -269,8 +269,6 @@ 269 269 * The 7th byte (EXT #): defines the external sensor model. 270 270 * 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.) 271 271 272 - 273 - 274 274 === 2.4.1 Decoder in TTN V3 === 275 275 276 276 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. ... ... @@ -301,8 +301,6 @@ 301 301 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 302 302 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 303 303 304 - 305 - 306 306 === 2.4.3 Built-in Temperature === 307 307 308 308 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] ... ... @@ -315,6 +315,7 @@ 315 315 316 316 317 317 308 + 318 318 === 2.4.4 Built-in Humidity === 319 319 320 320 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] ... ... @@ -323,6 +323,7 @@ 323 323 324 324 325 325 317 + 326 326 === 2.4.5 Ext # === 327 327 328 328 Bytes for External Sensor: ... ... @@ -469,11 +469,13 @@ 469 469 470 470 * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte** 471 471 472 -[[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]] 464 +(% border="1" cellspacing="8" style="background-color:#ffffcc; color:green; width:520px" %) 465 +|(% style="width:60px" %)**Bits**|(% style="width:90px" %)**7**|(% style="width:100px" %)**6**|(% style="width:90px" %)**5**|(% style="width:100px" %)**4**|(% style="width:60px" %)**[3:0]** 466 +|(% style="width:96px" %)**Status&Ext**|(% style="width:124px" %)None-ACK Flag|(% style="width:146px" %)Poll Message FLAG|(% style="width:109px" %)Sync time OK|(% style="width:143px" %)Unix Time Request|(% style="width:106px" %)Ext: 0b(1001) 473 473 474 -* Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 475 -* Sync time OK: 476 -* 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) 468 +* (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. 469 +* (% 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. 470 +* (% 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) 477 477 478 478 479 479 ... ... @@ -487,8 +487,43 @@ 487 487 488 488 AT+EXT=6,timeout (% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)Time to power this sensor, from 0 ~~ 65535ms 489 489 484 +For example: 490 490 486 +AT+EXT=6,1000 will power this sensor for 1000ms before sampling the ADC value. 491 491 488 + 489 +Or use **downlink command A2** to set the same. 490 + 491 +The measuring range of the node is only about 0.1V to 1.1V The voltage resolution is about 0.24mv. 492 + 493 +When the measured output voltage of the sensor is not within the range of 0.1V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and connect the corresponding resistance in series. 494 + 495 +[[image:image-20220628150112-1.png||height="241" width="285"]] 496 + 497 + 498 +When ADC_IN1 pin is connected to GND or suspended, ADC value is 0 499 + 500 +[[image:image-20220628150714-4.png]] 501 + 502 + 503 +When the voltage collected by ADC_IN1 is less than the minimum range, the minimum range will be used as the output; Similarly, when the collected voltage is greater than the maximum range, the maximum range will be used as the output. 504 + 505 +1) The minimum range is about 0.1V. Each chip has internal calibration, so this value is close to 0.1V 506 + 507 +[[image:image-20220628151005-5.png]] 508 + 509 + 510 +2) The maximum range is about 1.1V. Each chip has internal calibration, so this value is close to 1.1v 511 + 512 +[[image:image-20220628151056-6.png]] 513 + 514 + 515 +3) Within range 516 + 517 +[[image:image-20220628151143-7.png]] 518 + 519 + 520 + 492 492 == 2.5 Show data on Datacake == 493 493 494 494 ((( ... ... @@ -548,11 +548,14 @@ 548 548 549 549 There are two methods: 550 550 551 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 552 -1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after network recover. 580 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range. 581 +1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after the network recovery. 553 553 583 +Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 554 554 585 +[[image:image-20220703111700-2.png||height="381" width="1119"]] 555 555 587 + 556 556 === 2.6.2 Unix TimeStamp === 557 557 558 558 ... ... @@ -993,8 +993,21 @@ 993 993 ))) 994 994 ))) 995 995 1028 +(% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX** 996 996 1030 +Total bytes: 8 bytes 997 997 1032 +**Example:**AA0100010001003C 1033 + 1034 +WMOD=01 1035 + 1036 +CITEMP=0001 1037 + 1038 +TEMPlow=0001 1039 + 1040 +TEMPhigh=003C 1041 + 1042 + 998 998 == 2.8 LED Indicator == 999 999 1000 1000 The LHT65 has a triple color LED which for easy showing different stage . ... ... @@ -1008,8 +1008,6 @@ 1008 1008 * RED LED when external sensor is not connected 1009 1009 * For each success downlink, the PURPLE LED will blink once 1010 1010 1011 - 1012 - 1013 1013 == 2.9 installation == 1014 1014 1015 1015 (% _mstvisible="1" %) ... ... @@ -1023,8 +1023,24 @@ 1023 1023 1024 1024 [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]] 1025 1025 1026 -1m long breakout cable for LHT65N 1069 +**1m long breakout cable for LHT65N. Features:** 1027 1027 1071 +* ((( 1072 +Use for AT Command, works for both LHT52/LHT65N 1073 +))) 1074 +* ((( 1075 +Update firmware for LHT65N, works for both LHT52/LHT65N 1076 +))) 1077 +* ((( 1078 +Supports ADC mode to monitor external ADC 1079 +))) 1080 +* ((( 1081 +Supports Interrupt mode 1082 +))) 1083 +* ((( 1084 +Exposed All pins from the LHT65N Type-C connector. 1085 +))) 1086 + 1028 1028 [[image:image-20220619092421-3.png||height="371" width="529"]] 1029 1029 1030 1030 ... ... @@ -1044,8 +1044,6 @@ 1044 1044 * Operating Range: -40 ~~ 125 °C 1045 1045 * Working voltage 2.35v ~~ 5v 1046 1046 1047 - 1048 - 1049 1049 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1050 1050 1051 1051 ((( ... ... @@ -1111,8 +1111,6 @@ 1111 1111 1112 1112 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1113 1113 1114 - 1115 - 1116 1116 == 4.2 Set External Sensor Mode == 1117 1117 1118 1118 Feature: Change External Sensor Mode. ... ... @@ -1134,8 +1134,6 @@ 1134 1134 1135 1135 * 0xA20702003c: Same as AT+SETCNT=60 1136 1136 1137 - 1138 - 1139 1139 == 4.3 Enable/Disable uplink Temperature probe ID == 1140 1140 1141 1141 ((( ... ... @@ -1163,8 +1163,6 @@ 1163 1163 * **0xA800** **~-~->** AT+PID=0 1164 1164 * **0xA801** **~-~->** AT+PID=1 1165 1165 1166 - 1167 - 1168 1168 == 4.4 Set Password == 1169 1169 1170 1170 Feature: Set device password, max 9 digits ... ... @@ -1211,8 +1211,6 @@ 1211 1211 1212 1212 * There is no downlink command to set to Sleep mode. 1213 1213 1214 - 1215 - 1216 1216 == 4.7 Set system time == 1217 1217 1218 1218 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] ... ... @@ -1309,8 +1309,6 @@ 1309 1309 1310 1310 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1311 1311 1312 - 1313 - 1314 1314 == 4.13 Auto Send None-ACK messages == 1315 1315 1316 1316 (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %) ... ... @@ -1329,8 +1329,6 @@ 1329 1329 1330 1330 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1331 1331 1332 - 1333 - 1334 1334 = 5. Battery & How to replace = 1335 1335 1336 1336 == 5.1 Battery Type == ... ... @@ -1720,7 +1720,7 @@ 1720 1720 [[image:image-20220615154519-3.png||height="672" width="807"]] 1721 1721 1722 1722 1723 -== 6. 6How to use USB-TYPE-C to connect PC to upgrade firmware? ==1768 +== 6.7 How to use USB-TYPE-C to connect PC to upgrade firmware? == 1724 1724 1725 1725 [[image:image-20220623110706-1.png]] 1726 1726 ... ... @@ -1783,8 +1783,6 @@ 1783 1783 1784 1784 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1785 1785 1786 - 1787 - 1788 1788 = 8. Packing Info = 1789 1789 1790 1790 ... ... @@ -1798,14 +1798,10 @@ 1798 1798 * Device Size: 10 x 10 x 3.5 cm 1799 1799 * Device Weight: 120.5g 1800 1800 1801 - 1802 - 1803 1803 = 9. Reference material = 1804 1804 1805 1805 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1806 1806 1807 - 1808 - 1809 1809 = 10. FCC Warning = 1810 1810 1811 1811 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
- image-20220628150112-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +220.3 KB - Content
- image-20220628150542-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.6 KB - Content
- image-20220628150648-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +8.3 KB - Content
- image-20220628150714-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.1 KB - Content
- image-20220628151005-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.3 KB - Content
- image-20220628151056-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +8.2 KB - Content
- image-20220628151143-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.2 KB - Content
- image-20220703111533-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +694.5 KB - Content
- image-20220703111700-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +369.4 KB - Content