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

From version 24.1
edited by Edwin Chen
on 2023/04/11 13:56
Change comment: There is no comment for this version
To version 37.10
edited by Xiaoling
on 2023/04/27 10:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LHT65-PIR Temperature/Humidity/PIR Motion Sensor User Manual
1 +LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -25,6 +25,7 @@
25 25  
26 26  == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor ==
27 27  
28 +
28 28  The Dragino (% style="color:blue" %)**LHT65N-PIR Temperature, Humidity & PIR sensor**(%%) is a Long Range LoRaWAN Sensor.It includes a (% style="color:blue" %)**built-in Temperature & Humidity sensor**(%%) and has an (% style="color:blue" %)**external PIR Probe**(%%)**.** LHT65N-PIR can detect environment Temperature & Humdity, it also detects (% style="color:blue" %)**People Activity**(%%) via PIR probe and them send these info to LoRaWAN IoT Server.
29 29  
30 30  The LHT65N-PIR allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on.
... ... @@ -35,12 +35,12 @@
35 35  
36 36  LHT65N-PIR is fully compatible with (% style="color:blue" %)**LoRaWAN v1.0.3 Class A protocol**(%%), it can work with a standard LoRaWAN gateway.
37 37  
38 -
39 39  **~*~***The actual battery life depends on how often to send data, please see battery analyzer chapter.
40 40  
41 41  
42 42  == 1.2 Features ==
43 43  
44 +
44 44  * LoRaWAN v1.0.3 Class A protocol
45 45  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
46 46  * AT Commands to change parameters
... ... @@ -76,12 +76,12 @@
76 76  * (% class="mark" %)Resolution: 1 lx
77 77  * (% class="mark" %)Range: 0-65535 lx
78 78  * (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
79 -*
80 80  
81 81  = 2. Connect LHT65N-PIR to IoT Server =
82 82  
83 83  == 2.1 How does LHT65N-PIR work? ==
84 84  
85 +
85 85  LHT65N-PIR is configured as LoRaWAN OTAA Class A sensor by default. Each LHT65N-PIR is shipped with a worldwide unique set of OTAA keys. To use LHT65N-PIR in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N-PIR.
86 86  
87 87  If LHT65N-PIR is within the coverage of this LoRaWAN network. LHT65N-PIR can join the LoRaWAN network automatically. After successfully joining, LHT65N-PIR will start to measure environment temperature, humidity & people activity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes.
... ... @@ -89,6 +89,7 @@
89 89  
90 90  == 2.2 How to Activate LHT65N-PIR? ==
91 91  
93 +
92 92  The LHT65N-PIR has two working modes:
93 93  
94 94  * (% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N-PIR doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
... ... @@ -100,8 +100,17 @@
100 100  
101 101  [[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-20220515123819-1.png?width=317&height=379&rev=1.1||alt="image-20220515123819-1.png" height="379" width="317"]]
102 102  
103 -[[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-20220525110604-2.png?rev=1.1||alt="image-20220525110604-2.png"]]
104 104  
106 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
107 +|=(% 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**
108 +|(% 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" %)(((
109 +If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once.
110 +)))
111 +|(% 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" %)(((
112 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
113 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
114 +)))
115 +|(% 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 is in Deep Sleep Mode.
105 105  
106 106  == 2.3 Example to join LoRaWAN network ==
107 107  
... ... @@ -124,8 +124,9 @@
124 124  
125 125  Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
126 126  
127 -[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
138 +[[image:image-20230426083533-1.png]]
128 128  
140 +
129 129  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
130 130  
131 131  Add APP EUI in the application.
... ... @@ -134,37 +134,43 @@
134 134  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522232916-3.png||_mstalt="430495"]]
135 135  
136 136  
137 -[[image:image-20220522232932-4.png||_mstalt="430157"]]
149 +[[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-20220522232932-4.png?rev=1.1||alt="image-20220522232932-4.png"]]
138 138  
139 139  
140 -[[image:image-20220522232954-5.png||_mstalt="431847"]]
152 +[[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-20220522232954-5.png?rev=1.1||alt="image-20220522232954-5.png"]]
141 141  
142 142  
143 -
144 144  (% style="color:red" %)**Note: LHT65N-PIR use same payload decoder as LHT65.**
145 145  
146 146  
147 -Input APP EUI,  APP KEY and DEV EUI:
158 +[[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-20220522233026-6.png?rev=1.1||alt="image-20220522233026-6.png"]]
148 148  
149 149  
150 -[[image:image-20220522233118-7.png||_mstalt="430430"]]
161 +**Input APP EUI,  APP KEY and DEV EUI:**
151 151  
163 +[[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-20220522233118-7.png?rev=1.1||alt="image-20220522233118-7.png"]]
152 152  
165 +
153 153  === 2.3.2 Step 2: Activate LHT65N-PIR by pressing the ACT button for more than 5 seconds. ===
154 154  
168 +
155 155  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.
156 -[[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]]
157 157  
158 158  
172 +[[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"]]
173 +
174 +
159 159  == 2.4 Uplink Payload~-~-Device Status, (Fport~=5) ==
160 160  
177 +
161 161  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.
162 162  
163 163  The Payload format is as below.
164 164  
165 -|(% colspan="6" %)**Device Status (FPORT=5)**
166 -|**Size (bytes)**|**1**|**2**|**1**|**1**|**2**
167 -|**Value**|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT
182 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
183 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
184 +|(% 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**
185 +|(% 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
168 168  
169 169  Example parse in TTNv3
170 170  
... ... @@ -223,40 +223,41 @@
223 223  
224 224  == 2.5 Uplink Payload, Sensor Data  ( Fport~=2) ==
225 225  
244 +
226 226  The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
227 227  
228 228  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
229 229  
230 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
231 -|=(% style="width: 60px;" %)(((
249 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
250 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
232 232  **Size(bytes)**
233 -)))|=(% style="width: 30px;" %)(((
252 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
234 234  **2**
235 -)))|=(% style="width: 100px;" %)(((
254 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
236 236  **2**
237 -)))|=(% style="width: 100px;" %)(((
256 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
238 238  **2**
239 -)))|=(% style="width: 50px;" %)(((
258 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
240 240  **1**
241 -)))|=(% style="width: 50px;" %)(((
260 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
242 242  **4**
243 243  )))
244 244  |(% style="width:97px" %)(((
245 245  **Value**
246 246  )))|(% style="width:39px" %)(((
247 -[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]]
266 +[[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
248 248  )))|(% style="width:100px" %)(((
249 249  (((
250 -[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
269 +[[Built-In Temperature>>||anchor="H2.5.3Built-inTemperature"]]
251 251  )))
252 252  )))|(% style="width:77px" %)(((
253 253  (((
254 -[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
273 +[[Built-in Humidity>>||anchor="H2.5.4Built-inHumidity"]]
255 255  )))
256 256  )))|(% style="width:47px" %)(((
257 -[[Ext>>||anchor="H2.4.5Ext23"]] #
276 +Ext #
258 258  )))|(% style="width:51px" %)(((
259 -[[Ext value>>||anchor="H2.4.6Extvalue"]]
278 +[[Ext value>>||anchor="H2.5.5Extvalue"]]
260 260  )))
261 261  
262 262  * The First 6 bytes: has fix meanings for every LHT65N-PIR.
... ... @@ -280,9 +280,20 @@
280 280  
281 281  These two bytes of BAT include the battery state and the actually voltage
282 282  
283 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220523152839-18.png||_mstalt="457613"]]
302 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
303 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
304 +**Bit(bit)**
305 +)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
306 +|(% style="width:66px" %)(((
307 +**Value**
308 +)))|(% style="width:250px" %)(((
309 +BAT Status
310 +00(b): Ultra Low ( BAT <= 2.50v)
311 +01(b): Low (2.50v <=BAT <= 2.55v)
312 +10(b): OK (2.55v <= BAT <=2.65v)
313 +11(b): Good (BAT >= 2.65v)
314 +)))|(% style="width:152px" %)Actually BAT voltage
284 284  
285 -
286 286  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
287 287  
288 288  
... ... @@ -316,23 +316,24 @@
316 316  
317 317  ==== 2.5.5.2 Ext Value ====
318 318  
349 +
319 319  There are 4 bytes in Ext Value field.
320 320  
321 321  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
322 322  
323 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:490px" %)
324 -|=(% style="width: 147px;" %)(((
354 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %)
355 +|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
325 325  **The 8^^th^^ byte**
326 -)))|=(% style="width: 108px;" %)(((
357 +)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
327 327  **Bit 1~~7**
328 -)))|=(% style="width: 228px;" %)(((
359 +)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
329 329  **Bit 0**
330 330  )))
331 -|(% style="width:147px" %)(((
362 +|(% style="width:106px" %)(((
332 332  **Value**
333 -)))|(% style="width:108px" %)(((
364 +)))|(% style="width:71px" %)(((
334 334  Reserve
335 -)))|(% style="width:228px" %)(((
366 +)))|(% style="width:211px" %)(((
336 336  (((
337 337  0: Normal Uplink
338 338  
... ... @@ -340,9 +340,8 @@
340 340  )))
341 341  )))
342 342  
343 -**Note**: Uplink by activity is disable by default.
374 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
344 344  
345 -
346 346  The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
347 347  
348 348  0x00 E5 09 : Total detect 58633 activity since end node start.
... ... @@ -350,6 +350,7 @@
350 350  
351 351  == 2.6 Show data on Datacake ==
352 352  
383 +
353 353  Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
354 354  
355 355  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -394,6 +394,7 @@
394 394  
395 395  == 2.8 installation ==
396 396  
428 +
397 397  ~1. Don't install LHT65N-PIR outdoor or place where will get wet.
398 398  
399 399  2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
... ... @@ -402,7 +402,7 @@
402 402  
403 403  [[image:image-20230411135341-1.png||height="450" width="456"]]
404 404  
405 -**Notice: PIR can only detect motion activity, not to use to detect static people case.**
437 +(% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.**
406 406  
407 407  * 1. PIR Motion Detector should not be installed near the Air conditioner places where with cold wind or hot wind flow, because PIR motion detector is sensitive with the temperature changes of the environment. Environment changes quickly will cause a false alarm.
408 408  * 2. PIR should not be installed facing the glass window, facing glass window will be interfered by the outside sunlight and moving objects (people or vehicle). The infrared energy can penetrate the glass window.
... ... @@ -410,8 +410,6 @@
410 410  * 4. Between the detection range of PIR Motion detector, there is should be less objects.  Many objects may reduce the sensitive of detection range.
411 411  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
412 412  
413 -
414 -
415 415  = 3. Sensors and Accessories =
416 416  
417 417  == 3.1 E2 Extension Cable ==
... ... @@ -439,7 +439,7 @@
439 439  
440 440  LHT65N-PIR supports below configure method:
441 441  
442 -* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]].
472 +* AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
443 443  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
444 444  
445 445  == 4.2 General Commands ==
... ... @@ -466,12 +466,13 @@
466 466  
467 467  Feature: Change LoRaWAN End Node Transmit Interval.
468 468  
469 -
470 470  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
471 471  
472 -[[image:image-20220523150701-2.png||_mstalt="427453"]]
501 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
502 +|(% 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**
503 +|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
504 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
473 473  
474 -
475 475  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
476 476  
477 477  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -484,6 +484,7 @@
484 484  
485 485  === 4.3.2 Get Device Status ===
486 486  
518 +
487 487  Send a LoRaWAN downlink to ask device send Alarm settings.
488 488  
489 489  * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**:  **0x26 01
... ... @@ -496,27 +496,22 @@
496 496  
497 497  Feature: Set device password, max 9 digits
498 498  
531 +(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
499 499  
500 -(% style="color:#4f81bd" %)**AT Command: AT+EXT**
533 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
534 +|(% 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**
535 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
536 +123456
501 501  
502 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
503 -|Command Example|Function|Response
504 -|AT+EXT=?|Get or Set external sensor model|(((
505 -5
506 -
507 -OK
538 +OK
508 508  )))
509 -|AT+EXT=5|(% colspan="2" %)Set external sensor mode to 5
540 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
510 510  
511 -(% style="color:#4f81bd" %)**Downlink Command:0xA2**
542 +(% style="color:#4f81bd" %)**Downlink Command:**
512 512  
544 +No downlink command for this feature.
513 513  
514 -Total bytes: 2 bytes
515 515  
516 -**Example:**
517 -
518 -* 0xA205: Set external sensor type to E5
519 -
520 520  === 4.3.4 Set to sleep mode ===
521 521  
522 522  
... ... @@ -523,12 +523,18 @@
523 523  Feature: Set device to sleep mode
524 524  
525 525  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
553 +
526 526  * **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
527 527  
528 528  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
529 529  
530 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
558 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
559 +|(% 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**
560 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
561 +Clear all stored sensor data…
531 531  
563 +OK
564 +)))
532 532  
533 533  (% style="color:#4f81bd" %)**Downlink Command:**
534 534  
... ... @@ -536,12 +536,14 @@
536 536  
537 537  === 4.3.5 Set UOA (Uplink on Activity) ===
538 538  
572 +
539 539  Feature: Enable / Disable Uplink on Activity
540 540  
541 541  * **AT+UOA=0**  : Disable UoA
576 +
542 542  * **AT+UOA=1,2** :  Enable UoA , Calm Down Time: 2 minutes. If device already send a uplink on activity, it will not send another uplink on activiy in 2 minutes, even detect activity.
543 543  
544 -Notice: Calm Down time range is 1 ~~ 65535 minutes. If user set Calm Down time to low value, such as 1 minute, the sensor might send uplink very frequenctly and battery drain fast.
579 +(% style="color:red" %)**Notice: Calm Down time range is 1 ~~ 65535 minutes. If user set Calm Down time to low value, such as 1 minute, the sensor might send uplink very frequenctly and battery drain fast.**
545 545  
546 546  (% style="color:#4f81bd" %)**AT Command: AT+UOA**
547 547  
... ... @@ -551,6 +551,7 @@
551 551  
552 552  = 5. Battery & Power Consumption =
553 553  
589 +
554 554  LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
555 555  
556 556  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
... ... @@ -558,15 +558,26 @@
558 558  
559 559  = 6. OTA firmware update =
560 560  
561 -Please see this link for how to do OTA firmware update: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]
562 562  
598 +User can change firmware LHT65N-PIR to:
563 563  
600 +* Change Frequency band/ region.
601 +* Update with new features.
602 +* Fix bugs.
603 +
604 +Firmware and changelog can be downloaded from : **[[Firmware download link>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
605 +
606 +Methods to Update Firmware:
607 +
608 +* (Recommanded way) OTA firmware update via wireless: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]
609 +* Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
610 +
564 564  = 7. FAQ =
565 565  
566 566  == 7.1 How to use AT Command? ==
567 567  
568 568  
569 -LHT65N-E5 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.
616 +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.
570 570  
571 571  
572 572  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
... ... @@ -621,8 +621,9 @@
621 621  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
622 622  
623 623  
624 -== 6.3 How to change the uplink interval? ==
671 +== 7.3 How to change the uplink interval? ==
625 625  
673 +
626 626  Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]]
627 627  
628 628  [[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"]]
... ... @@ -630,6 +630,7 @@
630 630  
631 631  == 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
632 632  
681 +
633 633  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
634 634  
635 635  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1FPORT=5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +34.8 KB
Content
ACT.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +49.3 KB
Content
AT+SLEEP.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +5.8 KB
Content
AT+TDC.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +12.3 KB
Content
FPORT=5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +29.4 KB
Content
LHT65N-E5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +215.2 KB
Content
add application1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
add application2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +53.7 KB
Content
image-20230426083533-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +190.0 KB
Content
input APP EUI.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +57.6 KB
Content
shipped.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +16.5 KB
Content