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

From version 45.8
edited by Xiaoling
on 2023/05/27 09:26
Change comment: There is no comment for this version
To version 46.1
edited by Saxer Lin
on 2023/08/16 08:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Saxer
Content
... ... @@ -45,8 +45,6 @@
45 45  * External PIR Sensor
46 46  * Tri-color LED to indicate working status
47 47  
48 -
49 -
50 50  (% style="display:none" %)
51 51  
52 52  == 1.3 Specification ==
... ... @@ -72,8 +72,6 @@
72 72  * Cable Length : 1 meter
73 73  * Stable detect distance : 0~~3 meter
74 74  
75 -
76 -
77 77  = 2. Connect LHT65N-PIR to IoT Server =
78 78  
79 79  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -102,16 +102,14 @@
102 102  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
103 103  |=(% 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**
104 104  |(% 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" %)(((
105 -If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once.
101 +If LHT65N-PIR is already Joined to rhe LoRaWAN network, LHT65N-PIR will send an uplink packet, if LHT65N-PIR has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N-PIR has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once.
106 106  )))
107 107  |(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
108 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
104 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N-PIR will enter working mode and start to JOIN LoRaWAN network.
109 109  (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
110 110  )))
111 -|(% 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.
107 +|(% 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-PIR is in Deep Sleep Mode.
112 112  
113 -
114 -
115 115  == 2.3 Example to join LoRaWAN network ==
116 116  
117 117  
... ... @@ -282,8 +282,6 @@
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  
285 -
286 -
287 287  === 2.5.1 Decoder in TTN V3 ===
288 288  
289 289  
... ... @@ -322,8 +322,6 @@
322 322  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
323 323  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
324 324  
325 -
326 -
327 327  === 2.5.3 Built-in Temperature ===
328 328  
329 329  
... ... @@ -335,8 +335,6 @@
335 335  
336 336  * Temperature:  (0xF5C6-65536)/100=-26.18℃
337 337  
338 -
339 -
340 340  === 2.5.4 Built-in Humidity ===
341 341  
342 342  
... ... @@ -344,8 +344,6 @@
344 344  
345 345  * Humidity:    0x025C/10=60.4%
346 346  
347 -
348 -
349 349  === 2.5.5 Ext value ===
350 350  
351 351  ==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
... ... @@ -431,8 +431,6 @@
431 431  * (% style="color:red" %)**RED LED**(%%) when external sensor is not connected
432 432  * For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
433 433  
434 -
435 -
436 436  == 2.8 installation ==
437 437  
438 438  
... ... @@ -457,8 +457,6 @@
457 457  
458 458  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
459 459  
460 -
461 -
462 462  = 3. Sensors and Accessories =
463 463  
464 464  == 3.1 E2 Extension Cable ==
... ... @@ -490,8 +490,6 @@
490 490  
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  
... ... @@ -533,8 +533,6 @@
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 540  
... ... @@ -589,13 +589,13 @@
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 596  
597 597  Feature: Enable / Disable Uplink on Activity
598 598  
575 +(% style="color:#4f81bd" %)**AT Command: **
576 +
599 599  * **AT+UOA=0**  : Disable UoA
600 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,12 +602,17 @@
602 602  
603 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.**
604 604  
605 -(% style="color:#4f81bd" %)**AT Command: AT+UOA**
606 606  
584 +(% style="color:#4f81bd" %)**Downlink Command:**
607 607  
608 -(% style="color:#4f81bd" %)**Downlink Command **(% class="mark" %)**xxxxxxx**
586 +Format: Command Code (0xA1) followed by 1 byte or 3 bytes.
609 609  
588 +When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time.
610 610  
590 +* **A1 00  ==>  AT+UOA=0  **
591 +* **A1 01 00 02  ==>  AT+UOA=1,2**
592 +
593 +
611 611  = 5. Battery & Power Consumption =
612 612  
613 613  
... ... @@ -632,8 +632,6 @@
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? ==
... ... @@ -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  
... ... @@ -768,20 +768,12 @@
768 768  
769 769  * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1
770 770  
771 -**Dimension and weight**:
772 772  
773 -* Device Size:  10 x 10 x 3.5 mm
774 -* Device Weight: 120.5g
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