<
From version < 37.11 >
edited by Xiaoling
on 2023/04/27 10:55
To version < 37.7 >
edited by Xiaoling
on 2023/04/27 09:28
>
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
... ... @@ -77,12 +77,12 @@
77 77  * (% class="mark" %)Resolution: 1 lx
78 78  * (% class="mark" %)Range: 0-65535 lx
79 79  * (% 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 -
86 86  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.
87 87  
88 88  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.
... ... @@ -90,7 +90,6 @@
90 90  
91 91  == 2.2 How to Activate LHT65N-PIR? ==
92 92  
93 -
94 94  The LHT65N-PIR has two working modes:
95 95  
96 96  * (% 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.
... ... @@ -103,6 +103,7 @@
103 103  [[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"]]
104 104  
105 105  
104 +
106 106  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
107 107  |=(% 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**
108 108  |(% 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" %)(((
... ... @@ -313,6 +313,7 @@
313 313  11(b): Good (BAT >= 2.65v)
314 314  )))|(% style="width:152px" %)Actually BAT voltage
315 315  
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  
... ... @@ -346,24 +346,23 @@
346 346  
347 347  ==== 2.5.5.2 Ext Value ====
348 348  
349 -
350 350  There are 4 bytes in Ext Value field.
351 351  
352 352  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
353 353  
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);" %)(((
353 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:490px" %)
354 +|=(% style="width: 147px;background-color:#D9E2F3;color:#0070C0" %)(((
356 356  **The 8^^th^^ byte**
357 -)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
356 +)))|=(% style="width: 108px;background-color:#D9E2F3;color:#0070C0" %)(((
358 358  **Bit 1~~7**
359 -)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
358 +)))|=(% style="width: 228px;background-color:#D9E2F3;color:#0070C0" %)(((
360 360  **Bit 0**
361 361  )))
362 -|(% style="width:106px" %)(((
361 +|(% style="width:147px" %)(((
363 363  **Value**
364 -)))|(% style="width:71px" %)(((
363 +)))|(% style="width:108px" %)(((
365 365  Reserve
366 -)))|(% style="width:211px" %)(((
365 +)))|(% style="width:228px" %)(((
367 367  (((
368 368  0: Normal Uplink
369 369  
... ... @@ -371,8 +371,9 @@
371 371  )))
372 372  )))
373 373  
374 -(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
373 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
375 375  
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,7 +380,6 @@
380 380  
381 381  == 2.6 Show data on Datacake ==
382 382  
383 -
384 384  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:
385 385  
386 386  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -425,7 +425,6 @@
425 425  
426 426  == 2.8 installation ==
427 427  
428 -
429 429  ~1. Don't install LHT65N-PIR outdoor or place where will get wet.
430 430  
431 431  2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
... ... @@ -434,7 +434,7 @@
434 434  
435 435  [[image:image-20230411135341-1.png||height="450" width="456"]]
436 436  
437 -(% 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.**
438 438  
439 439  * 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.
440 440  * 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.
... ... @@ -450,7 +450,7 @@
450 450  [[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"]]
451 451  
452 452  
453 -**1m long breakout cable for LHT65N-PIR. Features:**
451 +**1m long breakout cable for LHT65N-E5. Features:**
454 454  
455 455  * (((
456 456  Use for AT Command
... ... @@ -469,7 +469,7 @@
469 469  
470 470  LHT65N-PIR supports below configure method:
471 471  
472 -* AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
470 +* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]].
473 473  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
474 474  
475 475  == 4.2 General Commands ==
... ... @@ -496,13 +496,12 @@
496 496  
497 497  Feature: Change LoRaWAN End Node Transmit Interval.
498 498  
497 +
499 499  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
500 500  
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
500 +[[image:image-20220523150701-2.png||_mstalt="427453"]]
505 505  
502 +
506 506  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
507 507  
508 508  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -515,7 +515,6 @@
515 515  
516 516  === 4.3.2 Get Device Status ===
517 517  
518 -
519 519  Send a LoRaWAN downlink to ask device send Alarm settings.
520 520  
521 521  * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**:  **0x26 01
... ... @@ -528,22 +528,27 @@
528 528  
529 529  Feature: Set device password, max 9 digits
530 530  
531 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
532 532  
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
528 +(% style="color:#4f81bd" %)**AT Command: AT+EXT**
537 537  
538 -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
539 539  )))
540 -|(% 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
541 541  
542 -(% style="color:#4f81bd" %)**Downlink Command:**
539 +(% style="color:#4f81bd" %)**Downlink Command:0xA2**
543 543  
544 -No downlink command for this feature.
545 545  
542 +Total bytes: 2 bytes
546 546  
544 +**Example:**
545 +
546 +* 0xA205: Set external sensor type to E5
547 +
547 547  === 4.3.4 Set to sleep mode ===
548 548  
549 549  
... ... @@ -550,18 +550,12 @@
550 550  Feature: Set device to sleep mode
551 551  
552 552  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
553 -
554 554  * **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
555 555  
556 556  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
557 557  
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…
558 +[[image:image-20220523151218-7.png||_mstalt="430703"]]
562 562  
563 -OK
564 -)))
565 565  
566 566  (% style="color:#4f81bd" %)**Downlink Command:**
567 567  
... ... @@ -569,14 +569,12 @@
569 569  
570 570  === 4.3.5 Set UOA (Uplink on Activity) ===
571 571  
572 -
573 573  Feature: Enable / Disable Uplink on Activity
574 574  
575 575  * **AT+UOA=0**  : Disable UoA
576 -
577 577  * **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.
578 578  
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.**
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.
580 580  
581 581  (% style="color:#4f81bd" %)**AT Command: AT+UOA**
582 582  
... ... @@ -586,7 +586,6 @@
586 586  
587 587  = 5. Battery & Power Consumption =
588 588  
589 -
590 590  LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
591 591  
592 592  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
... ... @@ -594,9 +594,8 @@
594 594  
595 595  = 6. OTA firmware update =
596 596  
589 +User can change firmware S31x-LB to:
597 597  
598 -User can change firmware LHT65N-PIR to:
599 -
600 600  * Change Frequency band/ region.
601 601  * Update with new features.
602 602  * Fix bugs.
... ... @@ -613,7 +613,7 @@
613 613  == 7.1 How to use AT Command? ==
614 614  
615 615  
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.
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.
617 617  
618 618  
619 619  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
... ... @@ -623,7 +623,7 @@
623 623  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
624 624  
625 625  
626 -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.
627 627  
628 628  [[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"]]
629 629  
... ... @@ -670,7 +670,6 @@
670 670  
671 671  == 7.3 How to change the uplink interval? ==
672 672  
673 -
674 674  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);"]]
675 675  
676 676  [[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"]]
... ... @@ -678,7 +678,6 @@
678 678  
679 679  == 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
680 680  
681 -
682 682  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
683 683  
684 684  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0