Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 189.5
edited by Xiaoling
on 2022/07/22 10:34
on 2022/07/22 10:34
Change comment:
There is no comment for this version
To 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, 0 added, 2 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -59,8 +59,6 @@ 59 59 * Datalog feature 60 60 61 61 62 - 63 - 64 64 == 1.3 Specification == 65 65 66 66 ... ... @@ -86,8 +86,6 @@ 86 86 * Operating Range: -55 °C ~~ 125 °C 87 87 88 88 89 - 90 - 91 91 = 2. Connect LHT65N to IoT Server = 92 92 93 93 == 2.1 How does LHT65N work? == ... ... @@ -166,10 +166,9 @@ 166 166 [[image:image-20220522232954-5.png||_mstalt="431847" _mstvisible="3"]] 167 167 168 168 165 +Note: LHT65N use same payload as LHT65. 169 169 170 -(% style="color:red" %)**Note: LHT65N use same payload as LHT65.** 171 171 172 - 173 173 [[image:image-20220522233026-6.png||_mstalt="429403" _mstvisible="3"]] 174 174 175 175 ... ... @@ -270,8 +270,6 @@ 270 270 * The 7th byte (EXT #): defines the external sensor model. 271 271 * 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.) 272 272 273 - 274 - 275 275 === 2.4.1 Decoder in TTN V3 === 276 276 277 277 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. ... ... @@ -302,8 +302,6 @@ 302 302 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 303 303 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 304 304 305 - 306 - 307 307 === 2.4.3 Built-in Temperature === 308 308 309 309 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] ... ... @@ -314,8 +314,6 @@ 314 314 315 315 * Temperature: (0xF5C6-65536)/100=-26.18℃ 316 316 317 - 318 - 319 319 === 2.4.4 Built-in Humidity === 320 320 321 321 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] ... ... @@ -322,8 +322,6 @@ 322 322 323 323 * Humidity: 0x025C/10=60.4% 324 324 325 - 326 - 327 327 === 2.4.5 Ext # === 328 328 329 329 Bytes for External Sensor: ... ... @@ -470,15 +470,12 @@ 470 470 471 471 * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte** 472 472 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) 460 +[[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]] 476 476 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**:(%%)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)462 +* Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 463 +* 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. 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) 480 480 481 - 482 482 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 483 483 484 484 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can ... ... @@ -525,7 +525,6 @@ 525 525 [[image:image-20220628151143-7.png]] 526 526 527 527 528 - 529 529 == 2.5 Show data on Datacake == 530 530 531 531 ((( ... ... @@ -585,14 +585,9 @@ 585 585 586 586 There are two methods: 587 587 588 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify ingtime 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 thenetwork recovery.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. 590 590 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 - 596 596 === 2.6.2 Unix TimeStamp === 597 597 598 598 ... ... @@ -1033,21 +1033,8 @@ 1033 1033 ))) 1034 1034 ))) 1035 1035 1036 -(% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX** 1037 1037 1038 -Total bytes: 8 bytes 1039 1039 1040 -**Example:**AA0100010001003C 1041 - 1042 -WMOD=01 1043 - 1044 -CITEMP=0001 1045 - 1046 -TEMPlow=0001 1047 - 1048 -TEMPhigh=003C 1049 - 1050 - 1051 1051 == 2.8 LED Indicator == 1052 1052 1053 1053 The LHT65 has a triple color LED which for easy showing different stage . ... ... @@ -1773,7 +1773,7 @@ 1773 1773 [[image:image-20220615154519-3.png||height="672" width="807"]] 1774 1774 1775 1775 1776 -== 6. 7How to use USB-TYPE-C to connect PC to upgrade firmware? ==1741 +== 6.6 How to use USB-TYPE-C to connect PC to upgrade firmware? == 1777 1777 1778 1778 [[image:image-20220623110706-1.png]] 1779 1779
- image-20220703111533-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -694.5 KB - Content
- image-20220703111700-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -369.4 KB - Content