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.4
edited by Xiaoling
on 2023/08/16 10:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -43,9 +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 48  
49 +
50 +(% style="display:none" %)
51 +
49 49  == 1.3 Specification ==
50 50  
51 51  
... ... @@ -70,6 +70,7 @@
70 70  * Stable detect distance : 0~~3 meter
71 71  
72 72  
76 +
73 73  = 2. Connect LHT65N-PIR to IoT Server =
74 74  
75 75  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -98,15 +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 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.
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.
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.
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.
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.
108 108  
109 109  
114 +
110 110  == 2.3 Example to join LoRaWAN network ==
111 111  
112 112  
... ... @@ -182,50 +182,52 @@
182 182  [[image:image-20230508151932-1.png]]
183 183  
184 184  
185 -**Sensor Model**: For LHT65N-PIR, this value is 0x1A
190 +(% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A
186 186  
187 -**Firmware Version**: 0x0100, Means: v1.0.0 version
192 +(% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
188 188  
189 -**Frequency Band**:
194 +(% style="color:blue" %)**Frequency Band**:
190 190  
191 -*0x01: EU868
196 +0x01: EU868
192 192  
193 -*0x02: US915
198 +0x02: US915
194 194  
195 -*0x03: IN865
200 +0x03: IN865
196 196  
197 -*0x04: AU915
202 +0x04: AU915
198 198  
199 -*0x05: KZ865
204 +0x05: KZ865
200 200  
201 -*0x06: RU864
206 +0x06: RU864
202 202  
203 -*0x07: AS923
208 +0x07: AS923
204 204  
205 -*0x08: AS923-1
210 +0x08: AS923-1
206 206  
207 -*0x09: AS923-2
212 +0x09: AS923-2
208 208  
209 -*0x0a: AS923-3
214 +0x0a: AS923-3
210 210  
211 -*0x0b: CN470
216 +0x0b: CN470
212 212  
213 -*0x0c: EU433
218 +0x0c: EU433
214 214  
215 -*0x0d: KR920
220 +0x0d: KR920
216 216  
217 -*0x0e: MA869
222 +0x0e: MA869
218 218  
219 -**Sub-Band**:
220 220  
221 -AU915 and US915:value 0x00 ~~ 0x08
225 +(% style="color:blue" %)**Sub-Band**:
222 222  
227 +AU915 and US915: value 0x00 ~~ 0x08
228 +
223 223  CN470: value 0x0B ~~ 0x0C
224 224  
225 225  Other Bands: Always 0x00
226 226  
227 -**Battery Info**:
228 228  
234 +(% style="color:blue" %)**Battery Info**:
235 +
229 229  Check the battery voltage.
230 230  
231 231  Ex1: 0x0B45 = 2885mV
... ... @@ -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" %)(((
251 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
245 245  **Size(bytes)**
246 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
253 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
247 247  **2**
248 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
255 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
249 249  **2**
250 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
257 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
251 251  **2**
252 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
259 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
253 253  **1**
254 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
261 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
255 255  **4**
256 256  )))
257 257  |(% style="width:97px" %)(((
258 -**Value**
265 +Value
259 259  )))|(% style="width:39px" %)(((
260 260  [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
261 261  )))|(% style="width:100px" %)(((
... ... @@ -278,6 +278,7 @@
278 278  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
279 279  
280 280  
288 +
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**
310 +Value
303 303  )))|(% style="width:250px" %)(((
304 304  BAT Status
305 305  00(b): Ultra Low ( BAT <= 2.50v)
... ... @@ -317,8 +317,10 @@
317 317  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
318 318  
319 319  
328 +
320 320  === 2.5.3 Built-in Temperature ===
321 321  
331 +
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℃
... ... @@ -328,13 +328,16 @@
328 328  * Temperature:  (0xF5C6-65536)/100=-26.18℃
329 329  
330 330  
341 +
331 331  === 2.5.4 Built-in Humidity ===
332 332  
344 +
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 337  
350 +
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);" %)(((
367 +|=(% 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);" %)(((
369 +)))|=(% 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);" %)(((
371 +)))|=(% 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  
... ... @@ -422,6 +422,7 @@
422 422  * For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
423 423  
424 424  
437 +
425 425  == 2.8 installation ==
426 426  
427 427  
... ... @@ -447,6 +447,7 @@
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 449  
463 +
450 450  = 3. Sensors and Accessories =
451 451  
452 452  == 3.1 E2 Extension Cable ==
... ... @@ -479,6 +479,7 @@
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 481  
496 +
482 482  == 4.2 General Commands ==
483 483  
484 484  
... ... @@ -503,11 +503,11 @@
503 503  
504 504  Feature: Change LoRaWAN End Node Transmit Interval.
505 505  
506 -(% style="color:#4f81bd" %)**AT Command: AT+TDC**
521 +(% style="color:#4f81bd" %)**AT Command: **
507 507  
508 508  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
509 509  |(% 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**
510 -|(% 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
511 511  |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
512 512  
513 513  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
... ... @@ -521,6 +521,7 @@
521 521  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
522 522  
523 523  
539 +
524 524  === 4.3.2 Get Device Status ===
525 525  
526 526  
... ... @@ -536,7 +536,7 @@
536 536  
537 537  Feature: Set device password, max 9 digits
538 538  
539 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
555 +(% style="color:#4f81bd" %)**AT Command: **
540 540  
541 541  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
542 542  |(% 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**
... ... @@ -557,11 +557,11 @@
557 557  
558 558  Feature: Set device to sleep mode
559 559  
560 -* **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
561 561  
562 -* **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.
563 563  
564 -(% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
580 +(% style="color:#4f81bd" %)**AT Command: **
565 565  
566 566  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
567 567  |(% 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**
... ... @@ -576,23 +576,32 @@
576 576  * There is no downlink command to set to Sleep mode.
577 577  
578 578  
595 +
579 579  === 4.3.5 Set UOA (Uplink on Activity) ===
580 580  
581 581  
582 582  Feature: Enable / Disable Uplink on Activity
583 583  
584 -* **AT+UOA=0**  : Disable UoA
601 +(% style="color:#4f81bd" %)**AT Command: **
585 585  
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.
603 +* (% style="color:#037691" %)**AT+UOA=0**(%%)  : Disable UoA
587 587  
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 +
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  
610 +(% style="color:#4f81bd" %)**Downlink Command:**
592 592  
593 -(% style="color:#4f81bd" %)**Downlink Command **(% class="mark" %)**xxxxxxx**
612 +Format: Command Code (0xA1) followed by 1 byte or 3 bytes.
594 594  
614 +When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time.
595 595  
616 +* (% style="color:#037691" %)**A1 00    **(%%)** ==>  AT+UOA=0     **
617 +* (% style="color:#037691" %)**A1 01 00 02  **(%%)** ==>  AT+UOA=1,2**
618 +
619 +
620 +
596 596  = 5. Battery & Power Consumption =
597 597  
598 598  
... ... @@ -618,6 +618,7 @@
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 620  
646 +
621 621  = 7. FAQ =
622 622  
623 623  == 7.1 How to use AT Command? ==
... ... @@ -629,7 +629,6 @@
629 629  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
630 630  
631 631  
632 -
633 633  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
634 634  
635 635  
... ... @@ -690,10 +690,12 @@
690 690  
691 691  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
692 692  
718 +
693 693  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
694 694  
695 695  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615170542-5.png||_mstalt="430638"]]
696 696  
723 +
697 697  (% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
698 698  
699 699  First connect the four lines;(% style="display:none" %)
... ... @@ -706,7 +706,6 @@
706 706  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-2.png||_mstalt="431704"]]
707 707  
708 708  
709 -
710 710  (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
711 711  
712 712  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615171334-6.png||_mstalt="431028"]]
... ... @@ -722,8 +722,6 @@
722 722  
723 723  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
724 724  
725 -
726 -
727 727  [[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"]]
728 728  
729 729  
... ... @@ -744,6 +744,7 @@
744 744  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
745 745  
746 746  
771 +
747 747  = 9. Packing Info =
748 748  
749 749  
... ... @@ -751,12 +751,8 @@
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 758  
759 -
760 760  = 10. Reference material =
761 761  
762 762  
... ... @@ -763,6 +763,7 @@
763 763  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
764 764  
765 765  
787 +
766 766  = 11. FCC Warning =
767 767  
768 768