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

From version 185.1
edited by Bei Jinggeng
on 2022/06/28 15:12
Change comment: There is no comment for this version
To version 189.3
edited by Xiaoling
on 2022/07/22 10:33
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
... ... @@ -58,7 +58,6 @@
58 58  * Tri-color LED to indicate working status
59 59  * Datalog feature
60 60  
61 -
62 62  == 1.3 Specification ==
63 63  
64 64  
... ... @@ -83,7 +83,6 @@
83 83  * ±2°C accuracy from -55°C to +125°C
84 84  * Operating Range: -55 °C ~~ 125 °C
85 85  
86 -
87 87  = 2. Connect LHT65N to IoT Server =
88 88  
89 89  == 2.1 How does LHT65N work? ==
... ... @@ -265,6 +265,9 @@
265 265  * The 7th byte (EXT #): defines the external sensor model.
266 266  * The 8(% _msthash="734578" _msttexthash="21372" _mstvisible="4" %)^^th^^(%%) ~~ 11(% _msthash="734579" _msttexthash="21372" _mstvisible="4" %)^^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.)
267 267  
266 +
267 +
268 +
268 268  === 2.4.1 Decoder in TTN V3 ===
269 269  
270 270  When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading.
... ... @@ -295,6 +295,9 @@
295 295  * BAT status=(0Xcba4>>14)&0xFF=11(B),very good
296 296  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
297 297  
299 +
300 +
301 +
298 298  === 2.4.3 Built-in Temperature ===
299 299  
300 300  [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]]
... ... @@ -305,6 +305,9 @@
305 305  
306 306  * Temperature:  (0xF5C6-65536)/100=-26.18℃
307 307  
312 +
313 +
314 +
308 308  === 2.4.4 Built-in Humidity ===
309 309  
310 310  [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]]
... ... @@ -311,6 +311,9 @@
311 311  
312 312  * Humidity:    0x025C/10=60.4%
313 313  
321 +
322 +
323 +
314 314  === 2.4.5 Ext # ===
315 315  
316 316  Bytes for External Sensor:
... ... @@ -457,12 +457,16 @@
457 457  
458 458  * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte**
459 459  
460 -[[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]]
470 +(% border="1" cellspacing="8" style="background-color:#ffffcc; color:green; width:520px" %)
471 +|(% 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]**
472 +|(% 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)
461 461  
462 -* Poll Message Flag:  1: This message is a poll message reply, 0: means this is a normal uplink.
463 -* 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.
464 -* 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)
474 +* (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
475 +* (% 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.
476 +* (% 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)
465 465  
478 +
479 +
466 466  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
467 467  
468 468  In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can
... ... @@ -509,6 +509,7 @@
509 509  [[image:image-20220628151143-7.png]]
510 510  
511 511  
526 +
512 512  == 2.5 Show data on Datacake ==
513 513  
514 514  (((
... ... @@ -568,9 +568,14 @@
568 568  
569 569  There are two methods:
570 570  
571 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range.
572 -1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after network recover.
586 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range.
587 +1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after the network recovery.
573 573  
589 +Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
590 +
591 +[[image:image-20220703111700-2.png||height="381" width="1119"]]
592 +
593 +
574 574  === 2.6.2 Unix TimeStamp ===
575 575  
576 576  
... ... @@ -1011,8 +1011,21 @@
1011 1011  )))
1012 1012  )))
1013 1013  
1034 +(% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX**
1014 1014  
1036 +Total bytes: 8 bytes
1015 1015  
1038 +**Example:**AA0100010001003C
1039 +
1040 +WMOD=01
1041 +
1042 +CITEMP=0001
1043 +
1044 +TEMPlow=0001
1045 +
1046 +TEMPhigh=003C
1047 +
1048 +
1016 1016  == 2.8 LED Indicator ==
1017 1017  
1018 1018  The LHT65 has a triple color LED which for easy showing different stage .
... ... @@ -1738,7 +1738,7 @@
1738 1738  [[image:image-20220615154519-3.png||height="672" width="807"]]
1739 1739  
1740 1740  
1741 -== 6.6 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1774 +== 6.7 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1742 1742  
1743 1743  [[image:image-20220623110706-1.png]]
1744 1744  
image-20220703111533-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +694.5 KB
Content
image-20220703111700-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +369.4 KB
Content