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

From version 238.7
edited by Xiaoling
on 2023/04/27 10:49
Change comment: There is no comment for this version
To version 237.3
edited by Xiaoling
on 2023/04/26 17:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -43,7 +43,6 @@
43 43  )))
44 44  
45 45  
46 -
47 47  == 1.2 Features ==
48 48  
49 49  
... ... @@ -58,8 +58,6 @@
58 58  * Tri-color LED to indicate working status
59 59  * Datalog feature (Max 3328 records)
60 60  
61 -
62 -
63 63  == 1.3 Specification ==
64 64  
65 65  
... ... @@ -84,8 +84,6 @@
84 84  * ±2°C accuracy from -55°C to +125°C
85 85  * Operating Range: -55 °C ~~ 125 °C
86 86  
87 -
88 -
89 89  = 2. Connect LHT65N to IoT Server =
90 90  
91 91  == 2.1 How does LHT65N work? ==
... ... @@ -132,8 +132,6 @@
132 132  )))
133 133  |(% 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.
134 134  
135 -
136 -
137 137  == 2.3 Example to join LoRaWAN network ==
138 138  
139 139  
... ... @@ -249,8 +249,6 @@
249 249  
250 250  * 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.)
251 251  
252 -
253 -
254 254  === 2.4.1 Decoder in TTN V3 ===
255 255  
256 256  
... ... @@ -293,8 +293,6 @@
293 293  
294 294  * Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
295 295  
296 -
297 -
298 298  === 2.4.3 Built-in Temperature ===
299 299  
300 300  
... ... @@ -306,8 +306,6 @@
306 306  
307 307  * Temperature:  (0xF5C6-65536)/100=-26.18℃
308 308  
309 -
310 -
311 311  === 2.4.4 Built-in Humidity ===
312 312  
313 313  
... ... @@ -315,8 +315,6 @@
315 315  
316 316  * Humidity:    0x025C/10=60.4%
317 317  
318 -
319 -
320 320  === 2.4.5 Ext # ===
321 321  
322 322  
... ... @@ -327,8 +327,6 @@
327 327  |(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor
328 328  |(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod
329 329  
330 -
331 -
332 332  === 2.4.6 Ext value ===
333 333  
334 334  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
... ... @@ -383,7 +383,7 @@
383 383  |(% style="width:110px" %)(((
384 384  **Value**
385 385  )))|(% style="width:71px" %)(((
386 -External temperature
369 +[[External temperature>>||anchor="H4.2SetExternalSensorMode"]]
387 387  )))|(% style="width:99px" %)(((
388 388  [[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
389 389  )))|(% style="width:132px" %)(((
... ... @@ -418,8 +418,6 @@
418 418  * (% 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.
419 419  * (% 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)
420 420  
421 -
422 -
423 423  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
424 424  
425 425  
... ... @@ -768,9 +768,13 @@
768 768  
769 769  If LHT65N has below data inside Flash:
770 770  
771 -[[image:image-20230426171833-4.png]]
752 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:717px" %)
753 +|=(% style="width: 92px; background-color:#D9E2F3;color:#0070C0" %)Flash Add|=(% style="width: 126px; background-color:#D9E2F3;color:#0070C0" %)**Unix Time**|=(% style="width: 50px; background-color:#D9E2F3;color:#0070C0" %)**Ext**|=(% style="width: 104px;background-color:#D9E2F3;color:#0070C0" %)**BAT voltage**|=(% style="width: 341px; background-color:#D9E2F3;color:#0070C0" %)**Value**
754 +|(% style="width:92px" %)80196E0|(% style="width:126px" %)21/1/19 04:27:03|(% style="width:50px" %)1|(% style="width:104px" %)3145|(% style="width:341px" %)sht_temp=22.00 sht_hum=32.6 ds_temp=327.67
772 772  
756 +[[image:image-20220523144455-1.png||_mstalt="430040" height="335" width="735"]]
773 773  
758 +
774 774  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
775 775  
776 776  Where : Start time: 60065F97 = time 21/1/19 04:27:03
... ... @@ -999,7 +999,6 @@
999 999  * RED LED when external sensor is not connected
1000 1000  * For each success downlink, the PURPLE LED will blink once
1001 1001  
1002 -
1003 1003  == 2.9 installation ==
1004 1004  
1005 1005  
... ... @@ -1052,8 +1052,6 @@
1052 1052  * Operating Range: -40 ~~ 125 °C
1053 1053  * Working voltage 2.35v ~~ 5v
1054 1054  
1055 -
1056 -
1057 1057  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1058 1058  
1059 1059  
... ... @@ -1111,9 +1111,10 @@
1111 1111  
1112 1112  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
1113 1113  |(% 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**
1114 -|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
1096 +|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
1115 1115  |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
1116 1116  
1099 +
1117 1117  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
1118 1118  
1119 1119  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -1124,8 +1124,6 @@
1124 1124  
1125 1125  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1126 1126  
1127 -
1128 -
1129 1129  == 4.2 Set External Sensor Mode ==
1130 1130  
1131 1131  
... ... @@ -1136,11 +1136,12 @@
1136 1136  
1137 1137  
1138 1138  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %)
1139 -|(% 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**
1140 -|(% style="width:155px" %)AT+EXT=?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1
1120 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:151px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Response**
1121 +|(% style="width:155px" %)AT+EXT?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1
1141 1141  |(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1
1142 1142  |(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp
1143 1143  
1125 +
1144 1144  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1145 1145  
1146 1146  Total bytes: 2 ~~ 5 bytes
... ... @@ -1153,8 +1153,6 @@
1153 1153  
1154 1154  * 0xA20702003c: Same as AT+SETCNT=60
1155 1155  
1156 -
1157 -
1158 1158  == 4.3 Enable/Disable uplink Temperature probe ID ==
1159 1159  
1160 1160  
... ... @@ -1177,26 +1177,28 @@
1177 1177  
1178 1178  (% style="color:#4f81bd" %)**AT Command:**
1179 1179  
1160 +
1180 1180  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %)
1181 -|(% 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**
1162 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:136px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response**
1182 1182  |(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK
1183 1183  
1165 +
1184 1184  (% style="color:#4f81bd" %)**Downlink Command:**
1185 1185  
1186 1186  * **0xA800**  **~-~->** AT+PID=0
1187 1187  * **0xA801**     **~-~->** AT+PID=1
1188 1188  
1189 -
1190 -
1191 1191  == 4.4 Set Password ==
1192 1192  
1193 1193  
1194 1194  Feature: Set device password, max 9 digits
1195 1195  
1176 +
1196 1196  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1197 1197  
1179 +
1198 1198  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
1199 -|(% 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**
1181 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:124px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response**
1200 1200  |(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
1201 1201  123456
1202 1202  
... ... @@ -1204,6 +1204,7 @@
1204 1204  )))
1205 1205  |(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
1206 1206  
1189 +
1207 1207  (% style="color:#4f81bd" %)**Downlink Command:**
1208 1208  
1209 1209  No downlink command for this feature.
... ... @@ -1214,12 +1214,15 @@
1214 1214  
1215 1215  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1216 1216  
1200 +
1217 1217  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1218 1218  
1203 +
1219 1219  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %)
1220 1220  |(% 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**
1221 1221  |(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK
1222 1222  
1208 +
1223 1223  (% style="color:#4f81bd" %)**Downlink Command:**
1224 1224  
1225 1225  No downlink command for this feature.
... ... @@ -1235,8 +1235,9 @@
1235 1235  
1236 1236  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1237 1237  
1224 +
1238 1238  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
1239 -|(% 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**
1226 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:139px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:213px" %)**Response**
1240 1240  |(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
1241 1241  Clear all stored sensor data…
1242 1242  
... ... @@ -1247,17 +1247,17 @@
1247 1247  
1248 1248  * There is no downlink command to set to Sleep mode.
1249 1249  
1250 -
1251 -
1252 1252  == 4.7 Set system time ==
1253 1253  
1254 1254  
1255 1255  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1256 1256  
1242 +
1257 1257  (% style="color:#4f81bd" %)**AT Command:**
1258 1258  
1245 +
1259 1259  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %)
1260 -|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Function**
1247 +|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:285px" %)**Function**
1261 1261  |(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)(((
1262 1262  OK
1263 1263  
... ... @@ -1264,6 +1264,7 @@
1264 1264  Set System time to 2021-01-20 00:59:12
1265 1265  )))
1266 1266  
1254 +
1267 1267  (% style="color:#4f81bd" %)**Downlink Command:**
1268 1268  
1269 1269  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
... ... @@ -1278,14 +1278,18 @@
1278 1278  
1279 1279  (((
1280 1280  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.
1269 +
1270 +
1281 1281  )))
1282 1282  
1283 1283  (% style="color:#4f81bd" %)**AT Command:**
1284 1284  
1275 +
1285 1285  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %)
1286 1286  |(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function**
1287 1287  |(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq)
1288 1288  
1280 +
1289 1289  (% style="color:#4f81bd" %)**Downlink Command:**
1290 1290  
1291 1291  0x28 01  ~/~/  Same As AT+SYNCMOD=1
... ... @@ -1297,12 +1297,15 @@
1297 1297  
1298 1298  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1299 1299  
1292 +
1300 1300  (% style="color:#4f81bd" %)**AT Command:**
1301 1301  
1295 +
1302 1302  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %)
1303 -|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:314px" %)**Function**
1297 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:311px" %)**Function**
1304 1304  |(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days.
1305 1305  
1300 +
1306 1306  (% style="color:#4f81bd" %)**Downlink Command:**
1307 1307  
1308 1308  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
... ... @@ -1313,11 +1313,14 @@
1313 1313  
1314 1314  Feature: Print the sector data from start page to stop page (max is 416 pages).
1315 1315  
1311 +
1316 1316  (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1317 1317  
1318 1318  [[image:image-20230426164330-2.png]]
1319 1319  
1320 1320  
1317 +
1318 +
1321 1321  (% style="color:#4f81bd" %)**Downlink Command:**
1322 1322  
1323 1323  No downlink commands for feature
... ... @@ -1328,11 +1328,14 @@
1328 1328  
1329 1329  Feature: Print the last few data entries
1330 1330  
1329 +
1331 1331  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1332 1332  
1333 1333  [[image:image-20230426164932-3.png]]
1334 1334  
1335 1335  
1335 +
1336 +
1336 1336  (% style="color:#4f81bd" %)**Downlink Command:**
1337 1337  
1338 1338  No downlink commands for feature
... ... @@ -1348,7 +1348,7 @@
1348 1348  
1349 1349  
1350 1350  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %)
1351 -|(% 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**
1352 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:134px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:209px" %)**Response**
1352 1352  |(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1353 1353  Clear all stored sensor data…
1354 1354  
... ... @@ -1355,23 +1355,23 @@
1355 1355  OK
1356 1356  )))
1357 1357  
1359 +
1358 1358  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1359 1359  
1360 1360  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1361 1361  
1362 -
1363 -
1364 1364  == 4.13 Auto Send None-ACK messages ==
1365 1365  
1366 1366  
1367 1367  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.
1368 1368  
1369 +
1369 1369  (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD**
1370 1370  
1371 1371  The default factory setting is 0
1372 1372  
1373 1373  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %)
1374 -|=(% 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**
1375 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 118px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 87px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1375 1375  |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1376 1376  
1377 1377  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
... ... @@ -1378,8 +1378,6 @@
1378 1378  
1379 1379  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1380 1380  
1381 -
1382 -
1383 1383  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1384 1384  
1385 1385  
... ... @@ -1824,8 +1824,6 @@
1824 1824  
1825 1825  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1826 1826  
1827 -
1828 -
1829 1829  = 8. Packing Info =
1830 1830  
1831 1831  
... ... @@ -1839,15 +1839,11 @@
1839 1839  * Device Size:  10 x 10 x 3.5 mm
1840 1840  * Device Weight: 120.5g
1841 1841  
1842 -
1843 -
1844 1844  = 9. Reference material =
1845 1845  
1846 1846  
1847 1847  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1848 1848  
1849 -
1850 -
1851 1851  = 10. FCC Warning =
1852 1852  
1853 1853  
image-20230426171833-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -33.0 KB
Content