Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 added, 0 removed)
- image-20220523151450-11.png
- image-20220523151524-12.png
- image-20220523151556-13.png
- image-20220523152208-14.png
- image-20220523152302-15.png
- image-20220523152434-16.png
- image-20220523152822-17.png
- image-20220523152839-18.png
- image-20220523153201-19.png
- image-20220525110512-1.png
- image-20220525110604-2.png
- image-20220525113731-1.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:image-20220523115324-1.jpeg||height=" 500" width="500"]]2 +[[image:image-20220523115324-1.jpeg||height="317" width="317"]] 3 3 4 4 5 5 **LHT65N LoRaWAN Temperature & Humidity Sensor Manual** ... ... @@ -6,6 +6,7 @@ 6 6 7 7 8 8 9 + 9 9 **Table of Contents:** 10 10 11 11 {{toc/}} ... ... @@ -12,8 +12,9 @@ 12 12 13 13 14 14 15 -= 1.Introduction = 16 16 17 += 1. Introduction = 18 + 17 17 == 1.1 What is LHT65N Temperature & Humidity Sensor == 18 18 19 19 ((( ... ... @@ -132,11 +132,7 @@ 132 132 133 133 [[image:image-20220515123819-1.png||height="379" width="317"]] 134 134 135 -(% border="1" style="background-color:#ffffcc; color:green; width:739px" %) 136 -|**Behavior on ACT**|**Function**|(% style="width:424px" %)**Action** 137 -|**Pressing ACT between 1s < time < 3s**|Test uplink status|(% style="width:424px" %)If LHT65N is already Joined to the LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has an external sensor connected, blue led will blink once. If LHT65N has no external sensor, red led will blink once. 138 -|**Pressing ACT for more than 3s**|Active Device|(% style="width:424px" %)green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network. 139 -|**Fast press ACT 5 times**|Deactivate Device|(% style="width:424px" %)red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode. 137 +[[image:image-20220525110604-2.png]] 140 140 141 141 == 2.3 Example to join LoRaWAN network == 142 142 ... ... @@ -190,45 +190,40 @@ 190 190 191 191 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 192 192 193 - 194 -(% border="1" style="background-color:#ffffcc; color:green; width:428px" %) 195 -|(% style="width:106px" %)((( 191 +(% border="1" style="background-color:#ffffcc; color:green; width:426px" %) 192 +|(% style="width:97px" %)((( 196 196 **Size(bytes)** 197 -)))|(% style="width: 46px" %)(((194 +)))|(% style="width:39px" %)((( 198 198 **2** 199 -)))|(% style="width:10 4px" %)(((196 +)))|(% style="width:100px" %)((( 200 200 **2** 201 -)))|(% style="width: 80px" %)(((198 +)))|(% style="width:77px" %)((( 202 202 **2** 203 -)))|(% style="width: 51px" %)(((200 +)))|(% style="width:47px" %)((( 204 204 **1** 205 -)))|(% style="width: 35px" %)(((202 +)))|(% style="width:51px" %)((( 206 206 **4** 207 207 ))) 208 -|(% style="width: 106px" %)(((205 +|(% style="width:97px" %)((( 209 209 **Value** 210 -)))|(% style="width: 46px" %)(((211 -[[BAT>> path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.2BAT-BatteryInfo]]212 -)))|(% style="width:10 4px" %)(((207 +)))|(% style="width:39px" %)((( 208 +[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]] 209 +)))|(% style="width:100px" %)((( 213 213 ((( 214 -[[Built-In >>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]211 +[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]] 215 215 ))) 216 - 213 +)))|(% style="width:77px" %)((( 217 217 ((( 218 -[[ Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]215 +[[Built-in>>||anchor="H2.4.4Built-inHumidity"]] 219 219 ))) 220 -)))|(% style="width:80px" %)((( 221 -((( 222 -[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 223 -))) 224 224 225 225 ((( 226 -[[Humidity>> path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]219 +[[Humidity>>||anchor="H2.4.4Built-inHumidity"]] 227 227 ))) 221 +)))|(% style="width:47px" %)((( 222 +[[Ext>>||anchor="H2.4.5Ext23"]] # 228 228 )))|(% style="width:51px" %)((( 229 -[[Ext>>path:#Extension_Sensor]] # 230 -)))|(% style="width:35px" %)((( 231 -[[Ext value>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]] 224 +[[Ext value>>||anchor="H2.4.6Extvalue"]] 232 232 ))) 233 233 234 234 * The First 6 bytes: has fix meanings for every LHT65N. ... ... @@ -249,40 +249,8 @@ 249 249 250 250 These two bytes of BAT include the battery state and the actually voltage 251 251 252 -(% border="1" style="background-color:#ffffcc; color:green; width:502px" %) 253 -|(% style="width:75px" %)((( 254 -Bit(bit) 255 -)))|(% style="width:259px" %)((( 256 -[15:14] 257 -)))|(% style="width:164px" %)((( 258 -[13:0] 259 -))) 260 -|(% style="width:75px" %)((( 261 -Value 262 -)))|(% style="width:259px" %)((( 263 -((( 264 -BAT Status 265 -))) 245 +[[image:image-20220523152839-18.png]] 266 266 267 -((( 268 -00(b): Ultra Low ( BAT <= 2.50v) 269 -))) 270 - 271 -((( 272 -01(b): Low (2.50v <=BAT <= 2.55v) 273 -))) 274 - 275 -((( 276 -10(b): OK (2.55v <= BAT <=2.65v) 277 -))) 278 - 279 -((( 280 -11(b): Good (BAT >= 2.65v) 281 -))) 282 -)))|(% style="width:164px" %)((( 283 -Actually BAT voltage 284 -))) 285 - 286 286 [[image:image-20220522235639-1.png||height="139" width="727"]] 287 287 288 288 Check the battery voltage for LHT65N. ... ... @@ -310,10 +310,7 @@ 310 310 311 311 Bytes for External Sensor: 312 312 313 -(% border="1" style="background-color:#ffffcc; color:green; width:473px" %) 314 -|(% style="width:139px" %)**EXT # Value**|(% style="width:331px" %)**External Sensor Type** 315 -|(% style="width:139px" %)0x01|(% style="width:331px" %)Sensor E3, Temperature Sensor 316 -|(% style="width:139px" %)0x09|(% style="width:331px" %)Sensor E3, Temperature Sensor, Datalog Mod 274 +[[image:image-20220523152822-17.png]] 317 317 318 318 === 2.4.6 Ext value === 319 319 ... ... @@ -342,21 +342,47 @@ 342 342 343 343 Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below: 344 344 345 -(% border="1" style="background-color:#ffffcc; color:green; width:541px" %) 346 -|(% style="width:96px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:69px" %)**2**|(% style="width:88px" %)**2**|(% style="width:69px" %)**1**|(% style="width:85px" %)**4** 347 -|(% style="width:96px" %)**Value**|(% style="width:71px" %)[[External temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.2SetExternalSensorMode]]|(% style="width:69px" %)((( 348 -[[Built-In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 303 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 304 +|(% style="width:96px" %)((( 305 +**Size(bytes)** 306 +)))|(% style="width:71px" %)((( 307 +**2** 308 +)))|(% style="width:99px" %)((( 309 +**2** 310 +)))|(% style="width:132px" %)((( 311 +**2** 312 +)))|(% style="width:54px" %)((( 313 +**1** 314 +)))|(% style="width:64px" %)((( 315 +**4** 316 +))) 317 +|(% style="width:96px" %)((( 318 +**Value** 319 +)))|(% style="width:71px" %)((( 320 +[[External temperature>>||anchor="H4.2SetExternalSensorMode"]] 321 +)))|(% style="width:99px" %)((( 322 +((( 323 +[[Built-In>>||anchor="H2.4.3Built-inTemperature"]] 324 +))) 349 349 350 -[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 351 -)))|(% style="width:88px" %)((( 326 +((( 327 +[[Temperature>>||anchor="H2.4.3Built-inTemperature"]] 328 +))) 329 +)))|(% style="width:132px" %)((( 330 +((( 352 352 BAT Status & 332 +))) 353 353 354 -[[Built-in>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 355 - 356 -[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 357 -)))|(% style="width:69px" %)Status & Ext|(% style="width:85px" %)((( 358 -[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]] 334 +((( 335 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 359 359 ))) 337 +)))|(% style="width:54px" %)((( 338 +Status & Ext 339 +)))|(% style="width:64px" %)((( 340 +((( 341 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]] 342 +))) 343 +))) 360 360 361 361 * **Battery status & (% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)Built-in Humidity(%%)** 362 362 ... ... @@ -373,7 +373,7 @@ 373 373 374 374 11(b): Good (BAT >= 2.65v) 375 375 )))|(% style="width:134px" %)((( 376 -[[Built-in Humidity>> path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]360 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 377 377 378 378 379 379 ))) ... ... @@ -380,11 +380,7 @@ 380 380 381 381 * **Status & Ext Byte** 382 382 383 -(% border="1" style="background-color:#ffffcc; color:green; width:587px" %) 384 -|(% style="width:109px" %)**Bits**|(% style="width:105px" %)**7**|(% style="width:105px" %)**6**|(% style="width:82px" %)**5**|(% style="width:84px" %)**4**|(% style="width:97px" %)**[3:0]** 385 -|(% style="width:109px" %)**Status & Ext**|(% style="width:105px" %)Not Defined|(% style="width:105px" %)Poll Message Flag|(% style="width:82px" %)Sync time OK|(% style="width:84px" %)Unix Time Request|(% style="width:97px" %)((( 386 -Ext:0b(1001) 387 -))) 367 +[[image:image-20220523152434-16.png]] 388 388 389 389 * Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 390 390 * 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. ... ... @@ -421,10 +421,17 @@ 421 421 422 422 == 2.6 Datalog Feature == 423 423 424 - Thisfeature isalwaysenabled. When userwants toretrievethe sensorvalue, hecansendapollcommand from theIoT platformto askLHT65Ntosendthevalue inthe requiredtimeslot.404 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N. 425 425 426 -=== 2.6.1 UnixTimeStamp===406 +=== 2.6.1 Ways to get datalog via LoRaWAN === 427 427 408 +There are two methods: 409 + 410 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 411 +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. 412 + 413 +=== 2.6.2 Unix TimeStamp === 414 + 428 428 LHT65N uses Unix TimeStamp format based on 429 429 430 430 [[image:image-20220523001219-11.png||height="97" width="627"]] ... ... @@ -442,7 +442,7 @@ 442 442 443 443 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 444 444 445 -=== 2.6. 2Set Device Time ===432 +=== 2.6.3 Set Device Time === 446 446 447 447 ((( 448 448 There are two ways to set device’s time: ... ... @@ -476,21 +476,18 @@ 476 476 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 477 477 ))) 478 478 479 -=== 2.6. 3Poll sensor value ===466 +=== 2.6.4 Poll sensor value === 480 480 481 481 User can poll sensor value based on timestamps from the server. Below is the downlink command. 482 482 470 +[[image:image-20220523152302-15.png]] 483 483 484 -(% border="1" style="background-color:#ffffcc; color:green; width:427px" %) 485 -|(% style="width:61px" %)1byte|(% style="width:126px" %)4bytes|(% style="width:120px" %)4bytes|(% style="width:115px" %)1byte 486 -|(% style="width:61px" %)31|(% style="width:126px" %)Timestamp start|(% style="width:120px" %)Timestamp end|(% style="width:115px" %)Uplink Interval 487 - 488 488 ((( 489 489 Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval. 490 490 ))) 491 491 492 492 ((( 493 -For example, downlink command **31 5FC5F350 5FC6 0160 05** 477 +For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05** 494 494 ))) 495 495 496 496 ((( ... ... @@ -502,7 +502,7 @@ 502 502 ))) 503 503 504 504 505 -=== 2.6. 4Datalog Uplink payload ===489 +=== 2.6.5 Datalog Uplink payload === 506 506 507 507 The Datalog poll reply uplink will use below payload format. 508 508 ... ... @@ -510,100 +510,138 @@ 510 510 **Retrieval data payload** 511 511 ))) 512 512 513 -(% border="1" style="background-color:#ffffcc; color:green; width:5 45px" %)497 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 514 514 |(% style="width:93px" %)((( 499 +((( 515 515 **Size(bytes)** 501 +))) 516 516 )))|(% style="width:71px" %)((( 503 +((( 517 517 **2** 505 +))) 518 518 )))|(% style="width:102px" %)((( 507 +((( 519 519 **2** 509 +))) 520 520 )))|(% style="width:86px" %)((( 511 +((( 521 521 **2** 522 -)))|(% style="width:90px" %)((( 513 +))) 514 +)))|(% style="width:86px" %)((( 515 +((( 523 523 **1** 524 -)))|(% style="width:85px" %)((( 517 +))) 518 +)))|(% style="width:48px" %)((( 519 +((( 525 525 **4** 526 526 ))) 522 +))) 527 527 |(% style="width:93px" %)((( 524 +((( 528 528 **Value** 526 +))) 529 529 )))|(% style="width:71px" %)((( 530 -[[External sensor data>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]] 528 +((( 529 +[[External sensor data>>||anchor="H2.4.6Extvalue"]] 530 +))) 531 531 )))|(% style="width:102px" %)((( 532 532 ((( 533 -[[Built In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 533 +((( 534 +[[Built In>>||anchor="H2.4.3Built-inTemperature"]] 534 534 ))) 536 +))) 535 535 536 536 ((( 537 -[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 539 +((( 540 +[[Temperature>>||anchor="H2.4.3Built-inTemperature"]] 538 538 ))) 542 +))) 539 539 )))|(% style="width:86px" %)((( 540 540 ((( 541 -[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 545 +((( 546 +[[Built-in>>||anchor="H2.4.4Built-inHumidity"]] 542 542 ))) 548 +))) 543 543 544 544 ((( 545 -[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 551 +((( 552 +[[Humidity>>||anchor="H2.4.4Built-inHumidity"]] 546 546 ))) 547 -)))|(% style="width:90px" %)((( 548 -[[Poll message flag & Ext>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.4DatalogUplinkpayload]] 549 -)))|(% style="width:85px" %)((( 554 +))) 555 +)))|(% style="width:86px" %)((( 550 550 ((( 551 - [[UnixTimeStamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.1UnixTimeStamp]]557 +Poll message flag & Ext 552 552 ))) 559 +)))|(% style="width:48px" %)((( 560 +((( 561 +((( 562 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]] 563 +))) 564 +))) 553 553 554 554 ((( 567 +((( 555 555 556 556 ))) 557 557 ))) 571 +))) 558 558 559 559 **Poll message flag & Ext** 560 560 561 -(% border="1" style="background-color:#ffffcc; color:green; width:540px" %) 562 -|(% style="width:81px" %)**Bits**|(% style="width:100px" %)**7**|(% style="width:105px" %)**6**|(% style="width:84px" %)**5**|(% style="width:85px" %)**4**|(% style="width:79px" %)**[3:0]** 563 -|(% style="width:81px" %)**Status & Ext**|(% style="width:100px" %)Not Defined|(% style="width:105px" %)Poll Message Flag|(% style="width:84px" %)Sync time OK|(% style="width:85px" %)Unix Time Request|(% style="width:79px" %)((( 564 -((( 565 -Ext: 566 -))) 575 +[[image:image-20220523152208-14.png]] 567 567 568 568 ((( 569 -0b(1001) 570 -))) 571 -))) 572 - 573 573 ((( 574 574 Poll Message Flag: 1: This message is a poll message reply. 575 575 ))) 581 +))) 576 576 577 577 * ((( 584 +((( 578 578 Poll Message Flag is set to 1. 579 579 ))) 587 +))) 580 580 * ((( 589 +((( 581 581 Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 582 582 ))) 592 +))) 583 583 584 584 ((( 595 +((( 585 585 For example, in US915 band, the max payload for different DR is: 586 586 ))) 598 +))) 587 587 588 588 ((( 601 +((( 589 589 a) DR0: max is 11 bytes so one entry of data 590 590 ))) 604 +))) 591 591 592 592 ((( 607 +((( 593 593 b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 594 594 ))) 610 +))) 595 595 596 596 ((( 613 +((( 597 597 c) DR2: total payload includes 11 entries of data 598 598 ))) 616 +))) 599 599 600 600 ((( 619 +((( 601 601 d) DR3: total payload includes 22 entries of data. 602 602 ))) 622 +))) 603 603 604 604 ((( 625 +((( 605 605 If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 606 606 ))) 628 +))) 607 607 608 608 609 609 **Example:** ... ... @@ -612,14 +612,25 @@ 612 612 613 613 [[image:image-20220523144455-1.png||height="335" width="735"]] 614 614 637 +((( 615 615 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 639 +))) 616 616 641 +((( 617 617 Where : Start time: 60065F97 = time 21/1/19 04:27:03 643 +))) 618 618 645 +((( 619 619 Stop time 60066DA7= time 21/1/19 05:27:03 647 +))) 620 620 649 +((( 650 + 651 +))) 621 621 653 +((( 622 622 LHT65N will uplink this payload. 655 +))) 623 623 624 624 [[image:image-20220523001219-13.png||height="421" width="727"]] 625 625 ... ... @@ -639,24 +639,32 @@ 639 639 640 640 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 641 641 675 + 642 642 == 2.7 Alarm Mode == 643 643 644 644 Alarm mode feature is added since firmware v1.5. When device is in Alarm mode, it will check the built-in sensor temperature in a short interval. If the temperature exceeds the pre-configure range, it will send an uplink immediately. 645 645 680 +((( 646 646 (% style="color:red" %)Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature. 682 +))) 647 647 648 648 **AT Commands for Alarm mode:** 649 649 650 650 (% class="box infomessage" %) 651 651 ((( 652 -**AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 653 -))) 688 +**~ AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 654 654 655 -(% class="box infomessage" %) 656 -((( 657 -**AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 690 +(% class="box infomessage" %)**AT**(%%)**+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 691 + 692 +(% class="box infomessage" %)**AT+ARTEMP:**(%%) Get or set the internal Temperature sensor alarm range 693 + 694 +(% class="box infomessage" %)**AT+ARTEMP=?**(%%):Get the internal Temperatuere sensor alarm range 695 + 696 +(% class="box infomessage" %)**AT+**(% class="box infomessage box infomessage" %)**ARTEMP=45,105**(%%) :Set the internal Temperatuere sensor alarm range 45 to 105. 658 658 ))) 659 659 699 +== == 700 + 660 660 == 2.8 LED Indicator == 661 661 662 662 ((( ... ... @@ -708,29 +708,55 @@ 708 708 709 709 = 4. Configure LHT65N via AT Command or LoRaWAN Downlink = 710 710 752 +((( 711 711 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 754 +))) 712 712 713 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 714 -* LoRaWAN Downlink instruction for different platforms: 756 +* ((( 757 +AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 758 +))) 759 +* ((( 760 +LoRaWAN Downlink instruction for different platforms: 761 +))) 715 715 763 +((( 716 716 [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]] 765 +))) 717 717 767 +((( 718 718 There are two kinds of commands to configure LHT65N, they are: 769 +))) 719 719 771 +((( 720 720 (% style="color:#4f81bd" %)* **General Commands**. 773 +))) 721 721 775 +((( 722 722 These commands are to configure: 777 +))) 723 723 724 -* General system settings like: uplink interval. 725 -* LoRaWAN protocol & radio-related commands. 779 +* ((( 780 +General system settings like: uplink interval. 781 +))) 782 +* ((( 783 +LoRaWAN protocol & radio-related commands. 784 +))) 726 726 786 +((( 727 727 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: 788 +))) 728 728 790 +((( 729 729 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 792 +))) 730 730 794 +((( 731 731 (% style="color:#4f81bd" %)* **Commands special design for LHT65N** 796 +))) 732 732 798 +((( 733 733 These commands are only valid for LHT65N, as below: 800 +))) 734 734 735 735 == 4.1 Set Transmit Interval Time == 736 736 ... ... @@ -740,14 +740,24 @@ 740 740 741 741 [[image:image-20220523150701-2.png]] 742 742 810 +((( 743 743 **Downlink Command: 0x01** 812 +))) 744 744 814 +((( 745 745 Format: Command Code (0x01) followed by 3 bytes time value. 816 +))) 746 746 818 +((( 747 747 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 820 +))) 748 748 749 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 750 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 822 +* ((( 823 +**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 824 +))) 825 +* ((( 826 +**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 827 +))) 751 751 752 752 == 4.2 Set External Sensor Mode == 753 753 ... ... @@ -757,15 +757,27 @@ 757 757 758 758 [[image:image-20220523150759-3.png]] 759 759 837 +((( 760 760 **Downlink Command: 0xA2** 839 +))) 761 761 841 +((( 762 762 Total bytes: 2 ~~ 5 bytes 843 +))) 763 763 845 +((( 764 764 **Example:** 847 +))) 765 765 766 -* 0xA201: Set external sensor type to E1 767 -* 0xA209: Same as AT+EXT=9 768 -* 0xA20702003c,Same as AT+SETCNT=60 849 +* ((( 850 +0xA201: Set external sensor type to E1 851 +))) 852 +* ((( 853 +0xA209: Same as AT+EXT=9 854 +))) 855 +* ((( 856 +0xA20702003c,Same as AT+SETCNT=60 857 +))) 769 769 770 770 == 4.3 Enable/Disable uplink Temperature probe ID == 771 771 ... ... @@ -793,9 +793,13 @@ 793 793 794 794 [[image:image-20220523151052-5.png]] 795 795 885 +((( 796 796 **Downlink Command:** 887 +))) 797 797 889 +((( 798 798 No downlink command for this feature. 891 +))) 799 799 800 800 == 4.5 Quit AT Command == 801 801 ... ... @@ -823,7 +823,7 @@ 823 823 824 824 == 4.7 Set system time == 825 825 826 -Feature: Set system time, unix format. [[See here for format detail.>> path:#TimeStamp]]919 +Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 827 827 828 828 **AT Command:** 829 829 ... ... @@ -835,12 +835,17 @@ 835 835 836 836 == 4.8 Set Time Sync Mode == 837 837 931 +((( 838 838 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 933 +))) 839 839 935 +((( 840 840 SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0. 937 +))) 841 841 842 - 939 +((( 843 843 **AT Command:** 941 +))) 844 844 845 845 [[image:image-20220523151336-9.png]] 846 846 ... ... @@ -856,9 +856,7 @@ 856 856 857 857 **AT Command:** 858 858 859 -(% border="1" %) 860 -|**Command Example**|**Function** 861 -|AT+SYNCTDC=0x0A|Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 957 +[[image:image-20220523151411-10.png]] 862 862 863 863 **Downlink Command:** 864 864 ... ... @@ -870,51 +870,8 @@ 870 870 871 871 **AT Command: AT+PDTA** 872 872 873 -(% border="1" %) 874 -|**Command Example**|**Response** 875 -|((( 876 -AT+PDTA=1,3 969 +[[image:image-20220523151450-11.png]] 877 877 878 - 879 - 880 -Print page 1 to 3 881 -)))|((( 882 -8019500 19/6/26 16:48 1 2992 sht_temp=28.21 sht_hum=71.5 ds_temp=27.31 883 - 884 -8019510 19/6/26 16:53 1 2994 sht_temp=27.64 sht_hum=69.3 ds_temp=26.93 885 - 886 -8019520 19/6/26 16:58 1 2996 sht_temp=28.39 sht_hum=72.0 ds_temp=27.06 887 - 888 -8019530 19/6/26 17:03 1 2996 sht_temp=27.97 sht_hum=70.4 ds_temp=27.12 889 - 890 -8019540 19/6/26 17:08 1 2996 sht_temp=27.80 sht_hum=72.9 ds_temp=27.06 891 - 892 -8019550 19/6/26 17:13 1 2998 sht_temp=27.30 sht_hum=72.4 ds_temp=26.68 893 - 894 -8019560 19/6/26 17:22 1 2992 sht_temp=26.27 sht_hum=62.3 ds_temp=26.56 895 - 896 -8019570 897 - 898 -8019580 899 - 900 -8019590 901 - 902 -80195A0 903 - 904 -80195B0 905 - 906 -80195C0 907 - 908 -80195D0 909 - 910 -80195E0 911 - 912 -80195F0 913 - 914 - 915 -OK 916 -))) 917 - 918 918 **Downlink Command:** 919 919 920 920 No downlink commands for feature ... ... @@ -925,54 +925,41 @@ 925 925 926 926 **AT Command: AT+PLDTA** 927 927 928 -(% border="1" %) 929 -|**Command Example**|**Response** 930 -|((( 931 -AT+PLDTA=5 981 +[[image:image-20220523151524-12.png]] 932 932 983 +**Downlink Command:** 933 933 985 +No downlink commands for feature 934 934 935 -Print last 5 entries 936 -)))|((( 937 -Stop Tx and RTP events when read sensor data 987 +== 4.12 Clear Flash Record == 938 938 939 - 1 19/6/26 13:5913005sht_temp=27.09sht_hum=79.5ds_temp=26.75989 +Feature: Clear flash storage for data log feature. 940 940 941 - 219/6/26 14:04 1 3007 sht_temp=26.65 sht_hum=74.8ds_temp=26.43991 +**AT Command: AT+CLRDTA** 942 942 943 - 3 19/6/26 14:09 1 3007 sht_temp=26.91sht_hum=77.9 ds_temp=26.56993 +[[image:image-20220523151556-13.png]] 944 944 945 - 419/6/26 14:151 3007 sht_temp=26.93sht_hum=76.7 ds_temp=26.75995 +**Downlink Command: 0xA3** 946 946 947 - 519/6/26 14:2013007sht_temp=26.78sht_hum=76.6ds_temp=26.43997 +* Example: 0xA301 ~/~/Same as AT+CLRDTA 948 948 949 - StartTxandRTPevents999 +== 4.13 Auto Send None-ACK messages == 950 950 951 -OK 952 -))) 1001 +Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message. 953 953 954 -**Downlink Command:** 955 955 956 - Nodownlink commandsfor feature1004 +**AT Command: AT+PNACKMD** 957 957 958 - ==4.12 Clear FlashRecord==1006 +The default factory setting is 0 959 959 960 -Feature: Clear flash storage for data log feature. 1008 +(% border="1" style="background-color:#ffffcc; color:green; width:450px" %) 1009 +|=(% style="width: 171px;" %)**Command Example**|=(% style="width: 219px;" %)**Function**|=(% style="width: 119px;" %)**Response** 1010 +|(% style="width:171px" %)AT+PNACKMD=1|(% style="width:219px" %)Poll None-ACK message|(% style="width:119px" %)OK 961 961 962 -** ATCommand:AT+CLRDTA**1012 +**Downlink Command: 0x34** 963 963 964 -(% border="1" %) 965 -|**Command Example**|**Function**|**Response** 966 -|AT+CLRDTA|Clear date record|((( 967 -Clear all stored sensor data… 1014 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 968 968 969 -OK 970 -))) 971 - 972 -**Downlink Command: 0xA3** 973 - 974 -* Example: 0xA301 ~/~/Same as AT+CLRDTA 975 - 976 976 = 5. Battery & How to replace = 977 977 978 978 == 5.1 Battery Type == ... ... @@ -979,11 +979,15 @@ 979 979 980 980 LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters. 981 981 1022 +((( 982 982 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 983 983 [[image:image-20220515075034-1.png||height="208" width="644"]] 1025 +))) 984 984 1027 +((( 985 985 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 986 986 1030 +))) 987 987 988 988 == 5.2 Replace Battery == 989 989 ... ... @@ -993,47 +993,97 @@ 993 993 994 994 == 5.3 Battery Life Analyze == 995 995 1040 +((( 996 996 Dragino battery-powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimated battery life: 997 997 https:~/~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf 1043 +))) 998 998 999 999 = 6. Order Info = 1000 1000 1001 -Part Number: (% class="mark" %)**LHT65N-XX** 1047 +((( 1048 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY** 1049 +))) 1002 1002 1003 -**XX**: The default frequency band 1051 +((( 1052 +(% style="color:#4f81bd" %)**XX **(%%): The default frequency band 1053 +))) 1004 1004 1005 -* **AS923**: LoRaWAN AS923 band 1006 -* **AU915**: LoRaWAN AU915 band 1007 -* **EU433**: LoRaWAN EU433 band 1008 -* **EU868**: LoRaWAN EU868 band 1009 -* **KR920**: LoRaWAN KR920 band 1010 -* **US915**: LoRaWAN US915 band 1011 -* **IN865**: LoRaWAN IN865 band 1012 -* **CN470**: LoRaWAN CN470 band 1055 +* ((( 1056 +(% style="color:#4f81bd" %)** AS923**(%%): LoRaWAN AS923 band 1057 +))) 1058 +* ((( 1059 +(% style="color:#4f81bd" %)** AU915**(%%): LoRaWAN AU915 band 1060 +))) 1061 +* ((( 1062 +(% style="color:#4f81bd" %)** EU433**(%%): LoRaWAN EU433 band 1063 +))) 1064 +* ((( 1065 +(% style="color:#4f81bd" %)** EU868**(%%): LoRaWAN EU868 band 1066 +))) 1067 +* ((( 1068 +(% style="color:#4f81bd" %)** KR920**(%%): LoRaWAN KR920 band 1069 +))) 1070 +* ((( 1071 +(% style="color:#4f81bd" %)** US915**(%%): LoRaWAN US915 band 1072 +))) 1073 +* ((( 1074 +(% style="color:#4f81bd" %)** IN865**(%%): LoRaWAN IN865 band 1075 +))) 1076 +* ((( 1077 +(% style="color:#4f81bd" %)** CN470**(%%): LoRaWAN CN470 band 1078 +))) 1013 1013 1014 -**YY**: Sensor Accessories 1080 +((( 1081 +(% style="color:#4f81bd" %)**YY**(%%): Sensor Accessories 1082 +))) 1015 1015 1016 -* **E3**: External Temperature Probe 1084 +* ((( 1085 +(% style="color:#4f81bd" %)**E3**(%%): External Temperature Probe 1086 +))) 1017 1017 1018 1018 = 7. Packing Info = 1019 1019 1090 +((( 1020 1020 **Package Includes**: 1092 +))) 1021 1021 1022 -* LHT65N Temperature & Humidity Sensor x 1 1023 -* Program cable x 1 1024 -* Optional external sensor 1094 +* ((( 1095 +LHT65N Temperature & Humidity Sensor x 1 1096 +))) 1097 +* ((( 1098 +Program cable x 1 1099 +))) 1100 +* ((( 1101 +Optional external sensor 1102 +))) 1025 1025 1104 +((( 1026 1026 **Dimension and weight**: 1106 +))) 1027 1027 1028 -* Device Size: 13.5 x 7 x 3 cm 1029 -* Device Weight: 105g 1030 -* Package Size / pcs : 14.5 x 8 x 5 cm 1031 -* Weight / pcs : 170g 1108 +* ((( 1109 +Device Size: 13.5 x 7 x 3 cm 1110 +))) 1111 +* ((( 1112 +Device Weight: 105g 1113 +))) 1114 +* ((( 1115 +Package Size / pcs : 14.5 x 8 x 5 cm 1116 +))) 1117 +* ((( 1118 +Weight / pcs : 170g 1119 +))) 1032 1032 1033 1033 = 8. FCC Warning = 1034 1034 1123 +((( 1035 1035 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: 1125 +))) 1036 1036 1127 +((( 1037 1037 (1) This device may not cause harmful interference; 1129 +))) 1038 1038 1131 +((( 1039 1039 (2) this device must accept any interference received, including interference that may cause undesired operation. 1133 +)))
- image-20220523151450-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +38.4 KB - Content
- image-20220523151524-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.2 KB - Content
- image-20220523151556-13.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.7 KB - Content
- image-20220523152208-14.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.2 KB - Content
- image-20220523152302-15.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.3 KB - Content
- image-20220523152434-16.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.3 KB - Content
- image-20220523152822-17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.4 KB - Content
- image-20220523152839-18.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.7 KB - Content
- image-20220523153201-19.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +27.9 KB - Content
- image-20220525110512-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.7 KB - Content
- image-20220525110604-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.0 KB - Content
- image-20220525113731-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.9 KB - Content