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

From version 38.1
edited by Ellie Zhang
on 2023/05/06 10:32
Change comment: Uploaded new attachment "LHT65N-PIR1.jpg", version {1}
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.Ellie
1 +XWiki.Saxer
Content
... ... @@ -1,14 +1,9 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20221206143242-2.png||height="602" width="551"]]
2 +[[image:LHT65N-PIR1.jpg||alt="image-20221206143242-2.png" height="484" width="485"]]
3 3  
4 4  
5 5  
6 6  
7 -
8 -
9 -
10 -
11 -
12 12  **Table of Contents:**
13 13  
14 14  {{toc/}}
... ... @@ -18,9 +18,6 @@
18 18  
19 19  
20 20  
21 -
22 -
23 -
24 24  = 1. Introduction =
25 25  
26 26  == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor ==
... ... @@ -51,10 +51,10 @@
51 51  * Built-in 2400mAh battery for up to 5 years of use.
52 52  * Built-in Temperature & Humidity sensor
53 53  * External PIR Sensor
54 -* Tri-color LED to indicate working status(% style="display:none" %)
46 +* Tri-color LED to indicate working status
55 55  
48 +(% style="display:none" %)
56 56  
57 -
58 58  == 1.3 Specification ==
59 59  
60 60  
... ... @@ -72,16 +72,12 @@
72 72  * Long Term Drift: < 0.02 °C/yr
73 73  * Operating Range: 0 ~~ 96 %RH
74 74  
75 -(% class="mark" style="color:#037691" %)**External PIR Sensor:**
67 +(% style="color:#037691" %)**External PIR Sensor:**
76 76  
77 -* (% class="mark" %)Base on BH1750 Illumination Sensor
78 -* (% class="mark" %)Cable Length : 50cm
79 -* (% class="mark" %)Resolution: 1 lx
80 -* (% class="mark" %)Range: 0-65535 lx
81 -* (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
69 +* Base on RDB223 Sensor
70 +* Cable Length : 1 meter
71 +* Stable detect distance : 0~~3 meter
82 82  
83 -
84 -
85 85  = 2. Connect LHT65N-PIR to IoT Server =
86 86  
87 87  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -110,16 +110,14 @@
110 110  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
111 111  |=(% 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**
112 112  |(% 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 -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.
114 114  )))
115 115  |(% 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" %)(((
116 -(% 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.
117 117  (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
118 118  )))
119 -|(% 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.
120 120  
121 -
122 -
123 123  == 2.3 Example to join LoRaWAN network ==
124 124  
125 125  
... ... @@ -141,7 +141,7 @@
141 141  
142 142  Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
143 143  
144 -[[image:image-20230426083533-1.png]]
130 +[[image:image-20230426083533-1.png||height="286" width="616"]]
145 145  
146 146  
147 147  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
... ... @@ -192,14 +192,15 @@
192 192  
193 193  Example parse in TTNv3
194 194  
195 -[[image:1675144504430-490.png]]
181 +[[image:image-20230508151932-1.png]]
196 196  
197 -**Sensor Model**: For LHT65N-PIR, this value is 0x1A
198 198  
199 -**Firmware Version**: 0x0100, Means: v1.0.0 version
184 +(% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A
200 200  
201 -**Frequency Band**:
186 +(% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
202 202  
188 +(% style="color:blue" %)**Frequency Band**:
189 +
203 203  *0x01: EU868
204 204  
205 205  *0x02: US915
... ... @@ -228,15 +228,15 @@
228 228  
229 229  *0x0e: MA869
230 230  
231 -**Sub-Band**:
218 +(% style="color:blue" %)**Sub-Band**:
232 232  
233 -AU915 and US915:value 0x00 ~~ 0x08
220 +AU915 and US915: value 0x00 ~~ 0x08
234 234  
235 235  CN470: value 0x0B ~~ 0x0C
236 236  
237 237  Other Bands: Always 0x00
238 238  
239 -**Battery Info**:
226 +(% style="color:blue" %)**Battery Info**:
240 240  
241 241  Check the battery voltage.
242 242  
... ... @@ -253,21 +253,21 @@
253 253  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
254 254  
255 255  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
256 -|=(% style="width: 60px;background-color:#D9E2F3" %)(((
243 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
257 257  **Size(bytes)**
258 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
245 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
259 259  **2**
260 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
247 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
261 261  **2**
262 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
249 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
263 263  **2**
264 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
251 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
265 265  **1**
266 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
253 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
267 267  **4**
268 268  )))
269 269  |(% style="width:97px" %)(((
270 -**Value**
257 +Value
271 271  )))|(% style="width:39px" %)(((
272 272  [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
273 273  )))|(% style="width:100px" %)(((
... ... @@ -289,8 +289,6 @@
289 289  * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
290 290  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
291 291  
292 -
293 -
294 294  === 2.5.1 Decoder in TTN V3 ===
295 295  
296 296  
... ... @@ -312,7 +312,7 @@
312 312  **Bit(bit)**
313 313  )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
314 314  |(% style="width:66px" %)(((
315 -**Value**
300 +Value
316 316  )))|(% style="width:250px" %)(((
317 317  BAT Status
318 318  00(b): Ultra Low ( BAT <= 2.50v)
... ... @@ -329,10 +329,9 @@
329 329  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
330 330  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
331 331  
332 -
333 -
334 334  === 2.5.3 Built-in Temperature ===
335 335  
319 +
336 336  [[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"]]
337 337  
338 338  * Temperature:  0x0ABB/100=27.47℃
... ... @@ -341,23 +341,21 @@
341 341  
342 342  * Temperature:  (0xF5C6-65536)/100=-26.18℃
343 343  
344 -
345 -
346 346  === 2.5.4 Built-in Humidity ===
347 347  
330 +
348 348  [[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"]]
349 349  
350 350  * Humidity:    0x025C/10=60.4%
351 351  
352 -
353 -
354 354  === 2.5.5 Ext value ===
355 355  
356 -==== 2.5.5.1 Ext~=0x0A, PIR Sensor ====
337 +==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
357 357  
358 -[[image:image-20221224161634-2.png||height="138" width="851"]]
359 359  
340 +[[image:ext=14.png||alt="image-20221224161634-2.png"]]
360 360  
342 +
361 361  ==== 2.5.5.2 Ext Value ====
362 362  
363 363  
... ... @@ -366,11 +366,11 @@
366 366  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
367 367  
368 368  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %)
369 -|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
351 +|=(% style="width: 107px; background-color:#D9E2F3;color:#0070C0" %)(((
370 370  **The 8^^th^^ byte**
371 -)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
353 +)))|=(% style="width: 73px; background-color:#D9E2F3;color:#0070C0" %)(((
372 372  **Bit 1~~7**
373 -)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
355 +)))|=(% style="width: 213px; background-color:#D9E2F3;color:#0070C0" %)(((
374 374  **Bit 0**
375 375  )))
376 376  |(% style="width:106px" %)(((
... ... @@ -380,7 +380,6 @@
380 380  )))|(% style="width:211px" %)(((
381 381  (((
382 382  0: Normal Uplink
383 -
384 384  1: Uplink by activity detected
385 385  )))
386 386  )))
... ... @@ -422,7 +422,6 @@
422 422  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20221224161957-6.png||height="306" width="852"]]
423 423  
424 424  
425 -
426 426  == 2.7 LED Indicator ==
427 427  
428 428  
... ... @@ -432,13 +432,11 @@
432 432  
433 433  In a normal working state:
434 434  
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
438 -* For each success downlink, the PURPLE LED will blink once
415 +* For each uplink, the (% style="color:blue" %)**BLUE LED**(%%) or (% style="color:red" %)**RED LED**(%%) will blink once.
416 +(% style="color:blue" %)**BLUE LED**(%%) when external sensor is connected.
417 +* (% style="color:red" %)**RED LED**(%%) when external sensor is not connected
418 +* For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
439 439  
440 -
441 -
442 442  == 2.8 installation ==
443 443  
444 444  
... ... @@ -450,16 +450,19 @@
450 450  
451 451  [[image:image-20230411135341-1.png||height="450" width="456"]]
452 452  
431 +
453 453  (% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.**
454 454  
455 455  * 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.
435 +
456 456  * 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.
437 +
457 457  * 3. PIR should not be installed facing the moving objects or background changing objects, movement object will cause airflow change, it may cause false alarm.
439 +
458 458  * 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 +
459 459  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
460 460  
461 -
462 -
463 463  = 3. Sensors and Accessories =
464 464  
465 465  == 3.1 E2 Extension Cable ==
... ... @@ -488,10 +488,9 @@
488 488  LHT65N-PIR supports below configure method:
489 489  
490 490  * AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
472 +
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  
ext=14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +30.5 KB
Content
image-20230508151932-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.kai
Size
... ... @@ -1,0 +1,1 @@
1 +36.0 KB
Content