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

From version 40.1
edited by Ellie Zhang
on 2023/05/06 10:51
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.Ellie
1 +XWiki.Bei
Content
... ... @@ -1,13 +1,9 @@
1 1  (% style="text-align:center" %)
2 -[[image:LHT65N-PIR1.jpg||alt="image-20221206143242-2.png" height="679" width="681"]]
2 +[[image:LHT65N-PIR1.jpg||alt="image-20221206143242-2.png" height="484" width="485"]]
3 3  
4 4  
5 5  
6 6  
7 -
8 -
9 -
10 -
11 11  **Table of Contents:**
12 12  
13 13  {{toc/}}
... ... @@ -17,9 +17,6 @@
17 17  
18 18  
19 19  
20 -
21 -
22 -
23 23  = 1. Introduction =
24 24  
25 25  == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor ==
... ... @@ -50,8 +50,9 @@
50 50  * Built-in 2400mAh battery for up to 5 years of use.
51 51  * Built-in Temperature & Humidity sensor
52 52  * External PIR Sensor
53 -* Tri-color LED to indicate working status(% style="display:none" %)
46 +* Tri-color LED to indicate working status
54 54  
48 +(% style="display:none" %)
55 55  
56 56  == 1.3 Specification ==
57 57  
... ... @@ -70,15 +70,12 @@
70 70  * Long Term Drift: < 0.02 °C/yr
71 71  * Operating Range: 0 ~~ 96 %RH
72 72  
73 -(% class="mark" style="color:#037691" %)**External PIR Sensor:**
67 +(% style="color:#037691" %)**External PIR Sensor:**
74 74  
75 -* (% class="mark" %)Base on BH1750 Illumination Sensor
76 -* (% class="mark" %)Cable Length : 50cm
77 -* (% class="mark" %)Resolution: 1 lx
78 -* (% class="mark" %)Range: 0-65535 lx
79 -* (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
69 +* Base on RDB223 Sensor
70 +* Cable Length : 1 meter
71 +* Stable detect distance : 0~~3 meter
80 80  
81 -
82 82  = 2. Connect LHT65N-PIR to IoT Server =
83 83  
84 84  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -107,15 +107,14 @@
107 107  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
108 108  |=(% 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**
109 109  |(% 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" %)(((
110 -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.
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.
111 111  )))
112 112  |(% 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" %)(((
113 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN 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.
114 114  (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
115 115  )))
116 -|(% 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.
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.
117 117  
118 -
119 119  == 2.3 Example to join LoRaWAN network ==
120 120  
121 121  
... ... @@ -137,7 +137,7 @@
137 137  
138 138  Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
139 139  
140 -[[image:image-20230426083533-1.png]]
130 +[[image:image-20230426083533-1.png||height="286" width="616"]]
141 141  
142 142  
143 143  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
... ... @@ -188,52 +188,55 @@
188 188  
189 189  Example parse in TTNv3
190 190  
191 -[[image:1FPORT=5.png||alt="1675144504430-490.png" height="265" width="1150"]]
181 +[[image:image-20230508151932-1.png]]
192 192  
193 -**Sensor Model**: For LHT65N-PIR, this value is 0x1A
194 194  
195 -**Firmware Version**: 0x0100, Means: v1.0.0 version
184 +(% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A
196 196  
197 -**Frequency Band**:
186 +(% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
198 198  
199 -*0x01: EU868
188 +(% style="color:blue" %)**Frequency Band**:
200 200  
201 -*0x02: US915
190 +0x01: EU868
202 202  
203 -*0x03: IN865
192 +0x02: US915
204 204  
205 -*0x04: AU915
194 +0x03: IN865
206 206  
207 -*0x05: KZ865
196 +0x04: AU915
208 208  
209 -*0x06: RU864
198 +0x05: KZ865
210 210  
211 -*0x07: AS923
200 +0x06: RU864
212 212  
213 -*0x08: AS923-1
202 +0x07: AS923
214 214  
215 -*0x09: AS923-2
204 +0x08: AS923-1
216 216  
217 -*0x0a: AS923-3
206 +0x09: AS923-2
218 218  
219 -*0x0b: CN470
208 +0x0a: AS923-3
220 220  
221 -*0x0c: EU433
210 +0x0b: CN470
222 222  
223 -*0x0d: KR920
212 +0x0c: EU433
224 224  
225 -*0x0e: MA869
214 +0x0d: KR920
226 226  
227 -**Sub-Band**:
216 +0x0e: MA869
228 228  
229 -AU915 and US915:value 0x00 ~~ 0x08
230 230  
219 +(% style="color:blue" %)**Sub-Band**:
220 +
221 +AU915 and US915: value 0x00 ~~ 0x08
222 +
231 231  CN470: value 0x0B ~~ 0x0C
232 232  
233 233  Other Bands: Always 0x00
234 234  
235 -**Battery Info**:
236 236  
228 +(% style="color:blue" %)**Battery Info**:
229 +
237 237  Check the battery voltage.
238 238  
239 239  Ex1: 0x0B45 = 2885mV
... ... @@ -249,21 +249,21 @@
249 249  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
250 250  
251 251  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
252 -|=(% style="width: 60px;background-color:#D9E2F3" %)(((
245 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
253 253  **Size(bytes)**
254 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
247 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
255 255  **2**
256 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
249 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
257 257  **2**
258 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
251 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
259 259  **2**
260 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
253 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
261 261  **1**
262 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
255 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
263 263  **4**
264 264  )))
265 265  |(% style="width:97px" %)(((
266 -**Value**
259 +Value
267 267  )))|(% style="width:39px" %)(((
268 268  [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
269 269  )))|(% style="width:100px" %)(((
... ... @@ -285,7 +285,6 @@
285 285  * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
286 286  * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
287 287  
288 -
289 289  === 2.5.1 Decoder in TTN V3 ===
290 290  
291 291  
... ... @@ -307,7 +307,7 @@
307 307  **Bit(bit)**
308 308  )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
309 309  |(% style="width:66px" %)(((
310 -**Value**
302 +Value
311 311  )))|(% style="width:250px" %)(((
312 312  BAT Status
313 313  00(b): Ultra Low ( BAT <= 2.50v)
... ... @@ -324,9 +324,9 @@
324 324  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
325 325  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
326 326  
327 -
328 328  === 2.5.3 Built-in Temperature ===
329 329  
321 +
330 330  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]]
331 331  
332 332  * Temperature:  0x0ABB/100=27.47℃
... ... @@ -335,21 +335,21 @@
335 335  
336 336  * Temperature:  (0xF5C6-65536)/100=-26.18℃
337 337  
338 -
339 339  === 2.5.4 Built-in Humidity ===
340 340  
332 +
341 341  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]]
342 342  
343 343  * Humidity:    0x025C/10=60.4%
344 344  
345 -
346 346  === 2.5.5 Ext value ===
347 347  
348 -==== 2.5.5.1 Ext~=0x0A, PIR Sensor ====
339 +==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
349 349  
350 -[[image:image-20221224161634-2.png||height="138" width="851"]]
351 351  
342 +[[image:ext=14.png||alt="image-20221224161634-2.png"]]
352 352  
344 +
353 353  ==== 2.5.5.2 Ext Value ====
354 354  
355 355  
... ... @@ -358,11 +358,11 @@
358 358  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
359 359  
360 360  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %)
361 -|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
353 +|=(% style="width: 107px; background-color:#D9E2F3;color:#0070C0" %)(((
362 362  **The 8^^th^^ byte**
363 -)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
355 +)))|=(% style="width: 73px; background-color:#D9E2F3;color:#0070C0" %)(((
364 364  **Bit 1~~7**
365 -)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
357 +)))|=(% style="width: 213px; background-color:#D9E2F3;color:#0070C0" %)(((
366 366  **Bit 0**
367 367  )))
368 368  |(% style="width:106px" %)(((
... ... @@ -372,7 +372,6 @@
372 372  )))|(% style="width:211px" %)(((
373 373  (((
374 374  0: Normal Uplink
375 -
376 376  1: Uplink by activity detected
377 377  )))
378 378  )))
... ... @@ -384,6 +384,7 @@
384 384  0x00 E5 09 : Total detect 58633 activity since end node start.
385 385  
386 386  
378 +
387 387  == 2.6 Show data on Datacake ==
388 388  
389 389  
... ... @@ -413,11 +413,195 @@
413 413  
414 414  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20221224161957-6.png||height="306" width="852"]]
415 415  
408 +== 2.7 Alarm Mode & Feature "Multi sampling, one uplink" ==
416 416  
417 417  
418 -== 2.7 LED Indicator ==
411 +(((
412 +when the device is in alarm mode, it checks the built-in sensor temperature for a short time. if the temperature exceeds the preconfigured range, it sends an uplink immediately.
413 +)))
419 419  
415 +(((
416 +(% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
420 420  
418 +
419 +=== 2.7.1 ALARM MODE ( Since v1.3.1 firmware) ===
420 +
421 +
422 +**Internal GXHT30 temperature alarm(Acquisition time: fixed at one minute)**
423 +
424 +(((
425 +(% class="box infomessage" %)
426 +(((
427 +**AT+WMOD=3**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
428 +
429 +**AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
430 +
431 +**AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
432 +
433 +(% _mstmutation="1" %)**AT+ARTEMP=? **(%%):  Gets the alarm range of the internal temperature sensor(% style="display:none" %)
434 +
435 +**AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
436 +
437 +**AT+LEDALARM=1** :       Enable LED visual Alarm.
438 +)))
439 +)))
440 +
441 +(% style="color:#4f81bd" %)**Downlink Command:**
442 +
443 +AT+WMOD=1:  A501  , AT+WMOD=0 :  A600
444 +
445 +AT+CITEMP=1 : A60001
446 +
447 +AT+ARTEMP=1,60  :  A70001003C
448 +
449 +AT+ARTEMP=-16,60 :  A7FFF0003C
450 +
451 +AT+LEDALARM=1  :  3601
452 +
453 +
454 +(% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX**
455 +
456 +Total bytes: 8 bytes
457 +
458 +**Example: **AA0100010001003C
459 +
460 +WMOD=01
461 +
462 +CITEMP=0001
463 +
464 +TEMPlow=0001
465 +
466 +TEMPhigh=003C
467 +
468 +
469 +**DS18B20 and TMP117 Threshold Alarm**
470 +
471 +**~ AT+WMOD=1,60,-10,20**
472 +
473 +(% style="color:#4f81bd" %)**Downlink Command:**
474 +
475 +**Example: **A5013CFC180014
476 +
477 +MOD=01
478 +
479 +CITEMP=3C(S)
480 +
481 +TEMPlow=FC18
482 +
483 +TEMPhigh=0014
484 +
485 +
486 +**Fluctuation alarm for DS18B20 and TMP117(Acquisition time: minimum 1s)**
487 +
488 +**AT+WMOD=2,60,5** 
489 +
490 +(% style="color:#4f81bd" %)**Downlink Command:**
491 +
492 +**Example: **A5023C05
493 +
494 +MOD=02
495 +
496 +CITEMP=3C(S)
497 +
498 +temperature fluctuation=05
499 +
500 +
501 +**Sampling multiple times and uplink together**
502 +
503 +**AT+WMOD=3,1,60,20,-16,32,1**   
504 +
505 +Explain:
506 +
507 +* (% style="color:#037691" %)**parameter1: **(%%)Set Working Mode to **Mode 3**
508 +* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30).
509 +* (% style="color:#037691" %)**parameter3: **(%%)Sampling Interval is **60**s.
510 +* (% style="color:#037691" %)**parameter4: **(%%)When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink)
511 +* (% style="color:#037691" %)**parameter5 & parameter6: **(%%)Temperature alarm range is **-16** to **32**°C,
512 +* (% style="color:#037691" %)**parameter7:**(%%) 1 to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately  if temperate exceeds the Alarm range.
513 +
514 +(% style="color:#4f81bd" %)**Downlink Command:**
515 +
516 +**Example: **A50301003C14FFF0002001
517 +
518 +MOD=03
519 +
520 +TEMP=DS18B20
521 +
522 +CITEMP=003C(S)
523 +
524 +Total number of acquisitions=14
525 +
526 +TEMPlow=FFF0
527 +
528 +TEMPhigh=0020
529 +
530 +ARTEMP=01
531 +
532 +
533 +**Uplink payload( Fport=3)**
534 +
535 +**Example: CBEA**01**0992**//0A41//**09C4**
536 +
537 +BatV=CBEA
538 +
539 +TEMP=DS18B20
540 +
541 +Temp1=0992  ~/~/ 24.50℃
542 +
543 +Temp2=0A41  ~/~/ 26.25℃
544 +
545 +Temp3=09C4  ~/~/ 25.00℃
546 +
547 +(% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length**
548 +
549 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
550 +)))
551 +
552 +
553 +=== 2.7.2 ALARM MODE ( Before v1.3.1 firmware) ===
554 +
555 +
556 +(% class="box infomessage" %)
557 +(((
558 +(((
559 +**AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
560 +)))
561 +
562 +(((
563 +**AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
564 +)))
565 +
566 +(((
567 +**AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
568 +)))
569 +
570 +(((
571 +(% _mstmutation="1" %)**AT+ARTEMP=? **(%%):  Gets the alarm range of the internal temperature sensor(% style="display:none" %)
572 +)))
573 +
574 +(((
575 +**AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
576 +)))
577 +)))
578 +
579 +(% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX**
580 +
581 +Total bytes: 8 bytes
582 +
583 +**Example:**AA0100010001003C
584 +
585 +WMOD=01
586 +
587 +CITEMP=0001
588 +
589 +TEMPlow=0001
590 +
591 +TEMPhigh=003C
592 +
593 +
594 +== 2.8 LED Indicator ==
595 +
596 +
421 421  The LHT65N-PIR has a triple color LED which for easy showing different stage .
422 422  
423 423  While user press ACT button, the LED will work as per LED status with ACT button.
... ... @@ -424,15 +424,14 @@
424 424  
425 425  In a normal working state:
426 426  
427 -* For each uplink, the **BLUE LED** or **RED LED** will blink once.
428 -**BLUE LED** when external sensor is connected.
429 -* **RED LED** when external sensor is not connected
430 -* For each success downlink, the PURPLE LED will blink once
603 +* For each uplink, the (% style="color:blue" %)**BLUE LED**(%%) or (% style="color:red" %)**RED LED**(%%) will blink once.
604 +(% style="color:blue" %)**BLUE LED**(%%) when external sensor is connected.
605 +* (% style="color:red" %)**RED LED**(%%) when external sensor is not connected
606 +* For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
431 431  
608 +== 2.9 installation ==
432 432  
433 -== 2.8 installation ==
434 434  
435 -
436 436  ~1. Don't install LHT65N-PIR outdoor or place where will get wet.
437 437  
438 438  2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
... ... @@ -441,15 +441,19 @@
441 441  
442 442  [[image:image-20230411135341-1.png||height="450" width="456"]]
443 443  
619 +
444 444  (% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.**
445 445  
446 446  * 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.
623 +
447 447  * 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.
625 +
448 448  * 3. PIR should not be installed facing the moving objects or background changing objects, movement object will cause airflow change, it may cause false alarm.
627 +
449 449  * 4. Between the detection range of PIR Motion detector, there is should be less objects.  Many objects may reduce the sensitive of detection range.
629 +
450 450  * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
451 451  
452 -
453 453  = 3. Sensors and Accessories =
454 454  
455 455  == 3.1 E2 Extension Cable ==
... ... @@ -478,9 +478,9 @@
478 478  LHT65N-PIR supports below configure method:
479 479  
480 480  * AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
660 +
481 481  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
482 482  
483 -
484 484  == 4.2 General Commands ==
485 485  
486 486  
... ... @@ -505,11 +505,11 @@
505 505  
506 506  Feature: Change LoRaWAN End Node Transmit Interval.
507 507  
508 -(% style="color:#4f81bd" %)**AT Command: AT+TDC**
687 +(% style="color:#4f81bd" %)**AT Command: **
509 509  
510 510  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
511 511  |(% 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**
512 -|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
691 +|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
513 513  |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
514 514  
515 515  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
... ... @@ -522,7 +522,6 @@
522 522  
523 523  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
524 524  
525 -
526 526  === 4.3.2 Get Device Status ===
527 527  
528 528  
... ... @@ -538,7 +538,7 @@
538 538  
539 539  Feature: Set device password, max 9 digits
540 540  
541 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
719 +(% style="color:#4f81bd" %)**AT Command: **
542 542  
543 543  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
544 544  |(% 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**
... ... @@ -559,11 +559,11 @@
559 559  
560 560  Feature: Set device to sleep mode
561 561  
562 -* **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
740 +* (% style="color:#037691" %)**AT+Sleep=0**(%%)  : Normal working mode, device will sleep and use lower power when there is no LoRa message
563 563  
564 -* **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
742 +* (% style="color:#037691" %)**AT+Sleep=1**(%%) :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
565 565  
566 -(% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
744 +(% style="color:#4f81bd" %)**AT Command: **
567 567  
568 568  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
569 569  |(% 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**
... ... @@ -577,24 +577,29 @@
577 577  
578 578  * There is no downlink command to set to Sleep mode.
579 579  
580 -
581 581  === 4.3.5 Set UOA (Uplink on Activity) ===
582 582  
583 583  
584 584  Feature: Enable / Disable Uplink on Activity
585 585  
586 -* **AT+UOA=0**  : Disable UoA
763 +(% style="color:#4f81bd" %)**AT Command: **
587 587  
588 -* **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.
765 +* (% style="color:#037691" %)**AT+UOA=0**(%%)  : Disable UoA
589 589  
767 +* (% style="color:#037691" %)**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.
768 +
590 590  (% 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.**
591 591  
592 -(% style="color:#4f81bd" %)**AT Command: AT+UOA**
593 593  
772 +(% style="color:#4f81bd" %)**Downlink Command:**
594 594  
595 -(% style="color:#4f81bd" %)**Downlink Command **(% class="mark" %)**xxxxxxx**
774 +Format: Command Code (0xA1) followed by 1 byte or 3 bytes.
596 596  
776 +When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time.
597 597  
778 +* (% style="color:#037691" %)**A1 00    **(%%)** ==>  AT+UOA=0     **
779 +* (% style="color:#037691" %)**A1 01 00 02  **(%%)** ==>  AT+UOA=1,2**
780 +
598 598  = 5. Battery & Power Consumption =
599 599  
600 600  
... ... @@ -619,7 +619,6 @@
619 619  * (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/]]
620 620  * 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]]**.
621 621  
622 -
623 623  = 7. FAQ =
624 624  
625 625  == 7.1 How to use AT Command? ==
... ... @@ -631,7 +631,6 @@
631 631  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
632 632  
633 633  
634 -
635 635  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
636 636  
637 637  
... ... @@ -692,10 +692,12 @@
692 692  
693 693  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
694 694  
876 +
695 695  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
696 696  
697 697  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615170542-5.png||_mstalt="430638"]]
698 698  
881 +
699 699  (% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
700 700  
701 701  First connect the four lines;(% style="display:none" %)
... ... @@ -708,7 +708,6 @@
708 708  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-2.png||_mstalt="431704"]]
709 709  
710 710  
711 -
712 712  (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
713 713  
714 714  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615171334-6.png||_mstalt="431028"]]
... ... @@ -724,8 +724,6 @@
724 724  
725 725  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
726 726  
727 -
728 -
729 729  [[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"]]
730 730  
731 731  
... ... @@ -745,7 +745,6 @@
745 745  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
746 746  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
747 747  
748 -
749 749  = 9. Packing Info =
750 750  
751 751  
... ... @@ -753,18 +753,11 @@
753 753  
754 754  * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1
755 755  
756 -**Dimension and weight**:
757 -
758 -* Device Size:  10 x 10 x 3.5 mm
759 -* Device Weight: 120.5g
760 -
761 -
762 762  = 10. Reference material =
763 763  
764 764  
765 765  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
766 766  
767 -
768 768  = 11. FCC Warning =
769 769  
770 770  
ext=14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ellie
Size
... ... @@ -1,0 +1,1 @@
1 +30.5 KB
Content
image-20230508151932-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.kai
Size
... ... @@ -1,0 +1,1 @@
1 +36.0 KB
Content