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

From version 48.7
edited by Xiaoling
on 2024/01/17 10:45
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.Xiaoling
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  
... ... @@ -781,17 +781,6 @@
781 781  * (% style="color:#037691" %)**A1 00    **(%%)** ==>  AT+UOA=0     **
782 782  * (% 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 -
795 795  = 5. Battery & Power Consumption =
796 796  
797 797  
... ... @@ -959,6 +959,3 @@
959 959  (1) This device may not cause harmful interference;
960 960  
961 961  (2) this device must accept any interference received, including interference that may cause undesired operation.
962 -
963 -
964 -