<
From version < 77.2 >
edited by Xiaoling
on 2022/05/23 16:01
To version < 96.2 >
edited by Xiaoling
on 2022/05/25 11:04
>
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**
... ... @@ -7,10 +7,6 @@
7 7  
8 8  
9 9  
10 -
11 -
12 -
13 -
14 14  **Table of Contents:**
15 15  
16 16  {{toc/}}
... ... @@ -17,8 +17,9 @@
17 17  
18 18  
19 19  
20 -= 1.Introduction =
21 21  
17 += 1. Introduction =
18 +
22 22  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
23 23  
24 24  (((
... ... @@ -137,8 +137,14 @@
137 137  
138 138  [[image:image-20220515123819-1.png||height="379" width="317"]]
139 139  
140 -[[image:image-20220523153201-19.png||height="163" width="739"]]
137 +[[image:image-20220523153201-19.png||height="180" width="818"]]
141 141  
139 +(% border="1" style="background-color:#ffffcc; color:green; width:878px" %)
140 +|=**Behavior on ACT**|=**Function**|=(% style="width: 561px;" %)**Action**
141 +|**Pressing ACT between 1s < time < 3s**|Test uplink status|(% style="width:561px" %)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.
142 +|**Pressing ACT for more than 3s**|Active Device|(% style="width:561px" %)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.
143 +|**Fast press ACT 5 times**|Deactivate Device|(% style="width:561px" %)red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode.
144 +
142 142  == 2.3 Example to join LoRaWAN network ==
143 143  
144 144  (% class="wikigeneratedid" %)
... ... @@ -208,10 +208,10 @@
208 208  |(% style="width:97px" %)(((
209 209  **Value**
210 210  )))|(% style="width:39px" %)(((
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]]
214 +[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]]
212 212  )))|(% style="width:100px" %)(((
213 213  (((
214 -[[Built-In 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]]
217 +[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
215 215  )))
216 216  )))|(% style="width:77px" %)(((
217 217  (((
... ... @@ -222,7 +222,7 @@
222 222  [[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]]
223 223  )))
224 224  )))|(% style="width:47px" %)(((
225 -[[Ext>>path:#Extension_Sensor]] #
228 +[[Ext>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.5Ext23]] #
226 226  )))|(% style="width:51px" %)(((
227 227  [[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]]
228 228  )))
... ... @@ -404,10 +404,17 @@
404 404  
405 405  == 2.6 Datalog Feature ==
406 406  
407 -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.
410 +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.
408 408  
409 -=== 2.6.1 Unix TimeStamp ===
412 +=== 2.6.1 Ways to get datalog via LoRaWAN ===
410 410  
414 +There are two methods:
415 +
416 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range.
417 +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.
418 +
419 +=== 2.6.2 Unix TimeStamp ===
420 +
411 411  LHT65N uses Unix TimeStamp format based on
412 412  
413 413  [[image:image-20220523001219-11.png||height="97" width="627"]]
... ... @@ -425,7 +425,7 @@
425 425  
426 426  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
427 427  
428 -=== 2.6.2 Set Device Time ===
438 +=== 2.6.3 Set Device Time ===
429 429  
430 430  (((
431 431  There are two ways to set device’s time:
... ... @@ -459,7 +459,7 @@
459 459  User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
460 460  )))
461 461  
462 -=== 2.6.3 Poll sensor value ===
472 +=== 2.6.4 Poll sensor value ===
463 463  
464 464  User can poll sensor value based on timestamps from the server. Below is the downlink command.
465 465  
... ... @@ -470,7 +470,7 @@
470 470  )))
471 471  
472 472  (((
473 -For example, downlink command **31 5FC5F350 5FC6 0160 05**
483 +For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05**
474 474  )))
475 475  
476 476  (((
... ... @@ -482,7 +482,7 @@
482 482  )))
483 483  
484 484  
485 -=== 2.6.4 Datalog Uplink payload ===
495 +=== 2.6.5 Datalog Uplink payload ===
486 486  
487 487  The Datalog poll reply uplink will use below payload format.
488 488  
... ... @@ -992,6 +992,22 @@
992 992  
993 993  * Example: 0xA301 ~/~/Same as AT+CLRDTA
994 994  
1005 +== 4.13 Auto Send None-ACK messages ==
1006 +
1007 +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.
1008 +
1009 +
1010 +**AT Command: AT+PNACKMD**
1011 +
1012 +The default factory setting is 0
1013 +
1014 +|**Command Example**|**Function**|**Response**
1015 +|AT+PNACKMD=1|Poll None-ACK message|OK
1016 +
1017 +**Downlink Command: 0x34**
1018 +
1019 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1020 +
995 995  = 5. Battery & How to replace =
996 996  
997 997  == 5.1 Battery Type ==
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0