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

From version 37.1
edited by Xiaoling
on 2023/04/26 08:35
Change comment: Uploaded new attachment "image-20230426083533-1.png", version {1}
To version 37.11
edited by Xiaoling
on 2023/04/27 10:55
Change comment: There is no comment for this version

Summary

Details

Page properties
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.
... ... @@ -418,7 +418,7 @@
418 418  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]]
419 419  
420 420  
421 -**1m long breakout cable for LHT65N-E5. Features:**
453 +**1m long breakout cable for LHT65N-PIR. Features:**
422 422  
423 423  * (((
424 424  Use for AT Command
... ... @@ -437,7 +437,7 @@
437 437  
438 438  LHT65N-PIR supports below configure method:
439 439  
440 -* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]].
472 +* AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
441 441  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
442 442  
443 443  == 4.2 General Commands ==
... ... @@ -464,12 +464,13 @@
464 464  
465 465  Feature: Change LoRaWAN End Node Transmit Interval.
466 466  
467 -
468 468  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
469 469  
470 -[[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
471 471  
472 -
473 473  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
474 474  
475 475  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -482,6 +482,7 @@
482 482  
483 483  === 4.3.2 Get Device Status ===
484 484  
518 +
485 485  Send a LoRaWAN downlink to ask device send Alarm settings.
486 486  
487 487  * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**:  **0x26 01
... ... @@ -494,27 +494,22 @@
494 494  
495 495  Feature: Set device password, max 9 digits
496 496  
531 +(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
497 497  
498 -(% 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
499 499  
500 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
501 -|Command Example|Function|Response
502 -|AT+EXT=?|Get or Set external sensor model|(((
503 -5
504 -
505 -OK
538 +OK
506 506  )))
507 -|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
508 508  
509 -(% style="color:#4f81bd" %)**Downlink Command:0xA2**
542 +(% style="color:#4f81bd" %)**Downlink Command:**
510 510  
544 +No downlink command for this feature.
511 511  
512 -Total bytes: 2 bytes
513 513  
514 -**Example:**
515 -
516 -* 0xA205: Set external sensor type to E5
517 -
518 518  === 4.3.4 Set to sleep mode ===
519 519  
520 520  
... ... @@ -521,12 +521,18 @@
521 521  Feature: Set device to sleep mode
522 522  
523 523  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
553 +
524 524  * **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
525 525  
526 526  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
527 527  
528 -[[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…
529 529  
563 +OK
564 +)))
530 530  
531 531  (% style="color:#4f81bd" %)**Downlink Command:**
532 532  
... ... @@ -534,12 +534,14 @@
534 534  
535 535  === 4.3.5 Set UOA (Uplink on Activity) ===
536 536  
572 +
537 537  Feature: Enable / Disable Uplink on Activity
538 538  
539 539  * **AT+UOA=0**  : Disable UoA
576 +
540 540  * **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.
541 541  
542 -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.**
543 543  
544 544  (% style="color:#4f81bd" %)**AT Command: AT+UOA**
545 545  
... ... @@ -549,6 +549,7 @@
549 549  
550 550  = 5. Battery & Power Consumption =
551 551  
589 +
552 552  LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
553 553  
554 554  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
... ... @@ -556,8 +556,9 @@
556 556  
557 557  = 6. OTA firmware update =
558 558  
559 -User can change firmware S31x-LB to:
560 560  
598 +User can change firmware LHT65N-PIR to:
599 +
561 561  * Change Frequency band/ region.
562 562  * Update with new features.
563 563  * Fix bugs.
... ... @@ -574,7 +574,7 @@
574 574  == 7.1 How to use AT Command? ==
575 575  
576 576  
577 -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.
578 578  
579 579  
580 580  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
... ... @@ -584,7 +584,7 @@
584 584  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
585 585  
586 586  
587 -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-E5. 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.
626 +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.
588 588  
589 589  [[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"]]
590 590  
... ... @@ -631,6 +631,7 @@
631 631  
632 632  == 7.3 How to change the uplink interval? ==
633 633  
673 +
634 634  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);"]]
635 635  
636 636  [[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"]]
... ... @@ -638,6 +638,7 @@
638 638  
639 639  == 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
640 640  
681 +
641 641  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
642 642  
643 643  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.