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

From version 234.13
edited by Xiaoling
on 2023/04/26 15:11
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.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -46,6 +46,7 @@
46 46  == 1.2 Features ==
47 47  
48 48  
49 +* Wall mountable
49 49  * LoRaWAN v1.0.3 Class A protocol
50 50  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
51 51  * AT Commands to change parameters
... ... @@ -57,6 +57,7 @@
57 57  * Tri-color LED to indicate working status
58 58  * Datalog feature (Max 3328 records)
59 59  
61 +
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  
86 +
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.
122 +[[image:image-20220525110604-2.png||_mstalt="427531"]]
129 129  
124 +
130 130  == 2.3 Example to join LoRaWAN network ==
131 131  
132 132  
... ... @@ -154,7 +154,7 @@
154 154  Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
155 155  )))
156 156  
157 -[[image:image-20230426083319-1.png]]
152 +[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
158 158  
159 159  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
160 160  
... ... @@ -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" %)(((
202 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
203 +|=(% style="width: 60px;" %)(((
209 209  **Size(bytes)**
210 -)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
205 +)))|=(% style="width: 30px;" %)(((
211 211  **2**
212 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
207 +)))|=(% style="width: 100px;" %)(((
213 213  **2**
214 -)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
209 +)))|=(% style="width: 100px;" %)(((
215 215  **2**
216 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
211 +)))|=(% style="width: 50px;" %)(((
217 217  **1**
218 -)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
213 +)))|=(% 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  
238 +
245 245  === 2.4.1 Decoder in TTN V3 ===
246 246  
247 247  
... ... @@ -256,37 +256,19 @@
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.
253 +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
255 +[[image:image-20220523152839-18.png||_mstalt="457613"]]
269 269  
270 -00(b): Ultra Low ( BAT <= 2.50v)
271 271  
272 -01(b): Low (2.50v <=BAT <= 2.55v)
273 -
274 -10(b): OK (2.55v <= BAT <=2.65v)
275 -
276 -11(b): Good (BAT >= 2.65v)
277 -)))|(% style="width:152px" %)Actually BAT voltage
278 -
279 -**(b)stands for binary**
280 -
281 -
282 282  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
283 283  
284 284  
285 285  Check the battery voltage for LHT65N.
286 286  
287 -* 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
288 288  
289 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
290 290  
291 291  === 2.4.3 Built-in Temperature ===
292 292  
... ... @@ -299,6 +299,7 @@
299 299  
300 300  * Temperature:  (0xF5C6-65536)/100=-26.18℃
301 301  
278 +
302 302  === 2.4.4 Built-in Humidity ===
303 303  
304 304  
... ... @@ -306,15 +306,13 @@
306 306  
307 307  * Humidity:    0x025C/10=60.4%
308 308  
286 +
309 309  === 2.4.5 Ext # ===
310 310  
311 311  
312 312  Bytes for External Sensor:
313 313  
314 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %)
315 -|=(% style="width: 106px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Value**|=(% style="width: 319px;background-color:#D9E2F3;color:#0070C0" %)**External Sensor Type**
316 -|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor
317 -|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod
292 +[[image:image-20220523152822-17.png||_mstalt="454545"]]
318 318  
319 319  
320 320  === 2.4.6 Ext value ===
... ... @@ -336,16 +336,11 @@
336 336  
337 337  * External temperature= (0xF54F-65536)/100=-27.37℃
338 338  
339 -F54F :  (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃
340 -
341 -(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
342 -
343 343  The last 2 bytes of data are meaningless
344 344  
345 345  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
346 346  
347 347  
348 -
349 349  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
350 350  
351 351  
... ... @@ -409,6 +409,7 @@
409 409  * (% 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.
410 410  * (% 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)
411 411  
382 +
412 412  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
413 413  
414 414  
... ... @@ -457,7 +457,6 @@
457 457  [[image:image-20220628151143-7.png||_mstalt="431210"]]
458 458  
459 459  
460 -
461 461  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
462 462  
463 463  
... ... @@ -474,7 +474,6 @@
474 474  The external cable NE2 can be use for MOD4 and MOD8
475 475  
476 476  
477 -
478 478  ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
479 479  
480 480  
... ... @@ -521,7 +521,6 @@
521 521  [[image:image-20220906101145-3.png||_mstalt="428688"]]
522 522  
523 523  
524 -
525 525  ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
526 526  
527 527  
... ... @@ -887,18 +887,17 @@
887 887  temperature fluctuation=05
888 888  
889 889  
890 -**Sampling multiple times and uplink together**
858 +==== **Sampling multiple times and uplink together** ====
891 891  
892 892  **AT+WMOD=3,1,60,20,-16,32,1**   
893 893  
894 894  Explain:
895 895  
896 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3**
897 -* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30).
898 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s.
899 -* (% 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)
900 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C,
901 -* (% 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.
902 902  
903 903  (% style="color:#4f81bd" %)**Downlink Command:**
904 904  
... ... @@ -906,7 +906,7 @@
906 906  
907 907  MOD=03
908 908  
909 -TEMP=DS18B20
876 +EXT=01
910 910  
911 911  CITEMP=003C(S)
912 912  
... ... @@ -918,6 +918,7 @@
918 918  
919 919  ARTEMP=01
920 920  
888 +
921 921  **Uplink payload( Fport=3)**
922 922  
923 923  **Example: CBEA**01**0992**//0A41//**09C4**
... ... @@ -924,7 +924,7 @@
924 924  
925 925  BatV=CBEA
926 926  
927 -TEMP=DS18B20
895 +EXT=01
928 928  
929 929  Temp1=0992  ~/~/ 24.50℃
930 930  
... ... @@ -932,9 +932,10 @@
932 932  
933 933  Temp3=09C4  ~/~/ 25.00℃
934 934  
903 +
935 935  (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length**
936 936  
937 -(% 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**
938 938  )))
939 939  
940 940  
... ... @@ -993,6 +993,7 @@
993 993  * RED LED when external sensor is not connected
994 994  * For each success downlink, the PURPLE LED will blink once
995 995  
965 +
996 996  == 2.9 installation ==
997 997  
998 998  
... ... @@ -1045,6 +1045,7 @@
1045 1045  * Operating Range: -40 ~~ 125 °C
1046 1046  * Working voltage 2.35v ~~ 5v
1047 1047  
1018 +
1048 1048  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1049 1049  
1050 1050  
... ... @@ -1113,6 +1113,7 @@
1113 1113  
1114 1114  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1115 1115  
1087 +
1116 1116  == 4.2 Set External Sensor Mode ==
1117 1117  
1118 1118  
... ... @@ -1136,6 +1136,7 @@
1136 1136  
1137 1137  * 0xA20702003c: Same as AT+SETCNT=60
1138 1138  
1111 +
1139 1139  == 4.3 Enable/Disable uplink Temperature probe ID ==
1140 1140  
1141 1141  
... ... @@ -1166,6 +1166,7 @@
1166 1166  * **0xA800**  **~-~->** AT+PID=0
1167 1167  * **0xA801**     **~-~->** AT+PID=1
1168 1168  
1142 +
1169 1169  == 4.4 Set Password ==
1170 1170  
1171 1171  
... ... @@ -1215,6 +1215,7 @@
1215 1215  
1216 1216  * There is no downlink command to set to Sleep mode.
1217 1217  
1192 +
1218 1218  == 4.7 Set system time ==
1219 1219  
1220 1220  
... ... @@ -1318,6 +1318,7 @@
1318 1318  
1319 1319  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1320 1320  
1296 +
1321 1321  == 4.13 Auto Send None-ACK messages ==
1322 1322  
1323 1323  
... ... @@ -1336,6 +1336,7 @@
1336 1336  
1337 1337  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1338 1338  
1315 +
1339 1339  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1340 1340  
1341 1341  
... ... @@ -1654,7 +1654,7 @@
1654 1654  [[image:image-20220615153355-1.png||_mstalt="430222"]]
1655 1655  
1656 1656  
1657 -(% 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.
1658 1658  
1659 1659  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1660 1660  
... ... @@ -1720,7 +1720,7 @@
1720 1720  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1721 1721  
1722 1722  
1723 -(% 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.
1724 1724  
1725 1725  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1726 1726  
... ... @@ -1780,6 +1780,7 @@
1780 1780  
1781 1781  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1782 1782  
1760 +
1783 1783  = 8. Packing Info =
1784 1784  
1785 1785  
... ... @@ -1793,11 +1793,13 @@
1793 1793  * Device Size:  10 x 10 x 3.5 mm
1794 1794  * Device Weight: 120.5g
1795 1795  
1774 +
1796 1796  = 9. Reference material =
1797 1797  
1798 1798  
1799 1799  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1800 1800  
1780 +
1801 1801  = 10. FCC Warning =
1802 1802  
1803 1803  
... ... @@ -1806,3 +1806,6 @@
1806 1806  (1) This device may not cause harmful interference;
1807 1807  
1808 1808  (2) this device must accept any interference received, including interference that may cause undesired operation.
1789 +
1790 +
1791 +
image-20230426083319-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -190.0 KB
Content