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

From version 230.1
edited by Bei Jinggeng
on 2023/03/13 09:40
Change comment: There is no comment for this version
To version 234.22
edited by Xiaoling
on 2023/04/26 15:35
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
... ... @@ -57,7 +57,6 @@
57 57  * Tri-color LED to indicate working status
58 58  * Datalog feature (Max 3328 records)
59 59  
60 -
61 61  == 1.3 Specification ==
62 62  
63 63  
... ... @@ -82,7 +82,6 @@
82 82  * ±2°C accuracy from -55°C to +125°C
83 83  * Operating Range: -55 °C ~~ 125 °C
84 84  
85 -
86 86  = 2. Connect LHT65N to IoT Server =
87 87  
88 88  == 2.1 How does LHT65N work? ==
... ... @@ -118,9 +118,17 @@
118 118  
119 119  [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]]
120 120  
121 -[[image:image-20220525110604-2.png||_mstalt="427531"]]
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.
122 122  
123 -
124 124  == 2.3 Example to join LoRaWAN network ==
125 125  
126 126  
... ... @@ -148,7 +148,7 @@
148 148  Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
149 149  )))
150 150  
151 -[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
157 +[[image:image-20230426083319-1.png]]
152 152  
153 153  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
154 154  
... ... @@ -198,18 +198,18 @@
198 198  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
199 199  )))
200 200  
201 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
202 -|=(% style="width: 60px;" %)(((
207 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
208 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
203 203  **Size(bytes)**
204 -)))|=(% style="width: 30px;" %)(((
210 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
205 205  **2**
206 -)))|=(% style="width: 100px;" %)(((
212 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
207 207  **2**
208 -)))|=(% style="width: 100px;" %)(((
214 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
209 209  **2**
210 -)))|=(% style="width: 50px;" %)(((
216 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
211 211  **1**
212 -)))|=(% style="width: 50px;" %)(((
218 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
213 213  **4**
214 214  )))
215 215  |(% style="width:97px" %)(((
... ... @@ -231,10 +231,11 @@
231 231  )))
232 232  
233 233  * The First 6 bytes: has fix meanings for every LHT65N.
240 +
234 234  * The 7th byte (EXT #): defines the external sensor model.
242 +
235 235  * 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.)
236 236  
237 -
238 238  === 2.4.1 Decoder in TTN V3 ===
239 239  
240 240  
... ... @@ -249,20 +249,34 @@
249 249  === 2.4.2 BAT-Battery Info ===
250 250  
251 251  
252 -These two bytes of BAT include the battery state and the actually voltage
259 +These two bytes of BAT include the battery state and the actually voltage.
253 253  
254 -[[image:image-20220523152839-18.png||_mstalt="457613"]]
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
255 255  
275 +**(b)stands for binary**
256 256  
277 +
257 257  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
258 258  
259 259  
260 260  Check the battery voltage for LHT65N.
261 261  
262 -* BAT status=(0Xcba4>>14)&0xFF=11(DEC)  /  B(HEX) ,very good
283 +* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
284 +
263 263  * Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
264 264  
265 -
266 266  === 2.4.3 Built-in Temperature ===
267 267  
268 268  
... ... @@ -274,7 +274,6 @@
274 274  
275 275  * Temperature:  (0xF5C6-65536)/100=-26.18℃
276 276  
277 -
278 278  === 2.4.4 Built-in Humidity ===
279 279  
280 280  
... ... @@ -282,15 +282,16 @@
282 282  
283 283  * Humidity:    0x025C/10=60.4%
284 284  
285 -
286 286  === 2.4.5 Ext # ===
287 287  
288 288  
289 289  Bytes for External Sensor:
290 290  
291 -[[image:image-20220523152822-17.png||_mstalt="454545"]]
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 292  
293 -
294 294  === 2.4.6 Ext value ===
295 295  
296 296  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
... ... @@ -327,22 +327,19 @@
327 327  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:
328 328  )))
329 329  
330 -(((
331 -
332 -)))
333 333  
334 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
335 -|=(% style="width: 50px;" %)(((
352 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
353 +|=(% style="width: 50px;background-color:#D9E2F3" %)(((
336 336  **Size(bytes)**
337 -)))|=(% style="width: 70px;" %)(((
355 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
338 338  **2**
339 -)))|=(% style="width: 120px;" %)(((
357 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
340 340  **2**
341 -)))|=(% style="width: 120px;" %)(((
359 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)(((
342 342  **2**
343 -)))|=(% style="width: 50px;" %)(((
361 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
344 344  **1**
345 -)))|=(% style="width: 70px;" %)(((
363 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)(((
346 346  **4**
347 347  )))
348 348  |(% style="width:110px" %)(((
... ... @@ -361,9 +361,9 @@
361 361  
362 362  * **Battery status & Built-in Humidity**
363 363  
364 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %)
365 -|=(% style="width: 67px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]
366 -|(% style="width:67px" %)Value|(% style="width:256px" %)(((
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" %)(((
367 367  BAT Status
368 368  00(b): Ultra Low ( BAT <= 2.50v)
369 369  01(b): Low  (2.50v <=BAT <= 2.55v)
... ... @@ -375,8 +375,8 @@
375 375  
376 376  * **Status & Ext Byte**
377 377  
378 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
379 -|=(% 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]**
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]**
380 380  |=(% 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)
381 381  
382 382  * (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
... ... @@ -383,7 +383,6 @@
383 383  * (% 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.
384 384  * (% 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)
385 385  
386 -
387 387  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
388 388  
389 389  
... ... @@ -469,21 +469,21 @@
469 469  
470 470  Ext=4,Interrupt Sensor:
471 471  
472 -(% border="1.5" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:478px" %)
489 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
473 473  |(% style="width:101px" %)(((
474 -AT+EXT=4,1
475 -)))|(% style="width:373px" %)(((
476 -Sent uplink packet in both rising and falling interrupt
491 +**AT+EXT=4,1**
492 +)))|(% style="width:395px" %)(((
493 +**Sent uplink packet in both rising and falling interrupt**
477 477  )))
478 478  |(% style="width:101px" %)(((
479 -AT+EXT=4,2
480 -)))|(% style="width:373px" %)(((
481 -Sent uplink packet only in falling interrupt
496 +**AT+EXT=4,2**
497 +)))|(% style="width:395px" %)(((
498 +**Sent uplink packet only in falling interrupt**
482 482  )))
483 483  |(% style="width:101px" %)(((
484 -AT+EXT=4,3
485 -)))|(% style="width:373px" %)(((
486 -Sent uplink packet only in rising interrupt
501 +**AT+EXT=4,3**
502 +)))|(% style="width:395px" %)(((
503 +**Sent uplink packet only in rising interrupt**
487 487  )))
488 488  
489 489  Trigger by falling edge:
... ... @@ -515,21 +515,21 @@
515 515  
516 516  Ext=8, Counting Sensor ( 4 bytes):
517 517  
518 -(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %)
519 -|(% style="width:138px" %)(((
520 -AT+EXT=8,0
521 -)))|(% style="width:240px" %)(((
522 -Count at falling interrupt
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**
523 523  )))
524 -|(% style="width:138px" %)(((
525 -AT+EXT=8,1
526 -)))|(% style="width:240px" %)(((
527 -Count at rising interrupt
541 +|(% style="width:131px" %)(((
542 +**AT+EXT=8,1**
543 +)))|(% style="width:195px" %)(((
544 +**Count at rising interrupt**
528 528  )))
529 -|(% style="width:138px" %)(((
530 -AT+SETCNT=60
531 -)))|(% style="width:240px" %)(((
532 -Sent current count to 60
546 +|(% style="width:131px" %)(((
547 +**AT+SETCNT=60**
548 +)))|(% style="width:195px" %)(((
549 +**Sent current count to 60**
533 533  )))
534 534  
535 535  [[image:image-20220906101320-6.png||_mstalt="428064"]]
... ... @@ -555,9 +555,6 @@
555 555  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:
556 556  )))
557 557  
558 -(((
559 -
560 -)))
561 561  
562 562  (((
563 563  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -567,9 +567,6 @@
567 567  (% 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.
568 568  )))
569 569  
570 -(((
571 -
572 -)))
573 573  
574 574  (((
575 575  Add Datacake:
... ... @@ -968,7 +968,6 @@
968 968  * RED LED when external sensor is not connected
969 969  * For each success downlink, the PURPLE LED will blink once
970 970  
971 -
972 972  == 2.9 installation ==
973 973  
974 974  
... ... @@ -1021,7 +1021,6 @@
1021 1021  * Operating Range: -40 ~~ 125 °C
1022 1022  * Working voltage 2.35v ~~ 5v
1023 1023  
1024 -
1025 1025  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1026 1026  
1027 1027  
... ... @@ -1090,7 +1090,6 @@
1090 1090  
1091 1091  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1092 1092  
1093 -
1094 1094  == 4.2 Set External Sensor Mode ==
1095 1095  
1096 1096  
... ... @@ -1114,7 +1114,6 @@
1114 1114  
1115 1115  * 0xA20702003c: Same as AT+SETCNT=60
1116 1116  
1117 -
1118 1118  == 4.3 Enable/Disable uplink Temperature probe ID ==
1119 1119  
1120 1120  
... ... @@ -1145,7 +1145,6 @@
1145 1145  * **0xA800**  **~-~->** AT+PID=0
1146 1146  * **0xA801**     **~-~->** AT+PID=1
1147 1147  
1148 -
1149 1149  == 4.4 Set Password ==
1150 1150  
1151 1151  
... ... @@ -1195,7 +1195,6 @@
1195 1195  
1196 1196  * There is no downlink command to set to Sleep mode.
1197 1197  
1198 -
1199 1199  == 4.7 Set system time ==
1200 1200  
1201 1201  
... ... @@ -1299,7 +1299,6 @@
1299 1299  
1300 1300  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1301 1301  
1302 -
1303 1303  == 4.13 Auto Send None-ACK messages ==
1304 1304  
1305 1305  
... ... @@ -1318,7 +1318,6 @@
1318 1318  
1319 1319  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1320 1320  
1321 -
1322 1322  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1323 1323  
1324 1324  
... ... @@ -1637,7 +1637,7 @@
1637 1637  [[image:image-20220615153355-1.png||_mstalt="430222"]]
1638 1638  
1639 1639  
1640 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1643 +(% 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.
1641 1641  
1642 1642  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1643 1643  
... ... @@ -1703,7 +1703,7 @@
1703 1703  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1704 1704  
1705 1705  
1706 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1709 +(% 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.
1707 1707  
1708 1708  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1709 1709  
... ... @@ -1763,7 +1763,6 @@
1763 1763  
1764 1764  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1765 1765  
1766 -
1767 1767  = 8. Packing Info =
1768 1768  
1769 1769  
... ... @@ -1777,13 +1777,11 @@
1777 1777  * Device Size:  10 x 10 x 3.5 mm
1778 1778  * Device Weight: 120.5g
1779 1779  
1780 -
1781 1781  = 9. Reference material =
1782 1782  
1783 1783  
1784 1784  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1785 1785  
1786 -
1787 1787  = 10. FCC Warning =
1788 1788  
1789 1789  
... ... @@ -1792,6 +1792,3 @@
1792 1792  (1) This device may not cause harmful interference;
1793 1793  
1794 1794  (2) this device must accept any interference received, including interference that may cause undesired operation.
1795 -
1796 -
1797 -
image-20230426083319-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +190.0 KB
Content