Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 19 removed)
- image-20220523144455-1.png
- image-20220523150701-2.png
- image-20220523150759-3.png
- image-20220523150928-4.png
- image-20220523151052-5.png
- image-20220523151132-6.png
- image-20220523151218-7.png
- image-20220523151253-8.png
- image-20220523151336-9.png
- image-20220523151411-10.png
- image-20220523151450-11.png
- image-20220523151524-12.png
- image-20220523151556-13.png
- image-20220523152208-14.png
- image-20220523152302-15.png
- image-20220523152434-16.png
- image-20220523152822-17.png
- image-20220523152839-18.png
- image-20220523153201-19.png
Details
- Page properties
-
- Content
-
... ... @@ -132,7 +132,11 @@ 132 132 133 133 [[image:image-20220515123819-1.png||height="379" width="317"]] 134 134 135 -[[image:image-20220523153201-19.png||height="163" width="739"]] 135 +(% border="1" style="background-color:#ffffcc; color:green; width:739px" %) 136 +|**Behavior on ACT**|**Function**|(% style="width:424px" %)**Action** 137 +|**Pressing ACT between 1s < time < 3s**|Test uplink status|(% style="width:424px" %)If LHT65N is already Joined to the LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has an external sensor connected, blue led will blink once. If LHT65N has no external sensor, red led will blink once. 138 +|**Pressing ACT for more than 3s**|Active Device|(% style="width:424px" %)green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network. 139 +|**Fast press ACT 5 times**|Deactivate Device|(% style="width:424px" %)red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode. 136 136 137 137 == 2.3 Example to join LoRaWAN network == 138 138 ... ... @@ -186,41 +186,14 @@ 186 186 187 187 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 188 188 189 -(% border="1" style="background-color:#ffffcc; color:green; width:426px" %) 190 -|(% style="width:97px" %)((( 191 -**Size(bytes)** 192 -)))|(% style="width:39px" %)((( 193 -**2** 194 -)))|(% style="width:100px" %)((( 195 -**2** 196 -)))|(% style="width:77px" %)((( 197 -**2** 198 -)))|(% style="width:47px" %)((( 199 -**1** 200 -)))|(% style="width:51px" %)((( 201 -**4** 202 -))) 203 -|(% style="width:97px" %)((( 204 -**Value** 205 -)))|(% style="width:39px" %)((( 206 -[[BAT>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.2BAT-BatteryInfo]] 207 -)))|(% style="width:100px" %)((( 208 -((( 209 -[[Built-In Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 210 -))) 211 -)))|(% style="width:77px" %)((( 212 -((( 213 -[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 214 -))) 215 215 216 -((( 217 -[[Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 218 -))) 219 -)))|(% style="width:47px" %)((( 220 -[[Ext>>path:#Extension_Sensor]] # 221 -)))|(% style="width:51px" %)((( 222 -[[Ext value>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]] 223 -))) 194 +(% border="1" style="background-color:#ffffcc; color:green; width:605px" %) 195 +|(% style="width:106px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:183px" %)**2**|(% style="width:155.172px" %)**2**|(% style="width:49px" %)**1**|(% style="width:92px" %)**4** 196 +|(% style="width:106px" %)**Value**|(% style="width:71px" %)[[BAT>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.2BAT-BatteryInfo]]|(% style="width:183px" %)((( 197 +[[Built In Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 198 +)))|(% style="width:155.172px" %)((( 199 +[[Built-in Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 200 +)))|(% style="width:49px" %)[[Ext>>path:#Extension_Sensor]] #|(% style="width:92px" %)[[Ext value>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]] 224 224 225 225 * The First 6 bytes: has fix meanings for every LHT65N. 226 226 * The 7th byte (EXT #): defines the external sensor model. ... ... @@ -240,8 +240,20 @@ 240 240 241 241 These two bytes of BAT include the battery state and the actually voltage 242 242 243 -[[image:image-20220523152839-18.png]] 220 +(% border="1" style="background-color:#ffffcc; color:green; width:508px" %) 221 +|(% style="width:75px" %)Bit(bit)|(% style="width:268px" %)[15:14]|(% style="width:162px" %)[13:0] 222 +|(% style="width:75px" %)Value|(% style="width:268px" %)((( 223 +BAT Status 244 244 225 +00(b): Ultra Low ( BAT <= 2.50v) 226 + 227 +01(b): Low (2.50v <=BAT <= 2.55v) 228 + 229 +10(b): OK (2.55v <= BAT <=2.65v) 230 + 231 +11(b): Good (BAT >= 2.65v) 232 +)))|(% style="width:162px" %)Actually BAT voltage 233 + 245 245 [[image:image-20220522235639-1.png||height="139" width="727"]] 246 246 247 247 Check the battery voltage for LHT65N. ... ... @@ -269,7 +269,10 @@ 269 269 270 270 Bytes for External Sensor: 271 271 272 -[[image:image-20220523152822-17.png]] 261 +(% border="1" style="background-color:#ffffcc; color:green; width:473px" %) 262 +|(% style="width:139px" %)**EXT # Value**|(% style="width:331px" %)**External Sensor Type** 263 +|(% style="width:139px" %)0x01|(% style="width:331px" %)Sensor E3, Temperature Sensor 264 +|(% style="width:139px" %)0x09|(% style="width:331px" %)Sensor E3, Temperature Sensor, Datalog Mod 273 273 274 274 === 2.4.6 Ext value === 275 275 ... ... @@ -298,41 +298,29 @@ 298 298 299 299 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: 300 300 301 -(% border="1" style="background-color:#ffffcc; color:green; width:568px" %) 302 -|(% style="width:96px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:99px" %)**2**|(% style="width:132px" %)**2**|(% style="width:54px" %)**1**|(% style="width:64px" %)**4** 303 -|(% style="width:96px" %)((( 304 -**Value** 305 -)))|(% style="width:71px" %)((( 306 -[[External temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.2SetExternalSensorMode]] 307 -)))|(% style="width:99px" %)((( 308 -((( 293 +(% border="1" style="background-color:#ffffcc; color:green; width:697px" %) 294 +|(% style="width:96px" %)**Size(bytes)**|(% style="width:164px" %)**2**|(% style="width:104px" %)**2**|(% style="width:106px" %)**2**|(% style="width:108px" %)**1**|(% style="width:116px" %)**4** 295 +|(% style="width:96px" %)**Value**|(% style="width:164px" %)[[External temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.2SetExternalSensorMode]]|(% style="width:104px" %)((( 309 309 [[Built-In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 310 -))) 311 311 312 -((( 313 313 [[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 314 -))) 315 -)))|(% style="width:132px" %)((( 316 -((( 299 +)))|(% style="width:106px" %)((( 317 317 BAT Status & 318 -))) 319 319 320 -((( 321 -[[Built-in Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 302 +[[Built-in>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 303 + 304 +[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 305 +)))|(% style="width:108px" %)Status & Ext|(% style="width:116px" %)((( 306 +[[Unix>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]] 307 + 308 +[[Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]] 322 322 ))) 323 -)))|(% style="width:54px" %)((( 324 -Status & Ext 325 -)))|(% style="width:64px" %)((( 326 -((( 327 -[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]] 328 -))) 329 -))) 330 330 331 331 * **Battery status & (% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)Built-in Humidity(%%)** 332 332 333 -(% border="1" style="background-color:#ffffcc; color:green; width: 469px" %)334 -| (% style="width:65px" %)Bit(bit)|(% style="width:267px" %)[15:14]|(% style="width:134px" %)[11:0]335 -| (% style="width:65px" %)Value|(% style="width:267px" %)(((313 +(% border="1" style="background-color:#ffffcc; color:green; width:587px" %) 314 +|Bit(bit)|(% style="width:280px" %)[15:14]|(% style="width:136px" %)[11:0] 315 +|Value|(% style="width:280px" %)((( 336 336 BAT Status 337 337 338 338 00(b): Ultra Low ( BAT <= 2.50v) ... ... @@ -342,7 +342,7 @@ 342 342 10(b): OK (2.55v <= BAT <=2.65v) 343 343 344 344 11(b): Good (BAT >= 2.65v) 345 -)))|(% style="width:13 4px" %)(((325 +)))|(% style="width:136px" %)((( 346 346 [[Built-in Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 347 347 348 348 ... ... @@ -350,7 +350,11 @@ 350 350 351 351 * **Status & Ext Byte** 352 352 353 -[[image:image-20220523152434-16.png]] 333 +(% border="1" style="background-color:#ffffcc; color:green; width:732px" %) 334 +|(% style="width:128px" %)**Bits**|(% style="width:102px" %)**7**|(% style="width:145px" %)**6**|(% style="width:117px" %)**5**|(% style="width:147px" %)**4**|(% style="width:90px" %)**[3:0]** 335 +|(% style="width:128px" %)**Status & Ext**|(% style="width:102px" %)Not Defined|(% style="width:145px" %)Poll Message Flag|(% style="width:117px" %)Sync time OK|(% style="width:147px" %)Unix Time Request|(% style="width:90px" %)((( 336 +Ext:0b(1001) 337 +))) 354 354 355 355 * Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 356 356 * 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. ... ... @@ -383,7 +383,7 @@ 383 383 384 384 [[image:image-20220523000825-9.png||height="366" width="392"]] 385 385 386 -[[image:image-20220523000825-10.png||height="4 13" width="728"]]370 +[[image:image-20220523000825-10.png||height="432" width="762"]] 387 387 388 388 == 2.6 Datalog Feature == 389 389 ... ... @@ -404,65 +404,46 @@ 404 404 Below is the converter example 405 405 ))) 406 406 407 -[[image:image-20220523001219-12.png||height="2 98" width="720"]]391 +[[image:image-20220523001219-12.png||height="302" width="730"]] 408 408 409 409 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 410 410 395 + 411 411 === 2.6.2 Set Device Time === 412 412 413 -((( 414 414 There are two ways to set device’s time: 415 -))) 416 416 417 -((( 418 418 **~1. Through LoRaWAN MAC Command (Default settings)** 419 -))) 420 420 421 -((( 422 422 User need to set SYNCMOD=1 to enable sync time via MAC command. 423 -))) 424 424 425 -((( 426 426 Once LHT65N Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LHT65N. If LHT65N fails to get the time from the server, LHT65N will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 427 -))) 428 428 429 -((( 430 430 Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn’t support. If server doesn’t support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1. 431 -))) 432 432 433 -((( 434 - 435 -))) 436 436 437 -((( 438 438 **2. Manually Set Time** 439 -))) 440 440 441 -((( 442 442 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 443 -))) 444 444 413 + 445 445 === 2.6.3 Poll sensor value === 446 446 447 447 User can poll sensor value based on timestamps from the server. Below is the downlink command. 448 448 449 -[[image:image-20220523152302-15.png]] 450 450 451 -((( 419 +(% border="1" style="width:454px" %) 420 +|(% style="width:69px" %)1byte|(% style="width:129px" %)4bytes|(% style="width:134px" %)4bytes|(% style="width:119px" %)1byte 421 +|(% style="width:69px" %)31|(% style="width:129px" %)Timestamp start|(% style="width:134px" %)Timestamp end|(% style="width:119px" %)Uplink Interval 422 + 452 452 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. 453 -))) 454 454 455 -((( 456 -For example, downlink command **31 5FC5F350 5FC6 0160 05** 457 -))) 458 458 459 -((( 426 +For example, downlink command 31 5FC5F350 5FC6 0160 05 427 + 460 460 Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00’s data 461 -))) 462 462 463 -((( 464 464 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 465 -))) 466 466 467 467 468 468 === 2.6.4 Datalog Uplink payload === ... ... @@ -469,112 +469,52 @@ 469 469 470 470 The Datalog poll reply uplink will use below payload format. 471 471 472 -((( 473 -**Retrieval data payload** 474 -))) 475 475 476 -(% border="1" style="background-color:#ffffcc; color:green; width:545px" %) 477 -|(% style="width:93px" %)((( 478 -**Size(bytes)** 479 -)))|(% style="width:71px" %)((( 480 -**2** 481 -)))|(% style="width:102px" %)((( 482 -**2** 483 -)))|(% style="width:86px" %)((( 484 -**2** 485 -)))|(% style="width:90px" %)((( 486 -**1** 487 -)))|(% style="width:85px" %)((( 488 -**4** 489 -))) 490 -|(% style="width:93px" %)((( 491 -**Value** 492 -)))|(% style="width:71px" %)((( 493 -[[External sensor data>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]] 494 -)))|(% style="width:102px" %)((( 495 -((( 496 -[[Built In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 497 -))) 438 +Retrieval data payload 498 498 499 -((( 500 -[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 501 -))) 502 -)))|(% style="width:86px" %)((( 503 -((( 504 -[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 505 -))) 440 +(% border="1" %) 441 +|**Size(bytes)**|**2**|**2**|**2**|**1**|**4** 442 +|**Value**|[[External sensor data>>path:#Extension_sensor_value]]|((( 443 +[[Built-In>>path:#SHT20_Temperature]] 506 506 507 -((( 508 -[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 509 -))) 510 -)))|(% style="width:90px" %)((( 511 -[[Poll message flag & Ext>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.4DatalogUplinkpayload]] 512 -)))|(% style="width:85px" %)((( 513 -((( 514 -[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.1UnixTimeStamp]] 515 -))) 445 +[[Temperature>>path:#SHT20_Temperature]] 446 +)))|((( 447 +[[Built-in>>path:#SHT20_Humidity]] 516 516 517 -((( 449 +[[Humidity>>path:#SHT20_Humidity]] 450 +)))|[[Poll message flag & Ext>>path:#Poll_EXT]]|((( 451 +[[Unix Time Stamp>>path:#Unix_Time_Stamp]] 452 + 518 518 519 519 ))) 520 -))) 521 521 522 - **Poll message flag & Ext**456 +Poll message flag & Ext 523 523 524 -[[image:image-20220523152208-14.png]] 525 525 526 -((( 527 -((( 528 -Poll Message Flag: 1: This message is a poll message reply. 529 -))) 530 -))) 459 +(% border="1" %) 460 +|**Bits**|**7**|**6**|**5**|**4**|**[3:0]** 461 +|**Status & Ext**|Not Defined|Poll Message Flag|Sync time OK|Unix Time Request|((( 462 +Ext: 531 531 532 -* ((( 533 -((( 534 -Poll Message Flag is set to 1. 464 +0b(1001) 535 535 ))) 536 -))) 537 -* ((( 538 -((( 539 -Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 540 -))) 541 -))) 542 542 543 -((( 544 -((( 467 +Poll Message Flag: 1: This message is a poll message reply. 468 + 469 +* Poll Message Flag is set to 1. 470 +* Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 471 + 545 545 For example, in US915 band, the max payload for different DR is: 546 -))) 547 -))) 548 548 549 -((( 550 -((( 551 -a) DR0: max is 11 bytes so one entry of data 552 -))) 553 -))) 474 +a) DR0: max is 11 bytes so one entry of data 554 554 555 -((( 556 -((( 557 -b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 558 -))) 559 -))) 476 +b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 560 560 561 -((( 562 -((( 563 -c) DR2: total payload includes 11 entries of data 564 -))) 565 -))) 478 +c) DR2: total payload includes 11 entries of data 566 566 567 -((( 568 -((( 569 -d) DR3: total payload includes 22 entries of data. 570 -))) 571 -))) 480 +d) DR3: total payload includes 22 entries of data. 572 572 573 -((( 574 -((( 575 575 If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 576 -))) 577 -))) 578 578 579 579 580 580 **Example:** ... ... @@ -581,10 +581,29 @@ 581 581 582 582 If LHT65N has below data inside Flash: 583 583 584 - [[image:image-20220523144455-1.png||height="335"width="735"]]489 +Flash Addr |Unix Time | Ext | BAT voltage| Value 585 585 586 - Ifusersends below downlink command:(%style="background-color:yellow" %)3160065F9760066DA705491 +80196E0 21/1/19 04:27:03 1 3145 sht_temp=22.00 sht_hum=32.6 ds_temp=327.67 587 587 493 +80196F0 21/1/19 04:28:57 1 3145 sht_temp=21.90 sht_hum=33.1 ds_temp=327.67 494 + 495 +8019700 21/1/19 04:30:30 1 3145 sht_temp=21.81 sht_hum=33.4 ds_temp=327.67 496 + 497 +8019710 21/1/19 04:40:30 1 3145 sht_temp=21.65 sht_hum=33.7 ds_temp=327.67 498 + 499 +8019720 21/1/19 04:50:30 1 3147 sht_temp=21.55 sht_hum=34.1 ds_temp=327.67 500 + 501 +8019730 21/1/19 05:00:30 1 3149 sht_temp=21.50 sht_hum=34.1 ds_temp=327.67 502 + 503 +8019740 21/1/19 05:10:30 1 3149 sht_temp=21.43 sht_hum=34.6 ds_temp=327.67 504 + 505 +8019750 21/1/19 05:20:30 1 3151 sht_temp=21.35 sht_hum=34.9 ds_temp=327.67 506 + 507 + 508 +If user sends below downlink command: 509 + 510 +3160065F9760066DA705 511 + 588 588 Where : Start time: 60065F97 = time 21/1/19 04:27:03 589 589 590 590 Stop time 60066DA7= time 21/1/19 05:27:03 ... ... @@ -610,50 +610,35 @@ 610 610 611 611 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 612 612 537 + 613 613 == 2.7 Alarm Mode == 614 614 615 615 Alarm mode feature is added since firmware v1.5. When device is in Alarm mode, it will check the built-in sensor temperature in a short interval. If the temperature exceeds the pre-configure range, it will send an uplink immediately. 616 616 617 -(% style="color:red" %)Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature. 618 618 619 - **ATCommandsforAlarm mode:**543 +Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature. 620 620 621 -(% class="box infomessage" %) 622 -((( 545 + 546 +AT Commands for Alarm mode: 547 + 623 623 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 624 -))) 625 625 626 -(% class="box infomessage" %) 627 -((( 628 628 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 629 -))) 630 630 552 + 553 + 631 631 == 2.8 LED Indicator == 632 632 633 -((( 634 634 The LHT65N has a triple color LED which for easy shows different stage. 635 -))) 636 636 637 -((( 638 638 While pressing ACT button, the LED will work as per LED status with ACT button. 639 -))) 640 640 641 -((( 642 642 In a normal working state: 643 -))) 644 644 645 -* ((( 646 -For each uplink, the BLUE LED or RED LED will blink once. 647 -))) 648 -* ((( 649 -BLUE LED when an external sensor is connected 650 -))) 651 -* ((( 652 -RED LED when an external sensor is not connected 653 -))) 654 -* ((( 655 -For each success downlink, the PURPLE LED will blink once 656 -))) 562 +* For each uplink, the BLUE LED or RED LED will blink once. 563 +* BLUE LED when an external sensor is connected 564 +* RED LED when an external sensor is not connected 565 +* For each success downlink, the PURPLE LED will blink once 657 657 658 658 ---- 659 659 ... ... @@ -688,7 +688,7 @@ 688 688 689 689 There are two kinds of commands to configure LHT65N, they are: 690 690 691 - (% style="color:#4f81bd" %)* **General Commands**.600 +* **General Commands**. 692 692 693 693 These commands are to configure: 694 694 ... ... @@ -699,7 +699,7 @@ 699 699 700 700 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 701 701 702 - (% style="color:#4f81bd" %)* **Commands special design for LHT65N**611 +* **Commands special design for LHT65N** 703 703 704 704 These commands are only valid for LHT65N, as below: 705 705 ... ... @@ -709,8 +709,21 @@ 709 709 710 710 **AT Command: AT+TDC** 711 711 712 -[[image:image-20220523150701-2.png]] 621 +(% border="1" %) 622 +|**Command Example**|**Function**|**Response** 623 +|AT+TDC?|Show current transmit Interval|((( 624 +30000 713 713 626 +OK 627 + 628 +the interval is 30000ms = 30s 629 +))) 630 +|AT+TDC=60000|Set Transmit Interval|((( 631 +OK 632 + 633 +Set transmit interval to 60000ms = 60 seconds 634 +))) 635 + 714 714 **Downlink Command: 0x01** 715 715 716 716 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -717,8 +717,8 @@ 717 717 718 718 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 719 719 720 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds721 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds642 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 643 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 722 722 723 723 == 4.2 Set External Sensor Mode == 724 724 ... ... @@ -726,13 +726,23 @@ 726 726 727 727 **AT Command: AT+EXT** 728 728 729 -[[image:image-20220523150759-3.png]] 651 +(% border="1" %) 652 +|**Command Example**|**Function**|**Response** 653 +|AT+EXT?|Get current external sensor mode|((( 654 +1 730 730 656 +OK 657 + 658 +External Sensor mode =1 659 +))) 660 +|AT+EXT=1|(% colspan="2" %)Set external sensor mode to 1 661 +|AT+EXT=9|(% colspan="2" %)Set to external DS18B20 with timestamp 662 + 731 731 **Downlink Command: 0xA2** 732 732 733 733 Total bytes: 2 ~~ 5 bytes 734 734 735 - **Example:**667 +Example: 736 736 737 737 * 0xA201: Set external sensor type to E1 738 738 * 0xA209: Same as AT+EXT=9 ... ... @@ -747,14 +747,17 @@ 747 747 748 748 PID is default set to disable (0) 749 749 682 + 750 750 **AT Command:** 751 751 752 -[[image:image-20220523150928-4.png]] 685 +(% border="1" %) 686 +|**Command Example**|**Function**|**Response** 687 +|AT+PID=1|Enable PID uplink|OK 753 753 754 754 **Downlink Command:** 755 755 756 -* 0xA800 **~-~->**AT+PID=0757 -* 0xA801 **~-~->**AT+PID=1691 +* 0xA800 à AT+PID=0 692 +* 0xA801 à AT+PID=1 758 758 759 759 == 4.4 Set Password == 760 760 ... ... @@ -762,8 +762,16 @@ 762 762 763 763 **AT Command: AT+PWORD** 764 764 765 -[[image:image-20220523151052-5.png]] 700 +(% border="1" %) 701 +|**Command Example**|**Function**|**Response** 702 +|AT+PWORD=?|Show password|((( 703 +123456 766 766 705 + 706 +OK 707 +))) 708 +|AT+PWORD=999999|Set password|OK 709 + 767 767 **Downlink Command:** 768 768 769 769 No downlink command for this feature. ... ... @@ -774,12 +774,15 @@ 774 774 775 775 **AT Command: AT+DISAT** 776 776 777 -[[image:image-20220523151132-6.png]] 720 +(% border="1" %) 721 +|**Command Example**|**Function**|**Response** 722 +|AT+DISAT|Quit AT Commands mode|OK 778 778 779 779 **Downlink Command:** 780 780 781 781 No downlink command for this feature. 782 782 728 + 783 783 == 4.6 Set to sleep mode == 784 784 785 785 Feature: Set device to sleep mode ... ... @@ -786,8 +786,15 @@ 786 786 787 787 **AT Command: AT+SLEEP** 788 788 789 -[[image:image-20220523151218-7.png]] 735 +(% border="1" %) 736 +| | | 737 +|**Command Example**|**Function**|**Response** 738 +|AT+SLEEP|Set to sleep mode|((( 739 +Clear all stored sensor data… 790 790 741 +OK 742 +))) 743 + 791 791 **Downlink Command:** 792 792 793 793 * There is no downlink command to set to Sleep mode. ... ... @@ -798,8 +798,14 @@ 798 798 799 799 **AT Command:** 800 800 801 -[[image:image-20220523151253-8.png]] 754 +(% border="1" %) 755 +|**Command Example**|**Function** 756 +|AT+TIMESTAMP=1611104352|((( 757 +OK 802 802 759 +Set System time to 2021-01-20 00:59:12 760 +))) 761 + 803 803 **Downlink Command:** 804 804 805 805 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 ... ... @@ -810,9 +810,11 @@ 810 810 811 811 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. 812 812 772 + 813 813 **AT Command:** 814 814 815 -[[image:image-20220523151336-9.png]] 775 +|**Command Example**|**Function** 776 +|AT+SYNCMOD=1|Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 816 816 817 817 **Downlink Command:** 818 818 ... ... @@ -826,7 +826,9 @@ 826 826 827 827 **AT Command:** 828 828 829 -[[image:image-20220523151411-10.png]] 790 +(% border="1" %) 791 +|**Command Example**|**Function** 792 +|AT+SYNCTDC=0x0A|Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 830 830 831 831 **Downlink Command:** 832 832 ... ... @@ -838,8 +838,51 @@ 838 838 839 839 **AT Command: AT+PDTA** 840 840 841 -[[image:image-20220523151450-11.png]] 804 +(% border="1" %) 805 +|**Command Example**|**Response** 806 +|((( 807 +AT+PDTA=1,3 842 842 809 + 810 + 811 +Print page 1 to 3 812 +)))|((( 813 +8019500 19/6/26 16:48 1 2992 sht_temp=28.21 sht_hum=71.5 ds_temp=27.31 814 + 815 +8019510 19/6/26 16:53 1 2994 sht_temp=27.64 sht_hum=69.3 ds_temp=26.93 816 + 817 +8019520 19/6/26 16:58 1 2996 sht_temp=28.39 sht_hum=72.0 ds_temp=27.06 818 + 819 +8019530 19/6/26 17:03 1 2996 sht_temp=27.97 sht_hum=70.4 ds_temp=27.12 820 + 821 +8019540 19/6/26 17:08 1 2996 sht_temp=27.80 sht_hum=72.9 ds_temp=27.06 822 + 823 +8019550 19/6/26 17:13 1 2998 sht_temp=27.30 sht_hum=72.4 ds_temp=26.68 824 + 825 +8019560 19/6/26 17:22 1 2992 sht_temp=26.27 sht_hum=62.3 ds_temp=26.56 826 + 827 +8019570 828 + 829 +8019580 830 + 831 +8019590 832 + 833 +80195A0 834 + 835 +80195B0 836 + 837 +80195C0 838 + 839 +80195D0 840 + 841 +80195E0 842 + 843 +80195F0 844 + 845 + 846 +OK 847 +))) 848 + 843 843 **Downlink Command:** 844 844 845 845 No downlink commands for feature ... ... @@ -850,8 +850,32 @@ 850 850 851 851 **AT Command: AT+PLDTA** 852 852 853 -[[image:image-20220523151524-12.png]] 859 +(% border="1" %) 860 +|**Command Example**|**Response** 861 +|((( 862 +AT+PLDTA=5 854 854 864 + 865 + 866 +Print last 5 entries 867 +)))|((( 868 +Stop Tx and RTP events when read sensor data 869 + 870 +1 19/6/26 13:59 1 3005 sht_temp=27.09 sht_hum=79.5 ds_temp=26.75 871 + 872 +2 19/6/26 14:04 1 3007 sht_temp=26.65 sht_hum=74.8 ds_temp=26.43 873 + 874 +3 19/6/26 14:09 1 3007 sht_temp=26.91 sht_hum=77.9 ds_temp=26.56 875 + 876 +4 19/6/26 14:15 1 3007 sht_temp=26.93 sht_hum=76.7 ds_temp=26.75 877 + 878 +5 19/6/26 14:20 1 3007 sht_temp=26.78 sht_hum=76.6 ds_temp=26.43 879 + 880 +Start Tx and RTP events 881 + 882 +OK 883 +))) 884 + 855 855 **Downlink Command:** 856 856 857 857 No downlink commands for feature ... ... @@ -862,8 +862,14 @@ 862 862 863 863 **AT Command: AT+CLRDTA** 864 864 865 -[[image:image-20220523151556-13.png]] 895 +(% border="1" %) 896 +|**Command Example**|**Function**|**Response** 897 +|AT+CLRDTA|Clear date record|((( 898 +Clear all stored sensor data… 866 866 900 +OK 901 +))) 902 + 867 867 **Downlink Command: 0xA3** 868 868 869 869 * Example: 0xA301 ~/~/Same as AT+CLRDTA ... ... @@ -874,15 +874,11 @@ 874 874 875 875 LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters. 876 876 877 -((( 878 878 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 879 879 [[image:image-20220515075034-1.png||height="208" width="644"]] 880 -))) 881 881 882 -((( 883 883 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 884 884 885 -))) 886 886 887 887 == 5.2 Replace Battery == 888 888 ... ... @@ -892,97 +892,47 @@ 892 892 893 893 == 5.3 Battery Life Analyze == 894 894 895 -((( 896 896 Dragino battery-powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimated battery life: 897 897 https:~/~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf 898 -))) 899 899 900 900 = 6. Order Info = 901 901 902 -((( 903 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX** 904 -))) 932 +Part Number: (% class="mark" %)**LHT65N-XX** 905 905 906 -((( 907 -(% style="color:#4f81bd" %)**XX **(%%): The default frequency band 908 -))) 934 +**XX**: The default frequency band 909 909 910 -* ((( 911 -(% style="color:#4f81bd" %)** AS923**(%%): LoRaWAN AS923 band 912 -))) 913 -* ((( 914 -(% style="color:#4f81bd" %)** AU915**(%%): LoRaWAN AU915 band 915 -))) 916 -* ((( 917 -(% style="color:#4f81bd" %)** EU433**(%%): LoRaWAN EU433 band 918 -))) 919 -* ((( 920 -(% style="color:#4f81bd" %)** EU868**(%%): LoRaWAN EU868 band 921 -))) 922 -* ((( 923 -(% style="color:#4f81bd" %)** KR920**(%%): LoRaWAN KR920 band 924 -))) 925 -* ((( 926 -(% style="color:#4f81bd" %)** US915**(%%): LoRaWAN US915 band 927 -))) 928 -* ((( 929 -(% style="color:#4f81bd" %)** IN865**(%%): LoRaWAN IN865 band 930 -))) 931 -* ((( 932 -(% style="color:#4f81bd" %)** CN470**(%%): LoRaWAN CN470 band 933 -))) 936 +* **AS923**: LoRaWAN AS923 band 937 +* **AU915**: LoRaWAN AU915 band 938 +* **EU433**: LoRaWAN EU433 band 939 +* **EU868**: LoRaWAN EU868 band 940 +* **KR920**: LoRaWAN KR920 band 941 +* **US915**: LoRaWAN US915 band 942 +* **IN865**: LoRaWAN IN865 band 943 +* **CN470**: LoRaWAN CN470 band 934 934 935 -((( 936 -(% style="color:#4f81bd" %)**YY**(%%): Sensor Accessories 937 -))) 945 +**YY**: Sensor Accessories 938 938 939 -* ((( 940 -(% style="color:#4f81bd" %)**E3**(%%): External Temperature Probe 941 -))) 947 +* **E3**: External Temperature Probe 942 942 943 943 = 7. Packing Info = 944 944 945 -((( 946 946 **Package Includes**: 947 -))) 948 948 949 -* ((( 950 -LHT65N Temperature & Humidity Sensor x 1 951 -))) 952 -* ((( 953 -Program cable x 1 954 -))) 955 -* ((( 956 -Optional external sensor 957 -))) 953 +* LHT65N Temperature & Humidity Sensor x 1 954 +* Program cable x 1 955 +* Optional external sensor 958 958 959 -((( 960 960 **Dimension and weight**: 961 -))) 962 962 963 -* ((( 964 -Device Size: 13.5 x 7 x 3 cm 965 -))) 966 -* ((( 967 -Device Weight: 105g 968 -))) 969 -* ((( 970 -Package Size / pcs : 14.5 x 8 x 5 cm 971 -))) 972 -* ((( 973 -Weight / pcs : 170g 974 -))) 959 +* Device Size: 13.5 x 7 x 3 cm 960 +* Device Weight: 105g 961 +* Package Size / pcs : 14.5 x 8 x 5 cm 962 +* Weight / pcs : 170g 975 975 976 976 = 8. FCC Warning = 977 977 978 -((( 979 979 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: 980 -))) 981 981 982 -((( 983 983 (1) This device may not cause harmful interference; 984 -))) 985 985 986 -((( 987 987 (2) this device must accept any interference received, including interference that may cause undesired operation. 988 -)))
- image-20220523144455-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.4 KB - Content
- image-20220523150701-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.3 KB - Content
- image-20220523150759-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.2 KB - Content
- image-20220523150928-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.1 KB - Content
- image-20220523151052-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -8.6 KB - Content
- image-20220523151132-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.6 KB - Content
- image-20220523151218-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.8 KB - Content
- image-20220523151253-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.5 KB - Content
- image-20220523151336-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.6 KB - Content
- image-20220523151411-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.5 KB - Content
- image-20220523151450-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -38.4 KB - Content
- image-20220523151524-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.2 KB - Content
- image-20220523151556-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.7 KB - Content
- image-20220523152208-14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.2 KB - Content
- image-20220523152302-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.3 KB - Content
- image-20220523152434-16.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.3 KB - Content
- image-20220523152822-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.4 KB - Content
- image-20220523152839-18.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.7 KB - Content
- image-20220523153201-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.9 KB - Content