Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/06/10 09:17
From 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. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -176,7 +176,7 @@ 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:#4 f81bd;179 +|(% colspan="6" style="background-color:#4F81BD;color:white" %)**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 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 182 182 ... ... @@ -362,7 +362,7 @@ 362 362 **Bit 0** 363 363 ))) 364 364 |(% style="width:106px" %)((( 365 -Value 365 +**Value** 366 366 )))|(% style="width:71px" %)((( 367 367 Reserve 368 368 )))|(% style="width:211px" %)((( ... ... @@ -690,7 +690,7 @@ 690 690 (% style="color:#4f81bd" %)**AT Command: ** 691 691 692 692 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:501px" %) 693 -|(% style="background-color:#4 f81bd;f81bd;f81bd;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** 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 ... ... @@ -722,7 +722,7 @@ 722 722 (% style="color:#4f81bd" %)**AT Command: ** 723 723 724 724 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:372px" %) 725 -|(% style="background-color:#4 f81bd;f81bd;f81bd;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** 726 726 |(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 727 727 123456 728 728 ... ... @@ -747,7 +747,7 @@ 747 747 (% style="color:#4f81bd" %)**AT Command: ** 748 748 749 749 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:513px" %) 750 -|(% style="background-color:#4 f81bd;f81bd;f81bd;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** 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 ... ... @@ -778,8 +778,8 @@ 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,2781 +* (% style="color:#037691" %)**A1 00 **(%%)** ==> AT+UOA=0 ** 782 +* (% style="color:#037691" %)**A1 01 00 02 **(%%)** ==> AT+UOA=1,2** 783 783 784 784 === 4.3.6 Get data === 785 785 ... ... @@ -788,9 +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. 791 + **AT+GETSENSORVALUE=0** ~/~/ The serial port gets the reading of the current sensor 793 793 793 + **AT+GETSENSORVALUE=1** ~/~/ The serial port gets the current sensor reading and uploads it. 794 + 795 + 794 794 = 5. Battery & Power Consumption = 795 795 796 796 ... ... @@ -808,7 +808,7 @@ 808 808 * Update with new features. 809 809 * Fix bugs. 810 810 811 -Firmware and changelog can be downloaded from : **[[Firmware download link>>http s://www.dropbox.com/sh/g99v0fxcltn9r1y/AAB_TCg_9QRfMlVYDReneEJCa/LHT65N?dl=0&subfolder_nav_tracking=1]]**813 +Firmware and changelog can be downloaded from : **[[Firmware download link>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]** 812 812 813 813 Methods to Update Firmware: 814 814 ... ... @@ -819,8 +819,16 @@ 819 819 820 820 == 7.1 How to use AT Command? == 821 821 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]]. 823 823 825 +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. 826 + 827 + 828 +[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] 829 + 830 + 831 +[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]] 832 + 833 + 824 824 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. 825 825 826 826 [[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"]] ... ... @@ -873,11 +873,47 @@ 873 873 [[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"]] 874 874 875 875 876 -== 7.4 How to upgrade firmware? == 886 +== 7.4 How to use TTL-USB to connect PC to upgrade firmware? == 877 877 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]]. 879 879 889 +[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] 880 880 891 + 892 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 893 + 894 +[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615170542-5.png||_mstalt="430638"]] 895 + 896 + 897 +(% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 898 + 899 +First connect the four lines;(% style="display:none" %) 900 + 901 +[[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" %) 902 + 903 + 904 +Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode. 905 + 906 +[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-2.png||_mstalt="431704"]] 907 + 908 + 909 +(% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 910 + 911 +[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615171334-6.png||_mstalt="431028"]] 912 + 913 + 914 +Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade. 915 + 916 + 917 +When this interface appears, it indicates that the download has been completed. 918 + 919 +[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220620160723-8.png||_mstalt="430703"]] 920 + 921 + 922 +Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. 923 + 924 +[[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"]] 925 + 926 + 881 881 = 8. Order Info = 882 882 883 883 ... ... @@ -914,3 +914,6 @@ 914 914 (1) This device may not cause harmful interference; 915 915 916 916 (2) this device must accept any interference received, including interference that may cause undesired operation. 963 + 964 + 965 +