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)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - 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-20220523153201-19.png||height="180" width="818"]] 140 140 141 141 == 2.3 Example to join LoRaWAN network == 142 142 ... ... @@ -190,35 +190,30 @@ 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" %)(((207 +)))|(% style="width:39px" %)((( 211 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" %)(((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>>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 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]] 219 -))) 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 223 ))) 224 224 ... ... @@ -225,9 +225,9 @@ 225 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 227 ))) 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]] # 228 228 )))|(% style="width:51px" %)((( 229 -[[Ext>>path:#Extension_Sensor]] # 230 -)))|(% style="width:35px" %)((( 231 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 232 ))) 233 233 ... ... @@ -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,9 +342,21 @@ 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: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** 303 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 347 347 |(% 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" %)((( 348 348 **Value** 349 349 )))|(% style="width:71px" %)((( 350 350 [[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]] ... ... @@ -431,10 +431,14 @@ 431 431 432 432 == 2.6 Datalog Feature == 433 433 434 - 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. 435 435 436 -=== 2.6.1 UnixTimeStamp===406 +=== 2.6.1 Ways to get datalog via LoRaWAN === 437 437 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 + 438 438 LHT65N uses Unix TimeStamp format based on 439 439 440 440 [[image:image-20220523001219-11.png||height="97" width="627"]] ... ... @@ -452,7 +452,7 @@ 452 452 453 453 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 454 454 455 -=== 2.6. 2Set Device Time ===429 +=== 2.6.3 Set Device Time === 456 456 457 457 ((( 458 458 There are two ways to set device’s time: ... ... @@ -486,7 +486,7 @@ 486 486 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 487 487 ))) 488 488 489 -=== 2.6. 3Poll sensor value ===463 +=== 2.6.4 Poll sensor value === 490 490 491 491 User can poll sensor value based on timestamps from the server. Below is the downlink command. 492 492 ... ... @@ -497,7 +497,7 @@ 497 497 ))) 498 498 499 499 ((( 500 -For example, downlink command **31 5FC5F350 5FC6 0160 05** 474 +For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05** 501 501 ))) 502 502 503 503 ((( ... ... @@ -509,7 +509,7 @@ 509 509 ))) 510 510 511 511 512 -=== 2.6. 4Datalog Uplink payload ===486 +=== 2.6.5 Datalog Uplink payload === 513 513 514 514 The Datalog poll reply uplink will use below payload format. 515 515 ... ... @@ -517,51 +517,81 @@ 517 517 **Retrieval data payload** 518 518 ))) 519 519 520 -(% border="1" style="background-color:#ffffcc; color:green; width:5 45px" %)494 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 521 521 |(% style="width:93px" %)((( 496 +((( 522 522 **Size(bytes)** 498 +))) 523 523 )))|(% style="width:71px" %)((( 500 +((( 524 524 **2** 502 +))) 525 525 )))|(% style="width:102px" %)((( 504 +((( 526 526 **2** 506 +))) 527 527 )))|(% style="width:86px" %)((( 508 +((( 528 528 **2** 529 -)))|(% style="width:90px" %)((( 510 +))) 511 +)))|(% style="width:86px" %)((( 512 +((( 530 530 **1** 531 -)))|(% style="width:85px" %)((( 514 +))) 515 +)))|(% style="width:48px" %)((( 516 +((( 532 532 **4** 533 533 ))) 519 +))) 534 534 |(% style="width:93px" %)((( 521 +((( 535 535 **Value** 523 +))) 536 536 )))|(% style="width:71px" %)((( 525 +((( 537 537 [[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 +))) 538 538 )))|(% style="width:102px" %)((( 539 539 ((( 530 +((( 540 540 [[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]] 541 541 ))) 533 +))) 542 542 543 543 ((( 536 +((( 544 544 [[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]] 545 545 ))) 539 +))) 546 546 )))|(% style="width:86px" %)((( 547 547 ((( 542 +((( 548 548 [[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]] 549 549 ))) 545 +))) 550 550 551 551 ((( 548 +((( 552 552 [[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]] 553 553 ))) 554 -)))|(% style="width:90px" %)((( 551 +))) 552 +)))|(% style="width:86px" %)((( 553 +((( 555 555 [[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]] 556 -)))|(% style="width:85px" %)((( 555 +))) 556 +)))|(% style="width:48px" %)((( 557 557 ((( 558 +((( 558 558 [[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]] 559 559 ))) 561 +))) 560 560 561 561 ((( 564 +((( 562 562 563 563 ))) 564 564 ))) 568 +))) 565 565 566 566 **Poll message flag & Ext** 567 567 ... ... @@ -627,14 +627,25 @@ 627 627 628 628 [[image:image-20220523144455-1.png||height="335" width="735"]] 629 629 634 +((( 630 630 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 636 +))) 631 631 638 +((( 632 632 Where : Start time: 60065F97 = time 21/1/19 04:27:03 640 +))) 633 633 642 +((( 634 634 Stop time 60066DA7= time 21/1/19 05:27:03 644 +))) 635 635 646 +((( 647 + 648 +))) 636 636 650 +((( 637 637 LHT65N will uplink this payload. 652 +))) 638 638 639 639 [[image:image-20220523001219-13.png||height="421" width="727"]] 640 640 ... ... @@ -658,19 +658,27 @@ 658 658 659 659 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. 660 660 676 +((( 661 661 (% 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 +))) 662 662 680 +((( 663 663 **AT Commands for Alarm mode:** 682 +))) 664 664 665 665 (% class="box infomessage" %) 666 666 ((( 686 +((( 667 667 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 668 668 ))) 689 +))) 669 669 670 670 (% class="box infomessage" %) 671 671 ((( 693 +((( 672 672 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 673 673 ))) 696 +))) 674 674 675 675 == 2.8 LED Indicator == 676 676 ... ... @@ -723,29 +723,55 @@ 723 723 724 724 = 4. Configure LHT65N via AT Command or LoRaWAN Downlink = 725 725 749 +((( 726 726 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 751 +))) 727 727 728 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 729 -* LoRaWAN Downlink instruction for different platforms: 753 +* ((( 754 +AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 755 +))) 756 +* ((( 757 +LoRaWAN Downlink instruction for different platforms: 758 +))) 730 730 760 +((( 731 731 [[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 +))) 732 732 764 +((( 733 733 There are two kinds of commands to configure LHT65N, they are: 766 +))) 734 734 768 +((( 735 735 (% style="color:#4f81bd" %)* **General Commands**. 770 +))) 736 736 772 +((( 737 737 These commands are to configure: 774 +))) 738 738 739 -* General system settings like: uplink interval. 740 -* LoRaWAN protocol & radio-related commands. 776 +* ((( 777 +General system settings like: uplink interval. 778 +))) 779 +* ((( 780 +LoRaWAN protocol & radio-related commands. 781 +))) 741 741 783 +((( 742 742 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: 785 +))) 743 743 787 +((( 744 744 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 789 +))) 745 745 791 +((( 746 746 (% style="color:#4f81bd" %)* **Commands special design for LHT65N** 793 +))) 747 747 795 +((( 748 748 These commands are only valid for LHT65N, as below: 797 +))) 749 749 750 750 == 4.1 Set Transmit Interval Time == 751 751 ... ... @@ -755,14 +755,24 @@ 755 755 756 756 [[image:image-20220523150701-2.png]] 757 757 807 +((( 758 758 **Downlink Command: 0x01** 809 +))) 759 759 811 +((( 760 760 Format: Command Code (0x01) followed by 3 bytes time value. 813 +))) 761 761 815 +((( 762 762 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 817 +))) 763 763 764 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 765 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 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 +))) 766 766 767 767 == 4.2 Set External Sensor Mode == 768 768 ... ... @@ -772,15 +772,27 @@ 772 772 773 773 [[image:image-20220523150759-3.png]] 774 774 834 +((( 775 775 **Downlink Command: 0xA2** 836 +))) 776 776 838 +((( 777 777 Total bytes: 2 ~~ 5 bytes 840 +))) 778 778 842 +((( 779 779 **Example:** 844 +))) 780 780 781 -* 0xA201: Set external sensor type to E1 782 -* 0xA209: Same as AT+EXT=9 783 -* 0xA20702003c,Same as AT+SETCNT=60 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 +))) 784 784 785 785 == 4.3 Enable/Disable uplink Temperature probe ID == 786 786 ... ... @@ -808,9 +808,13 @@ 808 808 809 809 [[image:image-20220523151052-5.png]] 810 810 882 +((( 811 811 **Downlink Command:** 884 +))) 812 812 886 +((( 813 813 No downlink command for this feature. 888 +))) 814 814 815 815 == 4.5 Quit AT Command == 816 816 ... ... @@ -850,11 +850,17 @@ 850 850 851 851 == 4.8 Set Time Sync Mode == 852 852 928 +((( 853 853 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 930 +))) 854 854 932 +((( 855 855 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 +))) 856 856 936 +((( 857 857 **AT Command:** 938 +))) 858 858 859 859 [[image:image-20220523151336-9.png]] 860 860 ... ... @@ -944,7 +944,7 @@ 944 944 = 6. Order Info = 945 945 946 946 ((( 947 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX** 1028 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY** 948 948 ))) 949 949 950 950 (((