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

From version 45.2
edited by Xiaoling
on 2023/05/27 08:43
Change comment: There is no comment for this version
To version 46.4
edited by Xiaoling
on 2023/08/16 10:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -43,8 +43,12 @@
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 +
49 +
50 +(% style="display:none" %)
51 +
48 48  == 1.3 Specification ==
49 49  
50 50  
... ... @@ -68,6 +68,8 @@
68 68  * Cable Length : 1 meter
69 69  * Stable detect distance : 0~~3 meter
70 70  
75 +
76 +
71 71  = 2. Connect LHT65N-PIR to IoT Server =
72 72  
73 73  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -96,14 +96,16 @@
96 96  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
97 97  |=(% 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**
98 98  |(% 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" %)(((
99 -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.
105 +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.
100 100  )))
101 101  |(% 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" %)(((
102 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N 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-PIR will enter working mode and start to JOIN LoRaWAN network.
103 103  (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
104 104  )))
105 -|(% 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.
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-PIR is in Deep Sleep Mode.
106 106  
113 +
114 +
107 107  == 2.3 Example to join LoRaWAN network ==
108 108  
109 109  
... ... @@ -185,42 +185,44 @@
185 185  
186 186  (% style="color:blue" %)**Frequency Band**:
187 187  
188 -*0x01: EU868
196 +0x01: EU868
189 189  
190 -*0x02: US915
198 +0x02: US915
191 191  
192 -*0x03: IN865
200 +0x03: IN865
193 193  
194 -*0x04: AU915
202 +0x04: AU915
195 195  
196 -*0x05: KZ865
204 +0x05: KZ865
197 197  
198 -*0x06: RU864
206 +0x06: RU864
199 199  
200 -*0x07: AS923
208 +0x07: AS923
201 201  
202 -*0x08: AS923-1
210 +0x08: AS923-1
203 203  
204 -*0x09: AS923-2
212 +0x09: AS923-2
205 205  
206 -*0x0a: AS923-3
214 +0x0a: AS923-3
207 207  
208 -*0x0b: CN470
216 +0x0b: CN470
209 209  
210 -*0x0c: EU433
218 +0x0c: EU433
211 211  
212 -*0x0d: KR920
220 +0x0d: KR920
213 213  
214 -*0x0e: MA869
222 +0x0e: MA869
215 215  
224 +
216 216  (% style="color:blue" %)**Sub-Band**:
217 217  
218 -AU915 and US915:value 0x00 ~~ 0x08
227 +AU915 and US915: value 0x00 ~~ 0x08
219 219  
220 220  CN470: value 0x0B ~~ 0x0C
221 221  
222 222  Other Bands: Always 0x00
223 223  
233 +
224 224  (% style="color:blue" %)**Battery Info**:
225 225  
226 226  Check the battery voltage.
... ... @@ -238,21 +238,21 @@
238 238  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
239 239  
240 240  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
241 -|=(% style="width: 60px;background-color:#D9E2F3" %)(((
251 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
242 242  **Size(bytes)**
243 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
253 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
244 244  **2**
245 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
255 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
246 246  **2**
247 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
257 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
248 248  **2**
249 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
259 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
250 250  **1**
251 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
261 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
252 252  **4**
253 253  )))
254 254  |(% style="width:97px" %)(((
255 -**Value**
265 +Value
256 256  )))|(% style="width:39px" %)(((
257 257  [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
258 258  )))|(% style="width:100px" %)(((
... ... @@ -274,6 +274,8 @@
274 274  * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
275 275  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
276 276  
287 +
288 +
277 277  === 2.5.1 Decoder in TTN V3 ===
278 278  
279 279  
... ... @@ -295,7 +295,7 @@
295 295  **Bit(bit)**
296 296  )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
297 297  |(% style="width:66px" %)(((
298 -**Value**
310 +Value
299 299  )))|(% style="width:250px" %)(((
300 300  BAT Status
301 301  00(b): Ultra Low ( BAT <= 2.50v)
... ... @@ -312,8 +312,11 @@
312 312  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
313 313  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
314 314  
327 +
328 +
315 315  === 2.5.3 Built-in Temperature ===
316 316  
331 +
317 317  [[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"]]
318 318  
319 319  * Temperature:  0x0ABB/100=27.47℃
... ... @@ -322,12 +322,17 @@
322 322  
323 323  * Temperature:  (0xF5C6-65536)/100=-26.18℃
324 324  
340 +
341 +
325 325  === 2.5.4 Built-in Humidity ===
326 326  
344 +
327 327  [[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"]]
328 328  
329 329  * Humidity:    0x025C/10=60.4%
330 330  
349 +
350 +
331 331  === 2.5.5 Ext value ===
332 332  
333 333  ==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
... ... @@ -399,7 +399,6 @@
399 399  [[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"]]
400 400  
401 401  
402 -
403 403  == 2.7 LED Indicator ==
404 404  
405 405  
... ... @@ -414,6 +414,8 @@
414 414  * (% style="color:red" %)**RED LED**(%%) when external sensor is not connected
415 415  * For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
416 416  
436 +
437 +
417 417  == 2.8 installation ==
418 418  
419 419  
... ... @@ -438,6 +438,8 @@
438 438  
439 439  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
440 440  
462 +
463 +
441 441  = 3. Sensors and Accessories =
442 442  
443 443  == 3.1 E2 Extension Cable ==
... ... @@ -469,6 +469,8 @@
469 469  
470 470  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
471 471  
495 +
496 +
472 472  == 4.2 General Commands ==
473 473  
474 474  
... ... @@ -493,11 +493,11 @@
493 493  
494 494  Feature: Change LoRaWAN End Node Transmit Interval.
495 495  
496 -(% style="color:#4f81bd" %)**AT Command: AT+TDC**
521 +(% style="color:#4f81bd" %)**AT Command: **
497 497  
498 498  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
499 499  |(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response**
500 -|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
525 +|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
501 501  |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
502 502  
503 503  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
... ... @@ -510,6 +510,8 @@
510 510  
511 511  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
512 512  
538 +
539 +
513 513  === 4.3.2 Get Device Status ===
514 514  
515 515  
... ... @@ -525,7 +525,7 @@
525 525  
526 526  Feature: Set device password, max 9 digits
527 527  
528 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
555 +(% style="color:#4f81bd" %)**AT Command: **
529 529  
530 530  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
531 531  |(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:128px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:89px" %)**Response**
... ... @@ -546,11 +546,11 @@
546 546  
547 547  Feature: Set device to sleep mode
548 548  
549 -* **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
576 +* (% style="color:#037691" %)**AT+Sleep=0**(%%)  : Normal working mode, device will sleep and use lower power when there is no LoRa message
550 550  
551 -* **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
578 +* (% style="color:#037691" %)**AT+Sleep=1**(%%) :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
552 552  
553 -(% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
580 +(% style="color:#4f81bd" %)**AT Command: **
554 554  
555 555  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
556 556  |(% 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**
... ... @@ -564,23 +564,33 @@
564 564  
565 565  * There is no downlink command to set to Sleep mode.
566 566  
594 +
595 +
567 567  === 4.3.5 Set UOA (Uplink on Activity) ===
568 568  
569 569  
570 570  Feature: Enable / Disable Uplink on Activity
571 571  
572 -* **AT+UOA=0**  : Disable UoA
601 +(% style="color:#4f81bd" %)**AT Command: **
573 573  
574 -* **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.
603 +* (% style="color:#037691" %)**AT+UOA=0**(%%)  : Disable UoA
575 575  
605 +* (% 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.
606 +
576 576  (% 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.**
577 577  
578 -(% style="color:#4f81bd" %)**AT Command: AT+UOA**
579 579  
610 +(% style="color:#4f81bd" %)**Downlink Command:**
580 580  
581 -(% style="color:#4f81bd" %)**Downlink Command **(% class="mark" %)**xxxxxxx**
612 +Format: Command Code (0xA1) followed by 1 byte or 3 bytes.
582 582  
614 +When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time.
583 583  
616 +* (% style="color:#037691" %)**A1 00    **(%%)** ==>  AT+UOA=0     **
617 +* (% style="color:#037691" %)**A1 01 00 02  **(%%)** ==>  AT+UOA=1,2**
618 +
619 +
620 +
584 584  = 5. Battery & Power Consumption =
585 585  
586 586  
... ... @@ -605,6 +605,8 @@
605 605  * (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/]]
606 606  * 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]]**.
607 607  
645 +
646 +
608 608  = 7. FAQ =
609 609  
610 610  == 7.1 How to use AT Command? ==
... ... @@ -616,7 +616,6 @@
616 616  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
617 617  
618 618  
619 -
620 620  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
621 621  
622 622  
... ... @@ -677,10 +677,12 @@
677 677  
678 678  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
679 679  
718 +
680 680  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
681 681  
682 682  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615170542-5.png||_mstalt="430638"]]
683 683  
723 +
684 684  (% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
685 685  
686 686  First connect the four lines;(% style="display:none" %)
... ... @@ -693,7 +693,6 @@
693 693  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-2.png||_mstalt="431704"]]
694 694  
695 695  
696 -
697 697  (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
698 698  
699 699  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615171334-6.png||_mstalt="431028"]]
... ... @@ -709,8 +709,6 @@
709 709  
710 710  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
711 711  
712 -
713 -
714 714  [[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"]]
715 715  
716 716  
... ... @@ -730,6 +730,8 @@
730 730  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
731 731  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
732 732  
770 +
771 +
733 733  = 9. Packing Info =
734 734  
735 735  
... ... @@ -737,10 +737,7 @@
737 737  
738 738  * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1
739 739  
740 -**Dimension and weight**:
741 741  
742 -* Device Size:  10 x 10 x 3.5 mm
743 -* Device Weight: 120.5g
744 744  
745 745  = 10. Reference material =
746 746  
... ... @@ -747,6 +747,8 @@
747 747  
748 748  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
749 749  
786 +
787 +
750 750  = 11. FCC Warning =
751 751  
752 752