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

From version 229.1
edited by Bei Jinggeng
on 2023/03/02 14:10
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
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
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? ==
... ... @@ -116,9 +116,19 @@
116 116  
117 117  [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]]
118 118  
119 -[[image:image-20220525110604-2.png||_mstalt="427531"]]
124 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
125 +|=(% 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**
126 +|(% 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" %)(((
127 +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.
128 +)))
129 +|(% 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" %)(((
130 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
131 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
132 +)))
133 +|(% 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.
120 120  
121 121  
136 +
122 122  == 2.3 Example to join LoRaWAN network ==
123 123  
124 124  
... ... @@ -146,7 +146,7 @@
146 146  Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
147 147  )))
148 148  
149 -[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
164 +[[image:image-20230426083319-1.png]]
150 150  
151 151  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
152 152  
... ... @@ -196,18 +196,18 @@
196 196  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
197 197  )))
198 198  
199 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
200 -|=(% style="width: 60px;" %)(((
214 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
215 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
201 201  **Size(bytes)**
202 -)))|=(% style="width: 30px;" %)(((
217 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
203 203  **2**
204 -)))|=(% style="width: 100px;" %)(((
219 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
205 205  **2**
206 -)))|=(% style="width: 100px;" %)(((
221 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
207 207  **2**
208 -)))|=(% style="width: 50px;" %)(((
223 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
209 209  **1**
210 -)))|=(% style="width: 50px;" %)(((
225 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
211 211  **4**
212 212  )))
213 213  |(% style="width:97px" %)(((
... ... @@ -229,9 +229,13 @@
229 229  )))
230 230  
231 231  * The First 6 bytes: has fix meanings for every LHT65N.
247 +
232 232  * The 7th byte (EXT #): defines the external sensor model.
249 +
233 233  * 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.)
234 234  
252 +
253 +
235 235  === 2.4.1 Decoder in TTN V3 ===
236 236  
237 237  
... ... @@ -246,19 +246,36 @@
246 246  === 2.4.2 BAT-Battery Info ===
247 247  
248 248  
249 -These two bytes of BAT include the battery state and the actually voltage
268 +These two bytes of BAT include the battery state and the actually voltage.
250 250  
251 -[[image:image-20220523152839-18.png||_mstalt="457613"]]
270 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
271 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
272 +**Bit(bit)**
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" %)(((
275 +**Value**
276 +)))|(% style="width:250px" %)(((
277 +BAT Status
278 +00(b): Ultra Low ( BAT <= 2.50v)
279 +01(b): Low (2.50v <=BAT <= 2.55v)
280 +10(b): OK (2.55v <= BAT <=2.65v)
281 +11(b): Good (BAT >= 2.65v)
282 +)))|(% style="width:152px" %)Actually BAT voltage
252 252  
284 +**(b)stands for binary**
253 253  
286 +
254 254  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
255 255  
256 256  
257 257  Check the battery voltage for LHT65N.
258 258  
259 -* BAT status=(0Xcba4>>14)&0xFF=11(B),very good
260 -* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
292 +* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
261 261  
294 +* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
295 +
296 +
297 +
262 262  === 2.4.3 Built-in Temperature ===
263 263  
264 264  
... ... @@ -270,6 +270,8 @@
270 270  
271 271  * Temperature:  (0xF5C6-65536)/100=-26.18℃
272 272  
309 +
310 +
273 273  === 2.4.4 Built-in Humidity ===
274 274  
275 275  
... ... @@ -277,14 +277,20 @@
277 277  
278 278  * Humidity:    0x025C/10=60.4%
279 279  
318 +
319 +
280 280  === 2.4.5 Ext # ===
281 281  
282 282  
283 283  Bytes for External Sensor:
284 284  
285 -[[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
286 286  
287 287  
331 +
288 288  === 2.4.6 Ext value ===
289 289  
290 290  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
... ... @@ -321,28 +321,25 @@
321 321  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:
322 322  )))
323 323  
324 -(((
325 -
326 -)))
327 327  
328 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
329 -|=(% style="width: 50px;" %)(((
369 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
370 +|=(% style="width: 50px;background-color:#D9E2F3" %)(((
330 330  **Size(bytes)**
331 -)))|=(% style="width: 70px;" %)(((
372 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
332 332  **2**
333 -)))|=(% style="width: 120px;" %)(((
374 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
334 334  **2**
335 -)))|=(% style="width: 120px;" %)(((
376 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
336 336  **2**
337 -)))|=(% style="width: 50px;" %)(((
378 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
338 338  **1**
339 -)))|=(% style="width: 70px;" %)(((
380 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
340 340  **4**
341 341  )))
342 342  |(% style="width:110px" %)(((
343 343  **Value**
344 344  )))|(% style="width:71px" %)(((
345 -[[External temperature>>||anchor="H4.2SetExternalSensorMode"]]
386 +External temperature
346 346  )))|(% style="width:99px" %)(((
347 347  [[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
348 348  )))|(% style="width:132px" %)(((
... ... @@ -355,9 +355,9 @@
355 355  
356 356  * **Battery status & Built-in Humidity**
357 357  
358 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %)
359 -|=(% style="width: 67px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]
360 -|(% 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" %)(((
361 361  BAT Status
362 362  00(b): Ultra Low ( BAT <= 2.50v)
363 363  01(b): Low  (2.50v <=BAT <= 2.55v)
... ... @@ -369,8 +369,8 @@
369 369  
370 370  * **Status & Ext Byte**
371 371  
372 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
373 -|=(% 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]**
374 374  |=(% 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)
375 375  
376 376  * (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
... ... @@ -377,6 +377,8 @@
377 377  * (% 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.
378 378  * (% 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)
379 379  
421 +
422 +
380 380  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
381 381  
382 382  
... ... @@ -462,21 +462,21 @@
462 462  
463 463  Ext=4,Interrupt Sensor:
464 464  
465 -(% 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" %)
466 466  |(% style="width:101px" %)(((
467 -AT+EXT=4,1
468 -)))|(% style="width:373px" %)(((
469 -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**
470 470  )))
471 471  |(% style="width:101px" %)(((
472 -AT+EXT=4,2
473 -)))|(% style="width:373px" %)(((
474 -Sent uplink packet only in falling interrupt
515 +**AT+EXT=4,2**
516 +)))|(% style="width:395px" %)(((
517 +**Sent uplink packet only in falling interrupt**
475 475  )))
476 476  |(% style="width:101px" %)(((
477 -AT+EXT=4,3
478 -)))|(% style="width:373px" %)(((
479 -Sent uplink packet only in rising interrupt
520 +**AT+EXT=4,3**
521 +)))|(% style="width:395px" %)(((
522 +**Sent uplink packet only in rising interrupt**
480 480  )))
481 481  
482 482  Trigger by falling edge:
... ... @@ -508,21 +508,21 @@
508 508  
509 509  Ext=8, Counting Sensor ( 4 bytes):
510 510  
511 -(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %)
512 -|(% style="width:138px" %)(((
513 -AT+EXT=8,0
514 -)))|(% style="width:240px" %)(((
515 -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**
516 516  )))
517 -|(% style="width:138px" %)(((
518 -AT+EXT=8,1
519 -)))|(% style="width:240px" %)(((
520 -Count at rising interrupt
560 +|(% style="width:131px" %)(((
561 +**AT+EXT=8,1**
562 +)))|(% style="width:195px" %)(((
563 +**Count at rising interrupt**
521 521  )))
522 -|(% style="width:138px" %)(((
523 -AT+SETCNT=60
524 -)))|(% style="width:240px" %)(((
525 -Sent current count to 60
565 +|(% style="width:131px" %)(((
566 +**AT+SETCNT=60**
567 +)))|(% style="width:195px" %)(((
568 +**Sent current count to 60**
526 526  )))
527 527  
528 528  [[image:image-20220906101320-6.png||_mstalt="428064"]]
... ... @@ -548,9 +548,6 @@
548 548  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:
549 549  )))
550 550  
551 -(((
552 -
553 -)))
554 554  
555 555  (((
556 556  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -560,9 +560,6 @@
560 560  (% 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.
561 561  )))
562 562  
563 -(((
564 -
565 -)))
566 566  
567 567  (((
568 568  Add Datacake:
... ... @@ -676,9 +676,10 @@
676 676  
677 677  User can poll sensor value based on timestamps from the server. Below is the downlink command.
678 678  
679 -[[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
680 680  
681 -
682 682  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.
683 683  
684 684  For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
... ... @@ -695,10 +695,10 @@
695 695  
696 696  **Retrieval data payload:**
697 697  
698 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
699 -|=(% style="width: 60px;" %)(((
736 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
737 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
700 700  **Size(bytes)**
701 -)))|=(% 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**
702 702  |(% 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"]]
703 703  
704 704  **Poll message flag & Ext:**
... ... @@ -730,7 +730,7 @@
730 730  
731 731  If LHT65N has below data inside Flash:
732 732  
733 -[[image:image-20220523144455-1.png||_mstalt="430040" height="335" width="735"]]
771 +[[image:image-20230426171833-4.png]]
734 734  
735 735  
736 736  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
... ... @@ -961,6 +961,7 @@
961 961  * RED LED when external sensor is not connected
962 962  * For each success downlink, the PURPLE LED will blink once
963 963  
1002 +
964 964  == 2.9 installation ==
965 965  
966 966  
... ... @@ -1013,6 +1013,8 @@
1013 1013  * Operating Range: -40 ~~ 125 °C
1014 1014  * Working voltage 2.35v ~~ 5v
1015 1015  
1055 +
1056 +
1016 1016  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1017 1017  
1018 1018  
... ... @@ -1068,9 +1068,11 @@
1068 1068  
1069 1069  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1070 1070  
1071 -[[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
1072 1072  
1073 -
1074 1074  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
1075 1075  
1076 1076  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -1081,6 +1081,8 @@
1081 1081  
1082 1082  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1083 1083  
1127 +
1128 +
1084 1084  == 4.2 Set External Sensor Mode ==
1085 1085  
1086 1086  
... ... @@ -1089,8 +1089,12 @@
1089 1089  
1090 1090  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1091 1091  
1092 -[[image:image-20220523150759-3.png||_mstalt="432146"]]
1093 1093  
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
1094 1094  
1095 1095  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1096 1096  
... ... @@ -1104,6 +1104,8 @@
1104 1104  
1105 1105  * 0xA20702003c: Same as AT+SETCNT=60
1106 1106  
1156 +
1157 +
1107 1107  == 4.3 Enable/Disable uplink Temperature probe ID ==
1108 1108  
1109 1109  
... ... @@ -1126,24 +1126,32 @@
1126 1126  
1127 1127  (% style="color:#4f81bd" %)**AT Command:**
1128 1128  
1129 -[[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
1130 1130  
1131 -
1132 1132  (% style="color:#4f81bd" %)**Downlink Command:**
1133 1133  
1134 1134  * **0xA800**  **~-~->** AT+PID=0
1135 1135  * **0xA801**     **~-~->** AT+PID=1
1136 1136  
1189 +
1190 +
1137 1137  == 4.4 Set Password ==
1138 1138  
1139 1139  
1140 1140  Feature: Set device password, max 9 digits
1141 1141  
1142 -
1143 1143  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1144 1144  
1145 -[[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
1146 1146  
1203 +OK
1204 +)))
1205 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
1147 1147  
1148 1148  (% style="color:#4f81bd" %)**Downlink Command:**
1149 1149  
... ... @@ -1155,12 +1155,12 @@
1155 1155  
1156 1156  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1157 1157  
1158 -
1159 1159  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1160 1160  
1161 -[[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
1162 1162  
1163 -
1164 1164  (% style="color:#4f81bd" %)**Downlink Command:**
1165 1165  
1166 1166  No downlink command for this feature.
... ... @@ -1176,23 +1176,34 @@
1176 1176  
1177 1177  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1178 1178  
1179 -[[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…
1180 1180  
1243 +OK
1244 +)))
1181 1181  
1182 1182  (% style="color:#4f81bd" %)**Downlink Command:**
1183 1183  
1184 1184  * There is no downlink command to set to Sleep mode.
1185 1185  
1250 +
1251 +
1186 1186  == 4.7 Set system time ==
1187 1187  
1188 1188  
1189 1189  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1190 1190  
1191 -
1192 1192  (% style="color:#4f81bd" %)**AT Command:**
1193 1193  
1194 -[[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
1195 1195  
1264 +Set System time to 2021-01-20 00:59:12
1265 +)))
1196 1196  
1197 1197  (% style="color:#4f81bd" %)**Downlink Command:**
1198 1198  
... ... @@ -1208,15 +1208,14 @@
1208 1208  
1209 1209  (((
1210 1210  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.
1211 -
1212 -
1213 1213  )))
1214 1214  
1215 1215  (% style="color:#4f81bd" %)**AT Command:**
1216 1216  
1217 -[[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)
1218 1218  
1219 -
1220 1220  (% style="color:#4f81bd" %)**Downlink Command:**
1221 1221  
1222 1222  0x28 01  ~/~/  Same As AT+SYNCMOD=1
... ... @@ -1228,12 +1228,12 @@
1228 1228  
1229 1229  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1230 1230  
1231 -
1232 1232  (% style="color:#4f81bd" %)**AT Command:**
1233 1233  
1234 -[[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.
1235 1235  
1236 -
1237 1237  (% style="color:#4f81bd" %)**Downlink Command:**
1238 1238  
1239 1239  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
... ... @@ -1244,10 +1244,9 @@
1244 1244  
1245 1245  Feature: Print the sector data from start page to stop page (max is 416 pages).
1246 1246  
1247 -
1248 1248  (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1249 1249  
1250 -[[image:image-20220523151450-11.png||_mstalt="451035"]]
1318 +[[image:image-20230426164330-2.png]]
1251 1251  
1252 1252  
1253 1253  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1260,10 +1260,9 @@
1260 1260  
1261 1261  Feature: Print the last few data entries
1262 1262  
1263 -
1264 1264  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1265 1265  
1266 -[[image:image-20220523151524-12.png||_mstalt="452101"]]
1333 +[[image:image-20230426164932-3.png]]
1267 1267  
1268 1268  
1269 1269  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1279,25 +1279,32 @@
1279 1279  
1280 1280  (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1281 1281  
1282 -[[image:image-20220523151556-13.png||_mstalt="454129"]]
1283 1283  
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…
1284 1284  
1355 +OK
1356 +)))
1357 +
1285 1285  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1286 1286  
1287 1287  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1288 1288  
1362 +
1363 +
1289 1289  == 4.13 Auto Send None-ACK messages ==
1290 1290  
1291 1291  
1292 1292  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.
1293 1293  
1294 -
1295 1295  (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD**
1296 1296  
1297 1297  The default factory setting is 0
1298 1298  
1299 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %)
1300 -|=(% 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**
1301 1301  |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1302 1302  
1303 1303  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
... ... @@ -1304,13 +1304,15 @@
1304 1304  
1305 1305  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1306 1306  
1381 +
1382 +
1307 1307  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1308 1308  
1309 1309  
1310 1310  Feature: Set internal and external temperature sensor alarms.
1311 1311  
1312 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
1313 -|=(% 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**
1314 1314  |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1315 1315  
1316 1316  (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
... ... @@ -1622,7 +1622,7 @@
1622 1622  [[image:image-20220615153355-1.png||_mstalt="430222"]]
1623 1623  
1624 1624  
1625 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1701 +(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]]  first.
1626 1626  
1627 1627  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1628 1628  
... ... @@ -1688,7 +1688,7 @@
1688 1688  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1689 1689  
1690 1690  
1691 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1767 +(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]]  first.
1692 1692  
1693 1693  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1694 1694  
... ... @@ -1748,6 +1748,8 @@
1748 1748  
1749 1749  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1750 1750  
1827 +
1828 +
1751 1751  = 8. Packing Info =
1752 1752  
1753 1753  
... ... @@ -1761,11 +1761,15 @@
1761 1761  * Device Size:  10 x 10 x 3.5 mm
1762 1762  * Device Weight: 120.5g
1763 1763  
1842 +
1843 +
1764 1764  = 9. Reference material =
1765 1765  
1766 1766  
1767 1767  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1768 1768  
1849 +
1850 +
1769 1769  = 10. FCC Warning =
1770 1770  
1771 1771  
... ... @@ -1774,6 +1774,3 @@
1774 1774  (1) This device may not cause harmful interference;
1775 1775  
1776 1776  (2) this device must accept any interference received, including interference that may cause undesired operation.
1777 -
1778 -
1779 -
image-20230426083319-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +190.0 KB
Content
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