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

From version 47.1
edited by Bei Jinggeng
on 2023/10/31 17:15
Change comment: There is no comment for this version
To version 48.5
edited by Xiaoling
on 2024/01/17 10:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
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" %)BAT
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
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,11 +350,11 @@
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" %)(((
... ... @@ -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  
... ... @@ -778,6 +778,18 @@
778 778  * (% style="color:#037691" %)**A1 00    **(%%)** ==>  AT+UOA=0     **
779 779  * (% 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 +
793 + **AT+GETSENSORVALUE=1**      ~/~/  The serial port gets the current sensor reading and uploads it.
794 +
795 +
781 781  = 5. Battery & Power Consumption =
782 782  
783 783  
... ... @@ -945,3 +945,6 @@
945 945  (1) This device may not cause harmful interference;
946 946  
947 947  (2) this device must accept any interference received, including interference that may cause undesired operation.
963 +
964 +
965 +