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

From version 41.2
edited by kai
on 2023/05/08 15:21
Change comment: There is no comment for this version
To version 37.9
edited by Xiaoling
on 2023/04/27 10:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kai
1 +XWiki.Xiaoling
Content
... ... @@ -1,5 +1,5 @@
1 1  (% style="text-align:center" %)
2 -[[image:LHT65N-PIR1.jpg||alt="image-20221206143242-2.png" height="679" width="681"]]
2 +[[image:image-20221206143242-2.png||height="602" width="551"]]
3 3  
4 4  
5 5  
... ... @@ -8,6 +8,7 @@
8 8  
9 9  
10 10  
11 +
11 11  **Table of Contents:**
12 12  
13 13  {{toc/}}
... ... @@ -24,7 +24,6 @@
24 24  
25 25  == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor ==
26 26  
27 -
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 +
38 38  **~*~***The actual battery life depends on how often to send data, please see battery analyzer chapter.
39 39  
40 40  
41 41  == 1.2 Features ==
42 42  
43 -
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
... ... @@ -76,12 +76,12 @@
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 +*
79 79  
80 80  = 2. Connect LHT65N-PIR to IoT Server =
81 81  
82 82  == 2.1 How does LHT65N-PIR work? ==
83 83  
84 -
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,7 +89,6 @@
89 89  
90 90  == 2.2 How to Activate LHT65N-PIR? ==
91 91  
92 -
93 93  The LHT65N-PIR has two working modes:
94 94  
95 95  * (% 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.
... ... @@ -102,6 +102,7 @@
102 102  [[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"]]
103 103  
104 104  
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" %)(((
... ... @@ -185,7 +185,7 @@
185 185  
186 186  Example parse in TTNv3
187 187  
188 -[[image:image-20230508151932-1.png]]
188 +[[image:1675144504430-490.png]]
189 189  
190 190  **Sensor Model**: For LHT65N-PIR, this value is 0x1A
191 191  
... ... @@ -312,6 +312,7 @@
312 312  11(b): Good (BAT >= 2.65v)
313 313  )))|(% style="width:152px" %)Actually BAT voltage
314 314  
315 +
315 315  [[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"]]
316 316  
317 317  
... ... @@ -345,7 +345,6 @@
345 345  
346 346  ==== 2.5.5.2 Ext Value ====
347 347  
348 -
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,8 +370,9 @@
370 370  )))
371 371  )))
372 372  
373 -(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
373 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
374 374  
375 +
375 375  The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
376 376  
377 377  0x00 E5 09 : Total detect 58633 activity since end node start.
... ... @@ -379,7 +379,6 @@
379 379  
380 380  == 2.6 Show data on Datacake ==
381 381  
382 -
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,14 +417,13 @@
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
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
423 423  * For each success downlink, the PURPLE LED will blink once
424 424  
425 425  == 2.8 installation ==
426 426  
427 -
428 428  ~1. Don't install LHT65N-PIR outdoor or place where will get wet.
429 429  
430 430  2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
... ... @@ -433,7 +433,7 @@
433 433  
434 434  [[image:image-20230411135341-1.png||height="450" width="456"]]
435 435  
436 -(% 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.**
437 437  
438 438  * 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.
439 439  * 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.
... ... @@ -449,7 +449,7 @@
449 449  [[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"]]
450 450  
451 451  
452 -**1m long breakout cable for LHT65N-PIR. Features:**
451 +**1m long breakout cable for LHT65N-E5. Features:**
453 453  
454 454  * (((
455 455  Use for AT Command
... ... @@ -495,6 +495,7 @@
495 495  
496 496  Feature: Change LoRaWAN End Node Transmit Interval.
497 497  
497 +
498 498  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
499 499  
500 500  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
... ... @@ -514,7 +514,6 @@
514 514  
515 515  === 4.3.2 Get Device Status ===
516 516  
517 -
518 518  Send a LoRaWAN downlink to ask device send Alarm settings.
519 519  
520 520  * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**:  **0x26 01
... ... @@ -527,8 +527,10 @@
527 527  
528 528  Feature: Set device password, max 9 digits
529 529  
529 +
530 530  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
531 531  
532 +
532 532  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
533 533  |(% 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**
534 534  |(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
... ... @@ -543,6 +543,7 @@
543 543  No downlink command for this feature.
544 544  
545 545  
547 +
546 546  === 4.3.4 Set to sleep mode ===
547 547  
548 548  
... ... @@ -554,13 +554,8 @@
554 554  
555 555  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
556 556  
557 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
558 -|(% 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**
559 -|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
560 -Clear all stored sensor data…
559 +[[image:image-20220523151218-7.png||_mstalt="430703"]]
561 561  
562 -OK
563 -)))
564 564  
565 565  (% style="color:#4f81bd" %)**Downlink Command:**
566 566  
... ... @@ -568,14 +568,12 @@
568 568  
569 569  === 4.3.5 Set UOA (Uplink on Activity) ===
570 570  
571 -
572 572  Feature: Enable / Disable Uplink on Activity
573 573  
574 574  * **AT+UOA=0**  : Disable UoA
575 -
576 576  * **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.
577 577  
578 -(% 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.**
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.
579 579  
580 580  (% style="color:#4f81bd" %)**AT Command: AT+UOA**
581 581  
... ... @@ -585,7 +585,6 @@
585 585  
586 586  = 5. Battery & Power Consumption =
587 587  
588 -
589 589  LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
590 590  
591 591  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
... ... @@ -593,9 +593,8 @@
593 593  
594 594  = 6. OTA firmware update =
595 595  
590 +User can change firmware S31x-LB to:
596 596  
597 -User can change firmware LHT65N-PIR to:
598 -
599 599  * Change Frequency band/ region.
600 600  * Update with new features.
601 601  * Fix bugs.
... ... @@ -612,7 +612,7 @@
612 612  == 7.1 How to use AT Command? ==
613 613  
614 614  
615 -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.
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.
616 616  
617 617  
618 618  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
... ... @@ -622,11 +622,12 @@
622 622  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
623 623  
624 624  
625 -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.
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.
626 626  
627 627  [[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"]]
628 628  
629 629  
623 +
630 630  == 7.2 Where to use AT commands and Downlink commands ==
631 631  
632 632  
... ... @@ -668,7 +668,6 @@
668 668  
669 669  == 7.3 How to change the uplink interval? ==
670 670  
671 -
672 672  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);"]]
673 673  
674 674  [[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"]]
... ... @@ -676,7 +676,6 @@
676 676  
677 677  == 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
678 678  
679 -
680 680  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
681 681  
682 682  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
LHT65N-PIR1.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ellie
Size
... ... @@ -1,1 +1,0 @@
1 -47.3 KB
Content
image-20230508151932-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -36.0 KB
Content