Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/06/10 09:17
From version 47.1
edited by Bei Jinggeng
on 2023/10/31 17:15
on 2023/10/31 17:15
Change comment:
There is no comment for this version
To version 50.1
edited by Edwin Chen
on 2024/01/28 20:01
on 2024/01/28 20:01
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. Bei1 +XWiki.Edwin - Content
-
... ... @@ -96,15 +96,19 @@ 96 96 97 97 98 98 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 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**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** 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-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. 101 + 102 + 103 +If LHT65N-PIR is already Joined to rhe LoRaWAN network, LHT65N-PIR will send an uplink packet, if LHT65N-PIR has external sensor connected,Blue led will blink once. If LHT65N-PIR has not external sensor, 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-PIR will enter working mode and start to JOIN LoRaWAN network. 105 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network. 106 + 107 + 108 +Green led will fast blink 5 times, LHT65N-PIR will enter working mode and start to JOIN LoRaWAN network. 109 +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-PIR 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" %)Red led will solid on for 5 seconds. Means LHT65N-PIR is in Deep Sleep Mode. 108 108 109 109 == 2.3 Example to join LoRaWAN network == 110 110 ... ... @@ -161,10 +161,10 @@ 161 161 Use ACT button to activate LHT65N-PIR and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel. 162 162 163 163 164 -[[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-20220522233300-8.png?rev=1.1||alt="image-20220522233300-8.png"]] 168 +[[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-20220522233300-8.png?rev=1.1||alt="image-20220522233300-8.png" height="378" width="1248"]] 165 165 166 166 167 -== 2.4 Uplink Payload~-~-Device Status, (Fport~=5) == 171 +== 2.4 Uplink Payload~-~-Device Status, (Fport~=5)(% style="display:none" %) (%%) == 168 168 169 169 170 170 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. ... ... @@ -172,13 +172,13 @@ 172 172 The Payload format is as below. 173 173 174 174 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 175 -|(% colspan="6" style="background-color:# d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**179 +|(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 176 176 |(% 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** 177 -|(% 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" %)BAT181 +|(% 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 178 178 179 179 Example parse in TTNv3 180 180 181 -[[image:image-20230508151932-1.png]] 185 +[[image:image-20230508151932-1.png||height="213" width="1245"]] 182 182 183 183 184 184 (% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A ... ... @@ -242,17 +242,17 @@ 242 242 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 243 243 244 244 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 245 -|=(% style="width: 60px;background-color:# D9E2F3;color:#0070C0" %)(((249 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 246 246 **Size(bytes)** 247 -)))|=(% style="width: 30px;background-color:# D9E2F3;color:#0070C0" %)(((251 +)))|=(% style="width: 30px;background-color:#4F81BD;color:white" %)((( 248 248 **2** 249 -)))|=(% style="width: 100px;background-color:# D9E2F3;color:#0070C0" %)(((253 +)))|=(% style="width: 100px;background-color:#4F81BD;color:white" %)((( 250 250 **2** 251 -)))|=(% style="width: 100px;background-color:# D9E2F3;color:#0070C0" %)(((255 +)))|=(% style="width: 100px;background-color:#4F81BD;color:white" %)((( 252 252 **2** 253 -)))|=(% style="width: 50px;background-color:# D9E2F3;color:#0070C0" %)(((257 +)))|=(% style="width: 50px;background-color:#4F81BD;color:white" %)((( 254 254 **1** 255 -)))|=(% style="width: 50px;background-color:# D9E2F3;color:#0070C0" %)(((259 +)))|=(% style="width: 50px;background-color:#4F81BD;color:white" %)((( 256 256 **4** 257 257 ))) 258 258 |(% style="width:97px" %)((( ... ... @@ -295,9 +295,9 @@ 295 295 These two bytes of BAT include the battery state and the actually voltage 296 296 297 297 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %) 298 -|=(% style="width: 69px; background-color:# D9E2F3;color:#0070C0" %)(((302 +|=(% style="width: 69px; background-color:#4F81BD;color:white" %)((( 299 299 **Bit(bit)** 300 -)))|=(% style="width: 253px;background-color:# D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]304 +)))|=(% style="width: 253px;background-color:#4F81BD;color:white" %)[15:14]|=(% style="width: 155px;background-color:#4F81BD;color:white" %)[13:0] 301 301 |(% style="width:66px" %)((( 302 302 Value 303 303 )))|(% style="width:250px" %)((( ... ... @@ -339,7 +339,7 @@ 339 339 ==== 2.5.5.1 Ext~=0x0E, PIR Sensor ==== 340 340 341 341 342 -[[image:ext=14.png||alt="image-20221224161634-2.png"]] 346 +[[image:ext=14.png||alt="image-20221224161634-2.png" height="166" width="1252"]] 343 343 344 344 345 345 ==== 2.5.5.2 Ext Value ==== ... ... @@ -350,15 +350,15 @@ 350 350 Bit0 of byte 8th shows if this uplink is generate by PIR activity. 351 351 352 352 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %) 353 -|=(% style="width: 107px; background-color:# D9E2F3;color:#0070C0" %)(((357 +|=(% style="width: 107px; background-color:#4F81BD;color:white" %)((( 354 354 **The 8^^th^^ byte** 355 -)))|=(% style="width: 73px; background-color:# D9E2F3;color:#0070C0" %)(((359 +)))|=(% style="width: 73px; background-color:#4F81BD;color:white" %)((( 356 356 **Bit 1~~7** 357 -)))|=(% style="width: 213px; background-color:# D9E2F3;color:#0070C0" %)(((361 +)))|=(% style="width: 213px; background-color:#4F81BD;color:white" %)((( 358 358 **Bit 0** 359 359 ))) 360 360 |(% style="width:106px" %)((( 361 - **Value**365 +Value 362 362 )))|(% style="width:71px" %)((( 363 363 Reserve 364 364 )))|(% style="width:211px" %)((( ... ... @@ -375,7 +375,6 @@ 375 375 0x00 E5 09 : Total detect 58633 activity since end node start. 376 376 377 377 378 - 379 379 == 2.6 Show data on Datacake == 380 380 381 381 ... ... @@ -686,8 +686,8 @@ 686 686 687 687 (% style="color:#4f81bd" %)**AT Command: ** 688 688 689 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:501px" %)690 -|(% 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**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** 691 691 |(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 692 692 |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 693 693 ... ... @@ -718,8 +718,8 @@ 718 718 719 719 (% style="color:#4f81bd" %)**AT Command: ** 720 720 721 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:372px" %)722 -|(% 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**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** 723 723 |(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 724 724 123456 725 725 ... ... @@ -743,8 +743,8 @@ 743 743 744 744 (% style="color:#4f81bd" %)**AT Command: ** 745 745 746 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:513px" %)747 -|(% 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**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** 748 748 |(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 749 749 Clear all stored sensor data… 750 750 ... ... @@ -775,9 +775,19 @@ 775 775 776 776 When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time. 777 777 778 -* (% style="color:#037691" %)**A1 00 **(%%)** ==> 779 -* (% style="color:#037691" %)**A1 01 00 02 **(%%)** ==> **781 +* (% style="color:#037691" %)**A1 00 **(%%)** ==> **AT+UOA=0** ** 782 +* (% style="color:#037691" %)**A1 01 00 02 **(%%)** ==> **AT+UOA=1,2 780 780 784 +=== 4.3.6 Get data === 785 + 786 + 787 +Feature: Get the current sensor data 788 + 789 +(% style="color:#4f81bd" %)**AT Command:** 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. 793 + 781 781 = 5. Battery & Power Consumption = 782 782 783 783 ... ... @@ -795,7 +795,7 @@ 795 795 * Update with new features. 796 796 * Fix bugs. 797 797 798 -Firmware and changelog can be downloaded from : **[[Firmware download link>> url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**811 +Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAB_TCg_9QRfMlVYDReneEJCa/LHT65N?dl=0&subfolder_nav_tracking=1]]** 799 799 800 800 Methods to Update Firmware: 801 801 ... ... @@ -806,16 +806,8 @@ 806 806 807 807 == 7.1 How to use AT Command? == 808 808 822 +Refer this link for [[UART Hardware Connection>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H6.1HowtoconnecttoLHT65NUARTinterface3F]]. 809 809 810 -LHT65N-PIR 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. 811 - 812 - 813 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] 814 - 815 - 816 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]] 817 - 818 - 819 819 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. 820 820 821 821 [[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"]] ... ... @@ -868,47 +868,11 @@ 868 868 [[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"]] 869 869 870 870 871 -== 7.4 How to u se TTL-USB to connect PC to upgrade firmware? ==876 +== 7.4 How to upgrade firmware? == 872 872 878 +Please check [[update instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H6.5Howtoupgradefirmware3F]]. 873 873 874 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] 875 875 876 - 877 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 878 - 879 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615170542-5.png||_mstalt="430638"]] 880 - 881 - 882 -(% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 883 - 884 -First connect the four lines;(% style="display:none" %) 885 - 886 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-1.png||_mstalt="431340" height="413" width="419"]],(% style="display:none" %) 887 - 888 - 889 -Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode. 890 - 891 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-2.png||_mstalt="431704"]] 892 - 893 - 894 -(% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 895 - 896 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615171334-6.png||_mstalt="431028"]] 897 - 898 - 899 -Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade. 900 - 901 - 902 -When this interface appears, it indicates that the download has been completed. 903 - 904 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220620160723-8.png||_mstalt="430703"]] 905 - 906 - 907 -Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. 908 - 909 -[[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"]] 910 - 911 - 912 912 = 8. Order Info = 913 913 914 914