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

From version 250.1
edited by Ellie Zhang
on 2023/05/09 14:40
Change comment: There is no comment for this version
To version 227.1
edited by Bei Jinggeng
on 2023/02/01 11:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Ellie
1 +XWiki.Bei
Content
... ... @@ -43,10 +43,10 @@
43 43  )))
44 44  
45 45  
46 -
47 47  == 1.2 Features ==
48 48  
49 49  
49 +* Wall mountable
50 50  * LoRaWAN v1.0.3 Class A protocol
51 51  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
52 52  * AT Commands to change parameters
... ... @@ -58,6 +58,7 @@
58 58  * Tri-color LED to indicate working status
59 59  * Datalog feature (Max 3328 records)
60 60  
61 +
61 61  == 1.3 Specification ==
62 62  
63 63  
... ... @@ -82,6 +82,7 @@
82 82  * ±2°C accuracy from -55°C to +125°C
83 83  * Operating Range: -55 °C ~~ 125 °C
84 84  
86 +
85 85  = 2. Connect LHT65N to IoT Server =
86 86  
87 87  == 2.1 How does LHT65N work? ==
... ... @@ -117,17 +117,9 @@
117 117  
118 118  [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]]
119 119  
120 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
121 -|=(% 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**
122 -|(% 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" %)(((
123 -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.
124 -)))
125 -|(% 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" %)(((
126 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
127 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
128 -)))
129 -|(% 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.
122 +[[image:image-20220525110604-2.png||_mstalt="427531"]]
130 130  
124 +
131 131  == 2.3 Example to join LoRaWAN network ==
132 132  
133 133  
... ... @@ -155,7 +155,7 @@
155 155  Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
156 156  )))
157 157  
158 -[[image:image-20230426083319-1.png]]
152 +[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
159 159  
160 160  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
161 161  
... ... @@ -205,18 +205,18 @@
205 205  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
206 206  )))
207 207  
208 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
209 -|=(% style="width: 60px;background-color:#D9E2F3" %)(((
202 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
203 +|=(% style="width: 60px;" %)(((
210 210  **Size(bytes)**
211 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
205 +)))|=(% style="width: 30px;" %)(((
212 212  **2**
213 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
207 +)))|=(% style="width: 100px;" %)(((
214 214  **2**
215 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
209 +)))|=(% style="width: 100px;" %)(((
216 216  **2**
217 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
211 +)))|=(% style="width: 50px;" %)(((
218 218  **1**
219 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
213 +)))|=(% style="width: 50px;" %)(((
220 220  **4**
221 221  )))
222 222  |(% style="width:97px" %)(((
... ... @@ -238,11 +238,10 @@
238 238  )))
239 239  
240 240  * The First 6 bytes: has fix meanings for every LHT65N.
241 -
242 242  * The 7th byte (EXT #): defines the external sensor model.
243 -
244 244  * 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.)
245 245  
238 +
246 246  === 2.4.1 Decoder in TTN V3 ===
247 247  
248 248  
... ... @@ -257,33 +257,19 @@
257 257  === 2.4.2 BAT-Battery Info ===
258 258  
259 259  
260 -These two bytes of BAT include the battery state and the actually voltage.
253 +These two bytes of BAT include the battery state and the actually voltage
261 261  
262 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
263 -|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
264 -**Bit(bit)**
265 -)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
266 -|(% style="width:66px" %)(((
267 -**Value**
268 -)))|(% style="width:250px" %)(((
269 -BAT Status
270 -00(b): Ultra Low ( BAT <= 2.50v)
271 -01(b): Low (2.50v <=BAT <= 2.55v)
272 -10(b): OK (2.55v <= BAT <=2.65v)
273 -11(b): Good (BAT >= 2.65v)
274 -)))|(% style="width:152px" %)Actually BAT voltage
255 +[[image:image-20220523152839-18.png||_mstalt="457613"]]
275 275  
276 -**(b)stands for binary**
277 277  
278 -
279 279  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
280 280  
281 281  
282 282  Check the battery voltage for LHT65N.
283 283  
284 -* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
263 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good
264 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
285 285  
286 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
287 287  
288 288  === 2.4.3 Built-in Temperature ===
289 289  
... ... @@ -296,6 +296,7 @@
296 296  
297 297  * Temperature:  (0xF5C6-65536)/100=-26.18℃
298 298  
278 +
299 299  === 2.4.4 Built-in Humidity ===
300 300  
301 301  
... ... @@ -303,16 +303,15 @@
303 303  
304 304  * Humidity:    0x025C/10=60.4%
305 305  
286 +
306 306  === 2.4.5 Ext # ===
307 307  
308 308  
309 309  Bytes for External Sensor:
310 310  
311 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %)
312 -|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Value**|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)**External Sensor Type**
313 -|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor
314 -|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod
292 +[[image:image-20220523152822-17.png||_mstalt="454545"]]
315 315  
294 +
316 316  === 2.4.6 Ext value ===
317 317  
318 318  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
... ... @@ -332,16 +332,11 @@
332 332  
333 333  * External temperature= (0xF54F-65536)/100=-27.37℃
334 334  
335 -F54F :  (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃
336 -
337 -(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
338 -
339 339  The last 2 bytes of data are meaningless
340 340  
341 341  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
342 342  
343 343  
344 -
345 345  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
346 346  
347 347  
... ... @@ -349,25 +349,28 @@
349 349  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:
350 350  )))
351 351  
326 +(((
327 +
328 +)))
352 352  
353 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
354 -|=(% style="width: 50px;background-color:#D9E2F3" %)(((
330 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
331 +|=(% style="width: 50px;" %)(((
355 355  **Size(bytes)**
356 -)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
333 +)))|=(% style="width: 70px;" %)(((
357 357  **2**
358 -)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
335 +)))|=(% style="width: 120px;" %)(((
359 359  **2**
360 -)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
337 +)))|=(% style="width: 120px;" %)(((
361 361  **2**
362 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
339 +)))|=(% style="width: 50px;" %)(((
363 363  **1**
364 -)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
341 +)))|=(% style="width: 70px;" %)(((
365 365  **4**
366 366  )))
367 367  |(% style="width:110px" %)(((
368 368  **Value**
369 369  )))|(% style="width:71px" %)(((
370 -External temperature
347 +[[External temperature>>||anchor="H4.2SetExternalSensorMode"]]
371 371  )))|(% style="width:99px" %)(((
372 372  [[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
373 373  )))|(% style="width:132px" %)(((
... ... @@ -380,9 +380,9 @@
380 380  
381 381  * **Battery status & Built-in Humidity**
382 382  
383 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
384 -|=(% 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]
385 -|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
360 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %)
361 +|=(% style="width: 67px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]
362 +|(% style="width:67px" %)Value|(% style="width:256px" %)(((
386 386  BAT Status
387 387  00(b): Ultra Low ( BAT <= 2.50v)
388 388  01(b): Low  (2.50v <=BAT <= 2.55v)
... ... @@ -394,8 +394,8 @@
394 394  
395 395  * **Status & Ext Byte**
396 396  
397 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
398 -|=(% 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 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
375 +|=(% 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]**
399 399  |=(% 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)
400 400  
401 401  * (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
... ... @@ -402,6 +402,7 @@
402 402  * (% 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.
403 403  * (% 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)
404 404  
382 +
405 405  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
406 406  
407 407  
... ... @@ -450,7 +450,6 @@
450 450  [[image:image-20220628151143-7.png||_mstalt="431210"]]
451 451  
452 452  
453 -
454 454  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
455 455  
456 456  
... ... @@ -467,20 +467,9 @@
467 467  The external cable NE2 can be use for MOD4 and MOD8
468 468  
469 469  
470 -==== 2.4.6.5 Ext~=11 SHT31 Sensor (Since Firmware v1.3) ====
447 +==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
471 471  
472 472  
473 -[[image:65N-E31F.jpg||height="454" width="459"]]
474 -
475 -
476 -(% style="color:blue" %)**Ext=11,Temperature & Humidity Sensor(SHT31):**
477 -
478 -[[image:SHT31.png]]
479 -
480 -
481 -==== 2.4.6.6 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
482 -
483 -
484 484  (% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will send an uplink when there is a trigger.**
485 485  
486 486  
... ... @@ -497,21 +497,21 @@
497 497  
498 498  Ext=4,Interrupt Sensor:
499 499  
500 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
466 +(% border="1.5" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:478px" %)
501 501  |(% style="width:101px" %)(((
502 -**AT+EXT=4,1**
503 -)))|(% style="width:395px" %)(((
504 -**Sent uplink packet in both rising and falling interrupt**
468 +AT+EXT=4,1
469 +)))|(% style="width:373px" %)(((
470 +Sent uplink packet in both rising and falling interrupt
505 505  )))
506 506  |(% style="width:101px" %)(((
507 -**AT+EXT=4,2**
508 -)))|(% style="width:395px" %)(((
509 -**Sent uplink packet only in falling interrupt**
473 +AT+EXT=4,2
474 +)))|(% style="width:373px" %)(((
475 +Sent uplink packet only in falling interrupt
510 510  )))
511 511  |(% style="width:101px" %)(((
512 -**AT+EXT=4,3**
513 -)))|(% style="width:395px" %)(((
514 -**Sent uplink packet only in rising interrupt**
478 +AT+EXT=4,3
479 +)))|(% style="width:373px" %)(((
480 +Sent uplink packet only in rising interrupt
515 515  )))
516 516  
517 517  Trigger by falling edge:
... ... @@ -524,10 +524,9 @@
524 524  [[image:image-20220906101145-3.png||_mstalt="428688"]]
525 525  
526 526  
493 +==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
527 527  
528 -==== 2.4.6.7 Ext~=8 Counting Mode(Since Firmware v1.3) ====
529 529  
530 -
531 531  (% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.**
532 532  
533 533  
... ... @@ -543,21 +543,21 @@
543 543  
544 544  Ext=8, Counting Sensor ( 4 bytes):
545 545  
546 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %)
547 -|(% style="width:131px" %)(((
548 -**AT+EXT=8,0**
549 -)))|(% style="width:195px" %)(((
550 -**Count at falling interrupt**
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
551 551  )))
552 -|(% style="width:131px" %)(((
553 -**AT+EXT=8,1**
554 -)))|(% style="width:195px" %)(((
555 -**Count at rising interrupt**
517 +|(% style="width:138px" %)(((
518 +AT+EXT=8,1
519 +)))|(% style="width:240px" %)(((
520 +Count at rising interrupt
556 556  )))
557 -|(% style="width:131px" %)(((
558 -**AT+SETCNT=60**
559 -)))|(% style="width:195px" %)(((
560 -**Sent current count to 60**
522 +|(% style="width:138px" %)(((
523 +AT+SETCNT=60
524 +)))|(% style="width:240px" %)(((
525 +Sent current count to 60
561 561  )))
562 562  
563 563  [[image:image-20220906101320-6.png||_mstalt="428064"]]
... ... @@ -583,6 +583,9 @@
583 583  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:
584 584  )))
585 585  
551 +(((
552 +
553 +)))
586 586  
587 587  (((
588 588  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -592,6 +592,9 @@
592 592  (% 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.
593 593  )))
594 594  
563 +(((
564 +
565 +)))
595 595  
596 596  (((
597 597  Add Datacake:
... ... @@ -705,10 +705,9 @@
705 705  
706 706  User can poll sensor value based on timestamps from the server. Below is the downlink command.
707 707  
708 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %)
709 -|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte
710 -|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval
679 +[[image:image-20220523152302-15.png||_mstalt="451581"]]
711 711  
681 +
712 712  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.
713 713  
714 714  For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
... ... @@ -725,10 +725,10 @@
725 725  
726 726  **Retrieval data payload:**
727 727  
728 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
729 -|=(% style="width: 60px;background-color:#D9E2F3" %)(((
698 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
699 +|=(% style="width: 60px;" %)(((
730 730  **Size(bytes)**
731 -)))|=(% 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**
701 +)))|=(% style="width: 90px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 100px;" %)**1**|=(% style="width: 70px;" %)**4**
732 732  |(% 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"]]
733 733  
734 734  **Poll message flag & Ext:**
... ... @@ -760,7 +760,7 @@
760 760  
761 761  If LHT65N has below data inside Flash:
762 762  
763 -[[image:image-20230426171833-4.png]]
733 +[[image:image-20220523144455-1.png||_mstalt="430040" height="335" width="735"]]
764 764  
765 765  
766 766  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
... ... @@ -885,18 +885,17 @@
885 885  temperature fluctuation=05
886 886  
887 887  
888 -**Sampling multiple times and uplink together**
858 +==== **Sampling multiple times and uplink together** ====
889 889  
890 890  **AT+WMOD=3,1,60,20,-16,32,1**   
891 891  
892 892  Explain:
893 893  
894 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3**
895 -* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30).
896 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s.
897 -* (% style="color:#037691" %)**parameter4:**(%%)When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink)
898 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C,
899 -* (% style="color:#037691" %)**parameter7:**(%%) 1 to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately  if temperate exceeds the Alarm range.
864 +* Set Working Mode to **Mode 3**
865 +* Sampling Interval is **60**s.
866 +* When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink)
867 +* Temperature alarm range is **-16** to **32**°C,
868 +* **1** to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately  if temperate exceeds the Alarm range.
900 900  
901 901  (% style="color:#4f81bd" %)**Downlink Command:**
902 902  
... ... @@ -904,7 +904,7 @@
904 904  
905 905  MOD=03
906 906  
907 -TEMP=DS18B20
876 +EXT=01
908 908  
909 909  CITEMP=003C(S)
910 910  
... ... @@ -916,6 +916,7 @@
916 916  
917 917  ARTEMP=01
918 918  
888 +
919 919  **Uplink payload( Fport=3)**
920 920  
921 921  **Example: CBEA**01**0992**//0A41//**09C4**
... ... @@ -922,7 +922,7 @@
922 922  
923 923  BatV=CBEA
924 924  
925 -TEMP=DS18B20
895 +EXT=01
926 926  
927 927  Temp1=0992  ~/~/ 24.50℃
928 928  
... ... @@ -930,9 +930,10 @@
930 930  
931 931  Temp3=09C4  ~/~/ 25.00℃
932 932  
903 +
933 933  (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length**
934 934  
935 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
906 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
936 936  )))
937 937  
938 938  
... ... @@ -991,6 +991,7 @@
991 991  * RED LED when external sensor is not connected
992 992  * For each success downlink, the PURPLE LED will blink once
993 993  
965 +
994 994  == 2.9 installation ==
995 995  
996 996  
... ... @@ -1043,42 +1043,7 @@
1043 1043  * Operating Range: -40 ~~ 125 °C
1044 1044  * Working voltage 2.35v ~~ 5v
1045 1045  
1046 -== 3.3 E31F Temperature Probe ==
1047 1047  
1048 -
1049 -[[image:65N-E31F-1.jpg||height="169" width="170"]] [[image:65N-E31F.jpg||height="196" width="198"]]
1050 -
1051 -
1052 -Temperature sensor with 1 meters cable long
1053 -
1054 -**Built-in Temperature Sensor:**
1055 -
1056 -* Resolution: 0.01 °C
1057 -* Accuracy Tolerance : Typ ±0.3 °C
1058 -* Long Term Drift: < 0.02 °C/yr
1059 -* Operating Range: -40 ~~ 80 °C
1060 -
1061 -**Built-in Humidity Sensor:**
1062 -
1063 -* Resolution: 0.04 %RH
1064 -* Accuracy Tolerance : Typ ±3 %RH
1065 -* Long Term Drift: < 0.02 °C/yr
1066 -* Operating Range: 0 ~~ 96 %RH
1067 -
1068 -**External Temperature Sensor :**
1069 -
1070 -* Resolution: 0.01 °C
1071 -* Accuracy Tolerance : Typical ±0.3 °C
1072 -* Long Term Drift: < 0.02 °C/yr
1073 -* Operating Range: -40 ~~ 125 °C
1074 -
1075 -**External Humidity Sensor :**
1076 -
1077 -* Resolution: 0.04 %RH
1078 -* Accuracy Tolerance : Typ ±3 %RH
1079 -* Long Term Drift: < 0.02 °C/yr
1080 -* Operating Range: 0 ~~ 96 %RH
1081 -
1082 1082  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1083 1083  
1084 1084  
... ... @@ -1134,11 +1134,9 @@
1134 1134  
1135 1135  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1136 1136  
1137 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
1138 -|(% 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**
1139 -|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
1140 -|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
1074 +[[image:image-20220523150701-2.png||_mstalt="427453"]]
1141 1141  
1076 +
1142 1142  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
1143 1143  
1144 1144  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -1149,6 +1149,7 @@
1149 1149  
1150 1150  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1151 1151  
1087 +
1152 1152  == 4.2 Set External Sensor Mode ==
1153 1153  
1154 1154  
... ... @@ -1157,12 +1157,8 @@
1157 1157  
1158 1158  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1159 1159  
1096 +[[image:image-20220523150759-3.png||_mstalt="432146"]]
1160 1160  
1161 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %)
1162 -|(% 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**
1163 -|(% style="width:155px" %)AT+EXT=?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1
1164 -|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1
1165 -|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp
1166 1166  
1167 1167  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1168 1168  
... ... @@ -1176,6 +1176,7 @@
1176 1176  
1177 1177  * 0xA20702003c: Same as AT+SETCNT=60
1178 1178  
1111 +
1179 1179  == 4.3 Enable/Disable uplink Temperature probe ID ==
1180 1180  
1181 1181  
... ... @@ -1198,30 +1198,25 @@
1198 1198  
1199 1199  (% style="color:#4f81bd" %)**AT Command:**
1200 1200  
1201 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %)
1202 -|(% 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**
1203 -|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK
1134 +[[image:image-20220523150928-4.png||_mstalt="431821"]]
1204 1204  
1136 +
1205 1205  (% style="color:#4f81bd" %)**Downlink Command:**
1206 1206  
1207 1207  * **0xA800**  **~-~->** AT+PID=0
1208 1208  * **0xA801**     **~-~->** AT+PID=1
1209 1209  
1142 +
1210 1210  == 4.4 Set Password ==
1211 1211  
1212 1212  
1213 1213  Feature: Set device password, max 9 digits
1214 1214  
1148 +
1215 1215  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1216 1216  
1217 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
1218 -|(% 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**
1219 -|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
1220 -123456
1151 +[[image:image-20220523151052-5.png||_mstalt="428623"]]
1221 1221  
1222 -OK
1223 -)))
1224 -|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
1225 1225  
1226 1226  (% style="color:#4f81bd" %)**Downlink Command:**
1227 1227  
... ... @@ -1233,12 +1233,12 @@
1233 1233  
1234 1234  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1235 1235  
1164 +
1236 1236  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1237 1237  
1238 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %)
1239 -|(% 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**
1240 -|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK
1167 +[[image:image-20220523151132-6.png||_mstalt="428649"]]
1241 1241  
1169 +
1242 1242  (% style="color:#4f81bd" %)**Downlink Command:**
1243 1243  
1244 1244  No downlink command for this feature.
... ... @@ -1254,32 +1254,24 @@
1254 1254  
1255 1255  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1256 1256  
1257 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
1258 -|(% 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**
1259 -|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
1260 -Clear all stored sensor data…
1185 +[[image:image-20220523151218-7.png||_mstalt="430703"]]
1261 1261  
1262 -OK
1263 -)))
1264 1264  
1265 1265  (% style="color:#4f81bd" %)**Downlink Command:**
1266 1266  
1267 1267  * There is no downlink command to set to Sleep mode.
1268 1268  
1192 +
1269 1269  == 4.7 Set system time ==
1270 1270  
1271 1271  
1272 1272  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1273 1273  
1198 +
1274 1274  (% style="color:#4f81bd" %)**AT Command:**
1275 1275  
1276 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %)
1277 -|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Function**
1278 -|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)(((
1279 -OK
1201 +[[image:image-20220523151253-8.png||_mstalt="430677"]]
1280 1280  
1281 -Set System time to 2021-01-20 00:59:12
1282 -)))
1283 1283  
1284 1284  (% style="color:#4f81bd" %)**Downlink Command:**
1285 1285  
... ... @@ -1295,14 +1295,15 @@
1295 1295  
1296 1296  (((
1297 1297  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.
1218 +
1219 +
1298 1298  )))
1299 1299  
1300 1300  (% style="color:#4f81bd" %)**AT Command:**
1301 1301  
1302 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %)
1303 -|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function**
1304 -|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq)
1224 +[[image:image-20220523151336-9.png||_mstalt="431717"]]
1305 1305  
1226 +
1306 1306  (% style="color:#4f81bd" %)**Downlink Command:**
1307 1307  
1308 1308  0x28 01  ~/~/  Same As AT+SYNCMOD=1
... ... @@ -1314,12 +1314,12 @@
1314 1314  
1315 1315  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1316 1316  
1238 +
1317 1317  (% style="color:#4f81bd" %)**AT Command:**
1318 1318  
1319 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %)
1320 -|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:314px" %)**Function**
1321 -|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days.
1241 +[[image:image-20220523151411-10.png||_mstalt="449696"]]
1322 1322  
1243 +
1323 1323  (% style="color:#4f81bd" %)**Downlink Command:**
1324 1324  
1325 1325  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
... ... @@ -1330,9 +1330,10 @@
1330 1330  
1331 1331  Feature: Print the sector data from start page to stop page (max is 416 pages).
1332 1332  
1254 +
1333 1333  (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1334 1334  
1335 -[[image:image-20230426164330-2.png]]
1257 +[[image:image-20220523151450-11.png||_mstalt="451035"]]
1336 1336  
1337 1337  
1338 1338  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1345,9 +1345,10 @@
1345 1345  
1346 1346  Feature: Print the last few data entries
1347 1347  
1270 +
1348 1348  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1349 1349  
1350 -[[image:image-20230426164932-3.png]]
1273 +[[image:image-20220523151524-12.png||_mstalt="452101"]]
1351 1351  
1352 1352  
1353 1353  (% style="color:#4f81bd" %)**Downlink Command:**
... ... @@ -1363,30 +1363,26 @@
1363 1363  
1364 1364  (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1365 1365  
1289 +[[image:image-20220523151556-13.png||_mstalt="454129"]]
1366 1366  
1367 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %)
1368 -|(% 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**
1369 -|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1370 -Clear all stored sensor data…
1371 1371  
1372 -OK
1373 -)))
1374 -
1375 1375  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1376 1376  
1377 1377  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1378 1378  
1296 +
1379 1379  == 4.13 Auto Send None-ACK messages ==
1380 1380  
1381 1381  
1382 1382  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.
1383 1383  
1302 +
1384 1384  (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD**
1385 1385  
1386 1386  The default factory setting is 0
1387 1387  
1388 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %)
1389 -|=(% 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**
1307 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %)
1308 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 118px;" %)**Function**|=(% style="width: 87px;" %)**Response**
1390 1390  |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1391 1391  
1392 1392  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
... ... @@ -1393,13 +1393,14 @@
1393 1393  
1394 1394  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1395 1395  
1315 +
1396 1396  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1397 1397  
1398 1398  
1399 1399  Feature: Set internal and external temperature sensor alarms.
1400 1400  
1401 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
1402 -|=(% 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**
1321 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
1322 +|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response**
1403 1403  |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1404 1404  
1405 1405  (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
... ... @@ -1711,7 +1711,7 @@
1711 1711  [[image:image-20220615153355-1.png||_mstalt="430222"]]
1712 1712  
1713 1713  
1714 -(% 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.
1634 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1715 1715  
1716 1716  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1717 1717  
... ... @@ -1777,7 +1777,7 @@
1777 1777  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1778 1778  
1779 1779  
1780 -(% 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.
1700 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1781 1781  
1782 1782  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1783 1783  
... ... @@ -1837,6 +1837,7 @@
1837 1837  
1838 1838  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1839 1839  
1760 +
1840 1840  = 8. Packing Info =
1841 1841  
1842 1842  
... ... @@ -1850,11 +1850,13 @@
1850 1850  * Device Size:  10 x 10 x 3.5 mm
1851 1851  * Device Weight: 120.5g
1852 1852  
1774 +
1853 1853  = 9. Reference material =
1854 1854  
1855 1855  
1856 1856  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1857 1857  
1780 +
1858 1858  = 10. FCC Warning =
1859 1859  
1860 1860  
... ... @@ -1863,3 +1863,6 @@
1863 1863  (1) This device may not cause harmful interference;
1864 1864  
1865 1865  (2) this device must accept any interference received, including interference that may cause undesired operation.
1789 +
1790 +
1791 +
65N-E31F-1.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ellie
Size
... ... @@ -1,1 +1,0 @@
1 -43.5 KB
Content
65N-E31F.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ellie
Size
... ... @@ -1,1 +1,0 @@
1 -51.2 KB
Content
SHT31.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ellie
Size
... ... @@ -1,1 +1,0 @@
1 -7.6 KB
Content
image-20230426083319-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -190.0 KB
Content
image-20230426155837-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -2.4 KB
Content
image-20230426164330-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -36.6 KB
Content
image-20230426164932-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -23.2 KB
Content
image-20230426171833-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -33.0 KB
Content
image-20230509140803-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ellie
Size
... ... @@ -1,1 +1,0 @@
1 -11.1 KB
Content