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

From version 45.1
edited by Edwin Chen
on 2023/05/24 16:01
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.Edwin
1 +XWiki.Saxer
Content
... ... @@ -43,8 +43,9 @@
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(% style="display:none" %)
46 +* Tri-color LED to indicate working status
47 47  
48 +(% style="display:none" %)
48 48  
49 49  == 1.3 Specification ==
50 50  
... ... @@ -69,7 +69,6 @@
69 69  * Cable Length : 1 meter
70 70  * Stable detect distance : 0~~3 meter
71 71  
72 -
73 73  = 2. Connect LHT65N-PIR to IoT Server =
74 74  
75 75  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -98,15 +98,14 @@
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 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.
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 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.
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 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.
108 108  
109 -
110 110  == 2.3 Example to join LoRaWAN network ==
111 111  
112 112  
... ... @@ -182,11 +182,11 @@
182 182  [[image:image-20230508151932-1.png]]
183 183  
184 184  
185 -**Sensor Model**: For LHT65N-PIR, this value is 0x1A
184 +(% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A
186 186  
187 -**Firmware Version**: 0x0100, Means: v1.0.0 version
186 +(% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
188 188  
189 -**Frequency Band**:
188 +(% style="color:blue" %)**Frequency Band**:
190 190  
191 191  *0x01: EU868
192 192  
... ... @@ -216,15 +216,15 @@
216 216  
217 217  *0x0e: MA869
218 218  
219 -**Sub-Band**:
218 +(% style="color:blue" %)**Sub-Band**:
220 220  
221 -AU915 and US915:value 0x00 ~~ 0x08
220 +AU915 and US915: value 0x00 ~~ 0x08
222 222  
223 223  CN470: value 0x0B ~~ 0x0C
224 224  
225 225  Other Bands: Always 0x00
226 226  
227 -**Battery Info**:
226 +(% style="color:blue" %)**Battery Info**:
228 228  
229 229  Check the battery voltage.
230 230  
... ... @@ -241,21 +241,21 @@
241 241  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
242 242  
243 243  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
244 -|=(% style="width: 60px;background-color:#D9E2F3" %)(((
243 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
245 245  **Size(bytes)**
246 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
245 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
247 247  **2**
248 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
247 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
249 249  **2**
250 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
249 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
251 251  **2**
252 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
251 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
253 253  **1**
254 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
253 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
255 255  **4**
256 256  )))
257 257  |(% style="width:97px" %)(((
258 -**Value**
257 +Value
259 259  )))|(% style="width:39px" %)(((
260 260  [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
261 261  )))|(% style="width:100px" %)(((
... ... @@ -277,7 +277,6 @@
277 277  * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
278 278  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
279 279  
280 -
281 281  === 2.5.1 Decoder in TTN V3 ===
282 282  
283 283  
... ... @@ -299,7 +299,7 @@
299 299  **Bit(bit)**
300 300  )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
301 301  |(% style="width:66px" %)(((
302 -**Value**
300 +Value
303 303  )))|(% style="width:250px" %)(((
304 304  BAT Status
305 305  00(b): Ultra Low ( BAT <= 2.50v)
... ... @@ -316,9 +316,9 @@
316 316  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
317 317  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
318 318  
319 -
320 320  === 2.5.3 Built-in Temperature ===
321 321  
319 +
322 322  [[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"]]
323 323  
324 324  * Temperature:  0x0ABB/100=27.47℃
... ... @@ -327,14 +327,13 @@
327 327  
328 328  * Temperature:  (0xF5C6-65536)/100=-26.18℃
329 329  
330 -
331 331  === 2.5.4 Built-in Humidity ===
332 332  
330 +
333 333  [[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"]]
334 334  
335 335  * Humidity:    0x025C/10=60.4%
336 336  
337 -
338 338  === 2.5.5 Ext value ===
339 339  
340 340  ==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
... ... @@ -351,11 +351,11 @@
351 351  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
352 352  
353 353  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %)
354 -|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
351 +|=(% style="width: 107px; background-color:#D9E2F3;color:#0070C0" %)(((
355 355  **The 8^^th^^ byte**
356 -)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
353 +)))|=(% style="width: 73px; background-color:#D9E2F3;color:#0070C0" %)(((
357 357  **Bit 1~~7**
358 -)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
355 +)))|=(% style="width: 213px; background-color:#D9E2F3;color:#0070C0" %)(((
359 359  **Bit 0**
360 360  )))
361 361  |(% style="width:106px" %)(((
... ... @@ -406,7 +406,6 @@
406 406  [[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"]]
407 407  
408 408  
409 -
410 410  == 2.7 LED Indicator ==
411 411  
412 412  
... ... @@ -421,7 +421,6 @@
421 421  * (% style="color:red" %)**RED LED**(%%) when external sensor is not connected
422 422  * For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
423 423  
424 -
425 425  == 2.8 installation ==
426 426  
427 427  
... ... @@ -446,7 +446,6 @@
446 446  
447 447  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
448 448  
449 -
450 450  = 3. Sensors and Accessories =
451 451  
452 452  == 3.1 E2 Extension Cable ==
... ... @@ -478,7 +478,6 @@
478 478  
479 479  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
480 480  
481 -
482 482  == 4.2 General Commands ==
483 483  
484 484  
... ... @@ -520,7 +520,6 @@
520 520  
521 521  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
522 522  
523 -
524 524  === 4.3.2 Get Device Status ===
525 525  
526 526  
... ... @@ -575,12 +575,13 @@
575 575  
576 576  * There is no downlink command to set to Sleep mode.
577 577  
578 -
579 579  === 4.3.5 Set UOA (Uplink on Activity) ===
580 580  
581 581  
582 582  Feature: Enable / Disable Uplink on Activity
583 583  
575 +(% style="color:#4f81bd" %)**AT Command: **
576 +
584 584  * **AT+UOA=0**  : Disable UoA
585 585  
586 586  * **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.
... ... @@ -587,12 +587,17 @@
587 587  
588 588  (% 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.**
589 589  
590 -(% style="color:#4f81bd" %)**AT Command: AT+UOA**
591 591  
584 +(% style="color:#4f81bd" %)**Downlink Command:**
592 592  
593 -(% style="color:#4f81bd" %)**Downlink Command **(% class="mark" %)**xxxxxxx**
586 +Format: Command Code (0xA1) followed by 1 byte or 3 bytes.
594 594  
588 +When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time.
595 595  
590 +* **A1 00  ==>  AT+UOA=0  **
591 +* **A1 01 00 02  ==>  AT+UOA=1,2**
592 +
593 +
596 596  = 5. Battery & Power Consumption =
597 597  
598 598  
... ... @@ -617,7 +617,6 @@
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  
620 -
621 621  = 7. FAQ =
622 622  
623 623  == 7.1 How to use AT Command? ==
... ... @@ -743,7 +743,6 @@
743 743  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
744 744  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
745 745  
746 -
747 747  = 9. Packing Info =
748 748  
749 749  
... ... @@ -751,18 +751,12 @@
751 751  
752 752  * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1
753 753  
754 -**Dimension and weight**:
755 755  
756 -* Device Size:  10 x 10 x 3.5 mm
757 -* Device Weight: 120.5g
758 -
759 -
760 760  = 10. Reference material =
761 761  
762 762  
763 763  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
764 764  
765 -
766 766  = 11. FCC Warning =
767 767  
768 768