<
From version < 37.12 >
edited by Xiaoling
on 2023/04/27 10:59
To version < 37.8 >
edited by Xiaoling
on 2023/04/27 09:29
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -25,7 +25,6 @@
25 25  
26 26  == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor ==
27 27  
28 -
29 29  The Dragino (% style="color:blue" %)**LHT65N-PIR Temperature, Humidity & PIR sensor**(%%) is a Long Range LoRaWAN Sensor.It includes a (% style="color:blue" %)**built-in Temperature & Humidity sensor**(%%) and has an (% style="color:blue" %)**external PIR Probe**(%%)**.** LHT65N-PIR can detect environment Temperature & Humdity, it also detects (% style="color:blue" %)**People Activity**(%%) via PIR probe and them send these info to LoRaWAN IoT Server.
30 30  
31 31  The LHT65N-PIR allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on.
... ... @@ -36,12 +36,12 @@
36 36  
37 37  LHT65N-PIR is fully compatible with (% style="color:blue" %)**LoRaWAN v1.0.3 Class A protocol**(%%), it can work with a standard LoRaWAN gateway.
38 38  
38 +
39 39  **~*~***The actual battery life depends on how often to send data, please see battery analyzer chapter.
40 40  
41 41  
42 42  == 1.2 Features ==
43 43  
44 -
45 45  * LoRaWAN v1.0.3 Class A protocol
46 46  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
47 47  * AT Commands to change parameters
... ... @@ -53,8 +53,6 @@
53 53  * External PIR Sensor
54 54  * Tri-color LED to indicate working status(% style="display:none" %)
55 55  
56 -
57 -
58 58  == 1.3 Specification ==
59 59  
60 60  
... ... @@ -79,14 +79,12 @@
79 79  * (% class="mark" %)Resolution: 1 lx
80 80  * (% class="mark" %)Range: 0-65535 lx
81 81  * (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
79 +*
82 82  
83 -
84 -
85 85  = 2. Connect LHT65N-PIR to IoT Server =
86 86  
87 87  == 2.1 How does LHT65N-PIR work? ==
88 88  
89 -
90 90  LHT65N-PIR is configured as LoRaWAN OTAA Class A sensor by default. Each LHT65N-PIR is shipped with a worldwide unique set of OTAA keys. To use LHT65N-PIR in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N-PIR.
91 91  
92 92  If LHT65N-PIR is within the coverage of this LoRaWAN network. LHT65N-PIR can join the LoRaWAN network automatically. After successfully joining, LHT65N-PIR will start to measure environment temperature, humidity & people activity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes.
... ... @@ -94,7 +94,6 @@
94 94  
95 95  == 2.2 How to Activate LHT65N-PIR? ==
96 96  
97 -
98 98  The LHT65N-PIR has two working modes:
99 99  
100 100  * (% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N-PIR doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
... ... @@ -107,6 +107,7 @@
107 107  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220515123819-1.png?width=317&height=379&rev=1.1||alt="image-20220515123819-1.png" height="379" width="317"]]
108 108  
109 109  
104 +
110 110  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
111 111  |=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**
112 112  |(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)(((
... ... @@ -118,8 +118,6 @@
118 118  )))
119 119  |(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode.
120 120  
121 -
122 -
123 123  == 2.3 Example to join LoRaWAN network ==
124 124  
125 125  
... ... @@ -289,8 +289,6 @@
289 289  * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
290 290  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
291 291  
292 -
293 -
294 294  === 2.5.1 Decoder in TTN V3 ===
295 295  
296 296  
... ... @@ -321,6 +321,7 @@
321 321  11(b): Good (BAT >= 2.65v)
322 322  )))|(% style="width:152px" %)Actually BAT voltage
323 323  
315 +
324 324  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
325 325  
326 326  
... ... @@ -329,8 +329,6 @@
329 329  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
330 330  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
331 331  
332 -
333 -
334 334  === 2.5.3 Built-in Temperature ===
335 335  
336 336  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]]
... ... @@ -341,8 +341,6 @@
341 341  
342 342  * Temperature:  (0xF5C6-65536)/100=-26.18℃
343 343  
344 -
345 -
346 346  === 2.5.4 Built-in Humidity ===
347 347  
348 348  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]]
... ... @@ -349,8 +349,6 @@
349 349  
350 350  * Humidity:    0x025C/10=60.4%
351 351  
352 -
353 -
354 354  === 2.5.5 Ext value ===
355 355  
356 356  ==== 2.5.5.1 Ext~=0x0A, PIR Sensor ====
... ... @@ -360,7 +360,6 @@
360 360  
361 361  ==== 2.5.5.2 Ext Value ====
362 362  
363 -
364 364  There are 4 bytes in Ext Value field.
365 365  
366 366  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
... ... @@ -385,8 +385,9 @@
385 385  )))
386 386  )))
387 387  
388 -(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
373 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
389 389  
375 +
390 390  The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
391 391  
392 392  0x00 E5 09 : Total detect 58633 activity since end node start.
... ... @@ -394,7 +394,6 @@
394 394  
395 395  == 2.6 Show data on Datacake ==
396 396  
397 -
398 398  Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
399 399  
400 400  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -432,16 +432,13 @@
432 432  
433 433  In a normal working state:
434 434  
435 -* For each uplink, the **BLUE LED** or **RED LED** will blink once.
436 -**BLUE LED** when external sensor is connected.
437 -* **RED LED** when external sensor is not connected
420 +* For each uplink, the BLUE LED or RED LED will blink once.
421 +BLUE LED when external sensor is connected.
422 +* RED LED when external sensor is not connected
438 438  * For each success downlink, the PURPLE LED will blink once
439 439  
440 -
441 -
442 442  == 2.8 installation ==
443 443  
444 -
445 445  ~1. Don't install LHT65N-PIR outdoor or place where will get wet.
446 446  
447 447  2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
... ... @@ -450,7 +450,7 @@
450 450  
451 451  [[image:image-20230411135341-1.png||height="450" width="456"]]
452 452  
453 -(% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.**
435 +**Notice: PIR can only detect motion activity, not to use to detect static people case.**
454 454  
455 455  * 1. PIR Motion Detector should not be installed near the Air conditioner places where with cold wind or hot wind flow, because PIR motion detector is sensitive with the temperature changes of the environment. Environment changes quickly will cause a false alarm.
456 456  * 2. PIR should not be installed facing the glass window, facing glass window will be interfered by the outside sunlight and moving objects (people or vehicle). The infrared energy can penetrate the glass window.
... ... @@ -458,8 +458,6 @@
458 458  * 4. Between the detection range of PIR Motion detector, there is should be less objects.  Many objects may reduce the sensitive of detection range.
459 459  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
460 460  
461 -
462 -
463 463  = 3. Sensors and Accessories =
464 464  
465 465  == 3.1 E2 Extension Cable ==
... ... @@ -468,7 +468,7 @@
468 468  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]]
469 469  
470 470  
471 -**1m long breakout cable for LHT65N-PIR. Features:**
451 +**1m long breakout cable for LHT65N-E5. Features:**
472 472  
473 473  * (((
474 474  Use for AT Command
... ... @@ -487,11 +487,9 @@
487 487  
488 488  LHT65N-PIR supports below configure method:
489 489  
490 -* AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
470 +* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]].
491 491  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
492 492  
493 -
494 -
495 495  == 4.2 General Commands ==
496 496  
497 497  
... ... @@ -516,13 +516,12 @@
516 516  
517 517  Feature: Change LoRaWAN End Node Transmit Interval.
518 518  
497 +
519 519  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
520 520  
521 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
522 -|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response**
523 -|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
524 -|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
500 +[[image:image-20220523150701-2.png||_mstalt="427453"]]
525 525  
502 +
526 526  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
527 527  
528 528  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -533,11 +533,8 @@
533 533  
534 534  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
535 535  
536 -
537 -
538 538  === 4.3.2 Get Device Status ===
539 539  
540 -
541 541  Send a LoRaWAN downlink to ask device send Alarm settings.
542 542  
543 543  * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**:  **0x26 01
... ... @@ -550,22 +550,27 @@
550 550  
551 551  Feature: Set device password, max 9 digits
552 552  
553 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
554 554  
555 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
556 -|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:128px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:89px" %)**Response**
557 -|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
558 -123456
528 +(% style="color:#4f81bd" %)**AT Command: AT+EXT**
559 559  
560 -OK
530 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
531 +|Command Example|Function|Response
532 +|AT+EXT=?|Get or Set external sensor model|(((
533 +5
534 +
535 +OK
561 561  )))
562 -|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
537 +|AT+EXT=5|(% colspan="2" %)Set external sensor mode to 5
563 563  
564 -(% style="color:#4f81bd" %)**Downlink Command:**
539 +(% style="color:#4f81bd" %)**Downlink Command:0xA2**
565 565  
566 -No downlink command for this feature.
567 567  
542 +Total bytes: 2 bytes
568 568  
544 +**Example:**
545 +
546 +* 0xA205: Set external sensor type to E5
547 +
569 569  === 4.3.4 Set to sleep mode ===
570 570  
571 571  
... ... @@ -572,35 +572,25 @@
572 572  Feature: Set device to sleep mode
573 573  
574 574  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
575 -
576 576  * **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
577 577  
578 578  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
579 579  
580 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
581 -|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:140px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:218px" %)**Response**
582 -|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
583 -Clear all stored sensor data…
558 +[[image:image-20220523151218-7.png||_mstalt="430703"]]
584 584  
585 -OK
586 -)))
587 587  
588 588  (% style="color:#4f81bd" %)**Downlink Command:**
589 589  
590 590  * There is no downlink command to set to Sleep mode.
591 591  
592 -
593 -
594 594  === 4.3.5 Set UOA (Uplink on Activity) ===
595 595  
596 -
597 597  Feature: Enable / Disable Uplink on Activity
598 598  
599 599  * **AT+UOA=0**  : Disable UoA
600 -
601 601  * **AT+UOA=1,2** :  Enable UoA , Calm Down Time: 2 minutes. If device already send a uplink on activity, it will not send another uplink on activiy in 2 minutes, even detect activity.
602 602  
603 -(% style="color:red" %)**Notice: Calm Down time range is 1 ~~ 65535 minutes. If user set Calm Down time to low value, such as 1 minute, the sensor might send uplink very frequenctly and battery drain fast.**
572 +Notice: Calm Down time range is 1 ~~ 65535 minutes. If user set Calm Down time to low value, such as 1 minute, the sensor might send uplink very frequenctly and battery drain fast.
604 604  
605 605  (% style="color:#4f81bd" %)**AT Command: AT+UOA**
606 606  
... ... @@ -610,7 +610,6 @@
610 610  
611 611  = 5. Battery & Power Consumption =
612 612  
613 -
614 614  LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
615 615  
616 616  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
... ... @@ -618,9 +618,8 @@
618 618  
619 619  = 6. OTA firmware update =
620 620  
589 +User can change firmware S31x-LB to:
621 621  
622 -User can change firmware LHT65N-PIR to:
623 -
624 624  * Change Frequency band/ region.
625 625  * Update with new features.
626 626  * Fix bugs.
... ... @@ -632,14 +632,12 @@
632 632  * (Recommanded way) OTA firmware update via wireless: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]
633 633  * Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
634 634  
635 -
636 -
637 637  = 7. FAQ =
638 638  
639 639  == 7.1 How to use AT Command? ==
640 640  
641 641  
642 -LHT65N-PIR supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below.
607 +LHT65N-E5 supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below.
643 643  
644 644  
645 645  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
... ... @@ -649,11 +649,12 @@
649 649  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
650 650  
651 651  
652 -In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N-PIR. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
617 +In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N-E5. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
653 653  
654 654  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
655 655  
656 656  
622 +
657 657  == 7.2 Where to use AT commands and Downlink commands ==
658 658  
659 659  
... ... @@ -695,7 +695,6 @@
695 695  
696 696  == 7.3 How to change the uplink interval? ==
697 697  
698 -
699 699  Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]]
700 700  
701 701  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
... ... @@ -703,7 +703,6 @@
703 703  
704 704  == 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
705 705  
706 -
707 707  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
708 708  
709 709  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
... ... @@ -759,8 +759,6 @@
759 759  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
760 760  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
761 761  
762 -
763 -
764 764  = 9. Packing Info =
765 765  
766 766  
... ... @@ -773,15 +773,11 @@
773 773  * Device Size:  10 x 10 x 3.5 mm
774 774  * Device Weight: 120.5g
775 775  
776 -
777 -
778 778  = 10. Reference material =
779 779  
780 780  
781 781  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
782 782  
783 -
784 -
785 785  = 11. FCC Warning =
786 786  
787 787  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0