Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Change comment:
Uploaded new attachment "image-20220523153201-19.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:image-20220523115324-1.jpeg||height=" 317" width="317"]]2 +[[image:image-20220523115324-1.jpeg||height="500" width="500"]] 3 3 4 4 5 5 **LHT65N LoRaWAN Temperature & Humidity Sensor Manual** ... ... @@ -6,7 +6,6 @@ 6 6 7 7 8 8 9 - 10 10 **Table of Contents:** 11 11 12 12 {{toc/}} ... ... @@ -13,9 +13,8 @@ 13 13 14 14 15 15 15 += 1.Introduction = 16 16 17 -= 1. Introduction = 18 - 19 19 == 1.1 What is LHT65N Temperature & Humidity Sensor == 20 20 21 21 ((( ... ... @@ -134,7 +134,11 @@ 134 134 135 135 [[image:image-20220515123819-1.png||height="379" width="317"]] 136 136 137 -[[image:image-20220523153201-19.png||height="180" width="818"]] 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. 138 138 139 139 == 2.3 Example to join LoRaWAN network == 140 140 ... ... @@ -188,30 +188,35 @@ 188 188 189 189 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 190 190 191 -(% border="1" style="background-color:#ffffcc; color:green; width:426px" %) 192 -|(% style="width:97px" %)((( 193 + 194 +(% border="1" style="background-color:#ffffcc; color:green; width:428px" %) 195 +|(% style="width:106px" %)((( 193 193 **Size(bytes)** 194 -)))|(% style="width: 39px" %)(((197 +)))|(% style="width:46px" %)((( 195 195 **2** 196 -)))|(% style="width:10 0px" %)(((199 +)))|(% style="width:104px" %)((( 197 197 **2** 198 -)))|(% style="width: 77px" %)(((201 +)))|(% style="width:80px" %)((( 199 199 **2** 200 -)))|(% style="width:47px" %)((( 201 -**1** 202 202 )))|(% style="width:51px" %)((( 204 +**1** 205 +)))|(% style="width:35px" %)((( 203 203 **4** 204 204 ))) 205 -|(% style="width: 97px" %)(((208 +|(% style="width:106px" %)((( 206 206 **Value** 207 -)))|(% style="width: 39px" %)(((210 +)))|(% style="width:46px" %)((( 208 208 [[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]] 209 -)))|(% style="width:10 0px" %)(((212 +)))|(% style="width:104px" %)((( 210 210 ((( 211 -[[Built-In 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]]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]] 212 212 ))) 213 - )))|(% style="width:77px" %)(((216 + 214 214 ((( 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 +)))|(% style="width:80px" %)((( 221 +((( 215 215 [[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]] 216 216 ))) 217 217 ... ... @@ -218,9 +218,9 @@ 218 218 ((( 219 219 [[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]] 220 220 ))) 221 -)))|(% style="width:47px" %)((( 222 -[[Ext>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.5Ext23]] # 223 223 )))|(% style="width:51px" %)((( 229 +[[Ext>>path:#Extension_Sensor]] # 230 +)))|(% style="width:35px" %)((( 224 224 [[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]] 225 225 ))) 226 226 ... ... @@ -242,8 +242,40 @@ 242 242 243 243 These two bytes of BAT include the battery state and the actually voltage 244 244 245 -[[image:image-20220523152839-18.png]] 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 +))) 246 246 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 + 247 247 [[image:image-20220522235639-1.png||height="139" width="727"]] 248 248 249 249 Check the battery voltage for LHT65N. ... ... @@ -271,7 +271,10 @@ 271 271 272 272 Bytes for External Sensor: 273 273 274 -[[image:image-20220523152822-17.png]] 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 275 275 276 276 === 2.4.6 Ext value === 277 277 ... ... @@ -300,21 +300,9 @@ 300 300 301 301 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: 302 302 303 -(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 345 +(% border="1" style="background-color:#ffffcc; color:green; width:568px" %) 346 +|(% style="width:96px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:99px" %)**2**|(% style="width:132px" %)**2**|(% style="width:54px" %)**1**|(% style="width:64px" %)**4** 304 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 318 **Value** 319 319 )))|(% style="width:71px" %)((( 320 320 [[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]] ... ... @@ -401,14 +401,10 @@ 401 401 402 402 == 2.6 Datalog Feature == 403 403 404 - DatalogFeature istoensureIoTServer cangetallsamplingdatafromSensor even iftheLoRaWANnetworkis down.For eachsampling,LHT65Nwill store thereading for futureretrievingpurposes. Therearetwo ways forIoT serversto getdatalog from LHT65N.434 +This feature is always enabled. When user wants to retrieve the sensor value, he can send a poll command from the IoT platform to ask LHT65N to send the value in the required time slot. 405 405 406 -=== 2.6.1 Waysto getdatalogvia LoRaWAN===436 +=== 2.6.1 Unix TimeStamp === 407 407 408 -When user wants to retrieve the sensor value, he can send a poll command from the IoT platform to ask LHT65N to send the value in the required time slot. 409 - 410 -=== 2.6.2 Unix TimeStamp === 411 - 412 412 LHT65N uses Unix TimeStamp format based on 413 413 414 414 [[image:image-20220523001219-11.png||height="97" width="627"]] ... ... @@ -426,7 +426,7 @@ 426 426 427 427 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 428 428 429 -=== 2.6. 3Set Device Time ===455 +=== 2.6.2 Set Device Time === 430 430 431 431 ((( 432 432 There are two ways to set device’s time: ... ... @@ -460,7 +460,7 @@ 460 460 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 461 461 ))) 462 462 463 -=== 2.6. 4Poll sensor value ===489 +=== 2.6.3 Poll sensor value === 464 464 465 465 User can poll sensor value based on timestamps from the server. Below is the downlink command. 466 466 ... ... @@ -471,7 +471,7 @@ 471 471 ))) 472 472 473 473 ((( 474 -For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05**500 +For example, downlink command **31 5FC5F350 5FC6 0160 05** 475 475 ))) 476 476 477 477 ((( ... ... @@ -483,7 +483,7 @@ 483 483 ))) 484 484 485 485 486 -=== 2.6. 5Datalog Uplink payload ===512 +=== 2.6.4 Datalog Uplink payload === 487 487 488 488 The Datalog poll reply uplink will use below payload format. 489 489 ... ... @@ -491,81 +491,51 @@ 491 491 **Retrieval data payload** 492 492 ))) 493 493 494 -(% border="1" style="background-color:#ffffcc; color:green; width:5 10px" %)520 +(% border="1" style="background-color:#ffffcc; color:green; width:545px" %) 495 495 |(% style="width:93px" %)((( 496 -((( 497 497 **Size(bytes)** 498 -))) 499 499 )))|(% style="width:71px" %)((( 500 -((( 501 501 **2** 502 -))) 503 503 )))|(% style="width:102px" %)((( 504 -((( 505 505 **2** 506 -))) 507 507 )))|(% style="width:86px" %)((( 508 -((( 509 509 **2** 510 -))) 511 -)))|(% style="width:86px" %)((( 512 -((( 529 +)))|(% style="width:90px" %)((( 513 513 **1** 514 -))) 515 -)))|(% style="width:48px" %)((( 516 -((( 531 +)))|(% style="width:85px" %)((( 517 517 **4** 518 518 ))) 519 -))) 520 520 |(% style="width:93px" %)((( 521 -((( 522 522 **Value** 523 -))) 524 524 )))|(% style="width:71px" %)((( 525 -((( 526 526 [[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]] 527 -))) 528 528 )))|(% style="width:102px" %)((( 529 529 ((( 530 -((( 531 531 [[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]] 532 532 ))) 533 -))) 534 534 535 535 ((( 536 -((( 537 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 538 ))) 539 -))) 540 540 )))|(% style="width:86px" %)((( 541 541 ((( 542 -((( 543 543 [[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]] 544 544 ))) 545 -))) 546 546 547 547 ((( 548 -((( 549 549 [[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]] 550 550 ))) 551 -))) 552 -)))|(% style="width:86px" %)((( 553 -((( 554 +)))|(% style="width:90px" %)((( 554 554 [[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]] 555 -))) 556 -)))|(% style="width:48px" %)((( 556 +)))|(% style="width:85px" %)((( 557 557 ((( 558 -((( 559 559 [[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]] 560 560 ))) 561 -))) 562 562 563 563 ((( 564 -((( 565 565 566 566 ))) 567 567 ))) 568 -))) 569 569 570 570 **Poll message flag & Ext** 571 571 ... ... @@ -631,25 +631,14 @@ 631 631 632 632 [[image:image-20220523144455-1.png||height="335" width="735"]] 633 633 634 -((( 635 635 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 636 -))) 637 637 638 -((( 639 639 Where : Start time: 60065F97 = time 21/1/19 04:27:03 640 -))) 641 641 642 -((( 643 643 Stop time 60066DA7= time 21/1/19 05:27:03 644 -))) 645 645 646 -((( 647 - 648 -))) 649 649 650 -((( 651 651 LHT65N will uplink this payload. 652 -))) 653 653 654 654 [[image:image-20220523001219-13.png||height="421" width="727"]] 655 655 ... ... @@ -673,27 +673,19 @@ 673 673 674 674 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. 675 675 676 -((( 677 677 (% 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. 678 -))) 679 679 680 -((( 681 681 **AT Commands for Alarm mode:** 682 -))) 683 683 684 684 (% class="box infomessage" %) 685 685 ((( 686 -((( 687 687 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 688 688 ))) 689 -))) 690 690 691 691 (% class="box infomessage" %) 692 692 ((( 693 -((( 694 694 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 695 695 ))) 696 -))) 697 697 698 698 == 2.8 LED Indicator == 699 699 ... ... @@ -746,55 +746,29 @@ 746 746 747 747 = 4. Configure LHT65N via AT Command or LoRaWAN Downlink = 748 748 749 -((( 750 750 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 751 -))) 752 752 753 -* ((( 754 -AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 755 -))) 756 -* ((( 757 -LoRaWAN Downlink instruction for different platforms: 758 -))) 728 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 729 +* LoRaWAN Downlink instruction for different platforms: 759 759 760 -((( 761 761 [[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]] 762 -))) 763 763 764 -((( 765 765 There are two kinds of commands to configure LHT65N, they are: 766 -))) 767 767 768 -((( 769 769 (% style="color:#4f81bd" %)* **General Commands**. 770 -))) 771 771 772 -((( 773 773 These commands are to configure: 774 -))) 775 775 776 -* ((( 777 -General system settings like: uplink interval. 778 -))) 779 -* ((( 780 -LoRaWAN protocol & radio-related commands. 781 -))) 739 +* General system settings like: uplink interval. 740 +* LoRaWAN protocol & radio-related commands. 782 782 783 -((( 784 784 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: 785 -))) 786 786 787 -((( 788 788 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 789 -))) 790 790 791 -((( 792 792 (% style="color:#4f81bd" %)* **Commands special design for LHT65N** 793 -))) 794 794 795 -((( 796 796 These commands are only valid for LHT65N, as below: 797 -))) 798 798 799 799 == 4.1 Set Transmit Interval Time == 800 800 ... ... @@ -804,24 +804,14 @@ 804 804 805 805 [[image:image-20220523150701-2.png]] 806 806 807 -((( 808 808 **Downlink Command: 0x01** 809 -))) 810 810 811 -((( 812 812 Format: Command Code (0x01) followed by 3 bytes time value. 813 -))) 814 814 815 -((( 816 816 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 817 -))) 818 818 819 -* ((( 820 -**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 821 -))) 822 -* ((( 823 -**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 824 -))) 764 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 765 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 825 825 826 826 == 4.2 Set External Sensor Mode == 827 827 ... ... @@ -831,27 +831,15 @@ 831 831 832 832 [[image:image-20220523150759-3.png]] 833 833 834 -((( 835 835 **Downlink Command: 0xA2** 836 -))) 837 837 838 -((( 839 839 Total bytes: 2 ~~ 5 bytes 840 -))) 841 841 842 -((( 843 843 **Example:** 844 -))) 845 845 846 -* ((( 847 -0xA201: Set external sensor type to E1 848 -))) 849 -* ((( 850 -0xA209: Same as AT+EXT=9 851 -))) 852 -* ((( 853 -0xA20702003c,Same as AT+SETCNT=60 854 -))) 781 +* 0xA201: Set external sensor type to E1 782 +* 0xA209: Same as AT+EXT=9 783 +* 0xA20702003c,Same as AT+SETCNT=60 855 855 856 856 == 4.3 Enable/Disable uplink Temperature probe ID == 857 857 ... ... @@ -879,13 +879,9 @@ 879 879 880 880 [[image:image-20220523151052-5.png]] 881 881 882 -((( 883 883 **Downlink Command:** 884 -))) 885 885 886 -((( 887 887 No downlink command for this feature. 888 -))) 889 889 890 890 == 4.5 Quit AT Command == 891 891 ... ... @@ -925,17 +925,11 @@ 925 925 926 926 == 4.8 Set Time Sync Mode == 927 927 928 -((( 929 929 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 930 -))) 931 931 932 -((( 933 933 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. 934 -))) 935 935 936 -((( 937 937 **AT Command:** 938 -))) 939 939 940 940 [[image:image-20220523151336-9.png]] 941 941 ... ... @@ -1025,7 +1025,7 @@ 1025 1025 = 6. Order Info = 1026 1026 1027 1027 ((( 1028 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX -YY**947 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX** 1029 1029 ))) 1030 1030 1031 1031 (((