Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/06/10 09:17
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,9 +1,14 @@ 1 1 (% style="text-align:center" %) 2 -[[image: LHT65N-PIR1.jpg||alt="image-20221206143242-2.png"height="484" width="485"]]2 +[[image:image-20221206143242-2.png||height="602" width="551"]] 3 3 4 4 5 5 6 6 7 + 8 + 9 + 10 + 11 + 7 7 **Table of Contents:** 8 8 9 9 {{toc/}} ... ... @@ -13,11 +13,13 @@ 13 13 14 14 15 15 21 + 22 + 23 + 16 16 = 1. Introduction = 17 17 18 18 == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor == 19 19 20 - 21 21 The Dragino (% style="color:blue" %)**LHT65N-PIR Temperature, Humidity & PIR sensor**(%%) is a Long Range LoRaWAN Sensor.It includes a (% style="color:blue" %)**built-in Temperature & Humidity sensor**(%%) and has an (% style="color:blue" %)**external PIR Probe**(%%)**.** LHT65N-PIR can detect environment Temperature & Humdity, it also detects (% style="color:blue" %)**People Activity**(%%) via PIR probe and them send these info to LoRaWAN IoT Server. 22 22 23 23 The LHT65N-PIR allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on. ... ... @@ -28,12 +28,12 @@ 28 28 29 29 LHT65N-PIR is fully compatible with (% style="color:blue" %)**LoRaWAN v1.0.3 Class A protocol**(%%), it can work with a standard LoRaWAN gateway. 30 30 38 + 31 31 **~*~***The actual battery life depends on how often to send data, please see battery analyzer chapter. 32 32 33 33 34 34 == 1.2 Features == 35 35 36 - 37 37 * LoRaWAN v1.0.3 Class A protocol 38 38 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915 39 39 * AT Commands to change parameters ... ... @@ -62,17 +62,19 @@ 62 62 * Long Term Drift: < 0.02 °C/yr 63 63 * Operating Range: 0 ~~ 96 %RH 64 64 65 -(% style="color:#037691" %)**External PIR Sensor:** 72 +(% class="mark" style="color:#037691" %)**External PIR Sensor:** 66 66 67 -* Base on RDB223 Sensor 68 -* Cable Length : 1 meter 69 -* Stable detect distance : 0~~3 meter 74 +* (% class="mark" %)Base on BH1750 Illumination Sensor 75 +* (% class="mark" %)Cable Length : 50cm 76 +* (% class="mark" %)Resolution: 1 lx 77 +* (% class="mark" %)Range: 0-65535 lx 78 +* (% class="mark" %)Operating Range: -40 °C ~~ 85 °C 79 +* 70 70 71 71 = 2. Connect LHT65N-PIR to IoT Server = 72 72 73 73 == 2.1 How does LHT65N-PIR work? == 74 74 75 - 76 76 LHT65N-PIR is configured as LoRaWAN OTAA Class A sensor by default. Each LHT65N-PIR is shipped with a worldwide unique set of OTAA keys. To use LHT65N-PIR in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N-PIR. 77 77 78 78 If LHT65N-PIR is within the coverage of this LoRaWAN network. LHT65N-PIR can join the LoRaWAN network automatically. After successfully joining, LHT65N-PIR will start to measure environment temperature, humidity & people activity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes. ... ... @@ -80,7 +80,6 @@ 80 80 81 81 == 2.2 How to Activate LHT65N-PIR? == 82 82 83 - 84 84 The LHT65N-PIR has two working modes: 85 85 86 86 * (% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N-PIR doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. ... ... @@ -93,6 +93,7 @@ 93 93 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220515123819-1.png?width=317&height=379&rev=1.1||alt="image-20220515123819-1.png" height="379" width="317"]] 94 94 95 95 104 + 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" %)((( ... ... @@ -125,7 +125,7 @@ 125 125 126 126 Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 127 127 128 -[[image:image-20230426083533-1.png ||height="286" width="616"]]137 +[[image:image-20230426083533-1.png]] 129 129 130 130 131 131 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: ... ... @@ -176,15 +176,14 @@ 176 176 177 177 Example parse in TTNv3 178 178 179 -[[image: image-20230508151932-1.png]]188 +[[image:1675144504430-490.png]] 180 180 190 +**Sensor Model**: For LHT65N-PIR, this value is 0x1A 181 181 182 - (% style="color:blue"%)**Sensor Model**(%%):For LHT65N-PIR,this valueis0x1A192 +**Firmware Version**: 0x0100, Means: v1.0.0 version 183 183 184 - (% style="color:blue" %)**FirmwareVersion**(%%):0x0100, Means:v1.0.0 version194 +**Frequency Band**: 185 185 186 -(% style="color:blue" %)**Frequency Band**: 187 - 188 188 *0x01: EU868 189 189 190 190 *0x02: US915 ... ... @@ -213,7 +213,7 @@ 213 213 214 214 *0x0e: MA869 215 215 216 - (% style="color:blue" %)**Sub-Band**:224 +**Sub-Band**: 217 217 218 218 AU915 and US915:value 0x00 ~~ 0x08 219 219 ... ... @@ -221,7 +221,7 @@ 221 221 222 222 Other Bands: Always 0x00 223 223 224 - (% style="color:blue" %)**Battery Info**:232 +**Battery Info**: 225 225 226 226 Check the battery voltage. 227 227 ... ... @@ -304,6 +304,7 @@ 304 304 11(b): Good (BAT >= 2.65v) 305 305 )))|(% style="width:152px" %)Actually BAT voltage 306 306 315 + 307 307 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 308 308 309 309 ... ... @@ -330,25 +330,23 @@ 330 330 331 331 === 2.5.5 Ext value === 332 332 333 -==== 2.5.5.1 Ext~=0x0 E, PIR Sensor ====342 +==== 2.5.5.1 Ext~=0x0A, PIR Sensor ==== 334 334 344 +[[image:image-20221224161634-2.png||height="138" width="851"]] 335 335 336 -[[image:ext=14.png||alt="image-20221224161634-2.png"]] 337 337 338 - 339 339 ==== 2.5.5.2 Ext Value ==== 340 340 341 - 342 342 There are 4 bytes in Ext Value field. 343 343 344 344 Bit0 of byte 8th shows if this uplink is generate by PIR activity. 345 345 346 346 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %) 347 -|=(% style="width: 10 7px; background-color:#D9E2F3;color:#0070C0" %)(((354 +|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 348 348 **The 8^^th^^ byte** 349 -)))|=(% style="width: 7 3px; background-color:#D9E2F3;color:#0070C0" %)(((356 +)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 350 350 **Bit 1~~7** 351 -)))|=(% style="width: 21 3px; background-color:#D9E2F3;color:#0070C0" %)(((358 +)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 352 352 **Bit 0** 353 353 ))) 354 354 |(% style="width:106px" %)((( ... ... @@ -358,12 +358,14 @@ 358 358 )))|(% style="width:211px" %)((( 359 359 ((( 360 360 0: Normal Uplink 368 + 361 361 1: Uplink by activity detected 362 362 ))) 363 363 ))) 364 364 365 -(% style="color:red" %)**Note**:** 373 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.** 366 366 375 + 367 367 The 9^^th^^ ~~ 11^^st^^ byte: Movement Detect Count. 368 368 369 369 0x00 E5 09 : Total detect 58633 activity since end node start. ... ... @@ -371,7 +371,6 @@ 371 371 372 372 == 2.6 Show data on Datacake == 373 373 374 - 375 375 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: 376 376 377 377 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. ... ... @@ -409,14 +409,13 @@ 409 409 410 410 In a normal working state: 411 411 412 -* For each uplink, the (% style="color:blue" %)**BLUE LED**(%%)or(% style="color:red" %)**RED LED**(%%)will blink once.413 - (% style="color:blue" %)**BLUE LED**(%%)when external sensor is connected.414 -* (% style="color:red" %)**RED LED**(%%)when external sensor is not connected415 -* For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%)will blink once420 +* For each uplink, the BLUE LED or RED LED will blink once. 421 +BLUE LED when external sensor is connected. 422 +* RED LED when external sensor is not connected 423 +* For each success downlink, the PURPLE LED will blink once 416 416 417 417 == 2.8 installation == 418 418 419 - 420 420 ~1. Don't install LHT65N-PIR outdoor or place where will get wet. 421 421 422 422 2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam. ... ... @@ -425,17 +425,12 @@ 425 425 426 426 [[image:image-20230411135341-1.png||height="450" width="456"]] 427 427 435 +**Notice: PIR can only detect motion activity, not to use to detect static people case.** 428 428 429 -(% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.** 430 - 431 431 * 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. 432 - 433 433 * 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. 434 - 435 435 * 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. 436 - 437 437 * 4. Between the detection range of PIR Motion detector, there is should be less objects. Many objects may reduce the sensitive of detection range. 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 441 441 = 3. Sensors and Accessories = ... ... @@ -446,7 +446,7 @@ 446 446 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]] 447 447 448 448 449 -**1m long breakout cable for LHT65N- PIR. Features:**451 +**1m long breakout cable for LHT65N-E5. Features:** 450 450 451 451 * ((( 452 452 Use for AT Command ... ... @@ -465,8 +465,7 @@ 465 465 466 466 LHT65N-PIR supports below configure method: 467 467 468 -* AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]]. 469 - 470 +* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]]. 470 470 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 471 471 472 472 == 4.2 General Commands == ... ... @@ -493,13 +493,12 @@ 493 493 494 494 Feature: Change LoRaWAN End Node Transmit Interval. 495 495 497 + 496 496 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 497 497 498 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 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 501 -|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 500 +[[image:image-20220523150701-2.png||_mstalt="427453"]] 502 502 502 + 503 503 (% style="color:#4f81bd" %)**Downlink Payload: 0x01** 504 504 505 505 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -512,7 +512,6 @@ 512 512 513 513 === 4.3.2 Get Device Status === 514 514 515 - 516 516 Send a LoRaWAN downlink to ask device send Alarm settings. 517 517 518 518 * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**: **0x26 01 ... ... @@ -525,22 +525,27 @@ 525 525 526 526 Feature: Set device password, max 9 digits 527 527 528 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD** 529 529 530 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 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** 532 -|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 533 -123456 528 +(% style="color:#4f81bd" %)**AT Command: AT+EXT** 534 534 535 -OK 530 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 531 +|Command Example|Function|Response 532 +|AT+EXT=?|Get or Set external sensor model|((( 533 +5 534 + 535 +OK 536 536 ))) 537 -| (% style="width:155px" %)AT+PWORD=999999|(%style="width:124px" %)Setpassword|(%style="width:86px"%)OK537 +|AT+EXT=5|(% colspan="2" %)Set external sensor mode to 5 538 538 539 -(% style="color:#4f81bd" %)**Downlink Command:** 539 +(% style="color:#4f81bd" %)**Downlink Command:0xA2** 540 540 541 -No downlink command for this feature. 542 542 542 +Total bytes: 2 bytes 543 543 544 +**Example:** 545 + 546 +* 0xA205: Set external sensor type to E5 547 + 544 544 === 4.3.4 Set to sleep mode === 545 545 546 546 ... ... @@ -547,18 +547,12 @@ 547 547 Feature: Set device to sleep mode 548 548 549 549 * **AT+Sleep=0** : Normal working mode, device will sleep and use lower power when there is no LoRa message 550 - 551 551 * **AT+Sleep=1** : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping. 552 552 553 553 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 554 554 555 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 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** 557 -|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 558 -Clear all stored sensor data… 558 +[[image:image-20220523151218-7.png||_mstalt="430703"]] 559 559 560 -OK 561 -))) 562 562 563 563 (% style="color:#4f81bd" %)**Downlink Command:** 564 564 ... ... @@ -566,14 +566,12 @@ 566 566 567 567 === 4.3.5 Set UOA (Uplink on Activity) === 568 568 569 - 570 570 Feature: Enable / Disable Uplink on Activity 571 571 572 572 * **AT+UOA=0** : Disable UoA 573 - 574 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. 575 575 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.**572 +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 578 (% style="color:#4f81bd" %)**AT Command: AT+UOA** 579 579 ... ... @@ -583,7 +583,6 @@ 583 583 584 584 = 5. Battery & Power Consumption = 585 585 586 - 587 587 LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace. 588 588 589 589 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . ... ... @@ -591,9 +591,8 @@ 591 591 592 592 = 6. OTA firmware update = 593 593 589 +User can change firmware S31x-LB to: 594 594 595 -User can change firmware LHT65N-PIR to: 596 - 597 597 * Change Frequency band/ region. 598 598 * Update with new features. 599 599 * Fix bugs. ... ... @@ -610,7 +610,7 @@ 610 610 == 7.1 How to use AT Command? == 611 611 612 612 613 -LHT65N- PIRsupports 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.607 +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. 614 614 615 615 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"]] ... ... @@ -620,11 +620,12 @@ 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 623 -In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N- PIR. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.617 +In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N-E5. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 624 624 625 625 [[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"]] 626 626 627 627 622 + 628 628 == 7.2 Where to use AT commands and Downlink commands == 629 629 630 630 ... ... @@ -666,7 +666,6 @@ 666 666 667 667 == 7.3 How to change the uplink interval? == 668 668 669 - 670 670 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);"]] 671 671 672 672 [[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"]] ... ... @@ -674,7 +674,6 @@ 674 674 675 675 == 7.4 How to use TTL-USB to connect PC to upgrade firmware? == 676 676 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 680 680 (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first.
- LHT65N-PIR1.jpg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Ellie - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.3 KB - Content
- ext=14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Ellie - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30.5 KB - Content
- image-20230508151932-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.0 KB - Content