<
From version < 64.1 >
edited by Xiaoling
on 2022/05/23 15:12
To version < 100.6 >
edited by Xiaoling
on 2022/05/25 11:50
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,5 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20220523115324-1.jpeg||height="500" width="500"]]
2 +[[image:image-20220523115324-1.jpeg||height="317" width="317"]]
3 3  
4 4  
5 5  **LHT65N LoRaWAN Temperature & Humidity Sensor Manual**
... ... @@ -6,6 +6,7 @@
6 6  
7 7  
8 8  
9 +
9 9  **Table of Contents:**
10 10  
11 11  {{toc/}}
... ... @@ -12,8 +12,9 @@
12 12  
13 13  
14 14  
15 -= 1.Introduction =
16 16  
17 += 1. Introduction =
18 +
17 17  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
18 18  
19 19  (((
... ... @@ -132,11 +132,7 @@
132 132  
133 133  [[image:image-20220515123819-1.png||height="379" width="317"]]
134 134  
135 -(% border="1" style="background-color:#ffffcc; color:green; width:739px" %)
136 -|**Behavior on ACT**|**Function**|(% style="width:424px" %)**Action**
137 -|**Pressing ACT between 1s < time < 3s**|Test uplink status|(% style="width:424px" %)If LHT65N is already Joined to the LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has an external sensor connected, blue led will blink once. If LHT65N has no external sensor, red led will blink once.
138 -|**Pressing ACT for more than 3s**|Active Device|(% style="width:424px" %)green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network.
139 -|**Fast press ACT 5 times**|Deactivate Device|(% style="width:424px" %)red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode.
137 +[[image:image-20220525110604-2.png]]
140 140  
141 141  == 2.3 Example to join LoRaWAN network ==
142 142  
... ... @@ -190,45 +190,39 @@
190 190  
191 191  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
192 192  
193 -
194 -(% border="1" style="background-color:#ffffcc; color:green; width:428px" %)
195 -|(% style="width:106px" %)(((
191 +(% border="1" style="background-color:#ffffcc; color:green; width:426px" %)
192 +|(% style="width:97px" %)(((
196 196  **Size(bytes)**
197 -)))|(% style="width:46px" %)(((
194 +)))|(% style="width:39px" %)(((
198 198  **2**
199 -)))|(% style="width:104px" %)(((
196 +)))|(% style="width:100px" %)(((
200 200  **2**
201 -)))|(% style="width:80px" %)(((
198 +)))|(% style="width:77px" %)(((
202 202  **2**
203 -)))|(% style="width:51px" %)(((
200 +)))|(% style="width:47px" %)(((
204 204  **1**
205 -)))|(% style="width:35px" %)(((
202 +)))|(% style="width:51px" %)(((
206 206  **4**
207 207  )))
208 -|(% style="width:106px" %)(((
205 +|(% style="width:97px" %)(((
209 209  **Value**
210 -)))|(% style="width:46px" %)(((
211 -[[BAT>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.2BAT-BatteryInfo]]
212 -)))|(% style="width:104px" %)(((
207 +)))|(% style="width:39px" %)(((
208 +[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]]
209 +)))|(% style="width:100px" %)(((
213 213  (((
214 -[[Built-In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
211 +[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
215 215  )))
216 -
213 +)))|(% style="width:77px" %)(((
217 217  (((
218 -[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
215 +[[Built-in>>||anchor="H2.4.4Built-inHumidity"]]
219 219  )))
220 -)))|(% style="width:80px" %)(((
221 221  (((
222 -[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
218 +[[Humidity>>||anchor="H2.4.4Built-inHumidity"]]
223 223  )))
224 -
225 -(((
226 -[[Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
227 -)))
220 +)))|(% style="width:47px" %)(((
221 +[[Ext>>||anchor="H2.4.5Ext23"]] #
228 228  )))|(% style="width:51px" %)(((
229 -[[Ext>>path:#Extension_Sensor]] #
230 -)))|(% style="width:35px" %)(((
231 -[[Ext value>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]]
223 +[[Ext value>>||anchor="H2.4.6Extvalue"]]
232 232  )))
233 233  
234 234  * The First 6 bytes: has fix meanings for every LHT65N.
... ... @@ -249,40 +249,8 @@
249 249  
250 250  These two bytes of BAT include the battery state and the actually voltage
251 251  
252 -(% border="1" style="background-color:#ffffcc; color:green; width:502px" %)
253 -|(% style="width:75px" %)(((
254 -Bit(bit)
255 -)))|(% style="width:259px" %)(((
256 -[15:14]
257 -)))|(% style="width:164px" %)(((
258 -[13:0]
259 -)))
260 -|(% style="width:75px" %)(((
261 -Value
262 -)))|(% style="width:259px" %)(((
263 -(((
264 -BAT Status
265 -)))
244 +[[image:image-20220523152839-18.png]]
266 266  
267 -(((
268 -00(b): Ultra Low ( BAT <= 2.50v)
269 -)))
270 -
271 -(((
272 -01(b): Low  (2.50v <=BAT <= 2.55v)
273 -)))
274 -
275 -(((
276 -10(b): OK   (2.55v <= BAT <=2.65v)
277 -)))
278 -
279 -(((
280 -11(b): Good   (BAT >= 2.65v)
281 -)))
282 -)))|(% style="width:164px" %)(((
283 -Actually BAT voltage
284 -)))
285 -
286 286  [[image:image-20220522235639-1.png||height="139" width="727"]]
287 287  
288 288  Check the battery voltage for LHT65N.
... ... @@ -310,10 +310,7 @@
310 310  
311 311  Bytes for External Sensor:
312 312  
313 -(% border="1" style="background-color:#ffffcc; color:green; width:473px" %)
314 -|(% style="width:139px" %)**EXT # Value**|(% style="width:331px" %)**External Sensor Type**
315 -|(% style="width:139px" %)0x01|(% style="width:331px" %)Sensor E3, Temperature Sensor
316 -|(% style="width:139px" %)0x09|(% style="width:331px" %)Sensor E3, Temperature Sensor, Datalog Mod
273 +[[image:image-20220523152822-17.png]]
317 317  
318 318  === 2.4.6 Ext value ===
319 319  
... ... @@ -342,21 +342,47 @@
342 342  
343 343  Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below:
344 344  
345 -(% border="1" style="background-color:#ffffcc; color:green; width:541px" %)
346 -|(% style="width:96px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:69px" %)**2**|(% style="width:88px" %)**2**|(% style="width:69px" %)**1**|(% style="width:85px" %)**4**
347 -|(% style="width:96px" %)**Value**|(% style="width:71px" %)[[External temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.2SetExternalSensorMode]]|(% style="width:69px" %)(((
348 -[[Built-In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
302 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
303 +|(% style="width:96px" %)(((
304 +**Size(bytes)**
305 +)))|(% style="width:71px" %)(((
306 +**2**
307 +)))|(% style="width:99px" %)(((
308 +**2**
309 +)))|(% style="width:132px" %)(((
310 +**2**
311 +)))|(% style="width:54px" %)(((
312 +**1**
313 +)))|(% style="width:64px" %)(((
314 +**4**
315 +)))
316 +|(% style="width:96px" %)(((
317 +**Value**
318 +)))|(% style="width:71px" %)(((
319 +[[External temperature>>||anchor="H4.2SetExternalSensorMode"]]
320 +)))|(% style="width:99px" %)(((
321 +(((
322 +[[Built-In>>||anchor="H2.4.3Built-inTemperature"]]
323 +)))
349 349  
350 -[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
351 -)))|(% style="width:88px" %)(((
325 +(((
326 +[[Temperature>>||anchor="H2.4.3Built-inTemperature"]]
327 +)))
328 +)))|(% style="width:132px" %)(((
329 +(((
352 352  BAT Status &
331 +)))
353 353  
354 -[[Built-in>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
355 -
356 -[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
357 -)))|(% style="width:69px" %)Status & Ext|(% style="width:85px" %)(((
358 -[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]]
333 +(((
334 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
359 359  )))
336 +)))|(% style="width:54px" %)(((
337 +Status & Ext
338 +)))|(% style="width:64px" %)(((
339 +(((
340 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
341 +)))
342 +)))
360 360  
361 361  * **Battery status & (% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)Built-in Humidity(%%)**
362 362  
... ... @@ -373,7 +373,7 @@
373 373  
374 374  11(b): Good   (BAT >= 2.65v)
375 375  )))|(% style="width:134px" %)(((
376 -[[Built-in Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
359 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
377 377  
378 378  
379 379  )))
... ... @@ -380,11 +380,7 @@
380 380  
381 381  * **Status & Ext Byte**
382 382  
383 -(% border="1" style="background-color:#ffffcc; color:green; width:587px" %)
384 -|(% style="width:109px" %)**Bits**|(% style="width:105px" %)**7**|(% style="width:105px" %)**6**|(% style="width:82px" %)**5**|(% style="width:84px" %)**4**|(% style="width:97px" %)**[3:0]**
385 -|(% style="width:109px" %)**Status & Ext**|(% style="width:105px" %)Not Defined|(% style="width:105px" %)Poll Message Flag|(% style="width:82px" %)Sync time OK|(% style="width:84px" %)Unix Time Request|(% style="width:97px" %)(((
386 -Ext:0b(1001)
387 -)))
366 +[[image:image-20220523152434-16.png]]
388 388  
389 389  * Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink.
390 390  * Sync time OK: 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server.
... ... @@ -421,10 +421,17 @@
421 421  
422 422  == 2.6 Datalog Feature ==
423 423  
424 -This feature is always enabled. When user wants to retrieve the sensor value, he can send a poll command from the IoT platform to ask LHT65N to send the value in the required time slot.
403 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N.
425 425  
426 -=== 2.6.1 Unix TimeStamp ===
405 +=== 2.6.1 Ways to get datalog via LoRaWAN ===
427 427  
407 +There are two methods:
408 +
409 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range.
410 +1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after network recover.
411 +
412 +=== 2.6.2 Unix TimeStamp ===
413 +
428 428  LHT65N uses Unix TimeStamp format based on
429 429  
430 430  [[image:image-20220523001219-11.png||height="97" width="627"]]
... ... @@ -442,7 +442,7 @@
442 442  
443 443  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
444 444  
445 -=== 2.6.2 Set Device Time ===
431 +=== 2.6.3 Set Device Time ===
446 446  
447 447  (((
448 448  There are two ways to set device’s time:
... ... @@ -476,21 +476,18 @@
476 476  User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
477 477  )))
478 478  
479 -=== 2.6.3 Poll sensor value ===
465 +=== 2.6.4 Poll sensor value ===
480 480  
481 481  User can poll sensor value based on timestamps from the server. Below is the downlink command.
482 482  
469 +[[image:image-20220523152302-15.png]]
483 483  
484 -(% border="1" style="background-color:#ffffcc; color:green; width:427px" %)
485 -|(% style="width:61px" %)1byte|(% style="width:126px" %)4bytes|(% style="width:120px" %)4bytes|(% style="width:115px" %)1byte
486 -|(% style="width:61px" %)31|(% style="width:126px" %)Timestamp start|(% style="width:120px" %)Timestamp end|(% style="width:115px" %)Uplink Interval
487 -
488 488  (((
489 489  Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval.
490 490  )))
491 491  
492 492  (((
493 -For example, downlink command **31 5FC5F350 5FC6 0160 05**
476 +For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05**
494 494  )))
495 495  
496 496  (((
... ... @@ -502,7 +502,7 @@
502 502  )))
503 503  
504 504  
505 -=== 2.6.4 Datalog Uplink payload ===
488 +=== 2.6.5 Datalog Uplink payload ===
506 506  
507 507  The Datalog poll reply uplink will use below payload format.
508 508  
... ... @@ -510,100 +510,138 @@
510 510  **Retrieval data payload**
511 511  )))
512 512  
513 -(% border="1" style="background-color:#ffffcc; color:green; width:545px" %)
496 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
514 514  |(% style="width:93px" %)(((
498 +(((
515 515  **Size(bytes)**
500 +)))
516 516  )))|(% style="width:71px" %)(((
502 +(((
517 517  **2**
504 +)))
518 518  )))|(% style="width:102px" %)(((
506 +(((
519 519  **2**
508 +)))
520 520  )))|(% style="width:86px" %)(((
510 +(((
521 521  **2**
522 -)))|(% style="width:90px" %)(((
512 +)))
513 +)))|(% style="width:86px" %)(((
514 +(((
523 523  **1**
524 -)))|(% style="width:85px" %)(((
516 +)))
517 +)))|(% style="width:48px" %)(((
518 +(((
525 525  **4**
526 526  )))
521 +)))
527 527  |(% style="width:93px" %)(((
523 +(((
528 528  **Value**
525 +)))
529 529  )))|(% style="width:71px" %)(((
530 -[[External sensor data>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]]
527 +(((
528 +[[External sensor data>>||anchor="H2.4.6Extvalue"]]
529 +)))
531 531  )))|(% style="width:102px" %)(((
532 532  (((
533 -[[Built In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
532 +(((
533 +[[Built In>>||anchor="H2.4.3Built-inTemperature"]]
534 534  )))
535 +)))
535 535  
536 536  (((
537 -[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
538 +(((
539 +[[Temperature>>||anchor="H2.4.3Built-inTemperature"]]
538 538  )))
541 +)))
539 539  )))|(% style="width:86px" %)(((
540 540  (((
541 -[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
544 +(((
545 +[[Built-in>>||anchor="H2.4.4Built-inHumidity"]]
542 542  )))
547 +)))
543 543  
544 544  (((
545 -[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
550 +(((
551 +[[Humidity>>||anchor="H2.4.4Built-inHumidity"]]
546 546  )))
547 -)))|(% style="width:90px" %)(((
548 -[[Poll message flag & Ext>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.4DatalogUplinkpayload]]
549 -)))|(% style="width:85px" %)(((
553 +)))
554 +)))|(% style="width:86px" %)(((
550 550  (((
551 -[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.1UnixTimeStamp]]
556 +[[Poll message flag & Ext>>||anchor="H2.6.4DatalogUplinkpayload"]]
552 552  )))
558 +)))|(% style="width:48px" %)(((
559 +(((
560 +(((
561 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
562 +)))
563 +)))
553 553  
554 554  (((
566 +(((
555 555  
556 556  )))
557 557  )))
570 +)))
558 558  
559 559  **Poll message flag & Ext**
560 560  
561 -(% border="1" style="background-color:#ffffcc; color:green; width:540px" %)
562 -|(% style="width:81px" %)**Bits**|(% style="width:100px" %)**7**|(% style="width:105px" %)**6**|(% style="width:84px" %)**5**|(% style="width:85px" %)**4**|(% style="width:79px" %)**[3:0]**
563 -|(% style="width:81px" %)**Status & Ext**|(% style="width:100px" %)Not Defined|(% style="width:105px" %)Poll Message Flag|(% style="width:84px" %)Sync time OK|(% style="width:85px" %)Unix Time Request|(% style="width:79px" %)(((
564 -(((
565 -Ext:
566 -)))
574 +[[image:image-20220523152208-14.png]]
567 567  
568 568  (((
569 -0b(1001)
570 -)))
571 -)))
572 -
573 573  (((
574 574  Poll Message Flag: 1: This message is a poll message reply.
575 575  )))
580 +)))
576 576  
577 577  * (((
583 +(((
578 578  Poll Message Flag is set to 1.
579 579  )))
586 +)))
580 580  * (((
588 +(((
581 581  Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
582 582  )))
591 +)))
583 583  
584 584  (((
594 +(((
585 585  For example, in US915 band, the max payload for different DR is:
586 586  )))
597 +)))
587 587  
588 588  (((
600 +(((
589 589  a) DR0: max is 11 bytes so one entry of data
590 590  )))
603 +)))
591 591  
592 592  (((
606 +(((
593 593  b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
594 594  )))
609 +)))
595 595  
596 596  (((
612 +(((
597 597  c) DR2: total payload includes 11 entries of data
598 598  )))
615 +)))
599 599  
600 600  (((
618 +(((
601 601  d) DR3: total payload includes 22 entries of data.
602 602  )))
621 +)))
603 603  
604 604  (((
624 +(((
605 605  If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0   
606 606  )))
627 +)))
607 607  
608 608  
609 609  **Example:**
... ... @@ -612,14 +612,25 @@
612 612  
613 613  [[image:image-20220523144455-1.png||height="335" width="735"]]
614 614  
636 +(((
615 615  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
638 +)))
616 616  
640 +(((
617 617   Where : Start time: 60065F97 = time 21/1/19 04:27:03
642 +)))
618 618  
644 +(((
619 619   Stop time 60066DA7= time 21/1/19 05:27:03
646 +)))
620 620  
648 +(((
649 +
650 +)))
621 621  
652 +(((
622 622  LHT65N will uplink this payload.
654 +)))
623 623  
624 624  [[image:image-20220523001219-13.png||height="421" width="727"]]
625 625  
... ... @@ -643,19 +643,27 @@
643 643  
644 644  Alarm mode feature is added since firmware v1.5. When device is in Alarm mode, it will check the built-in sensor temperature in a short interval. If the temperature exceeds the pre-configure range, it will send an uplink immediately.
645 645  
678 +(((
646 646  (% style="color:red" %)Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature.
680 +)))
647 647  
682 +(((
648 648  **AT Commands for Alarm mode:**
684 +)))
649 649  
650 650  (% class="box infomessage" %)
651 651  (((
688 +(((
652 652  **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable)
653 653  )))
691 +)))
654 654  
655 655  (% class="box infomessage" %)
656 656  (((
695 +(((
657 657  **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute)
658 658  )))
698 +)))
659 659  
660 660  == 2.8 LED Indicator ==
661 661  
... ... @@ -708,29 +708,55 @@
708 708  
709 709  = 4. Configure LHT65N via AT Command or LoRaWAN Downlink =
710 710  
751 +(((
711 711  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
753 +)))
712 712  
713 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
714 -* LoRaWAN Downlink instruction for different platforms:
755 +* (((
756 +AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
757 +)))
758 +* (((
759 +LoRaWAN Downlink instruction for different platforms:
760 +)))
715 715  
762 +(((
716 716  [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]]
764 +)))
717 717  
766 +(((
718 718  There are two kinds of commands to configure LHT65N, they are:
768 +)))
719 719  
770 +(((
720 720  (% style="color:#4f81bd" %)* **General Commands**.
772 +)))
721 721  
774 +(((
722 722  These commands are to configure:
776 +)))
723 723  
724 -* General system settings like: uplink interval.
725 -* LoRaWAN protocol & radio-related commands.
778 +* (((
779 +General system settings like: uplink interval.
780 +)))
781 +* (((
782 +LoRaWAN protocol & radio-related commands.
783 +)))
726 726  
785 +(((
727 727  They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki:
787 +)))
728 728  
789 +(((
729 729  [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]
791 +)))
730 730  
793 +(((
731 731  (% style="color:#4f81bd" %)* **Commands special design for LHT65N**
795 +)))
732 732  
797 +(((
733 733  These commands are only valid for LHT65N, as below:
799 +)))
734 734  
735 735  == 4.1 Set Transmit Interval Time ==
736 736  
... ... @@ -738,29 +738,26 @@
738 738  
739 739  **AT Command: AT+TDC**
740 740  
741 -(% border="1" %)
742 -|**Command Example**|**Function**|**Response**
743 -|AT+TDC?|Show current transmit Interval|(((
744 -30000
807 +[[image:image-20220523150701-2.png]]
745 745  
746 -OK
747 -
748 -the interval is 30000ms = 30s
809 +(((
810 +**Downlink Command: 0x01**
749 749  )))
750 -|AT+TDC=60000|Set Transmit Interval|(((
751 -OK
752 752  
753 -Set transmit interval to 60000ms = 60 seconds
813 +(((
814 +Format: Command Code (0x01) followed by 3 bytes time value.
754 754  )))
755 755  
756 -**Downlink Command: 0x01**
757 -
758 -Format: Command Code (0x01) followed by 3 bytes time value.
759 -
817 +(((
760 760  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
819 +)))
761 761  
762 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
763 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
821 +* (((
822 +**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
823 +)))
824 +* (((
825 +**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
826 +)))
764 764  
765 765  == 4.2 Set External Sensor Mode ==
766 766  
... ... @@ -768,27 +768,29 @@
768 768  
769 769  **AT Command: AT+EXT**
770 770  
771 -(% border="1" %)
772 -|**Command Example**|**Function**|**Response**
773 -|AT+EXT?|Get current external sensor mode|(((
774 -1
834 +[[image:image-20220523150759-3.png]]
775 775  
776 -OK
777 -
778 -External Sensor mode =1
836 +(((
837 +**Downlink Command: 0xA2**
779 779  )))
780 -|AT+EXT=1|(% colspan="2" %)Set external sensor mode to 1
781 -|AT+EXT=9|(% colspan="2" %)Set to external DS18B20 with timestamp
782 782  
783 -**Downlink Command: 0xA2**
784 -
840 +(((
785 785  Total bytes: 2 ~~ 5 bytes
842 +)))
786 786  
787 -Example:
844 +(((
845 +**Example:**
846 +)))
788 788  
789 -* 0xA201: Set external sensor type to E1
790 -* 0xA209: Same as AT+EXT=9
791 -* 0xA20702003c,Same as AT+SETCNT=60
848 +* (((
849 +0xA201: Set external sensor type to E1
850 +)))
851 +* (((
852 +0xA209: Same as AT+EXT=9
853 +)))
854 +* (((
855 +0xA20702003c,Same as AT+SETCNT=60
856 +)))
792 792  
793 793  == 4.3 Enable/Disable uplink Temperature probe ID ==
794 794  
... ... @@ -799,17 +799,14 @@
799 799  
800 800  PID is default set to disable (0)
801 801  
802 -
803 803  **AT Command:**
804 804  
805 -(% border="1" %)
806 -|**Command Example**|**Function**|**Response**
807 -|AT+PID=1|Enable PID uplink|OK
869 +[[image:image-20220523150928-4.png]]
808 808  
809 809  **Downlink Command:**
810 810  
811 -* 0xA800     à AT+PID=0
812 -* 0xA801     à AT+PID=1
873 +* 0xA800  **~-~->** AT+PID=0
874 +* 0xA801     **~-~->** AT+PID=1
813 813  
814 814  == 4.4 Set Password ==
815 815  
... ... @@ -817,19 +817,15 @@
817 817  
818 818  **AT Command: AT+PWORD**
819 819  
820 -(% border="1" %)
821 -|**Command Example**|**Function**|**Response**
822 -|AT+PWORD=?|Show password|(((
823 -123456
882 +[[image:image-20220523151052-5.png]]
824 824  
825 -
826 -OK
884 +(((
885 +**Downlink Command:**
827 827  )))
828 -|AT+PWORD=999999|Set password|OK
829 829  
830 -**Downlink Command:**
831 -
888 +(((
832 832  No downlink command for this feature.
890 +)))
833 833  
834 834  == 4.5 Quit AT Command ==
835 835  
... ... @@ -837,15 +837,12 @@
837 837  
838 838  **AT Command: AT+DISAT**
839 839  
840 -(% border="1" %)
841 -|**Command Example**|**Function**|**Response**
842 -|AT+DISAT|Quit AT Commands mode|OK
898 +[[image:image-20220523151132-6.png]]
843 843  
844 844  **Downlink Command:**
845 845  
846 846  No downlink command for this feature.
847 847  
848 -
849 849  == 4.6 Set to sleep mode ==
850 850  
851 851  Feature: Set device to sleep mode
... ... @@ -852,15 +852,8 @@
852 852  
853 853  **AT Command: AT+SLEEP**
854 854  
855 -(% border="1" %)
856 -| | |
857 -|**Command Example**|**Function**|**Response**
858 -|AT+SLEEP|Set to sleep mode|(((
859 -Clear all stored sensor data…
910 +[[image:image-20220523151218-7.png]]
860 860  
861 -OK
862 -)))
863 -
864 864  **Downlink Command:**
865 865  
866 866  * There is no downlink command to set to Sleep mode.
... ... @@ -871,14 +871,8 @@
871 871  
872 872  **AT Command:**
873 873  
874 -(% border="1" %)
875 -|**Command Example**|**Function**
876 -|AT+TIMESTAMP=1611104352|(((
877 -OK
922 +[[image:image-20220523151253-8.png]]
878 878  
879 -Set System time to 2021-01-20 00:59:12
880 -)))
881 -
882 882  **Downlink Command:**
883 883  
884 884  0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
... ... @@ -885,15 +885,19 @@
885 885  
886 886  == 4.8 Set Time Sync Mode ==
887 887  
930 +(((
888 888  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
932 +)))
889 889  
934 +(((
890 890  SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0.
936 +)))
891 891  
892 -
938 +(((
893 893  **AT Command:**
940 +)))
894 894  
895 -|**Command Example**|**Function**
896 -|AT+SYNCMOD=1|Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq)
942 +[[image:image-20220523151336-9.png]]
897 897  
898 898  **Downlink Command:**
899 899  
... ... @@ -907,9 +907,7 @@
907 907  
908 908  **AT Command:**
909 909  
910 -(% border="1" %)
911 -|**Command Example**|**Function**
912 -|AT+SYNCTDC=0x0A|Set SYNCTDC to 10 (0x0A), so the sync time is 10 days.
956 +[[image:image-20220523151411-10.png]]
913 913  
914 914  **Downlink Command:**
915 915  
... ... @@ -921,51 +921,8 @@
921 921  
922 922  **AT Command: AT+PDTA**
923 923  
924 -(% border="1" %)
925 -|**Command Example**|**Response**
926 -|(((
927 -AT+PDTA=1,3
968 +[[image:image-20220523151450-11.png]]
928 928  
929 -
930 -
931 -Print page 1 to 3
932 -)))|(((
933 -8019500 19/6/26 16:48 1 2992 sht_temp=28.21 sht_hum=71.5 ds_temp=27.31
934 -
935 -8019510 19/6/26 16:53 1 2994 sht_temp=27.64 sht_hum=69.3 ds_temp=26.93
936 -
937 -8019520 19/6/26 16:58 1 2996 sht_temp=28.39 sht_hum=72.0 ds_temp=27.06
938 -
939 -8019530 19/6/26 17:03 1 2996 sht_temp=27.97 sht_hum=70.4 ds_temp=27.12
940 -
941 -8019540 19/6/26 17:08 1 2996 sht_temp=27.80 sht_hum=72.9 ds_temp=27.06
942 -
943 -8019550 19/6/26 17:13 1 2998 sht_temp=27.30 sht_hum=72.4 ds_temp=26.68
944 -
945 -8019560 19/6/26 17:22 1 2992 sht_temp=26.27 sht_hum=62.3 ds_temp=26.56
946 -
947 -8019570
948 -
949 -8019580
950 -
951 -8019590
952 -
953 -80195A0
954 -
955 -80195B0
956 -
957 -80195C0
958 -
959 -80195D0
960 -
961 -80195E0
962 -
963 -80195F0
964 -
965 -
966 -OK
967 -)))
968 -
969 969  **Downlink Command:**
970 970  
971 971  No downlink commands for feature
... ... @@ -976,54 +976,41 @@
976 976  
977 977  **AT Command: AT+PLDTA**
978 978  
979 -(% border="1" %)
980 -|**Command Example**|**Response**
981 -|(((
982 -AT+PLDTA=5
980 +[[image:image-20220523151524-12.png]]
983 983  
982 +**Downlink Command:**
984 984  
984 +No downlink commands for feature
985 985  
986 -Print last 5 entries
987 -)))|(((
988 -Stop Tx and RTP events when read sensor data
986 +== 4.12 Clear Flash Record ==
989 989  
990 -1 19/6/26 13:59 1 3005 sht_temp=27.09 sht_hum=79.5 ds_temp=26.75
988 +Feature: Clear flash storage for data log feature.
991 991  
992 -2 19/6/26 14:04 1 3007 sht_temp=26.65 sht_hum=74.8 ds_temp=26.43
990 +**AT Command: AT+CLRDTA**
993 993  
994 -3 19/6/26 14:09 1 3007 sht_temp=26.91 sht_hum=77.9 ds_temp=26.56
992 +[[image:image-20220523151556-13.png]]
995 995  
996 -4 19/6/26 14:15 1 3007 sht_temp=26.93 sht_hum=76.7 ds_temp=26.75
994 +**Downlink Command: 0xA3**
997 997  
998 -5 19/6/26 14:20 1 3007 sht_temp=26.78 sht_hum=76.6 ds_temp=26.43
996 +* Example: 0xA301 ~/~/Same as AT+CLRDTA
999 999  
1000 -Start Tx and RTP events
998 +== 4.13 Auto Send None-ACK messages ==
1001 1001  
1002 -OK
1003 -)))
1000 +Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message.
1004 1004  
1005 -**Downlink Command:**
1006 1006  
1007 -No downlink commands for feature
1003 +**AT Command: AT+PNACKMD**
1008 1008  
1009 -== 4.12 Clear Flash Record ==
1005 +The default factory setting is 0
1010 1010  
1011 -Feature: Clear flash storage for data log feature.
1007 +(% border="1" style="background-color:#ffffcc; color:green; width:450px" %)
1008 +|=(% style="width: 171px;" %)**Command Example**|=(% style="width: 219px;" %)**Function**|=(% style="width: 119px;" %)**Response**
1009 +|(% style="width:171px" %)AT+PNACKMD=1|(% style="width:219px" %)Poll None-ACK message|(% style="width:119px" %)OK
1012 1012  
1013 -**AT Command: AT+CLRDTA**
1011 +**Downlink Command: 0x34**
1014 1014  
1015 -(% border="1" %)
1016 -|**Command Example**|**Function**|**Response**
1017 -|AT+CLRDTA|Clear date record|(((
1018 -Clear all stored sensor data…
1013 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1019 1019  
1020 -OK
1021 -)))
1022 -
1023 -**Downlink Command: 0xA3**
1024 -
1025 -* Example: 0xA301 ~/~/Same as AT+CLRDTA
1026 -
1027 1027  = 5. Battery & How to replace =
1028 1028  
1029 1029  == 5.1 Battery Type ==
... ... @@ -1030,11 +1030,15 @@
1030 1030  
1031 1031  LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters.
1032 1032  
1021 +(((
1033 1033  The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
1034 1034  [[image:image-20220515075034-1.png||height="208" width="644"]]
1024 +)))
1035 1035  
1026 +(((
1036 1036  The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1037 1037  
1029 +)))
1038 1038  
1039 1039  == 5.2 Replace Battery ==
1040 1040  
... ... @@ -1044,47 +1044,97 @@
1044 1044  
1045 1045  == 5.3 Battery Life Analyze ==
1046 1046  
1039 +(((
1047 1047  Dragino battery-powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimated battery life:
1048 1048  https:~/~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf
1042 +)))
1049 1049  
1050 1050  = 6. Order Info =
1051 1051  
1052 -Part Number: (% class="mark" %)**LHT65N-XX**
1046 +(((
1047 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY**
1048 +)))
1053 1053  
1054 -**XX**: The default frequency band
1050 +(((
1051 +(% style="color:#4f81bd" %)**XX **(%%): The default frequency band
1052 +)))
1055 1055  
1056 -* **AS923**: LoRaWAN AS923 band
1057 -* **AU915**: LoRaWAN AU915 band
1058 -* **EU433**: LoRaWAN EU433 band
1059 -* **EU868**: LoRaWAN EU868 band
1060 -* **KR920**: LoRaWAN KR920 band
1061 -* **US915**: LoRaWAN US915 band
1062 -* **IN865**: LoRaWAN IN865 band
1063 -* **CN470**: LoRaWAN CN470 band
1054 +* (((
1055 +(% style="color:#4f81bd" %)** AS923**(%%): LoRaWAN AS923 band
1056 +)))
1057 +* (((
1058 +(% style="color:#4f81bd" %)** AU915**(%%): LoRaWAN AU915 band
1059 +)))
1060 +* (((
1061 +(% style="color:#4f81bd" %)** EU433**(%%): LoRaWAN EU433 band
1062 +)))
1063 +* (((
1064 +(% style="color:#4f81bd" %)** EU868**(%%): LoRaWAN EU868 band
1065 +)))
1066 +* (((
1067 +(% style="color:#4f81bd" %)** KR920**(%%): LoRaWAN KR920 band
1068 +)))
1069 +* (((
1070 +(% style="color:#4f81bd" %)** US915**(%%): LoRaWAN US915 band
1071 +)))
1072 +* (((
1073 +(% style="color:#4f81bd" %)** IN865**(%%): LoRaWAN IN865 band
1074 +)))
1075 +* (((
1076 +(% style="color:#4f81bd" %)** CN470**(%%): LoRaWAN CN470 band
1077 +)))
1064 1064  
1065 -**YY**: Sensor Accessories
1079 +(((
1080 +(% style="color:#4f81bd" %)**YY**(%%): Sensor Accessories
1081 +)))
1066 1066  
1067 -* **E3**: External Temperature Probe
1083 +* (((
1084 +(% style="color:#4f81bd" %)**E3**(%%): External Temperature Probe
1085 +)))
1068 1068  
1069 1069  = 7. Packing Info =
1070 1070  
1089 +(((
1071 1071  **Package Includes**:
1091 +)))
1072 1072  
1073 -* LHT65N Temperature & Humidity Sensor x 1
1074 -* Program cable x 1
1075 -* Optional external sensor
1093 +* (((
1094 +LHT65N Temperature & Humidity Sensor x 1
1095 +)))
1096 +* (((
1097 +Program cable x 1
1098 +)))
1099 +* (((
1100 +Optional external sensor
1101 +)))
1076 1076  
1103 +(((
1077 1077  **Dimension and weight**:
1105 +)))
1078 1078  
1079 -* Device Size:  13.5 x 7 x 3 cm
1080 -* Device Weight: 105g
1081 -* Package Size / pcs : 14.5 x 8 x 5 cm
1082 -* Weight / pcs : 170g
1107 +* (((
1108 +Device Size:  13.5 x 7 x 3 cm
1109 +)))
1110 +* (((
1111 +Device Weight: 105g
1112 +)))
1113 +* (((
1114 +Package Size / pcs : 14.5 x 8 x 5 cm
1115 +)))
1116 +* (((
1117 +Weight / pcs : 170g
1118 +)))
1083 1083  
1084 1084  = 8. FCC Warning =
1085 1085  
1122 +(((
1086 1086  This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
1124 +)))
1087 1087  
1126 +(((
1088 1088  (1) This device may not cause harmful interference;
1128 +)))
1089 1089  
1130 +(((
1090 1090  (2) this device must accept any interference received, including interference that may cause undesired operation.
1132 +)))
image-20220523151253-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.5 KB
Content
image-20220523151336-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.6 KB
Content
image-20220523151411-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.5 KB
Content
image-20220523151450-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +38.4 KB
Content
image-20220523151524-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +24.2 KB
Content
image-20220523151556-13.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.7 KB
Content
image-20220523152208-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.2 KB
Content
image-20220523152302-15.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.3 KB
Content
image-20220523152434-16.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.3 KB
Content
image-20220523152822-17.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +7.4 KB
Content
image-20220523152839-18.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +12.7 KB
Content
image-20220523153201-19.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +27.9 KB
Content
image-20220525110512-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +28.7 KB
Content
image-20220525110604-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +28.0 KB
Content
image-20220525113731-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0