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

From version 46.1
edited by Saxer Lin
on 2023/08/16 08:54
Change comment: There is no comment for this version
To version 45.1
edited by Edwin Chen
on 2023/05/24 16:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Saxer
1 +XWiki.Edwin
Content
... ... @@ -43,9 +43,8 @@
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  
50 50  == 1.3 Specification ==
51 51  
... ... @@ -70,6 +70,7 @@
70 70  * Cable Length : 1 meter
71 71  * Stable detect distance : 0~~3 meter
72 72  
72 +
73 73  = 2. Connect LHT65N-PIR to IoT Server =
74 74  
75 75  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -98,14 +98,15 @@
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.
101 +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.
104 +(% 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.
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 is in Deep Sleep Mode.
108 108  
109 +
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
185 +**Sensor Model**: For LHT65N-PIR, this value is 0x1A
185 185  
186 -(% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
187 +**Firmware Version**: 0x0100, Means: v1.0.0 version
187 187  
188 -(% style="color:blue" %)**Frequency Band**:
189 +**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**:
219 +**Sub-Band**:
219 219  
220 -AU915 and US915: value 0x00 ~~ 0x08
221 +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**:
227 +**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" %)(((
244 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
244 244  **Size(bytes)**
245 -)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
246 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
246 246  **2**
247 -)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
248 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
248 248  **2**
249 -)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
250 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
250 250  **2**
251 -)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
252 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
252 252  **1**
253 -)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
254 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
254 254  **4**
255 255  )))
256 256  |(% style="width:97px" %)(((
257 -Value
258 +**Value**
258 258  )))|(% style="width:39px" %)(((
259 259  [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
260 260  )))|(% style="width:100px" %)(((
... ... @@ -276,6 +276,7 @@
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  
280 +
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
302 +**Value**
301 301  )))|(% style="width:250px" %)(((
302 302  BAT Status
303 303  00(b): Ultra Low ( BAT <= 2.50v)
... ... @@ -314,9 +314,9 @@
314 314  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
315 315  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
316 316  
319 +
317 317  === 2.5.3 Built-in Temperature ===
318 318  
319 -
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,14 @@
325 325  
326 326  * Temperature:  (0xF5C6-65536)/100=-26.18℃
327 327  
330 +
328 328  === 2.5.4 Built-in Humidity ===
329 329  
330 -
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  
337 +
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" %)(((
354 +|=(% 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" %)(((
356 +)))|=(% 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" %)(((
358 +)))|=(% 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  
409 +
406 406  == 2.7 LED Indicator ==
407 407  
408 408  
... ... @@ -417,6 +417,7 @@
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  
424 +
420 420  == 2.8 installation ==
421 421  
422 422  
... ... @@ -441,6 +441,7 @@
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  
449 +
444 444  = 3. Sensors and Accessories =
445 445  
446 446  == 3.1 E2 Extension Cable ==
... ... @@ -472,6 +472,7 @@
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  
481 +
475 475  == 4.2 General Commands ==
476 476  
477 477  
... ... @@ -513,6 +513,7 @@
513 513  
514 514  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
515 515  
523 +
516 516  === 4.3.2 Get Device Status ===
517 517  
518 518  
... ... @@ -567,13 +567,12 @@
567 567  
568 568  * There is no downlink command to set to Sleep mode.
569 569  
578 +
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: **
576 -
577 577  * **AT+UOA=0**  : Disable UoA
578 578  
579 579  * **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,17 +580,12 @@
580 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  
590 +(% 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.
593 +(% 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 -* **A1 00  ==>  AT+UOA=0  **
591 -* **A1 01 00 02  ==>  AT+UOA=1,2**
592 -
593 -
594 594  = 5. Battery & Power Consumption =
595 595  
596 596  
... ... @@ -615,6 +615,7 @@
615 615  * (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/]]
616 616  * 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]]**.
617 617  
620 +
618 618  = 7. FAQ =
619 619  
620 620  == 7.1 How to use AT Command? ==
... ... @@ -740,6 +740,7 @@
740 740  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
741 741  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
742 742  
746 +
743 743  = 9. Packing Info =
744 744  
745 745  
... ... @@ -747,12 +747,18 @@
747 747  
748 748  * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1
749 749  
754 +**Dimension and weight**:
750 750  
756 +* Device Size:  10 x 10 x 3.5 mm
757 +* Device Weight: 120.5g
758 +
759 +
751 751  = 10. Reference material =
752 752  
753 753  
754 754  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
755 755  
765 +
756 756  = 11. FCC Warning =
757 757  
758 758