<
From version < 75.1 >
edited by Xiaoling
on 2022/05/23 15:28
To version < 80.1 >
edited by Edwin Chen
on 2022/05/24 23:53
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +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:104px" %)(((
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:104px" %)(((
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,18 @@
431 431  
432 432  == 2.6 Datalog Feature ==
433 433  
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.
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 Unix TimeStamp ===
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>PollSensorValue].
411 +1.
412 +
413 +
414 +=== 2.6.2 Unix TimeStamp ===
415 +
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.2 Set Device Time ===
433 +=== 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.3 Poll sensor value ===
467 +=== [[2.6.4 Poll sensor value>>2.6.4 Poll sensor value||anchor="PollSensorValue"]] ===
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**
478 +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.4 Datalog Uplink payload ===
490 +=== 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:545px" %)
498 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
521 521  |(% style="width:93px" %)(((
500 +(((
522 522  **Size(bytes)**
502 +)))
523 523  )))|(% style="width:71px" %)(((
504 +(((
524 524  **2**
506 +)))
525 525  )))|(% style="width:102px" %)(((
508 +(((
526 526  **2**
510 +)))
527 527  )))|(% style="width:86px" %)(((
512 +(((
528 528  **2**
529 -)))|(% style="width:90px" %)(((
514 +)))
515 +)))|(% style="width:86px" %)(((
516 +(((
530 530  **1**
531 -)))|(% style="width:85px" %)(((
518 +)))
519 +)))|(% style="width:48px" %)(((
520 +(((
532 532  **4**
533 533  )))
523 +)))
534 534  |(% style="width:93px" %)(((
525 +(((
535 535  **Value**
527 +)))
536 536  )))|(% style="width:71px" %)(((
529 +(((
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]]
531 +)))
538 538  )))|(% style="width:102px" %)(((
539 539  (((
534 +(((
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  )))
537 +)))
542 542  
543 543  (((
540 +(((
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  )))
543 +)))
546 546  )))|(% style="width:86px" %)(((
547 547  (((
546 +(((
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  )))
549 +)))
550 550  
551 551  (((
552 +(((
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" %)(((
555 +)))
556 +)))|(% style="width:86px" %)(((
557 +(((
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" %)(((
559 +)))
560 +)))|(% style="width:48px" %)(((
557 557  (((
562 +(((
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  )))
565 +)))
560 560  
561 561  (((
568 +(((
562 562  
563 563  )))
564 564  )))
572 +)))
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  
638 +(((
630 630  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
640 +)))
631 631  
642 +(((
632 632   Where : Start time: 60065F97 = time 21/1/19 04:27:03
644 +)))
633 633  
646 +(((
634 634   Stop time 60066DA7= time 21/1/19 05:27:03
648 +)))
635 635  
650 +(((
651 +
652 +)))
636 636  
654 +(((
637 637  LHT65N will uplink this payload.
656 +)))
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  
680 +(((
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.
682 +)))
662 662  
684 +(((
663 663  **AT Commands for Alarm mode:**
686 +)))
664 664  
665 665  (% class="box infomessage" %)
666 666  (((
690 +(((
667 667  **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable)
668 668  )))
693 +)))
669 669  
670 670  (% class="box infomessage" %)
671 671  (((
697 +(((
672 672  **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute)
673 673  )))
700 +)))
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  
753 +(((
726 726  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
755 +)))
727 727  
728 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
729 -* LoRaWAN Downlink instruction for different platforms:
757 +* (((
758 +AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
759 +)))
760 +* (((
761 +LoRaWAN Downlink instruction for different platforms:
762 +)))
730 730  
764 +(((
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]]
766 +)))
732 732  
768 +(((
733 733  There are two kinds of commands to configure LHT65N, they are:
770 +)))
734 734  
772 +(((
735 735  (% style="color:#4f81bd" %)* **General Commands**.
774 +)))
736 736  
776 +(((
737 737  These commands are to configure:
778 +)))
738 738  
739 -* General system settings like: uplink interval.
740 -* LoRaWAN protocol & radio-related commands.
780 +* (((
781 +General system settings like: uplink interval.
782 +)))
783 +* (((
784 +LoRaWAN protocol & radio-related commands.
785 +)))
741 741  
787 +(((
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:
789 +)))
743 743  
791 +(((
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]]
793 +)))
745 745  
795 +(((
746 746  (% style="color:#4f81bd" %)* **Commands special design for LHT65N**
797 +)))
747 747  
799 +(((
748 748  These commands are only valid for LHT65N, as below:
801 +)))
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  
811 +(((
758 758  **Downlink Command: 0x01**
813 +)))
759 759  
815 +(((
760 760  Format: Command Code (0x01) followed by 3 bytes time value.
817 +)))
761 761  
819 +(((
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.
821 +)))
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
823 +* (((
824 +**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
825 +)))
826 +* (((
827 +**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
828 +)))
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  
838 +(((
775 775  **Downlink Command: 0xA2**
840 +)))
776 776  
842 +(((
777 777  Total bytes: 2 ~~ 5 bytes
844 +)))
778 778  
846 +(((
779 779  **Example:**
848 +)))
780 780  
781 -* 0xA201: Set external sensor type to E1
782 -* 0xA209: Same as AT+EXT=9
783 -* 0xA20702003c,Same as AT+SETCNT=60
850 +* (((
851 +0xA201: Set external sensor type to E1
852 +)))
853 +* (((
854 +0xA209: Same as AT+EXT=9
855 +)))
856 +* (((
857 +0xA20702003c,Same as AT+SETCNT=60
858 +)))
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  
886 +(((
811 811  **Downlink Command:**
888 +)))
812 812  
890 +(((
813 813  No downlink command for this feature.
892 +)))
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  
932 +(((
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.
934 +)))
854 854  
936 +(((
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.
938 +)))
856 856  
940 +(((
857 857  **AT Command:**
942 +)))
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**
1032 +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
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0