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

From version 37.11
edited by Xiaoling
on 2023/04/27 10:55
Change comment: There is no comment for this version
To version 46.2
edited by Xiaoling
on 2023/08/16 10:00
Change comment: There is no comment for this version

Summary

Details

Page properties
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,8 +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" %)
49 +
56 56  == 1.3 Specification ==
57 57  
58 58  
... ... @@ -70,13 +70,11 @@
70 70  * Long Term Drift: < 0.02 °C/yr
71 71  * Operating Range: 0 ~~ 96 %RH
72 72  
73 -(% class="mark" style="color:#037691" %)**External PIR Sensor:**
67 +(% style="color:#037691" %)**External PIR Sensor:**
74 74  
75 -* (% class="mark" %)Base on BH1750 Illumination Sensor
76 -* (% class="mark" %)Cable Length : 50cm
77 -* (% class="mark" %)Resolution: 1 lx
78 -* (% class="mark" %)Range: 0-65535 lx
79 -* (% 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
80 80  
81 81  = 2. Connect LHT65N-PIR to IoT Server =
82 82  
... ... @@ -106,13 +106,13 @@
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" %)(((
109 -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.
110 110  )))
111 111  |(% 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" %)(((
112 -(% 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.
113 113  (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
114 114  )))
115 -|(% 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.
116 116  
117 117  == 2.3 Example to join LoRaWAN network ==
118 118  
... ... @@ -135,7 +135,7 @@
135 135  
136 136  Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
137 137  
138 -[[image:image-20230426083533-1.png]]
130 +[[image:image-20230426083533-1.png||height="286" width="616"]]
139 139  
140 140  
141 141  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
... ... @@ -186,14 +186,15 @@
186 186  
187 187  Example parse in TTNv3
188 188  
189 -[[image:1675144504430-490.png]]
181 +[[image:image-20230508151932-1.png]]
190 190  
191 -**Sensor Model**: For LHT65N-PIR, this value is 0x1A
192 192  
193 -**Firmware Version**: 0x0100, Means: v1.0.0 version
184 +(% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A
194 194  
195 -**Frequency Band**:
186 +(% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
196 196  
188 +(% style="color:blue" %)**Frequency Band**:
189 +
197 197  *0x01: EU868
198 198  
199 199  *0x02: US915
... ... @@ -222,15 +222,15 @@
222 222  
223 223  *0x0e: MA869
224 224  
225 -**Sub-Band**:
218 +(% style="color:blue" %)**Sub-Band**:
226 226  
227 -AU915 and US915:value 0x00 ~~ 0x08
220 +AU915 and US915: value 0x00 ~~ 0x08
228 228  
229 229  CN470: value 0x0B ~~ 0x0C
230 230  
231 231  Other Bands: Always 0x00
232 232  
233 -**Battery Info**:
226 +(% style="color:blue" %)**Battery Info**:
234 234  
235 235  Check the battery voltage.
236 236  
... ... @@ -247,21 +247,21 @@
247 247  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
248 248  
249 249  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
250 -|=(% style="width: 60px;background-color:#D9E2F3" %)(((
243 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
251 251  **Size(bytes)**
252 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
245 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
253 253  **2**
254 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
247 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
255 255  **2**
256 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
249 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
257 257  **2**
258 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
251 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
259 259  **1**
260 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
253 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
261 261  **4**
262 262  )))
263 263  |(% style="width:97px" %)(((
264 -**Value**
257 +Value
265 265  )))|(% style="width:39px" %)(((
266 266  [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
267 267  )))|(% style="width:100px" %)(((
... ... @@ -304,7 +304,7 @@
304 304  **Bit(bit)**
305 305  )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
306 306  |(% style="width:66px" %)(((
307 -**Value**
300 +Value
308 308  )))|(% style="width:250px" %)(((
309 309  BAT Status
310 310  00(b): Ultra Low ( BAT <= 2.50v)
... ... @@ -323,6 +323,7 @@
323 323  
324 324  === 2.5.3 Built-in Temperature ===
325 325  
319 +
326 326  [[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"]]
327 327  
328 328  * Temperature:  0x0ABB/100=27.47℃
... ... @@ -333,6 +333,7 @@
333 333  
334 334  === 2.5.4 Built-in Humidity ===
335 335  
330 +
336 336  [[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"]]
337 337  
338 338  * Humidity:    0x025C/10=60.4%
... ... @@ -339,11 +339,12 @@
339 339  
340 340  === 2.5.5 Ext value ===
341 341  
342 -==== 2.5.5.1 Ext~=0x0A, PIR Sensor ====
337 +==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
343 343  
344 -[[image:image-20221224161634-2.png||height="138" width="851"]]
345 345  
340 +[[image:ext=14.png||alt="image-20221224161634-2.png"]]
346 346  
342 +
347 347  ==== 2.5.5.2 Ext Value ====
348 348  
349 349  
... ... @@ -352,11 +352,11 @@
352 352  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
353 353  
354 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);" %)(((
351 +|=(% style="width: 107px; 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);" %)(((
353 +)))|=(% style="width: 73px; 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);" %)(((
355 +)))|=(% style="width: 213px; background-color:#D9E2F3;color:#0070C0" %)(((
360 360  **Bit 0**
361 361  )))
362 362  |(% style="width:106px" %)(((
... ... @@ -366,7 +366,6 @@
366 366  )))|(% style="width:211px" %)(((
367 367  (((
368 368  0: Normal Uplink
369 -
370 370  1: Uplink by activity detected
371 371  )))
372 372  )))
... ... @@ -408,7 +408,6 @@
408 408  [[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"]]
409 409  
410 410  
411 -
412 412  == 2.7 LED Indicator ==
413 413  
414 414  
... ... @@ -418,10 +418,10 @@
418 418  
419 419  In a normal working state:
420 420  
421 -* For each uplink, the BLUE LED or RED LED will blink once.
422 -BLUE LED when external sensor is connected.
423 -* RED LED when external sensor is not connected
424 -* 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
425 425  
426 426  == 2.8 installation ==
427 427  
... ... @@ -434,12 +434,17 @@
434 434  
435 435  [[image:image-20230411135341-1.png||height="450" width="456"]]
436 436  
431 +
437 437  (% style="color:red" %)**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.
435 +
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.
437 +
441 441  * 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 +
442 442  * 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 +
443 443  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
444 444  
445 445  = 3. Sensors and Accessories =
... ... @@ -470,6 +470,7 @@
470 470  LHT65N-PIR supports below configure method:
471 471  
472 472  * AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
472 +
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 ==
... ... @@ -549,11 +549,11 @@
549 549  
550 550  Feature: Set device to sleep mode
551 551  
552 -* **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
552 +* (% style="color:#037691" %)**AT+Sleep=0**(%%)  : Normal working mode, device will sleep and use lower power when there is no LoRa message
553 553  
554 -* **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
554 +* (% style="color:#037691" %)**AT+Sleep=1**(%%) :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
555 555  
556 -(% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
556 +(% style="color:#4f81bd" %)**AT Command: **
557 557  
558 558  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
559 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**
... ... @@ -572,18 +572,27 @@
572 572  
573 573  Feature: Enable / Disable Uplink on Activity
574 574  
575 -* **AT+UOA=0**  : Disable UoA
575 +(% style="color:#4f81bd" %)**AT Command: **
576 576  
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.
577 +* (% style="color:#037691" %)**AT+UOA=0**(%%)  : Disable UoA
578 578  
579 +* (% style="color:#037691" %)**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.
580 +
579 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.**
580 580  
581 -(% style="color:#4f81bd" %)**AT Command: AT+UOA**
582 582  
584 +(% style="color:#4f81bd" %)**Downlink Command:**
583 583  
584 -(% style="color:#4f81bd" %)**Downlink Command **(% class="mark" %)**xxxxxxx**
586 +Format: Command Code (0xA1) followed by 1 byte or 3 bytes.
585 585  
588 +When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time.
586 586  
590 +* (% style="color:#037691" %)**A1 00  (%%) ==>  AT+UOA=0     **
591 +* (% style="color:#037691" %)**A1 01 00 02  (%%) ==>  AT+UOA=1,2**
592 +
593 +
594 +
595 +
587 587  = 5. Battery & Power Consumption =
588 588  
589 589  
... ... @@ -628,7 +628,6 @@
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  
630 630  
631 -
632 632  == 7.2 Where to use AT commands and Downlink commands ==
633 633  
634 634  
... ... @@ -741,11 +741,6 @@
741 741  
742 742  * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1
743 743  
744 -**Dimension and weight**:
745 -
746 -* Device Size:  10 x 10 x 3.5 mm
747 -* Device Weight: 120.5g
748 -
749 749  = 10. Reference material =
750 750  
751 751  
LHT65N-PIR1.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +47.3 KB
Content
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