Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/04/24 10:00
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.ting - Content
-
... ... @@ -45,6 +45,7 @@ 45 45 * External PIR Sensor 46 46 * Tri-color LED to indicate working status 47 47 48 + 48 48 (% style="display:none" %) 49 49 50 50 == 1.3 Specification == ... ... @@ -70,6 +70,7 @@ 70 70 * Cable Length : 1 meter 71 71 * Stable detect distance : 0~~3 meter 72 72 74 + 73 73 = 2. Connect LHT65N-PIR to IoT Server = 74 74 75 75 == 2.1 How does LHT65N-PIR work? == ... ... @@ -96,7 +96,7 @@ 96 96 97 97 98 98 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 99 -|=(% style="width: 167px;background-color:# 4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action**101 +|=(% 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 101 102 102 ... ... @@ -110,6 +110,7 @@ 110 110 ))) 111 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" %)Red led will solid on for 5 seconds. Means LHT65N-PIR is in Deep Sleep Mode. 112 112 115 + 113 113 == 2.3 Example to join LoRaWAN network == 114 114 115 115 ... ... @@ -176,9 +176,9 @@ 176 176 The Payload format is as below. 177 177 178 178 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 179 -|(% colspan="6" style="background-color:# 4f81bd; color:white" %)**Device Status (FPORT=5)**182 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 180 180 |(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2** 181 -|(% style="background-color:#f2f2f2; width:103px" %)Value|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT 184 +|(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT 182 182 183 183 Example parse in TTNv3 184 184 ... ... @@ -246,17 +246,17 @@ 246 246 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 247 247 248 248 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 249 -|=(% style="width: 60px;background-color:# 4F81BD;color:white" %)(((252 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 250 250 **Size(bytes)** 251 -)))|=(% style="width: 30px;background-color:# 4F81BD;color:white" %)(((254 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)((( 252 252 **2** 253 -)))|=(% style="width: 100px;background-color:# 4F81BD;color:white" %)(((256 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)((( 254 254 **2** 255 -)))|=(% style="width: 100px;background-color:# 4F81BD;color:white" %)(((258 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)((( 256 256 **2** 257 -)))|=(% style="width: 50px;background-color:# 4F81BD;color:white" %)(((260 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 258 258 **1** 259 -)))|=(% style="width: 50px;background-color:# 4F81BD;color:white" %)(((262 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 260 260 **4** 261 261 ))) 262 262 |(% style="width:97px" %)((( ... ... @@ -282,6 +282,7 @@ 282 282 * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement) 283 283 * The 9^^th^^ ~~ 11^^st^^ byte: Movement Detect Count. 284 284 288 + 285 285 === 2.5.1 Decoder in TTN V3 === 286 286 287 287 ... ... @@ -299,9 +299,9 @@ 299 299 These two bytes of BAT include the battery state and the actually voltage 300 300 301 301 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %) 302 -|=(% style="width: 69px; background-color:# 4F81BD;color:white" %)(((306 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)((( 303 303 **Bit(bit)** 304 -)))|=(% style="width: 253px;background-color:# 4F81BD;color:white" %)[15:14]|=(% style="width: 155px;background-color:#4F81BD;color:white" %)[13:0]308 +)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0] 305 305 |(% style="width:66px" %)((( 306 306 Value 307 307 )))|(% style="width:250px" %)((( ... ... @@ -320,6 +320,7 @@ 320 320 * BAT status=(0xcba4>>14)&0xFF=11(B),very good 321 321 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 322 322 327 + 323 323 === 2.5.3 Built-in Temperature === 324 324 325 325 ... ... @@ -331,6 +331,7 @@ 331 331 332 332 * Temperature: (0xF5C6-65536)/100=-26.18℃ 333 333 339 + 334 334 === 2.5.4 Built-in Humidity === 335 335 336 336 ... ... @@ -338,6 +338,7 @@ 338 338 339 339 * Humidity: 0x025C/10=60.4% 340 340 347 + 341 341 === 2.5.5 Ext value === 342 342 343 343 ==== 2.5.5.1 Ext~=0x0E, PIR Sensor ==== ... ... @@ -354,15 +354,15 @@ 354 354 Bit0 of byte 8th shows if this uplink is generate by PIR activity. 355 355 356 356 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %) 357 -|=(% style="width: 107px; background-color:# 4F81BD;color:white" %)(((364 +|=(% style="width: 107px; background-color:#D9E2F3;color:#0070C0" %)((( 358 358 **The 8^^th^^ byte** 359 -)))|=(% style="width: 73px; background-color:# 4F81BD;color:white" %)(((366 +)))|=(% style="width: 73px; background-color:#D9E2F3;color:#0070C0" %)((( 360 360 **Bit 1~~7** 361 -)))|=(% style="width: 213px; background-color:# 4F81BD;color:white" %)(((368 +)))|=(% style="width: 213px; background-color:#D9E2F3;color:#0070C0" %)((( 362 362 **Bit 0** 363 363 ))) 364 364 |(% style="width:106px" %)((( 365 -Value 372 +**Value** 366 366 )))|(% style="width:71px" %)((( 367 367 Reserve 368 368 )))|(% style="width:211px" %)((( ... ... @@ -608,6 +608,7 @@ 608 608 * (% style="color:red" %)**RED LED**(%%) when external sensor is not connected 609 609 * For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once 610 610 618 + 611 611 == 2.9 installation == 612 612 613 613 ... ... @@ -632,6 +632,7 @@ 632 632 633 633 * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room). 634 634 643 + 635 635 = 3. Sensors and Accessories = 636 636 637 637 == 3.1 E2 Extension Cable == ... ... @@ -663,6 +663,7 @@ 663 663 664 664 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 665 665 675 + 666 666 == 4.2 General Commands == 667 667 668 668 ... ... @@ -689,8 +689,8 @@ 689 689 690 690 (% style="color:#4f81bd" %)**AT Command: ** 691 691 692 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:501px" %)693 -|(% style="background-color:# 4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:166px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:180px" %)**Response**702 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 703 +|(% 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** 694 694 |(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 695 695 |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 696 696 ... ... @@ -704,6 +704,7 @@ 704 704 705 705 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 706 706 717 + 707 707 === 4.3.2 Get Device Status === 708 708 709 709 ... ... @@ -721,8 +721,8 @@ 721 721 722 722 (% style="color:#4f81bd" %)**AT Command: ** 723 723 724 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:372px" %)725 -|(% style="background-color:# 4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:128px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:89px" %)**Response**735 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 736 +|(% 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** 726 726 |(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 727 727 123456 728 728 ... ... @@ -746,8 +746,8 @@ 746 746 747 747 (% style="color:#4f81bd" %)**AT Command: ** 748 748 749 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:513px" %)750 -|(% style="background-color:# 4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:140px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:218px" %)**Response**760 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 761 +|(% 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** 751 751 |(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 752 752 Clear all stored sensor data… 753 753 ... ... @@ -758,6 +758,7 @@ 758 758 759 759 * There is no downlink command to set to Sleep mode. 760 760 772 + 761 761 === 4.3.5 Set UOA (Uplink on Activity) === 762 762 763 763 ... ... @@ -778,9 +778,10 @@ 778 778 779 779 When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time. 780 780 781 -* (% style="color:#037691" %)**A1 00 **(%%)** ==> **AT+UOA=0****782 -* (% style="color:#037691" %)**A1 01 00 02 **(%%)** ==> **AT+UOA=1,2793 +* (% style="color:#037691" %)**A1 00 **(%%)** ==> AT+UOA=0 ** 794 +* (% style="color:#037691" %)**A1 01 00 02 **(%%)** ==> AT+UOA=1,2** 783 783 796 + 784 784 === 4.3.6 Get data === 785 785 786 786 ... ... @@ -788,10 +788,11 @@ 788 788 789 789 (% style="color:#4f81bd" %)**AT Command:** 790 790 791 -* **AT+GETSENSORVALUE=0** ~/~/ The serial port gets the reading of the current sensor 792 -* **AT+GETSENSORVALUE=1** ~/~/ The serial port gets the current sensor reading and uploads it. 804 + **AT+GETSENSORVALUE=0** ~/~/ The serial port gets the reading of the current sensor 793 793 806 + **AT+GETSENSORVALUE=1** ~/~/ The serial port gets the current sensor reading and uploads it. 794 794 808 + 795 795 = 5. Battery & Power Consumption = 796 796 797 797 ... ... @@ -816,6 +816,7 @@ 816 816 * (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/]] 817 817 * 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]]**. 818 818 833 + 819 819 = 7. FAQ = 820 820 821 821 == 7.1 How to use AT Command? == ... ... @@ -939,6 +939,7 @@ 939 939 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 940 940 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 941 941 957 + 942 942 = 9. Packing Info = 943 943 944 944 ... ... @@ -946,11 +946,13 @@ 946 946 947 947 * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1 948 948 965 + 949 949 = 10. Reference material = 950 950 951 951 952 952 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 953 953 971 + 954 954 = 11. FCC Warning = 955 955 956 956