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

From version 235.3
edited by Xiaoling
on 2023/04/26 16:02
Change comment: There is no comment for this version
To version 234.2
edited by Xiaoling
on 2023/04/26 08:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -57,6 +57,7 @@
57 57  * Tri-color LED to indicate working status
58 58  * Datalog feature (Max 3328 records)
59 59  
60 +
60 60  == 1.3 Specification ==
61 61  
62 62  
... ... @@ -81,6 +81,7 @@
81 81  * ±2°C accuracy from -55°C to +125°C
82 82  * Operating Range: -55 °C ~~ 125 °C
83 83  
85 +
84 84  = 2. Connect LHT65N to IoT Server =
85 85  
86 86  == 2.1 How does LHT65N work? ==
... ... @@ -116,17 +116,9 @@
116 116  
117 117  [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]]
118 118  
119 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
120 -|=(% 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**
121 -|(% 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" %)(((
122 -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.
123 -)))
124 -|(% 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" %)(((
125 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
126 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
127 -)))
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.
121 +[[image:image-20220525110604-2.png||_mstalt="427531"]]
129 129  
123 +
130 130  == 2.3 Example to join LoRaWAN network ==
131 131  
132 132  
... ... @@ -204,18 +204,18 @@
204 204  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
205 205  )))
206 206  
207 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
208 -|=(% style="width: 60px;background-color:#D9E2F3" %)(((
201 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
202 +|=(% style="width: 60px;" %)(((
209 209  **Size(bytes)**
210 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
204 +)))|=(% style="width: 30px;" %)(((
211 211  **2**
212 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
206 +)))|=(% style="width: 100px;" %)(((
213 213  **2**
214 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
208 +)))|=(% style="width: 100px;" %)(((
215 215  **2**
216 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
210 +)))|=(% style="width: 50px;" %)(((
217 217  **1**
218 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
212 +)))|=(% style="width: 50px;" %)(((
219 219  **4**
220 220  )))
221 221  |(% style="width:97px" %)(((
... ... @@ -237,11 +237,10 @@
237 237  )))
238 238  
239 239  * The First 6 bytes: has fix meanings for every LHT65N.
240 -
241 241  * The 7th byte (EXT #): defines the external sensor model.
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  
237 +
245 245  === 2.4.1 Decoder in TTN V3 ===
246 246  
247 247  
... ... @@ -256,25 +256,12 @@
256 256  === 2.4.2 BAT-Battery Info ===
257 257  
258 258  
259 -These two bytes of BAT include the battery state and the actually voltage.
252 +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:477px" %)
262 -|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
263 -**Bit(bit)**
264 -)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
265 -|(% style="width:66px" %)(((
266 -**Value**
267 -)))|(% style="width:250px" %)(((
268 -BAT Status
269 -00(b): Ultra Low ( BAT <= 2.50v)
270 -01(b): Low (2.50v <=BAT <= 2.55v)
271 -10(b): OK (2.55v <= BAT <=2.65v)
272 -11(b): Good (BAT >= 2.65v)
273 -)))|(% style="width:152px" %)Actually BAT voltage
254 +[[image:image-20220523152839-18.png||_mstalt="457613"]]
274 274  
275 -**(b)stands for binary**
256 +(b)stands for binary
276 276  
277 -
278 278  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
279 279  
280 280  
... ... @@ -281,9 +281,9 @@
281 281  Check the battery voltage for LHT65N.
282 282  
283 283  * BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
284 -
285 285  * Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
286 286  
266 +
287 287  === 2.4.3 Built-in Temperature ===
288 288  
289 289  
... ... @@ -295,6 +295,7 @@
295 295  
296 296  * Temperature:  (0xF5C6-65536)/100=-26.18℃
297 297  
278 +
298 298  === 2.4.4 Built-in Humidity ===
299 299  
300 300  
... ... @@ -302,16 +302,15 @@
302 302  
303 303  * Humidity:    0x025C/10=60.4%
304 304  
286 +
305 305  === 2.4.5 Ext # ===
306 306  
307 307  
308 308  Bytes for External Sensor:
309 309  
310 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %)
311 -|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Value**|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)**External Sensor Type**
312 -|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor
313 -|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod
292 +[[image:image-20220523152822-17.png||_mstalt="454545"]]
314 314  
294 +
315 315  === 2.4.6 Ext value ===
316 316  
317 317  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
... ... @@ -348,19 +348,22 @@
348 348  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:
349 349  )))
350 350  
331 +(((
332 +
333 +)))
351 351  
352 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
353 -|=(% style="width: 50px;background-color:#D9E2F3" %)(((
335 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
336 +|=(% style="width: 50px;" %)(((
354 354  **Size(bytes)**
355 -)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
338 +)))|=(% style="width: 70px;" %)(((
356 356  **2**
357 -)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
340 +)))|=(% style="width: 120px;" %)(((
358 358  **2**
359 -)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
342 +)))|=(% style="width: 120px;" %)(((
360 360  **2**
361 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
344 +)))|=(% style="width: 50px;" %)(((
362 362  **1**
363 -)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
346 +)))|=(% style="width: 70px;" %)(((
364 364  **4**
365 365  )))
366 366  |(% style="width:110px" %)(((
... ... @@ -379,9 +379,9 @@
379 379  
380 380  * **Battery status & Built-in Humidity**
381 381  
382 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
383 -|=(% 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]
384 -|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
365 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %)
366 +|=(% style="width: 67px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]
367 +|(% style="width:67px" %)Value|(% style="width:256px" %)(((
385 385  BAT Status
386 386  00(b): Ultra Low ( BAT <= 2.50v)
387 387  01(b): Low  (2.50v <=BAT <= 2.55v)
... ... @@ -393,8 +393,8 @@
393 393  
394 394  * **Status & Ext Byte**
395 395  
396 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
397 -|=(% 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]**
379 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
380 +|=(% 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]**
398 398  |=(% 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)
399 399  
400 400  * (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
... ... @@ -401,6 +401,7 @@
401 401  * (% 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.
402 402  * (% 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)
403 403  
387 +
404 404  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
405 405  
406 406  
... ... @@ -486,21 +486,21 @@
486 486  
487 487  Ext=4,Interrupt Sensor:
488 488  
489 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
473 +(% border="1.5" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:478px" %)
490 490  |(% style="width:101px" %)(((
491 -**AT+EXT=4,1**
492 -)))|(% style="width:395px" %)(((
493 -**Sent uplink packet in both rising and falling interrupt**
475 +AT+EXT=4,1
476 +)))|(% style="width:373px" %)(((
477 +Sent uplink packet in both rising and falling interrupt
494 494  )))
495 495  |(% style="width:101px" %)(((
496 -**AT+EXT=4,2**
497 -)))|(% style="width:395px" %)(((
498 -**Sent uplink packet only in falling interrupt**
480 +AT+EXT=4,2
481 +)))|(% style="width:373px" %)(((
482 +Sent uplink packet only in falling interrupt
499 499  )))
500 500  |(% style="width:101px" %)(((
501 -**AT+EXT=4,3**
502 -)))|(% style="width:395px" %)(((
503 -**Sent uplink packet only in rising interrupt**
485 +AT+EXT=4,3
486 +)))|(% style="width:373px" %)(((
487 +Sent uplink packet only in rising interrupt
504 504  )))
505 505  
506 506  Trigger by falling edge:
... ... @@ -532,21 +532,21 @@
532 532  
533 533  Ext=8, Counting Sensor ( 4 bytes):
534 534  
535 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %)
536 -|(% style="width:131px" %)(((
537 -**AT+EXT=8,0**
538 -)))|(% style="width:195px" %)(((
539 -**Count at falling interrupt**
519 +(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %)
520 +|(% style="width:138px" %)(((
521 +AT+EXT=8,0
522 +)))|(% style="width:240px" %)(((
523 +Count at falling interrupt
540 540  )))
541 -|(% style="width:131px" %)(((
542 -**AT+EXT=8,1**
543 -)))|(% style="width:195px" %)(((
544 -**Count at rising interrupt**
525 +|(% style="width:138px" %)(((
526 +AT+EXT=8,1
527 +)))|(% style="width:240px" %)(((
528 +Count at rising interrupt
545 545  )))
546 -|(% style="width:131px" %)(((
547 -**AT+SETCNT=60**
548 -)))|(% style="width:195px" %)(((
549 -**Sent current count to 60**
530 +|(% style="width:138px" %)(((
531 +AT+SETCNT=60
532 +)))|(% style="width:240px" %)(((
533 +Sent current count to 60
550 550  )))
551 551  
552 552  [[image:image-20220906101320-6.png||_mstalt="428064"]]
... ... @@ -572,6 +572,9 @@
572 572  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:
573 573  )))
574 574  
559 +(((
560 +
561 +)))
575 575  
576 576  (((
577 577  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -581,6 +581,9 @@
581 581  (% 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.
582 582  )))
583 583  
571 +(((
572 +
573 +)))
584 584  
585 585  (((
586 586  Add Datacake:
... ... @@ -694,13 +694,8 @@
694 694  
695 695  User can poll sensor value based on timestamps from the server. Below is the downlink command.
696 696  
697 -(% border="1" cellspacing="5" style="width:428px;background-color:#F2F2F2" %)
698 -|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte
699 -|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval
700 -
701 701  [[image:image-20220523152302-15.png||_mstalt="451581"]]
702 702  
703 -[[image:image-20230426155837-1.png]]
704 704  
705 705  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.
706 706  
... ... @@ -718,10 +718,10 @@
718 718  
719 719  **Retrieval data payload:**
720 720  
721 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
722 -|=(% style="width: 60px;background-color:#F2F2F2" %)(((
706 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
707 +|=(% style="width: 60px;" %)(((
723 723  **Size(bytes)**
724 -)))|=(% 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**
709 +)))|=(% style="width: 90px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 100px;" %)**1**|=(% style="width: 70px;" %)**4**
725 725  |(% 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"]]
726 726  
727 727  **Poll message flag & Ext:**
... ... @@ -984,6 +984,7 @@
984 984  * RED LED when external sensor is not connected
985 985  * For each success downlink, the PURPLE LED will blink once
986 986  
972 +
987 987  == 2.9 installation ==
988 988  
989 989  
... ... @@ -1036,6 +1036,7 @@
1036 1036  * Operating Range: -40 ~~ 125 °C
1037 1037  * Working voltage 2.35v ~~ 5v
1038 1038  
1025 +
1039 1039  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1040 1040  
1041 1041  
... ... @@ -1104,6 +1104,7 @@
1104 1104  
1105 1105  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1106 1106  
1094 +
1107 1107  == 4.2 Set External Sensor Mode ==
1108 1108  
1109 1109  
... ... @@ -1127,6 +1127,7 @@
1127 1127  
1128 1128  * 0xA20702003c: Same as AT+SETCNT=60
1129 1129  
1118 +
1130 1130  == 4.3 Enable/Disable uplink Temperature probe ID ==
1131 1131  
1132 1132  
... ... @@ -1157,6 +1157,7 @@
1157 1157  * **0xA800**  **~-~->** AT+PID=0
1158 1158  * **0xA801**     **~-~->** AT+PID=1
1159 1159  
1149 +
1160 1160  == 4.4 Set Password ==
1161 1161  
1162 1162  
... ... @@ -1206,6 +1206,7 @@
1206 1206  
1207 1207  * There is no downlink command to set to Sleep mode.
1208 1208  
1199 +
1209 1209  == 4.7 Set system time ==
1210 1210  
1211 1211  
... ... @@ -1309,6 +1309,7 @@
1309 1309  
1310 1310  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1311 1311  
1303 +
1312 1312  == 4.13 Auto Send None-ACK messages ==
1313 1313  
1314 1314  
... ... @@ -1327,6 +1327,7 @@
1327 1327  
1328 1328  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1329 1329  
1322 +
1330 1330  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1331 1331  
1332 1332  
... ... @@ -1771,6 +1771,7 @@
1771 1771  
1772 1772  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1773 1773  
1767 +
1774 1774  = 8. Packing Info =
1775 1775  
1776 1776  
... ... @@ -1784,11 +1784,13 @@
1784 1784  * Device Size:  10 x 10 x 3.5 mm
1785 1785  * Device Weight: 120.5g
1786 1786  
1781 +
1787 1787  = 9. Reference material =
1788 1788  
1789 1789  
1790 1790  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1791 1791  
1787 +
1792 1792  = 10. FCC Warning =
1793 1793  
1794 1794  
... ... @@ -1797,3 +1797,5 @@
1797 1797  (1) This device may not cause harmful interference;
1798 1798  
1799 1799  (2) this device must accept any interference received, including interference that may cause undesired operation.
1796 +
1797 +
image-20230426155837-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -2.4 KB
Content