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

From version 37.5
edited by Xiaoling
on 2023/04/27 09:00
Change comment: There is no comment for this version
To version 37.10
edited by Xiaoling
on 2023/04/27 10:37
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
... ... @@ -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 -*
80 80  
81 81  = 2. Connect LHT65N-PIR to IoT Server =
82 82  
83 83  == 2.1 How does LHT65N-PIR work? ==
84 84  
85 +
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  
93 +
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" %)(((
... ... @@ -145,21 +145,21 @@
145 145  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522232916-3.png||_mstalt="430495"]]
146 146  
147 147  
148 -[[image:image-20220522232932-4.png||_mstalt="430157"]]
149 +[[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-20220522232932-4.png?rev=1.1||alt="image-20220522232932-4.png"]]
149 149  
150 150  
151 -[[image:image-20220522232954-5.png||_mstalt="431847"]]
152 +[[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-20220522232954-5.png?rev=1.1||alt="image-20220522232954-5.png"]]
152 152  
153 153  
154 154  (% style="color:red" %)**Note: LHT65N-PIR use same payload decoder as LHT65.**
155 155  
156 156  
157 -[[image:image-20220522233026-6.png||_mstalt="429403"]]
158 +[[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-20220522233026-6.png?rev=1.1||alt="image-20220522233026-6.png"]]
158 158  
159 159  
160 160  **Input APP EUI,  APP KEY and DEV EUI:**
161 161  
162 -[[image:image-20220522233118-7.png||_mstalt="430430"]]
163 +[[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-20220522233118-7.png?rev=1.1||alt="image-20220522233118-7.png"]]
163 163  
164 164  
165 165  === 2.3.2 Step 2: Activate LHT65N-PIR by pressing the ACT button for more than 5 seconds. ===
... ... @@ -168,7 +168,7 @@
168 168  Use ACT button to activate LHT65N-PIR and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel.
169 169  
170 170  
171 -[[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]]
172 +[[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-20220522233300-8.png?rev=1.1||alt="image-20220522233300-8.png"]]
172 172  
173 173  
174 174  == 2.4 Uplink Payload~-~-Device Status, (Fport~=5) ==
... ... @@ -298,9 +298,20 @@
298 298  
299 299  These two bytes of BAT include the battery state and the actually voltage
300 300  
301 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220523152839-18.png||_mstalt="457613"]]
302 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
303 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
304 +**Bit(bit)**
305 +)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
306 +|(% style="width:66px" %)(((
307 +**Value**
308 +)))|(% style="width:250px" %)(((
309 +BAT Status
310 +00(b): Ultra Low ( BAT <= 2.50v)
311 +01(b): Low (2.50v <=BAT <= 2.55v)
312 +10(b): OK (2.55v <= BAT <=2.65v)
313 +11(b): Good (BAT >= 2.65v)
314 +)))|(% style="width:152px" %)Actually BAT voltage
302 302  
303 -
304 304  [[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"]]
305 305  
306 306  
... ... @@ -334,23 +334,24 @@
334 334  
335 335  ==== 2.5.5.2 Ext Value ====
336 336  
349 +
337 337  There are 4 bytes in Ext Value field.
338 338  
339 339  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
340 340  
341 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:490px" %)
342 -|=(% style="width: 147px;" %)(((
354 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %)
355 +|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
343 343  **The 8^^th^^ byte**
344 -)))|=(% style="width: 108px;" %)(((
357 +)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
345 345  **Bit 1~~7**
346 -)))|=(% style="width: 228px;" %)(((
359 +)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
347 347  **Bit 0**
348 348  )))
349 -|(% style="width:147px" %)(((
362 +|(% style="width:106px" %)(((
350 350  **Value**
351 -)))|(% style="width:108px" %)(((
364 +)))|(% style="width:71px" %)(((
352 352  Reserve
353 -)))|(% style="width:228px" %)(((
366 +)))|(% style="width:211px" %)(((
354 354  (((
355 355  0: Normal Uplink
356 356  
... ... @@ -358,9 +358,8 @@
358 358  )))
359 359  )))
360 360  
361 -**Note**: Uplink by activity is disable by default.
374 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
362 362  
363 -
364 364  The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
365 365  
366 366  0x00 E5 09 : Total detect 58633 activity since end node start.
... ... @@ -368,6 +368,7 @@
368 368  
369 369  == 2.6 Show data on Datacake ==
370 370  
383 +
371 371  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:
372 372  
373 373  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -412,6 +412,7 @@
412 412  
413 413  == 2.8 installation ==
414 414  
428 +
415 415  ~1. Don't install LHT65N-PIR outdoor or place where will get wet.
416 416  
417 417  2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
... ... @@ -420,7 +420,7 @@
420 420  
421 421  [[image:image-20230411135341-1.png||height="450" width="456"]]
422 422  
423 -**Notice: PIR can only detect motion activity, not to use to detect static people case.**
437 +(% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.**
424 424  
425 425  * 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.
426 426  * 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.
... ... @@ -455,7 +455,7 @@
455 455  
456 456  LHT65N-PIR supports below configure method:
457 457  
458 -* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]].
472 +* AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
459 459  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
460 460  
461 461  == 4.2 General Commands ==
... ... @@ -482,12 +482,13 @@
482 482  
483 483  Feature: Change LoRaWAN End Node Transmit Interval.
484 484  
485 -
486 486  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
487 487  
488 -[[image:image-20220523150701-2.png||_mstalt="427453"]]
501 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
502 +|(% 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**
503 +|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
504 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
489 489  
490 -
491 491  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
492 492  
493 493  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -500,6 +500,7 @@
500 500  
501 501  === 4.3.2 Get Device Status ===
502 502  
518 +
503 503  Send a LoRaWAN downlink to ask device send Alarm settings.
504 504  
505 505  * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**:  **0x26 01
... ... @@ -512,27 +512,22 @@
512 512  
513 513  Feature: Set device password, max 9 digits
514 514  
531 +(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
515 515  
516 -(% style="color:#4f81bd" %)**AT Command: AT+EXT**
533 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
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 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
536 +123456
517 517  
518 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
519 -|Command Example|Function|Response
520 -|AT+EXT=?|Get or Set external sensor model|(((
521 -5
522 -
523 -OK
538 +OK
524 524  )))
525 -|AT+EXT=5|(% colspan="2" %)Set external sensor mode to 5
540 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
526 526  
527 -(% style="color:#4f81bd" %)**Downlink Command:0xA2**
542 +(% style="color:#4f81bd" %)**Downlink Command:**
528 528  
544 +No downlink command for this feature.
529 529  
530 -Total bytes: 2 bytes
531 531  
532 -**Example:**
533 -
534 -* 0xA205: Set external sensor type to E5
535 -
536 536  === 4.3.4 Set to sleep mode ===
537 537  
538 538  
... ... @@ -539,12 +539,18 @@
539 539  Feature: Set device to sleep mode
540 540  
541 541  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
553 +
542 542  * **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
543 543  
544 544  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
545 545  
546 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
558 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
559 +|(% 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**
560 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
561 +Clear all stored sensor data…
547 547  
563 +OK
564 +)))
548 548  
549 549  (% style="color:#4f81bd" %)**Downlink Command:**
550 550  
... ... @@ -552,12 +552,14 @@
552 552  
553 553  === 4.3.5 Set UOA (Uplink on Activity) ===
554 554  
572 +
555 555  Feature: Enable / Disable Uplink on Activity
556 556  
557 557  * **AT+UOA=0**  : Disable UoA
576 +
558 558  * **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.
559 559  
560 -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 +(% 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.**
561 561  
562 562  (% style="color:#4f81bd" %)**AT Command: AT+UOA**
563 563  
... ... @@ -567,6 +567,7 @@
567 567  
568 568  = 5. Battery & Power Consumption =
569 569  
589 +
570 570  LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
571 571  
572 572  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
... ... @@ -574,8 +574,9 @@
574 574  
575 575  = 6. OTA firmware update =
576 576  
577 -User can change firmware S31x-LB to:
578 578  
598 +User can change firmware LHT65N-PIR to:
599 +
579 579  * Change Frequency band/ region.
580 580  * Update with new features.
581 581  * Fix bugs.
... ... @@ -592,7 +592,7 @@
592 592  == 7.1 How to use AT Command? ==
593 593  
594 594  
595 -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 +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.
596 596  
597 597  
598 598  [[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,6 +649,7 @@
649 649  
650 650  == 7.3 How to change the uplink interval? ==
651 651  
673 +
652 652  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);"]]
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"]]
... ... @@ -656,6 +656,7 @@
656 656  
657 657  == 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
658 658  
681 +
659 659  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
660 660  
661 661  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.