Last modified by Xiaoling on 2023/07/18 10:12

From version 234.11
edited by Xiaoling
on 2023/04/26 14:57
Change comment: There is no comment for this version
To version 238.7
edited by Xiaoling
on 2023/04/27 10:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -43,6 +43,7 @@
43 43  )))
44 44  
45 45  
46 +
46 46  == 1.2 Features ==
47 47  
48 48  
... ... @@ -57,6 +57,8 @@
57 57  * Tri-color LED to indicate working status
58 58  * Datalog feature (Max 3328 records)
59 59  
61 +
62 +
60 60  == 1.3 Specification ==
61 61  
62 62  
... ... @@ -81,6 +81,8 @@
81 81  * ±2°C accuracy from -55°C to +125°C
82 82  * Operating Range: -55 °C ~~ 125 °C
83 83  
87 +
88 +
84 84  = 2. Connect LHT65N to IoT Server =
85 85  
86 86  == 2.1 How does LHT65N work? ==
... ... @@ -127,6 +127,8 @@
127 127  )))
128 128  |(% 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.
129 129  
135 +
136 +
130 130  == 2.3 Example to join LoRaWAN network ==
131 131  
132 132  
... ... @@ -242,6 +242,8 @@
242 242  
243 243  * The 8^^th^^ ~~ 11^^th^^ byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won't be these four bytes.)
244 244  
252 +
253 +
245 245  === 2.4.1 Decoder in TTN V3 ===
246 246  
247 247  
... ... @@ -258,25 +258,20 @@
258 258  
259 259  These two bytes of BAT include the battery state and the actually voltage.
260 260  
261 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:485px" %)
262 -|=(% style="width: 72px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
270 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
271 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
263 263  **Bit(bit)**
264 -)))|=(% style="width: 252px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)[15:14]|=(% style="width: 153px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)[13:0]
265 -|(% style="width:72px" %)(((
273 +)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
274 +|(% style="width:66px" %)(((
266 266  **Value**
267 -)))|(% style="width:252px" %)(((
276 +)))|(% style="width:250px" %)(((
268 268  BAT Status
269 -
270 270  00(b): Ultra Low ( BAT <= 2.50v)
271 -
272 272  01(b): Low (2.50v <=BAT <= 2.55v)
273 -
274 274  10(b): OK (2.55v <= BAT <=2.65v)
275 -
276 276  11(b): Good (BAT >= 2.65v)
277 -)))|(% style="width:153px" %)Actually BAT voltage
282 +)))|(% style="width:152px" %)Actually BAT voltage
278 278  
279 -
280 280  **(b)stands for binary**
281 281  
282 282  
... ... @@ -286,8 +286,11 @@
286 286  Check the battery voltage for LHT65N.
287 287  
288 288  * BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
293 +
289 289  * Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
290 290  
296 +
297 +
291 291  === 2.4.3 Built-in Temperature ===
292 292  
293 293  
... ... @@ -299,6 +299,8 @@
299 299  
300 300  * Temperature:  (0xF5C6-65536)/100=-26.18℃
301 301  
309 +
310 +
302 302  === 2.4.4 Built-in Humidity ===
303 303  
304 304  
... ... @@ -306,14 +306,20 @@
306 306  
307 307  * Humidity:    0x025C/10=60.4%
308 308  
318 +
319 +
309 309  === 2.4.5 Ext # ===
310 310  
311 311  
312 312  Bytes for External Sensor:
313 313  
314 -[[image:image-20220523152822-17.png||_mstalt="454545"]]
325 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %)
326 +|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Value**|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)**External Sensor Type**
327 +|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor
328 +|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod
315 315  
316 316  
331 +
317 317  === 2.4.6 Ext value ===
318 318  
319 319  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
... ... @@ -350,28 +350,25 @@
350 350  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:
351 351  )))
352 352  
353 -(((
354 -
355 -)))
356 356  
357 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
358 -|=(% style="width: 50px;" %)(((
369 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
370 +|=(% style="width: 50px;background-color:#D9E2F3" %)(((
359 359  **Size(bytes)**
360 -)))|=(% style="width: 70px;" %)(((
372 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
361 361  **2**
362 -)))|=(% style="width: 120px;" %)(((
374 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
363 363  **2**
364 -)))|=(% style="width: 120px;" %)(((
376 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
365 365  **2**
366 -)))|=(% style="width: 50px;" %)(((
378 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
367 367  **1**
368 -)))|=(% style="width: 70px;" %)(((
380 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
369 369  **4**
370 370  )))
371 371  |(% style="width:110px" %)(((
372 372  **Value**
373 373  )))|(% style="width:71px" %)(((
374 -[[External temperature>>||anchor="H4.2SetExternalSensorMode"]]
386 +External temperature
375 375  )))|(% style="width:99px" %)(((
376 376  [[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
377 377  )))|(% style="width:132px" %)(((
... ... @@ -384,9 +384,9 @@
384 384  
385 385  * **Battery status & Built-in Humidity**
386 386  
387 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %)
388 -|=(% style="width: 67px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]
389 -|(% style="width:67px" %)Value|(% style="width:256px" %)(((
399 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
400 +|=(% style="width: 69px;background-color:#D9E2F3;color:#0070C0" %)Bit(bit)|=(% style="width: 258px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 134px;background-color:#D9E2F3;color:#0070C0" %)[11:0]
401 +|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
390 390  BAT Status
391 391  00(b): Ultra Low ( BAT <= 2.50v)
392 392  01(b): Low  (2.50v <=BAT <= 2.55v)
... ... @@ -398,8 +398,8 @@
398 398  
399 399  * **Status & Ext Byte**
400 400  
401 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
402 -|=(% scope="row" style="width: 60px;" %)**Bits**|(% style="width:90px" %)**7**|(% style="width:100px" %)**6**|(% style="width:90px" %)**5**|(% style="width:100px" %)**4**|(% style="width:60px" %)**[3:0]**
413 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
414 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Bits**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**7**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**5**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[3:0]**
403 403  |=(% style="width: 96px;" %)**Status&Ext**|(% style="width:124px" %)None-ACK Flag|(% style="width:146px" %)Poll Message FLAG|(% style="width:109px" %)Sync time OK|(% style="width:143px" %)Unix Time Request|(% style="width:106px" %)Ext: 0b(1001)
404 404  
405 405  * (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
... ... @@ -406,6 +406,8 @@
406 406  * (% style="color:blue" %)**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.
407 407  * (% style="color:blue" %)**Unix Time Request**:(%%)  1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this)
408 408  
421 +
422 +
409 409  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
410 410  
411 411  
... ... @@ -491,21 +491,21 @@
491 491  
492 492  Ext=4,Interrupt Sensor:
493 493  
494 -(% border="1.5" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:478px" %)
508 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
495 495  |(% style="width:101px" %)(((
496 -AT+EXT=4,1
497 -)))|(% style="width:373px" %)(((
498 -Sent uplink packet in both rising and falling interrupt
510 +**AT+EXT=4,1**
511 +)))|(% style="width:395px" %)(((
512 +**Sent uplink packet in both rising and falling interrupt**
499 499  )))
500 500  |(% style="width:101px" %)(((
501 -AT+EXT=4,2
502 -)))|(% style="width:373px" %)(((
503 -Sent uplink packet only in falling interrupt
515 +**AT+EXT=4,2**
516 +)))|(% style="width:395px" %)(((
517 +**Sent uplink packet only in falling interrupt**
504 504  )))
505 505  |(% style="width:101px" %)(((
506 -AT+EXT=4,3
507 -)))|(% style="width:373px" %)(((
508 -Sent uplink packet only in rising interrupt
520 +**AT+EXT=4,3**
521 +)))|(% style="width:395px" %)(((
522 +**Sent uplink packet only in rising interrupt**
509 509  )))
510 510  
511 511  Trigger by falling edge:
... ... @@ -537,21 +537,21 @@
537 537  
538 538  Ext=8, Counting Sensor ( 4 bytes):
539 539  
540 -(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %)
541 -|(% style="width:138px" %)(((
542 -AT+EXT=8,0
543 -)))|(% style="width:240px" %)(((
544 -Count at falling interrupt
554 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %)
555 +|(% style="width:131px" %)(((
556 +**AT+EXT=8,0**
557 +)))|(% style="width:195px" %)(((
558 +**Count at falling interrupt**
545 545  )))
546 -|(% style="width:138px" %)(((
547 -AT+EXT=8,1
548 -)))|(% style="width:240px" %)(((
549 -Count at rising interrupt
560 +|(% style="width:131px" %)(((
561 +**AT+EXT=8,1**
562 +)))|(% style="width:195px" %)(((
563 +**Count at rising interrupt**
550 550  )))
551 -|(% style="width:138px" %)(((
552 -AT+SETCNT=60
553 -)))|(% style="width:240px" %)(((
554 -Sent current count to 60
565 +|(% style="width:131px" %)(((
566 +**AT+SETCNT=60**
567 +)))|(% style="width:195px" %)(((
568 +**Sent current count to 60**
555 555  )))
556 556  
557 557  [[image:image-20220906101320-6.png||_mstalt="428064"]]
... ... @@ -577,9 +577,6 @@
577 577  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:
578 578  )))
579 579  
580 -(((
581 -
582 -)))
583 583  
584 584  (((
585 585  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -589,9 +589,6 @@
589 589  (% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations.
590 590  )))
591 591  
592 -(((
593 -
594 -)))
595 595  
596 596  (((
597 597  Add Datacake:
... ... @@ -705,9 +705,10 @@
705 705  
706 706  User can poll sensor value based on timestamps from the server. Below is the downlink command.
707 707  
708 -[[image:image-20220523152302-15.png||_mstalt="451581"]]
716 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %)
717 +|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte
718 +|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval
709 709  
710 -
711 711  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.
712 712  
713 713  For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
... ... @@ -724,10 +724,10 @@
724 724  
725 725  **Retrieval data payload:**
726 726  
727 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
728 -|=(% style="width: 60px;" %)(((
736 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
737 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
729 729  **Size(bytes)**
730 -)))|=(% style="width: 90px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 100px;" %)**1**|=(% style="width: 70px;" %)**4**
739 +)))|=(% style="width: 90px;background-color:#D9E2F3" %)**2**|=(% style="width: 90px;background-color:#D9E2F3" %)**2**|=(% style="width: 70px;background-color:#D9E2F3" %)**2**|=(% style="width: 100px;background-color:#D9E2F3" %)**1**|=(% style="width: 70px;background-color:#D9E2F3" %)**4**
731 731  |(% style="width:97px" %)**Value**|(% style="width:123px" %)[[External sensor data>>||anchor="H2.4.6Extvalue"]]|(% style="width:108px" %)[[Built In Temperature>>||anchor="H2.4.3Built-inTemperature"]]|(% style="width:133px" %)[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]|(% style="width:159px" %)Poll message flag & Ext|(% style="width:80px" %)[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
732 732  
733 733  **Poll message flag & Ext:**
... ... @@ -759,7 +759,7 @@
759 759  
760 760  If LHT65N has below data inside Flash:
761 761  
762 -[[image:image-20220523144455-1.png||_mstalt="430040" height="335" width="735"]]
771 +[[image:image-20230426171833-4.png]]
763 763  
764 764  
765 765  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
... ... @@ -990,6 +990,7 @@
990 990  * RED LED when external sensor is not connected
991 991  * For each success downlink, the PURPLE LED will blink once
992 992  
1002 +
993 993  == 2.9 installation ==
994 994  
995 995  
... ... @@ -1042,6 +1042,8 @@
1042 1042  * Operating Range: -40 ~~ 125 °C
1043 1043  * Working voltage 2.35v ~~ 5v
1044 1044  
1055 +
1056 +
1045 1045  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1046 1046  
1047 1047  
... ... @@ -1097,9 +1097,11 @@
1097 1097  
1098 1098  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1099 1099  
1100 -[[image:image-20220523150701-2.png||_mstalt="427453"]]
1112 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
1113 +|(% 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**
1114 +|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
1115 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
1101 1101  
1102 -
1103 1103  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
1104 1104  
1105 1105  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -1110,6 +1110,8 @@
1110 1110  
1111 1111  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1112 1112  
1127 +
1128 +
1113 1113  == 4.2 Set External Sensor Mode ==
1114 1114  
1115 1115  
... ... @@ -1118,8 +1118,12 @@
1118 1118  
1119 1119  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1120 1120  
1121 -[[image:image-20220523150759-3.png||_mstalt="432146"]]
1122 1122  
1138 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %)
1139 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:153px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:160px" %)**Response**
1140 +|(% style="width:155px" %)AT+EXT=?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1
1141 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1
1142 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp
1123 1123  
1124 1124  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1125 1125  
... ... @@ -1133,6 +1133,8 @@
1133 1133  
1134 1134  * 0xA20702003c: Same as AT+SETCNT=60
1135 1135  
1156 +
1157 +
1136 1136  == 4.3 Enable/Disable uplink Temperature probe ID ==
1137 1137  
1138 1138  
... ... @@ -1155,24 +1155,32 @@
1155 1155  
1156 1156  (% style="color:#4f81bd" %)**AT Command:**
1157 1157  
1158 -[[image:image-20220523150928-4.png||_mstalt="431821"]]
1180 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %)
1181 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:138px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:88px" %)**Response**
1182 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK
1159 1159  
1160 -
1161 1161  (% style="color:#4f81bd" %)**Downlink Command:**
1162 1162  
1163 1163  * **0xA800**  **~-~->** AT+PID=0
1164 1164  * **0xA801**     **~-~->** AT+PID=1
1165 1165  
1189 +
1190 +
1166 1166  == 4.4 Set Password ==
1167 1167  
1168 1168  
1169 1169  Feature: Set device password, max 9 digits
1170 1170  
1171 -
1172 1172  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1173 1173  
1174 -[[image:image-20220523151052-5.png||_mstalt="428623"]]
1198 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
1199 +|(% 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**
1200 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
1201 +123456
1175 1175  
1203 +OK
1204 +)))
1205 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
1176 1176  
1177 1177  (% style="color:#4f81bd" %)**Downlink Command:**
1178 1178  
... ... @@ -1184,12 +1184,12 @@
1184 1184  
1185 1185  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1186 1186  
1187 -
1188 1188  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1189 1189  
1190 -[[image:image-20220523151132-6.png||_mstalt="428649"]]
1219 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %)
1220 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:191px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response**
1221 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK
1191 1191  
1192 -
1193 1193  (% style="color:#4f81bd" %)**Downlink Command:**
1194 1194  
1195 1195  No downlink command for this feature.
... ... @@ -1205,23 +1205,34 @@
1205 1205  
1206 1206  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1207 1207  
1208 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
1238 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
1239 +|(% 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**
1240 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
1241 +Clear all stored sensor data…
1209 1209  
1243 +OK
1244 +)))
1210 1210  
1211 1211  (% style="color:#4f81bd" %)**Downlink Command:**
1212 1212  
1213 1213  * There is no downlink command to set to Sleep mode.
1214 1214  
1250 +
1251 +
1215 1215  == 4.7 Set system time ==
1216 1216  
1217 1217  
1218 1218  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1219 1219  
1220 -
1221 1221  (% style="color:#4f81bd" %)**AT Command:**
1222 1222  
1223 -[[image:image-20220523151253-8.png||_mstalt="430677"]]
1259 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %)
1260 +|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Function**
1261 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)(((
1262 +OK
1224 1224  
1264 +Set System time to 2021-01-20 00:59:12
1265 +)))
1225 1225  
1226 1226  (% style="color:#4f81bd" %)**Downlink Command:**
1227 1227  
... ... @@ -1237,15 +1237,14 @@
1237 1237  
1238 1238  (((
1239 1239  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.
1240 -
1241 -
1242 1242  )))
1243 1243  
1244 1244  (% style="color:#4f81bd" %)**AT Command:**
1245 1245  
1246 -[[image:image-20220523151336-9.png||_mstalt="431717"]]
1285 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %)
1286 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function**
1287 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq)
1247 1247  
1248 -
1249 1249  (% style="color:#4f81bd" %)**Downlink Command:**
1250 1250  
1251 1251  0x28 01  ~/~/  Same As AT+SYNCMOD=1
... ... @@ -1257,12 +1257,12 @@
1257 1257  
1258 1258  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1259 1259  
1260 -
1261 1261  (% style="color:#4f81bd" %)**AT Command:**
1262 1262  
1263 -[[image:image-20220523151411-10.png||_mstalt="449696"]]
1302 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %)
1303 +|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:314px" %)**Function**
1304 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days.
1264 1264  
1265 -
1266 1266  (% style="color:#4f81bd" %)**Downlink Command:**
1267 1267  
1268 1268  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
... ... @@ -1273,10 +1273,9 @@
1273 1273  
1274 1274  Feature: Print the sector data from start page to stop page (max is 416 pages).
1275 1275  
1276 -
1277 1277  (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1278 1278  
1279 -[[image:image-20220523151450-11.png||_mstalt="451035"]]
1318 +[[image:image-20230426164330-2.png]]
1280 1280  
1281 1281  
1282 1282  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1289,10 +1289,9 @@
1289 1289  
1290 1290  Feature: Print the last few data entries
1291 1291  
1292 -
1293 1293  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1294 1294  
1295 -[[image:image-20220523151524-12.png||_mstalt="452101"]]
1333 +[[image:image-20230426164932-3.png]]
1296 1296  
1297 1297  
1298 1298  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1308,25 +1308,32 @@
1308 1308  
1309 1309  (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1310 1310  
1311 -[[image:image-20220523151556-13.png||_mstalt="454129"]]
1312 1312  
1350 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %)
1351 +|(% style="background-color:#d9e2f3; color:#0070c0; width:157px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:137px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:209px" %)**Response**
1352 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1353 +Clear all stored sensor data…
1313 1313  
1355 +OK
1356 +)))
1357 +
1314 1314  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1315 1315  
1316 1316  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1317 1317  
1362 +
1363 +
1318 1318  == 4.13 Auto Send None-ACK messages ==
1319 1319  
1320 1320  
1321 1321  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.
1322 1322  
1323 -
1324 1324  (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD**
1325 1325  
1326 1326  The default factory setting is 0
1327 1327  
1328 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %)
1329 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 118px;" %)**Function**|=(% style="width: 87px;" %)**Response**
1373 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %)
1374 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 87px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1330 1330  |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1331 1331  
1332 1332  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
... ... @@ -1333,13 +1333,15 @@
1333 1333  
1334 1334  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1335 1335  
1381 +
1382 +
1336 1336  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1337 1337  
1338 1338  
1339 1339  Feature: Set internal and external temperature sensor alarms.
1340 1340  
1341 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
1342 -|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response**
1388 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
1389 +|=(% style="width: 250px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1343 1343  |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1344 1344  
1345 1345  (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
... ... @@ -1777,6 +1777,8 @@
1777 1777  
1778 1778  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1779 1779  
1827 +
1828 +
1780 1780  = 8. Packing Info =
1781 1781  
1782 1782  
... ... @@ -1790,11 +1790,15 @@
1790 1790  * Device Size:  10 x 10 x 3.5 mm
1791 1791  * Device Weight: 120.5g
1792 1792  
1842 +
1843 +
1793 1793  = 9. Reference material =
1794 1794  
1795 1795  
1796 1796  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1797 1797  
1849 +
1850 +
1798 1798  = 10. FCC Warning =
1799 1799  
1800 1800  
image-20230426155837-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +2.4 KB
Content
image-20230426164330-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +36.6 KB
Content
image-20230426164932-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +23.2 KB
Content
image-20230426171833-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +33.0 KB
Content