Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 185.1
edited by Bei Jinggeng
on 2022/06/28 15:12
on 2022/06/28 15:12
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -59,6 +59,8 @@ 59 59 * Datalog feature 60 60 61 61 62 + 63 + 62 62 == 1.3 Specification == 63 63 64 64 ... ... @@ -84,6 +84,8 @@ 84 84 * Operating Range: -55 °C ~~ 125 °C 85 85 86 86 89 + 90 + 87 87 = 2. Connect LHT65N to IoT Server = 88 88 89 89 == 2.1 How does LHT65N work? == ... ... @@ -162,9 +162,10 @@ 162 162 [[image:image-20220522232954-5.png||_mstalt="431847" _mstvisible="3"]] 163 163 164 164 165 -Note: LHT65N use same payload as LHT65. 166 166 170 +(% style="color:red" %)**Note: LHT65N use same payload as LHT65.** 167 167 172 + 168 168 [[image:image-20220522233026-6.png||_mstalt="429403" _mstvisible="3"]] 169 169 170 170 ... ... @@ -265,6 +265,8 @@ 265 265 * The 7th byte (EXT #): defines the external sensor model. 266 266 * 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.) 267 267 273 + 274 + 268 268 === 2.4.1 Decoder in TTN V3 === 269 269 270 270 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. ... ... @@ -295,6 +295,8 @@ 295 295 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 296 296 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 297 297 305 + 306 + 298 298 === 2.4.3 Built-in Temperature === 299 299 300 300 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] ... ... @@ -305,6 +305,8 @@ 305 305 306 306 * Temperature: (0xF5C6-65536)/100=-26.18℃ 307 307 317 + 318 + 308 308 === 2.4.4 Built-in Humidity === 309 309 310 310 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] ... ... @@ -311,6 +311,8 @@ 311 311 312 312 * Humidity: 0x025C/10=60.4% 313 313 325 + 326 + 314 314 === 2.4.5 Ext # === 315 315 316 316 Bytes for External Sensor: ... ... @@ -457,12 +457,15 @@ 457 457 458 458 * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte** 459 459 460 -[[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]] 473 +(% border="1" cellspacing="8" style="background-color:#ffffcc; color:green; width:520px" %) 474 +|(% 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]** 475 +|(% 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) 461 461 462 -* Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 463 -* Sync time OK: 464 -* 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 +* (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. 478 +* (% 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. 479 +* (% 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) 465 465 481 + 466 466 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 467 467 468 468 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can ... ... @@ -509,6 +509,7 @@ 509 509 [[image:image-20220628151143-7.png]] 510 510 511 511 528 + 512 512 == 2.5 Show data on Datacake == 513 513 514 514 ((( ... ... @@ -568,9 +568,14 @@ 568 568 569 569 There are two methods: 570 570 571 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 572 -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. 588 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range. 589 +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. 573 573 591 +Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 592 + 593 +[[image:image-20220703111700-2.png||height="381" width="1119"]] 594 + 595 + 574 574 === 2.6.2 Unix TimeStamp === 575 575 576 576 ... ... @@ -1011,8 +1011,21 @@ 1011 1011 ))) 1012 1012 ))) 1013 1013 1036 +(% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX** 1014 1014 1038 +Total bytes: 8 bytes 1015 1015 1040 +**Example:**AA0100010001003C 1041 + 1042 +WMOD=01 1043 + 1044 +CITEMP=0001 1045 + 1046 +TEMPlow=0001 1047 + 1048 +TEMPhigh=003C 1049 + 1050 + 1016 1016 == 2.8 LED Indicator == 1017 1017 1018 1018 The LHT65 has a triple color LED which for easy showing different stage . ... ... @@ -1738,7 +1738,7 @@ 1738 1738 [[image:image-20220615154519-3.png||height="672" width="807"]] 1739 1739 1740 1740 1741 -== 6. 6How to use USB-TYPE-C to connect PC to upgrade firmware? ==1776 +== 6.7 How to use USB-TYPE-C to connect PC to upgrade firmware? == 1742 1742 1743 1743 [[image:image-20220623110706-1.png]] 1744 1744
- 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