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

From version 46.2
edited by Xiaoling
on 2023/08/16 10:00
Change comment: There is no comment for this version
To version 44.7
edited by Xiaoling
on 2023/05/16 18:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -43,10 +43,10 @@
43 43  * Built-in 2400mAh battery for up to 5 years of use.
44 44  * Built-in Temperature & Humidity sensor
45 45  * External PIR Sensor
46 -* Tri-color LED to indicate working status
46 +* Tri-color LED to indicate working status(% style="display:none" %)
47 47  
48 -(% style="display:none" %)
49 49  
49 +
50 50  == 1.3 Specification ==
51 51  
52 52  
... ... @@ -64,12 +64,16 @@
64 64  * Long Term Drift: < 0.02 °C/yr
65 65  * Operating Range: 0 ~~ 96 %RH
66 66  
67 -(% style="color:#037691" %)**External PIR Sensor:**
67 +(% class="mark" style="color:#037691" %)**External PIR Sensor:**
68 68  
69 -* Base on RDB223 Sensor
70 -* Cable Length : 1 meter
71 -* Stable detect distance : 0~~3 meter
69 +* (% class="mark" %)Base on BH1750 Illumination Sensor
70 +* (% class="mark" %)Cable Length : 50cm
71 +* (% class="mark" %)Resolution: 1 lx
72 +* (% class="mark" %)Range: 0-65535 lx
73 +* (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
72 72  
75 +
76 +
73 73  = 2. Connect LHT65N-PIR to IoT Server =
74 74  
75 75  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -98,14 +98,16 @@
98 98  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
99 99  |=(% 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**
100 100  |(% 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" %)(((
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.
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.
102 102  )))
103 103  |(% 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" %)(((
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.
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.
105 105  (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
106 106  )))
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.
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.
108 108  
113 +
114 +
109 109  == 2.3 Example to join LoRaWAN network ==
110 110  
111 111  
... ... @@ -181,11 +181,11 @@
181 181  [[image:image-20230508151932-1.png]]
182 182  
183 183  
184 -(% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A
190 +**Sensor Model**: For LHT65N-PIR, this value is 0x1A
185 185  
186 -(% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
192 +**Firmware Version**: 0x0100, Means: v1.0.0 version
187 187  
188 -(% style="color:blue" %)**Frequency Band**:
194 +**Frequency Band**:
189 189  
190 190  *0x01: EU868
191 191  
... ... @@ -215,15 +215,15 @@
215 215  
216 216  *0x0e: MA869
217 217  
218 -(% style="color:blue" %)**Sub-Band**:
224 +**Sub-Band**:
219 219  
220 -AU915 and US915: value 0x00 ~~ 0x08
226 +AU915 and US915:value 0x00 ~~ 0x08
221 221  
222 222  CN470: value 0x0B ~~ 0x0C
223 223  
224 224  Other Bands: Always 0x00
225 225  
226 -(% style="color:blue" %)**Battery Info**:
232 +**Battery Info**:
227 227  
228 228  Check the battery voltage.
229 229  
... ... @@ -240,21 +240,21 @@
240 240  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
241 241  
242 242  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
243 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
249 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
244 244  **Size(bytes)**
245 -)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
251 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
246 246  **2**
247 -)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
253 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
248 248  **2**
249 -)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
255 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
250 250  **2**
251 -)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
257 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
252 252  **1**
253 -)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
259 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
254 254  **4**
255 255  )))
256 256  |(% style="width:97px" %)(((
257 -Value
263 +**Value**
258 258  )))|(% style="width:39px" %)(((
259 259  [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
260 260  )))|(% style="width:100px" %)(((
... ... @@ -276,6 +276,8 @@
276 276  * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
277 277  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
278 278  
285 +
286 +
279 279  === 2.5.1 Decoder in TTN V3 ===
280 280  
281 281  
... ... @@ -297,7 +297,7 @@
297 297  **Bit(bit)**
298 298  )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
299 299  |(% style="width:66px" %)(((
300 -Value
308 +**Value**
301 301  )))|(% style="width:250px" %)(((
302 302  BAT Status
303 303  00(b): Ultra Low ( BAT <= 2.50v)
... ... @@ -314,9 +314,10 @@
314 314  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
315 315  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
316 316  
317 -=== 2.5.3 Built-in Temperature ===
318 318  
319 319  
327 +=== 2.5.3 Built-in Temperature ===
328 +
320 320  [[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"]]
321 321  
322 322  * Temperature:  0x0ABB/100=27.47℃
... ... @@ -325,13 +325,16 @@
325 325  
326 326  * Temperature:  (0xF5C6-65536)/100=-26.18℃
327 327  
328 -=== 2.5.4 Built-in Humidity ===
329 329  
330 330  
339 +=== 2.5.4 Built-in Humidity ===
340 +
331 331  [[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"]]
332 332  
333 333  * Humidity:    0x025C/10=60.4%
334 334  
345 +
346 +
335 335  === 2.5.5 Ext value ===
336 336  
337 337  ==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
... ... @@ -348,11 +348,11 @@
348 348  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
349 349  
350 350  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %)
351 -|=(% style="width: 107px; background-color:#D9E2F3;color:#0070C0" %)(((
363 +|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
352 352  **The 8^^th^^ byte**
353 -)))|=(% style="width: 73px; background-color:#D9E2F3;color:#0070C0" %)(((
365 +)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
354 354  **Bit 1~~7**
355 -)))|=(% style="width: 213px; background-color:#D9E2F3;color:#0070C0" %)(((
367 +)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
356 356  **Bit 0**
357 357  )))
358 358  |(% style="width:106px" %)(((
... ... @@ -403,6 +403,7 @@
403 403  [[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"]]
404 404  
405 405  
418 +
406 406  == 2.7 LED Indicator ==
407 407  
408 408  
... ... @@ -417,6 +417,8 @@
417 417  * (% style="color:red" %)**RED LED**(%%) when external sensor is not connected
418 418  * For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
419 419  
433 +
434 +
420 420  == 2.8 installation ==
421 421  
422 422  
... ... @@ -441,6 +441,8 @@
441 441  
442 442  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
443 443  
459 +
460 +
444 444  = 3. Sensors and Accessories =
445 445  
446 446  == 3.1 E2 Extension Cable ==
... ... @@ -472,6 +472,8 @@
472 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  
492 +
493 +
475 475  == 4.2 General Commands ==
476 476  
477 477  
... ... @@ -513,6 +513,8 @@
513 513  
514 514  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
515 515  
535 +
536 +
516 516  === 4.3.2 Get Device Status ===
517 517  
518 518  
... ... @@ -549,11 +549,11 @@
549 549  
550 550  Feature: Set device to sleep mode
551 551  
552 -* (% style="color:#037691" %)**AT+Sleep=0**(%%)  : Normal working mode, device will sleep and use lower power when there is no LoRa message
573 +* **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
553 553  
554 -* (% style="color:#037691" %)**AT+Sleep=1**(%%) :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
575 +* **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: **
577 +(% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
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**
... ... @@ -567,32 +567,25 @@
567 567  
568 568  * There is no downlink command to set to Sleep mode.
569 569  
591 +
592 +
570 570  === 4.3.5 Set UOA (Uplink on Activity) ===
571 571  
572 572  
573 573  Feature: Enable / Disable Uplink on Activity
574 574  
575 -(% style="color:#4f81bd" %)**AT Command: **
598 +* **AT+UOA=0**  : Disable UoA
576 576  
577 -* (% style="color:#037691" %)**AT+UOA=0**(%%)  : Disable UoA
600 +* **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:#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 -
581 581  (% 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.**
582 582  
604 +(% style="color:#4f81bd" %)**AT Command: AT+UOA**
583 583  
584 -(% style="color:#4f81bd" %)**Downlink Command:**
585 585  
586 -Format: Command Code (0xA1) followed by 1 byte or 3 bytes.
607 +(% style="color:#4f81bd" %)**Downlink Command **(% class="mark" %)**xxxxxxx**
587 587  
588 -When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time.
589 589  
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 -
596 596  = 5. Battery & Power Consumption =
597 597  
598 598  
... ... @@ -617,6 +617,8 @@
617 617  * (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/]]
618 618  * 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]]**.
619 619  
634 +
635 +
620 620  = 7. FAQ =
621 621  
622 622  == 7.1 How to use AT Command? ==
... ... @@ -742,6 +742,8 @@
742 742  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
743 743  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
744 744  
761 +
762 +
745 745  = 9. Packing Info =
746 746  
747 747  
... ... @@ -749,11 +749,20 @@
749 749  
750 750  * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1
751 751  
770 +**Dimension and weight**:
771 +
772 +* Device Size:  10 x 10 x 3.5 mm
773 +* Device Weight: 120.5g
774 +
775 +
776 +
752 752  = 10. Reference material =
753 753  
754 754  
755 755  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
756 756  
782 +
783 +
757 757  = 11. FCC Warning =
758 758  
759 759