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, 1 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,17 @@ 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 +There are two methods: 409 + 410 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]]. 411 +1. 412 + 413 +=== 2.6.2 Unix TimeStamp === 414 + 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 ===432 +=== 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 ===466 +=== 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** 477 +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 ===489 +=== 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" %)497 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 521 521 |(% style="width:93px" %)((( 499 +((( 522 522 **Size(bytes)** 501 +))) 523 523 )))|(% style="width:71px" %)((( 503 +((( 524 524 **2** 505 +))) 525 525 )))|(% style="width:102px" %)((( 507 +((( 526 526 **2** 509 +))) 527 527 )))|(% style="width:86px" %)((( 511 +((( 528 528 **2** 529 -)))|(% style="width:90px" %)((( 513 +))) 514 +)))|(% style="width:86px" %)((( 515 +((( 530 530 **1** 531 -)))|(% style="width:85px" %)((( 517 +))) 518 +)))|(% style="width:48px" %)((( 519 +((( 532 532 **4** 533 533 ))) 522 +))) 534 534 |(% style="width:93px" %)((( 524 +((( 535 535 **Value** 526 +))) 536 536 )))|(% style="width:71px" %)((( 528 +((( 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]] 530 +))) 538 538 )))|(% style="width:102px" %)((( 539 539 ((( 533 +((( 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 ))) 536 +))) 542 542 543 543 ((( 539 +((( 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 ))) 542 +))) 546 546 )))|(% style="width:86px" %)((( 547 547 ((( 545 +((( 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 ))) 548 +))) 550 550 551 551 ((( 551 +((( 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" %)((( 554 +))) 555 +)))|(% style="width:86px" %)((( 556 +((( 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" %)((( 558 +))) 559 +)))|(% style="width:48px" %)((( 557 557 ((( 561 +((( 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 ))) 564 +))) 560 560 561 561 ((( 567 +((( 562 562 563 563 ))) 564 564 ))) 571 +))) 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 637 +((( 630 630 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 639 +))) 631 631 641 +((( 632 632 Where : Start time: 60065F97 = time 21/1/19 04:27:03 643 +))) 633 633 645 +((( 634 634 Stop time 60066DA7= time 21/1/19 05:27:03 647 +))) 635 635 649 +((( 650 + 651 +))) 636 636 653 +((( 637 637 LHT65N will uplink this payload. 655 +))) 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 679 +((( 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. 681 +))) 662 662 683 +((( 663 663 **AT Commands for Alarm mode:** 685 +))) 664 664 665 665 (% class="box infomessage" %) 666 666 ((( 689 +((( 667 667 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 668 668 ))) 692 +))) 669 669 670 670 (% class="box infomessage" %) 671 671 ((( 696 +((( 672 672 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 673 673 ))) 699 +))) 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 752 +((( 726 726 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 754 +))) 727 727 728 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 729 -* 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 +))) 730 730 763 +((( 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]] 765 +))) 732 732 767 +((( 733 733 There are two kinds of commands to configure LHT65N, they are: 769 +))) 734 734 771 +((( 735 735 (% style="color:#4f81bd" %)* **General Commands**. 773 +))) 736 736 775 +((( 737 737 These commands are to configure: 777 +))) 738 738 739 -* General system settings like: uplink interval. 740 -* LoRaWAN protocol & radio-related commands. 779 +* ((( 780 +General system settings like: uplink interval. 781 +))) 782 +* ((( 783 +LoRaWAN protocol & radio-related commands. 784 +))) 741 741 786 +((( 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: 788 +))) 743 743 790 +((( 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]] 792 +))) 745 745 794 +((( 746 746 (% style="color:#4f81bd" %)* **Commands special design for LHT65N** 796 +))) 747 747 798 +((( 748 748 These commands are only valid for LHT65N, as below: 800 +))) 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 810 +((( 758 758 **Downlink Command: 0x01** 812 +))) 759 759 814 +((( 760 760 Format: Command Code (0x01) followed by 3 bytes time value. 816 +))) 761 761 818 +((( 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. 820 +))) 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 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 +))) 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 837 +((( 775 775 **Downlink Command: 0xA2** 839 +))) 776 776 841 +((( 777 777 Total bytes: 2 ~~ 5 bytes 843 +))) 778 778 845 +((( 779 779 **Example:** 847 +))) 780 780 781 -* 0xA201: Set external sensor type to E1 782 -* 0xA209: Same as AT+EXT=9 783 -* 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 +))) 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 885 +((( 811 811 **Downlink Command:** 887 +))) 812 812 889 +((( 813 813 No downlink command for this feature. 891 +))) 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 931 +((( 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. 933 +))) 854 854 935 +((( 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. 937 +))) 856 856 939 +((( 857 857 **AT Command:** 941 +))) 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** 1031 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY** 948 948 ))) 949 949 950 950 (((
- image-20220523153201-19.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +27.9 KB - Content