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

From version 50.1
edited by Edwin Chen
on 2024/01/28 20:01
Change comment: There is no comment for this version
To version 47.1
edited by Bei Jinggeng
on 2023/10/31 17:15
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Bei
Content
... ... @@ -96,19 +96,15 @@
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**
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**
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 -
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.
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.
104 104  )))
105 105  |(% 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" %)(((
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.
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.
110 110  )))
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.
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.
112 112  
113 113  == 2.3 Example to join LoRaWAN network ==
114 114  
... ... @@ -165,10 +165,10 @@
165 165  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.
166 166  
167 167  
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"]]
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"]]
169 169  
170 170  
171 -== 2.4 Uplink Payload~-~-Device Status, (Fport~=5)(% style="display:none" %) (%%) ==
167 +== 2.4 Uplink Payload~-~-Device Status, (Fport~=5) ==
172 172  
173 173  
174 174  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.
... ... @@ -176,13 +176,13 @@
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)**
175 +|(% 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
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" %)BAT
182 182  
183 183  Example parse in TTNv3
184 184  
185 -[[image:image-20230508151932-1.png||height="213" width="1245"]]
181 +[[image:image-20230508151932-1.png]]
186 186  
187 187  
188 188  (% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A
... ... @@ -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" %)(((
245 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
250 250  **Size(bytes)**
251 -)))|=(% style="width: 30px;background-color:#4F81BD;color:white" %)(((
247 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
252 252  **2**
253 -)))|=(% style="width: 100px;background-color:#4F81BD;color:white" %)(((
249 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
254 254  **2**
255 -)))|=(% style="width: 100px;background-color:#4F81BD;color:white" %)(((
251 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
256 256  **2**
257 -)))|=(% style="width: 50px;background-color:#4F81BD;color:white" %)(((
253 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
258 258  **1**
259 -)))|=(% style="width: 50px;background-color:#4F81BD;color:white" %)(((
255 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
260 260  **4**
261 261  )))
262 262  |(% style="width:97px" %)(((
... ... @@ -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" %)(((
298 +|=(% 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]
300 +)))|=(% 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" %)(((
... ... @@ -343,7 +343,7 @@
343 343  ==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
344 344  
345 345  
346 -[[image:ext=14.png||alt="image-20221224161634-2.png" height="166" width="1252"]]
342 +[[image:ext=14.png||alt="image-20221224161634-2.png"]]
347 347  
348 348  
349 349  ==== 2.5.5.2 Ext Value ====
... ... @@ -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" %)(((
353 +|=(% style="width: 107px; background-color:#D9E2F3;color:#0070C0" %)(((
358 358  **The 8^^th^^ byte**
359 -)))|=(% style="width: 73px; background-color:#4F81BD;color:white" %)(((
355 +)))|=(% style="width: 73px; background-color:#D9E2F3;color:#0070C0" %)(((
360 360  **Bit 1~~7**
361 -)))|=(% style="width: 213px; background-color:#4F81BD;color:white" %)(((
357 +)))|=(% style="width: 213px; background-color:#D9E2F3;color:#0070C0" %)(((
362 362  **Bit 0**
363 363  )))
364 364  |(% style="width:106px" %)(((
365 -Value
361 +**Value**
366 366  )))|(% style="width:71px" %)(((
367 367  Reserve
368 368  )))|(% style="width:211px" %)(((
... ... @@ -379,6 +379,7 @@
379 379  0x00 E5 09 : Total detect 58633 activity since end node start.
380 380  
381 381  
378 +
382 382  == 2.6 Show data on Datacake ==
383 383  
384 384  
... ... @@ -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**
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**
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  
... ... @@ -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**
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**
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**
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**
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,19 +778,9 @@
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,2
778 +* (% style="color:#037691" %)**A1 00    **(%%)** ==>  AT+UOA=0     **
779 +* (% style="color:#037691" %)**A1 01 00 02  **(%%)** ==>  AT+UOA=1,2**
783 783  
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 -
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>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAB_TCg_9QRfMlVYDReneEJCa/LHT65N?dl=0&subfolder_nav_tracking=1]]**
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/]]**
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  
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 +
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? ==
871 +== 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  
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"]]
880 880  
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 +
881 881  = 8. Order Info =
882 882  
883 883