Last modified by Xiaoling on 2025/06/10 09:17

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

Summary

Details

Page properties
Content
... ... @@ -25,6 +25,7 @@
25 25  
26 26  == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor ==
27 27  
28 +
28 28  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.
29 29  
30 30  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.
... ... @@ -35,12 +35,12 @@
35 35  
36 36  LHT65N-PIR is fully compatible with (% style="color:blue" %)**LoRaWAN v1.0.3 Class A protocol**(%%), it can work with a standard LoRaWAN gateway.
37 37  
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 +
44 44  * LoRaWAN v1.0.3 Class A protocol
45 45  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
46 46  * AT Commands to change parameters
... ... @@ -52,6 +52,8 @@
52 52  * External PIR Sensor
53 53  * Tri-color LED to indicate working status(% style="display:none" %)
54 54  
56 +
57 +
55 55  == 1.3 Specification ==
56 56  
57 57  
... ... @@ -76,12 +76,14 @@
76 76  * (% class="mark" %)Resolution: 1 lx
77 77  * (% class="mark" %)Range: 0-65535 lx
78 78  * (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
79 -*
80 80  
83 +
84 +
81 81  = 2. Connect LHT65N-PIR to IoT Server =
82 82  
83 83  == 2.1 How does LHT65N-PIR work? ==
84 84  
89 +
85 85  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.
86 86  
87 87  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.
... ... @@ -89,6 +89,7 @@
89 89  
90 90  == 2.2 How to Activate LHT65N-PIR? ==
91 91  
97 +
92 92  The LHT65N-PIR has two working modes:
93 93  
94 94  * (% 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.
... ... @@ -101,7 +101,6 @@
101 101  [[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"]]
102 102  
103 103  
104 -
105 105  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
106 106  |=(% 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**
107 107  |(% 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" %)(((
... ... @@ -113,6 +113,8 @@
113 113  )))
114 114  |(% 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.
115 115  
121 +
122 +
116 116  == 2.3 Example to join LoRaWAN network ==
117 117  
118 118  
... ... @@ -282,6 +282,8 @@
282 282  * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
283 283  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
284 284  
292 +
293 +
285 285  === 2.5.1 Decoder in TTN V3 ===
286 286  
287 287  
... ... @@ -312,7 +312,6 @@
312 312  11(b): Good (BAT >= 2.65v)
313 313  )))|(% style="width:152px" %)Actually BAT voltage
314 314  
315 -
316 316  [[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"]]
317 317  
318 318  
... ... @@ -321,6 +321,8 @@
321 321  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
322 322  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
323 323  
332 +
333 +
324 324  === 2.5.3 Built-in Temperature ===
325 325  
326 326  [[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"]]
... ... @@ -331,6 +331,8 @@
331 331  
332 332  * Temperature:  (0xF5C6-65536)/100=-26.18℃
333 333  
344 +
345 +
334 334  === 2.5.4 Built-in Humidity ===
335 335  
336 336  [[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"]]
... ... @@ -337,6 +337,8 @@
337 337  
338 338  * Humidity:    0x025C/10=60.4%
339 339  
352 +
353 +
340 340  === 2.5.5 Ext value ===
341 341  
342 342  ==== 2.5.5.1 Ext~=0x0A, PIR Sensor ====
... ... @@ -346,6 +346,7 @@
346 346  
347 347  ==== 2.5.5.2 Ext Value ====
348 348  
363 +
349 349  There are 4 bytes in Ext Value field.
350 350  
351 351  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
... ... @@ -370,9 +370,8 @@
370 370  )))
371 371  )))
372 372  
373 -(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
388 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
374 374  
375 -
376 376  The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
377 377  
378 378  0x00 E5 09 : Total detect 58633 activity since end node start.
... ... @@ -380,6 +380,7 @@
380 380  
381 381  == 2.6 Show data on Datacake ==
382 382  
397 +
383 383  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:
384 384  
385 385  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -417,13 +417,16 @@
417 417  
418 418  In a normal working state:
419 419  
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
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
423 423  * For each success downlink, the PURPLE LED will blink once
424 424  
440 +
441 +
425 425  == 2.8 installation ==
426 426  
444 +
427 427  ~1. Don't install LHT65N-PIR outdoor or place where will get wet.
428 428  
429 429  2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
... ... @@ -432,7 +432,7 @@
432 432  
433 433  [[image:image-20230411135341-1.png||height="450" width="456"]]
434 434  
435 -**Notice: PIR can only detect motion activity, not to use to detect static people case.**
453 +(% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.**
436 436  
437 437  * 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.
438 438  * 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.
... ... @@ -440,6 +440,8 @@
440 440  * 4. Between the detection range of PIR Motion detector, there is should be less objects.  Many objects may reduce the sensitive of detection range.
441 441  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
442 442  
461 +
462 +
443 443  = 3. Sensors and Accessories =
444 444  
445 445  == 3.1 E2 Extension Cable ==
... ... @@ -448,7 +448,7 @@
448 448  [[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"]]
449 449  
450 450  
451 -**1m long breakout cable for LHT65N-E5. Features:**
471 +**1m long breakout cable for LHT65N-PIR. Features:**
452 452  
453 453  * (((
454 454  Use for AT Command
... ... @@ -470,6 +470,8 @@
470 470  * AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
471 471  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
472 472  
493 +
494 +
473 473  == 4.2 General Commands ==
474 474  
475 475  
... ... @@ -494,7 +494,6 @@
494 494  
495 495  Feature: Change LoRaWAN End Node Transmit Interval.
496 496  
497 -
498 498  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
499 499  
500 500  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
... ... @@ -512,8 +512,11 @@
512 512  
513 513  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
514 514  
536 +
537 +
515 515  === 4.3.2 Get Device Status ===
516 516  
540 +
517 517  Send a LoRaWAN downlink to ask device send Alarm settings.
518 518  
519 519  * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**:  **0x26 01
... ... @@ -526,10 +526,8 @@
526 526  
527 527  Feature: Set device password, max 9 digits
528 528  
529 -
530 530  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
531 531  
532 -
533 533  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
534 534  |(% 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**
535 535  |(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
... ... @@ -544,7 +544,6 @@
544 544  No downlink command for this feature.
545 545  
546 546  
547 -
548 548  === 4.3.4 Set to sleep mode ===
549 549  
550 550  
... ... @@ -556,21 +556,30 @@
556 556  
557 557  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
558 558  
559 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
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…
560 560  
585 +OK
586 +)))
561 561  
562 562  (% style="color:#4f81bd" %)**Downlink Command:**
563 563  
564 564  * There is no downlink command to set to Sleep mode.
565 565  
592 +
593 +
566 566  === 4.3.5 Set UOA (Uplink on Activity) ===
567 567  
596 +
568 568  Feature: Enable / Disable Uplink on Activity
569 569  
570 570  * **AT+UOA=0**  : Disable UoA
600 +
571 571  * **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.
572 572  
573 -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.
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.**
574 574  
575 575  (% style="color:#4f81bd" %)**AT Command: AT+UOA**
576 576  
... ... @@ -580,6 +580,7 @@
580 580  
581 581  = 5. Battery & Power Consumption =
582 582  
613 +
583 583  LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
584 584  
585 585  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
... ... @@ -587,8 +587,9 @@
587 587  
588 588  = 6. OTA firmware update =
589 589  
590 -User can change firmware S31x-LB to:
591 591  
622 +User can change firmware LHT65N-PIR to:
623 +
592 592  * Change Frequency band/ region.
593 593  * Update with new features.
594 594  * Fix bugs.
... ... @@ -600,12 +600,14 @@
600 600  * (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/]]
601 601  * 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]]**.
602 602  
635 +
636 +
603 603  = 7. FAQ =
604 604  
605 605  == 7.1 How to use AT Command? ==
606 606  
607 607  
608 -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.
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.
609 609  
610 610  
611 611  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
... ... @@ -615,12 +615,11 @@
615 615  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
616 616  
617 617  
618 -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.
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.
619 619  
620 620  [[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"]]
621 621  
622 622  
623 -
624 624  == 7.2 Where to use AT commands and Downlink commands ==
625 625  
626 626  
... ... @@ -662,6 +662,7 @@
662 662  
663 663  == 7.3 How to change the uplink interval? ==
664 664  
698 +
665 665  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);"]]
666 666  
667 667  [[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"]]
... ... @@ -669,6 +669,7 @@
669 669  
670 670  == 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
671 671  
706 +
672 672  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
673 673  
674 674  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
... ... @@ -724,6 +724,8 @@
724 724  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
725 725  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
726 726  
762 +
763 +
727 727  = 9. Packing Info =
728 728  
729 729  
... ... @@ -736,11 +736,15 @@
736 736  * Device Size:  10 x 10 x 3.5 mm
737 737  * Device Weight: 120.5g
738 738  
776 +
777 +
739 739  = 10. Reference material =
740 740  
741 741  
742 742  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
743 743  
783 +
784 +
744 744  = 11. FCC Warning =
745 745  
746 746