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

From version 25.1
edited by Edwin Chen
on 2023/04/16 18:08
Change comment: There is no comment for this version
To version 17.1
edited by Edwin Chen
on 2023/04/09 09:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LHT65-PIR Temperature/Humidity/PIR Motion Sensor User Manual
1 +LHT65-PIR Temperature/Humidity/PIR Sensor User Manual
Content
... ... @@ -156,73 +156,8 @@
156 156  [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]]
157 157  
158 158  
159 -== 2.4 Uplink Payload~-~-Device Status, (Fport~=5) ==
159 +== 2.4 Uplink Payload   ( Fport~=2) ==
160 160  
161 -Users can use the downlink command(**0x26 01**) to ask LHT65N-PIR to send device configure detail, include device configure status. LHT65N-PIR will uplink a payload via FPort=5 to server.
162 -
163 -The Payload format is as below.
164 -
165 -|(% colspan="6" %)**Device Status (FPORT=5)**
166 -|**Size (bytes)**|**1**|**2**|**1**|**1**|**2**
167 -|**Value**|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT
168 -
169 -Example parse in TTNv3
170 -
171 -[[image:1675144504430-490.png]]
172 -
173 -**Sensor Model**: For LHT65N-PIR, this value is 0x1A
174 -
175 -**Firmware Version**: 0x0100, Means: v1.0.0 version
176 -
177 -**Frequency Band**:
178 -
179 -*0x01: EU868
180 -
181 -*0x02: US915
182 -
183 -*0x03: IN865
184 -
185 -*0x04: AU915
186 -
187 -*0x05: KZ865
188 -
189 -*0x06: RU864
190 -
191 -*0x07: AS923
192 -
193 -*0x08: AS923-1
194 -
195 -*0x09: AS923-2
196 -
197 -*0x0a: AS923-3
198 -
199 -*0x0b: CN470
200 -
201 -*0x0c: EU433
202 -
203 -*0x0d: KR920
204 -
205 -*0x0e: MA869
206 -
207 -**Sub-Band**:
208 -
209 -AU915 and US915:value 0x00 ~~ 0x08
210 -
211 -CN470: value 0x0B ~~ 0x0C
212 -
213 -Other Bands: Always 0x00
214 -
215 -**Battery Info**:
216 -
217 -Check the battery voltage.
218 -
219 -Ex1: 0x0B45 = 2885mV
220 -
221 -Ex2: 0x0B49 = 2889mV
222 -
223 -
224 -== 2.5 Uplink Payload, Sensor Data  ( Fport~=2) ==
225 -
226 226  The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
227 227  
228 228  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
... ... @@ -264,7 +264,7 @@
264 264  * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
265 265  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
266 266  
267 -=== 2.5.1 Decoder in TTN V3 ===
202 +=== 2.4.1 Decoder in TTN V3 ===
268 268  
269 269  
270 270  When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N-PIR decoder in TTNv3 for friendly reading.
... ... @@ -275,7 +275,7 @@
275 275  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]]
276 276  
277 277  
278 -=== 2.5.2 BAT-Battery Info ===
213 +=== 2.4.2 BAT-Battery Info ===
279 279  
280 280  
281 281  These two bytes of BAT include the battery state and the actually voltage
... ... @@ -291,7 +291,7 @@
291 291  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
292 292  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
293 293  
294 -=== 2.5.3 Built-in Temperature ===
229 +=== 2.4.3 Built-in Temperature ===
295 295  
296 296  [[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"]]
297 297  
... ... @@ -301,20 +301,20 @@
301 301  
302 302  * Temperature:  (0xF5C6-65536)/100=-26.18℃
303 303  
304 -=== 2.5.4 Built-in Humidity ===
239 +=== 2.4.4 Built-in Humidity ===
305 305  
306 306  [[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"]]
307 307  
308 308  * Humidity:    0x025C/10=60.4%
309 309  
310 -=== 2.5.5 Ext value ===
245 +=== 2.4.5 Ext value ===
311 311  
312 -==== 2.5.5.1 Ext~=0x0A, PIR Sensor ====
247 +==== 2.4.5.1 Ext~=0x0A, PIR Sensor ====
313 313  
314 314  [[image:image-20221224161634-2.png||height="138" width="851"]]
315 315  
316 316  
317 -==== 2.5.5.2 Ext Value ====
252 +==== 2.4.5.2 Ext Value ====
318 318  
319 319  There are 4 bytes in Ext Value field.
320 320  
... ... @@ -348,7 +348,7 @@
348 348  0x00 E5 09 : Total detect 58633 activity since end node start.
349 349  
350 350  
351 -== 2.6 Show data on Datacake ==
286 +== 2.5 Show data on Datacake ==
352 352  
353 353  Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
354 354  
... ... @@ -378,7 +378,7 @@
378 378  
379 379  
380 380  
381 -== 2.7 LED Indicator ==
316 +== 2.8 LED Indicator ==
382 382  
383 383  
384 384  The LHT65N-PIR has a triple color LED which for easy showing different stage .
... ... @@ -392,25 +392,14 @@
392 392  * RED LED when external sensor is not connected
393 393  * For each success downlink, the PURPLE LED will blink once
394 394  
395 -== 2.8 installation ==
330 +== 2.9 installation ==
396 396  
397 -~1. Don't install LHT65N-PIR outdoor or place where will get wet.
332 +~1. Don't install LHT65N-PIR outdoor or place where will get wet
398 398  
399 -2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
334 +2. Towards the PIR probe to the place where need to monitor activity.
400 400  
401 -Stable distance is 0~~3m. Some motion might not detected between 3~~5 m.
402 402  
403 -[[image:image-20230411135341-1.png||height="450" width="456"]]
404 404  
405 -**Notice: PIR can only detect motion activity, not to use to detect static people case.**
406 -
407 -* 1. PIR Motion Detector should not be installed near the Air conditioner places where with cold wind or hot wind flow, because PIR motion detector is sensitive with the temperature changes of the environment. Environment changes quickly will cause a false alarm.
408 -* 2. PIR should not be installed facing the glass window, facing glass window will be interfered by the outside sunlight and moving objects (people or vehicle). The infrared energy can penetrate the glass window.
409 -* 3. PIR should not be installed facing the moving objects or background changing objects, movement object will cause airflow change, it may cause false alarm.
410 -* 4. Between the detection range of PIR Motion detector, there is should be less objects.  Many objects may reduce the sensitive of detection range.
411 -* 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
412 -
413 -
414 414  = 3. Sensors and Accessories =
415 415  
416 416  == 3.1 E2 Extension Cable ==
... ... @@ -441,6 +441,7 @@
441 441  * AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]].
442 442  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
443 443  
368 +
444 444  == 4.2 General Commands ==
445 445  
446 446  
... ... @@ -481,6 +481,7 @@
481 481  
482 482  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
483 483  
409 +
484 484  === 4.3.2 Get Device Status ===
485 485  
486 486  Send a LoRaWAN downlink to ask device send Alarm settings.
... ... @@ -516,6 +516,7 @@
516 516  
517 517  * 0xA205: Set external sensor type to E5
518 518  
445 +
519 519  === 4.3.4 Set to sleep mode ===
520 520  
521 521  
... ... @@ -533,6 +533,7 @@
533 533  
534 534  * There is no downlink command to set to Sleep mode.
535 535  
463 +
536 536  === 4.3.5 Set UOA (Uplink on Activity) ===
537 537  
538 538  Feature: Enable / Disable Uplink on Activity
... ... @@ -540,12 +540,11 @@
540 540  * **AT+UOA=0**  : Disable UoA
541 541  * **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.
542 542  
543 -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.
544 544  
545 545  (% style="color:#4f81bd" %)**AT Command: AT+UOA**
546 546  
547 547  
548 -(% style="color:#4f81bd" %)**Downlink Command:  **(% class="mark" %)**xxxxxxx**
475 +(% style="color:#4f81bd" %)**Downlink Command:  (% class="mark" %)xxxxxxx(%%)**
549 549  
550 550  
551 551  = 5. Battery & Power Consumption =
... ... @@ -557,25 +557,14 @@
557 557  
558 558  = 6. OTA firmware update =
559 559  
560 -User can change firmware S31x-LB to:
487 +Please see this link for how to do OTA firmware update: [[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/]]
561 561  
562 -* Change Frequency band/ region.
563 -* Update with new features.
564 -* Fix bugs.
565 565  
566 -Firmware and changelog can be downloaded from : **[[Firmware download link>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
490 += 6. FAQ =
567 567  
568 -Methods to Update Firmware:
492 +== 6.1 How to use AT Command? ==
569 569  
570 -* (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/]]
571 -* 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]]**.
572 572  
573 -
574 -= 7. FAQ =
575 -
576 -== 7.1 How to use AT Command? ==
577 -
578 -
579 579  LHT65N-E5 supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below.
580 580  
581 581  
... ... @@ -592,7 +592,7 @@
592 592  
593 593  
594 594  
595 -== 7.2 Where to use AT commands and Downlink commands ==
511 +== 6.2 Where to use AT commands and Downlink commands ==
596 596  
597 597  
598 598  **AT commands:**
... ... @@ -631,7 +631,7 @@
631 631  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
632 632  
633 633  
634 -== 7.3 How to change the uplink interval? ==
550 +== 6.3 How to change the uplink interval? ==
635 635  
636 636  Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]]
637 637  
... ... @@ -638,7 +638,7 @@
638 638  [[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"]]
639 639  
640 640  
641 -== 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
557 +== 6.4 How to use TTL-USB to connect PC to upgrade firmware? ==
642 642  
643 643  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
644 644  
... ... @@ -679,7 +679,7 @@
679 679  [[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"]]
680 680  
681 681  
682 -= 8. Order Info =
598 += 7. Order Info =
683 683  
684 684  
685 685  Part Number: (% style="color:#4f81bd" %)** LHT65N-PIR-XX**
... ... @@ -695,7 +695,7 @@
695 695  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
696 696  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
697 697  
698 -= 9. Packing Info =
614 += 8. Packing Info =
699 699  
700 700  
701 701  **Package Includes**:
... ... @@ -707,12 +707,12 @@
707 707  * Device Size:  10 x 10 x 3.5 mm
708 708  * Device Weight: 120.5g
709 709  
710 -= 10. Reference material =
626 += 9. Reference material =
711 711  
712 712  
713 713  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
714 714  
715 -= 11. FCC Warning =
631 += 10. FCC Warning =
716 716  
717 717  
718 718  This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
image-20230411114550-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -268.1 KB
Content
image-20230411135341-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -113.6 KB
Content