Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 10 removed)
Details
- Page properties
-
- Content
-
... ... @@ -192,44 +192,16 @@ 192 192 193 193 194 194 (% border="1" style="background-color:#ffffcc; color:green; width:428px" %) 195 -|(% style="width:106px" %)((( 196 -**Size(bytes)** 197 -)))|(% style="width:46px" %)((( 198 -**2** 199 -)))|(% style="width:104px" %)((( 200 -**2** 201 -)))|(% style="width:80px" %)((( 202 -**2** 203 -)))|(% style="width:51px" %)((( 204 -**1** 205 -)))|(% style="width:35px" %)((( 206 -**4** 207 -))) 208 -|(% style="width:106px" %)((( 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:104px" %)((( 213 -((( 195 +|(% style="width:106px" %)**Size(bytes)**|(% style="width:46px" %)**2**|(% style="width:104px" %)**2**|(% style="width:80px" %)**2**|(% style="width:51px" %)**1**|(% style="width:35px" %)**4** 196 +|(% style="width:106px" %)**Value**|(% style="width:46px" %)[[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]]|(% style="width:104px" %)((( 214 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]] 215 -))) 216 216 217 -((( 218 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]] 219 -))) 220 220 )))|(% style="width:80px" %)((( 221 -((( 222 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 -((( 226 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]] 227 -))) 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]] 232 -))) 204 +)))|(% style="width:51px" %)[[Ext>>path:#Extension_Sensor]] #|(% style="width:35px" %)[[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]] 233 233 234 234 * The First 6 bytes: has fix meanings for every LHT65N. 235 235 * The 7th byte (EXT #): defines the external sensor model. ... ... @@ -342,8 +342,8 @@ 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:5 41px" %)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**317 +(% border="1" style="background-color:#ffffcc; color:green; width:533px" %) 318 +|(% style="width:96px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:69px" %)**2**|(% style="width:88px" %)**2**|(% style="width:69px" %)**1**|(% style="width:75px" %)**4** 347 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 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]] 349 349 ... ... @@ -354,15 +354,17 @@ 354 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 355 356 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]] 329 +)))|(% style="width:69px" %)Status & Ext|(% style="width:75px" %)((( 330 +[[Unix>>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]] 331 + 332 +[[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]] 359 359 ))) 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 363 -(% border="1" style="background-color:#ffffcc; color:green; width: 469px" %)364 -| (% style="width:65px" %)Bit(bit)|(% style="width:267px" %)[15:14]|(% style="width:134px" %)[11:0]365 -| (% style="width:65px" %)Value|(% style="width:267px" %)(((337 +(% border="1" style="background-color:#ffffcc; color:green; width:587px" %) 338 +|Bit(bit)|(% style="width:280px" %)[15:14]|(% style="width:136px" %)[11:0] 339 +|Value|(% style="width:280px" %)((( 366 366 BAT Status 367 367 368 368 00(b): Ultra Low ( BAT <= 2.50v) ... ... @@ -372,7 +372,7 @@ 372 372 10(b): OK (2.55v <= BAT <=2.65v) 373 373 374 374 11(b): Good (BAT >= 2.65v) 375 -)))|(% style="width:13 4px" %)(((349 +)))|(% style="width:136px" %)((( 376 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]] 377 377 378 378 ... ... @@ -380,9 +380,9 @@ 380 380 381 381 * **Status & Ext Byte** 382 382 383 -(% border="1" style="background-color:#ffffcc; color:green; width: 587px" %)384 -|(% style="width:1 09px" %)**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:1 09px" %)**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" %)(((357 +(% border="1" style="background-color:#ffffcc; color:green; width:732px" %) 358 +|(% style="width:128px" %)**Bits**|(% style="width:102px" %)**7**|(% style="width:145px" %)**6**|(% style="width:117px" %)**5**|(% style="width:147px" %)**4**|(% style="width:90px" %)**[3:0]** 359 +|(% style="width:128px" %)**Status & Ext**|(% style="width:102px" %)Not Defined|(% style="width:145px" %)Poll Message Flag|(% style="width:117px" %)Sync time OK|(% style="width:147px" %)Unix Time Request|(% style="width:90px" %)((( 386 386 Ext:0b(1001) 387 387 ))) 388 388 ... ... @@ -417,7 +417,7 @@ 417 417 418 418 [[image:image-20220523000825-9.png||height="366" width="392"]] 419 419 420 -[[image:image-20220523000825-10.png||height="4 13" width="728"]]394 +[[image:image-20220523000825-10.png||height="432" width="762"]] 421 421 422 422 == 2.6 Datalog Feature == 423 423 ... ... @@ -438,68 +438,46 @@ 438 438 Below is the converter example 439 439 ))) 440 440 441 -[[image:image-20220523001219-12.png||height="2 98" width="720"]]415 +[[image:image-20220523001219-12.png||height="302" width="730"]] 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 419 + 445 445 === 2.6.2 Set Device Time === 446 446 447 -((( 448 448 There are two ways to set device’s time: 449 -))) 450 450 451 -((( 452 452 **~1. Through LoRaWAN MAC Command (Default settings)** 453 -))) 454 454 455 -((( 456 456 User need to set SYNCMOD=1 to enable sync time via MAC command. 457 -))) 458 458 459 -((( 460 460 Once LHT65N Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LHT65N. If LHT65N fails to get the time from the server, LHT65N will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 461 -))) 462 462 463 -((( 464 464 Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn’t support. If server doesn’t support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1. 465 -))) 466 466 467 -((( 468 - 469 -))) 470 470 471 -((( 472 472 **2. Manually Set Time** 473 -))) 474 474 475 -((( 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 -))) 478 478 437 + 479 479 === 2.6.3 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 483 483 484 -(% border="1" style=" background-color:#ffffcc; color:green;width:427px" %)485 -|(% style="width:6 1px" %)1byte|(% style="width:126px" %)4bytes|(% style="width:120px" %)4bytes|(% style="width:115px" %)1byte486 -|(% style="width:6 1px" %)31|(% style="width:126px" %)Timestamp start|(% style="width:120px" %)Timestamp end|(% style="width:115px" %)Uplink Interval443 +(% border="1" style="width:454px" %) 444 +|(% style="width:69px" %)1byte|(% style="width:129px" %)4bytes|(% style="width:134px" %)4bytes|(% style="width:119px" %)1byte 445 +|(% style="width:69px" %)31|(% style="width:129px" %)Timestamp start|(% style="width:134px" %)Timestamp end|(% style="width:119px" %)Uplink Interval 487 487 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 -))) 491 491 492 -((( 493 -For example, downlink command **31 5FC5F350 5FC6 0160 05** 494 -))) 495 495 496 -((( 450 +For example, downlink command 31 5FC5F350 5FC6 0160 05 451 + 497 497 Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00’s data 498 -))) 499 499 500 -((( 501 501 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 502 -))) 503 503 504 504 505 505 === 2.6.4 Datalog Uplink payload === ... ... @@ -506,104 +506,52 @@ 506 506 507 507 The Datalog poll reply uplink will use below payload format. 508 508 509 -((( 510 -**Retrieval data payload** 511 -))) 512 512 513 -(% border="1" style="background-color:#ffffcc; color:green; width:545px" %) 514 -|(% style="width:93px" %)((( 515 -**Size(bytes)** 516 -)))|(% style="width:71px" %)((( 517 -**2** 518 -)))|(% style="width:102px" %)((( 519 -**2** 520 -)))|(% style="width:86px" %)((( 521 -**2** 522 -)))|(% style="width:90px" %)((( 523 -**1** 524 -)))|(% style="width:85px" %)((( 525 -**4** 526 -))) 527 -|(% style="width:93px" %)((( 528 -**Value** 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]] 531 -)))|(% style="width:102px" %)((( 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]] 534 -))) 462 +Retrieval data payload 535 535 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]] 538 -))) 539 -)))|(% style="width:86px" %)((( 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]] 542 -))) 464 +(% border="1" %) 465 +|**Size(bytes)**|**2**|**2**|**2**|**1**|**4** 466 +|**Value**|[[External sensor data>>path:#Extension_sensor_value]]|((( 467 +[[Built-In>>path:#SHT20_Temperature]] 543 543 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]] 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" %)((( 550 -((( 551 -[[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/#H2.6.1UnixTimeStamp]] 552 -))) 469 +[[Temperature>>path:#SHT20_Temperature]] 470 +)))|((( 471 +[[Built-in>>path:#SHT20_Humidity]] 553 553 554 -((( 473 +[[Humidity>>path:#SHT20_Humidity]] 474 +)))|[[Poll message flag & Ext>>path:#Poll_EXT]]|((( 475 +[[Unix Time Stamp>>path:#Unix_Time_Stamp]] 476 + 555 555 556 556 ))) 557 -))) 558 558 559 - **Poll message flag & Ext**480 +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 -((( 482 + 483 +(% border="1" %) 484 +|**Bits**|**7**|**6**|**5**|**4**|**[3:0]** 485 +|**Status & Ext**|Not Defined|Poll Message Flag|Sync time OK|Unix Time Request|((( 565 565 Ext: 566 -))) 567 567 568 -((( 569 569 0b(1001) 570 570 ))) 571 -))) 572 572 573 -((( 574 574 Poll Message Flag: 1: This message is a poll message reply. 575 -))) 576 576 577 -* ((( 578 -Poll Message Flag is set to 1. 579 -))) 580 -* ((( 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 -))) 493 +* Poll Message Flag is set to 1. 494 +* Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 583 583 584 -((( 585 585 For example, in US915 band, the max payload for different DR is: 586 -))) 587 587 588 -((( 589 -a) DR0: max is 11 bytes so one entry of data 590 -))) 498 +a) DR0: max is 11 bytes so one entry of data 591 591 592 -((( 593 -b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 594 -))) 500 +b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 595 595 596 -((( 597 -c) DR2: total payload includes 11 entries of data 598 -))) 502 +c) DR2: total payload includes 11 entries of data 599 599 600 -((( 601 -d) DR3: total payload includes 22 entries of data. 602 -))) 504 +d) DR3: total payload includes 22 entries of data. 603 603 604 -((( 605 605 If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 606 -))) 607 607 608 608 609 609 **Example:** ... ... @@ -610,10 +610,29 @@ 610 610 611 611 If LHT65N has below data inside Flash: 612 612 613 - [[image:image-20220523144455-1.png||height="335"width="735"]]513 +Flash Addr |Unix Time | Ext | BAT voltage| Value 614 614 615 - Ifusersends below downlink command:(%style="background-color:yellow" %)3160065F9760066DA705515 +80196E0 21/1/19 04:27:03 1 3145 sht_temp=22.00 sht_hum=32.6 ds_temp=327.67 616 616 517 +80196F0 21/1/19 04:28:57 1 3145 sht_temp=21.90 sht_hum=33.1 ds_temp=327.67 518 + 519 +8019700 21/1/19 04:30:30 1 3145 sht_temp=21.81 sht_hum=33.4 ds_temp=327.67 520 + 521 +8019710 21/1/19 04:40:30 1 3145 sht_temp=21.65 sht_hum=33.7 ds_temp=327.67 522 + 523 +8019720 21/1/19 04:50:30 1 3147 sht_temp=21.55 sht_hum=34.1 ds_temp=327.67 524 + 525 +8019730 21/1/19 05:00:30 1 3149 sht_temp=21.50 sht_hum=34.1 ds_temp=327.67 526 + 527 +8019740 21/1/19 05:10:30 1 3149 sht_temp=21.43 sht_hum=34.6 ds_temp=327.67 528 + 529 +8019750 21/1/19 05:20:30 1 3151 sht_temp=21.35 sht_hum=34.9 ds_temp=327.67 530 + 531 + 532 +If user sends below downlink command: 533 + 534 +3160065F9760066DA705 535 + 617 617 Where : Start time: 60065F97 = time 21/1/19 04:27:03 618 618 619 619 Stop time 60066DA7= time 21/1/19 05:27:03 ... ... @@ -639,50 +639,35 @@ 639 639 640 640 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 641 641 561 + 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 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. 647 647 648 - **ATCommandsforAlarm mode:**567 +Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature. 649 649 650 -(% class="box infomessage" %) 651 -((( 569 + 570 +AT Commands for Alarm mode: 571 + 652 652 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 653 -))) 654 654 655 -(% class="box infomessage" %) 656 -((( 657 657 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 658 -))) 659 659 576 + 577 + 660 660 == 2.8 LED Indicator == 661 661 662 -((( 663 663 The LHT65N has a triple color LED which for easy shows different stage. 664 -))) 665 665 666 -((( 667 667 While pressing ACT button, the LED will work as per LED status with ACT button. 668 -))) 669 669 670 -((( 671 671 In a normal working state: 672 -))) 673 673 674 -* ((( 675 -For each uplink, the BLUE LED or RED LED will blink once. 676 -))) 677 -* ((( 678 -BLUE LED when an external sensor is connected 679 -))) 680 -* ((( 681 -RED LED when an external sensor is not connected 682 -))) 683 -* ((( 684 -For each success downlink, the PURPLE LED will blink once 685 -))) 586 +* For each uplink, the BLUE LED or RED LED will blink once. 587 +* BLUE LED when an external sensor is connected 588 +* RED LED when an external sensor is not connected 589 +* For each success downlink, the PURPLE LED will blink once 686 686 687 687 ---- 688 688 ... ... @@ -717,7 +717,7 @@ 717 717 718 718 There are two kinds of commands to configure LHT65N, they are: 719 719 720 - (% style="color:#4f81bd" %)* **General Commands**.624 +* **General Commands**. 721 721 722 722 These commands are to configure: 723 723 ... ... @@ -728,7 +728,7 @@ 728 728 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]] 730 730 731 - (% style="color:#4f81bd" %)* **Commands special design for LHT65N**635 +* **Commands special design for LHT65N** 732 732 733 733 These commands are only valid for LHT65N, as below: 734 734 ... ... @@ -738,8 +738,21 @@ 738 738 739 739 **AT Command: AT+TDC** 740 740 741 -[[image:image-20220523150701-2.png]] 645 +(% border="1" %) 646 +|**Command Example**|**Function**|**Response** 647 +|AT+TDC?|Show current transmit Interval|((( 648 +30000 742 742 650 +OK 651 + 652 +the interval is 30000ms = 30s 653 +))) 654 +|AT+TDC=60000|Set Transmit Interval|((( 655 +OK 656 + 657 +Set transmit interval to 60000ms = 60 seconds 658 +))) 659 + 743 743 **Downlink Command: 0x01** 744 744 745 745 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -746,8 +746,8 @@ 746 746 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. 748 748 749 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds750 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds666 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 667 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 751 751 752 752 == 4.2 Set External Sensor Mode == 753 753 ... ... @@ -755,13 +755,23 @@ 755 755 756 756 **AT Command: AT+EXT** 757 757 758 -[[image:image-20220523150759-3.png]] 675 +(% border="1" %) 676 +|**Command Example**|**Function**|**Response** 677 +|AT+EXT?|Get current external sensor mode|((( 678 +1 759 759 680 +OK 681 + 682 +External Sensor mode =1 683 +))) 684 +|AT+EXT=1|(% colspan="2" %)Set external sensor mode to 1 685 +|AT+EXT=9|(% colspan="2" %)Set to external DS18B20 with timestamp 686 + 760 760 **Downlink Command: 0xA2** 761 761 762 762 Total bytes: 2 ~~ 5 bytes 763 763 764 - **Example:**691 +Example: 765 765 766 766 * 0xA201: Set external sensor type to E1 767 767 * 0xA209: Same as AT+EXT=9 ... ... @@ -776,14 +776,17 @@ 776 776 777 777 PID is default set to disable (0) 778 778 706 + 779 779 **AT Command:** 780 780 781 -[[image:image-20220523150928-4.png]] 709 +(% border="1" %) 710 +|**Command Example**|**Function**|**Response** 711 +|AT+PID=1|Enable PID uplink|OK 782 782 783 783 **Downlink Command:** 784 784 785 -* 0xA800 **~-~->**AT+PID=0786 -* 0xA801 **~-~->**AT+PID=1715 +* 0xA800 à AT+PID=0 716 +* 0xA801 à AT+PID=1 787 787 788 788 == 4.4 Set Password == 789 789 ... ... @@ -791,8 +791,16 @@ 791 791 792 792 **AT Command: AT+PWORD** 793 793 794 -[[image:image-20220523151052-5.png]] 724 +(% border="1" %) 725 +|**Command Example**|**Function**|**Response** 726 +|AT+PWORD=?|Show password|((( 727 +123456 795 795 729 + 730 +OK 731 +))) 732 +|AT+PWORD=999999|Set password|OK 733 + 796 796 **Downlink Command:** 797 797 798 798 No downlink command for this feature. ... ... @@ -803,12 +803,15 @@ 803 803 804 804 **AT Command: AT+DISAT** 805 805 806 -[[image:image-20220523151132-6.png]] 744 +(% border="1" %) 745 +|**Command Example**|**Function**|**Response** 746 +|AT+DISAT|Quit AT Commands mode|OK 807 807 808 808 **Downlink Command:** 809 809 810 810 No downlink command for this feature. 811 811 752 + 812 812 == 4.6 Set to sleep mode == 813 813 814 814 Feature: Set device to sleep mode ... ... @@ -815,8 +815,15 @@ 815 815 816 816 **AT Command: AT+SLEEP** 817 817 818 -[[image:image-20220523151218-7.png]] 759 +(% border="1" %) 760 +| | | 761 +|**Command Example**|**Function**|**Response** 762 +|AT+SLEEP|Set to sleep mode|((( 763 +Clear all stored sensor data… 819 819 765 +OK 766 +))) 767 + 820 820 **Downlink Command:** 821 821 822 822 * There is no downlink command to set to Sleep mode. ... ... @@ -827,8 +827,14 @@ 827 827 828 828 **AT Command:** 829 829 830 -[[image:image-20220523151253-8.png]] 778 +(% border="1" %) 779 +|**Command Example**|**Function** 780 +|AT+TIMESTAMP=1611104352|((( 781 +OK 831 831 783 +Set System time to 2021-01-20 00:59:12 784 +))) 785 + 832 832 **Downlink Command:** 833 833 834 834 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 ... ... @@ -842,7 +842,8 @@ 842 842 843 843 **AT Command:** 844 844 845 -[[image:image-20220523151336-9.png]] 799 +|**Command Example**|**Function** 800 +|AT+SYNCMOD=1|Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 846 846 847 847 **Downlink Command:** 848 848
- image-20220523144455-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.4 KB - Content
- image-20220523150701-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.3 KB - Content
- image-20220523150759-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.2 KB - Content
- image-20220523150928-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.1 KB - Content
- image-20220523151052-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -8.6 KB - Content
- image-20220523151132-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.6 KB - Content
- image-20220523151218-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.8 KB - Content
- image-20220523151253-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.5 KB - Content
- image-20220523151336-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.6 KB - Content
- image-20220523151411-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.5 KB - Content