Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 198.1
edited by Bei Jinggeng
on 2022/09/06 10:35
on 2022/09/06 10:35
Change comment:
There is no comment for this version
To version 197.1
edited by Bei Jinggeng
on 2022/09/06 10:23
on 2022/09/06 10:23
Change comment:
Uploaded new attachment "image-20220906102307-7.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -60,6 +60,7 @@ 60 60 * Datalog feature (Max 3328 records) 61 61 62 62 63 + 63 63 == 1.3 Specification == 64 64 65 65 ... ... @@ -85,6 +85,7 @@ 85 85 * Operating Range: -55 °C ~~ 125 °C 86 86 87 87 89 + 88 88 = 2. Connect LHT65N to IoT Server = 89 89 90 90 == 2.1 How does LHT65N work? == ... ... @@ -275,6 +275,7 @@ 275 275 * 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.) 276 276 277 277 280 + 278 278 === 2.4.1 Decoder in TTN V3 === 279 279 280 280 ... ... @@ -308,6 +308,7 @@ 308 308 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 309 309 310 310 314 + 311 311 === 2.4.3 Built-in Temperature === 312 312 313 313 ... ... @@ -320,6 +320,7 @@ 320 320 * Temperature: (0xF5C6-65536)/100=-26.18℃ 321 321 322 322 327 + 323 323 === 2.4.4 Built-in Humidity === 324 324 325 325 ... ... @@ -328,6 +328,7 @@ 328 328 * Humidity: 0x025C/10=60.4% 329 329 330 330 336 + 331 331 === 2.4.5 Ext # === 332 332 333 333 ... ... @@ -486,6 +486,7 @@ 486 486 * (% 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) 487 487 488 488 495 + 489 489 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 490 490 491 491 ... ... @@ -533,161 +533,7 @@ 533 533 [[image:image-20220628151143-7.png]] 534 534 535 535 536 -==== ==== 537 537 538 -==== 2.4.6.4 Ext~=2 TMP117 Sensor (since v1.3) ==== 539 - 540 -Ext=2,Temperature Sensor(TMP117): 541 - 542 -[[image:image-20220906102307-7.png]] 543 - 544 - 545 -**Interrupt Mode and Counting Mode** 546 - 547 -The external cable NE2 can be use for MOD4 and MOD8 548 - 549 - 550 - 551 -==== 2.4.6.5 Ext~=4 Interrupt Mode (since v1.3) ==== 552 - 553 -**Note: In this mode, 3.3v output will be always ON. LHT65N will send an uplink when there is a trigger.** 554 - 555 -**Interrupt Mode can be used to connect to external interrupt sensors such as:** 556 - 557 -Case 1:Door Sensor. 3.3v Out for such sensor is just to detect Open/Close. 558 - 559 - In Open State, the power consumption is the same as if there is no probe 560 - 561 - In Close state, the power consumption will be 3uA higher than normal. 562 - 563 -[[image:image-20220906100852-1.png||height="205" width="377"]] 564 - 565 -Ext=4,Interrupt Sensor: 566 - 567 -(% border="8" cellpadding="4" cellspacing="4" style="height:8px; width:662px" %) 568 -|((( 569 -AT+EXT=4,1 570 -)))|(% style="width:503px" %)((( 571 -Sent uplink packet in both rising and falling interrupt 572 -))) 573 -|((( 574 -AT+EXT=4,2 575 -)))|(% style="width:503px" %)((( 576 -Sent uplink packet only in falling interrupt 577 -))) 578 -|((( 579 -AT+EXT=4,3 580 -)))|(% style="width:503px" %)((( 581 -Sent uplink packet only in rising interrupt 582 -))) 583 - 584 -Trigger by falling edge: 585 - 586 -[[image:image-20220906101145-2.png]] 587 - 588 - 589 -Trigger by raising edge: 590 - 591 -[[image:image-20220906101145-3.png]] 592 - 593 - 594 -==== ==== 595 - 596 -==== 2.4.6.6 Ext~=8 Counting Mode(since v1.3) ==== 597 - 598 -**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.** 599 - 600 - 601 -Case 1: Low power consumption Flow Sensor, such flow sensor has pulse output and the power consumption in uA level and can be powered by LHT65N. 602 - 603 -[[image:image-20220906101320-4.png||height="366" width="698"]] 604 - 605 -Case 2: Normal Flow Sensor: Such flow sensor has higher power consumption and is not suitable to be powered by LHT65N. It is powered by external power and output <3.3v pulse 606 - 607 -[[image:image-20220906101320-5.png||height="353" width="696"]] 608 - 609 -Ext=8, Counting Sensor ( 4 bytes): 610 - 611 -(% border="8" cellpadding="4" cellspacing="4" style="height:8px; width:662px" %) 612 -|((( 613 -AT+EXT=8,0 614 -)))|(% style="width:503px" %)((( 615 -Count at falling interrupt 616 -))) 617 -|((( 618 -AT+EXT=8,1 619 -)))|(% style="width:503px" %)((( 620 -Count at rising interrupt 621 -))) 622 -|((( 623 -AT+SETCNT=60 624 -)))|(% style="width:503px" %)((( 625 -Sent current count to 60 626 -))) 627 - 628 - 629 -[[image:image-20220906101320-6.png]] 630 - 631 - 632 -A2 downlink Command: 633 - 634 -A2 02: Same as AT+EXT=2 (AT+EXT= second byte) 635 - 636 -A2 06 01 F4: Same as AT+EXT=6,500 (AT+EXT= second byte, third and fourth bytes) 637 - 638 -A2 04 02: Same as AT+EXT=4,2 (AT+EXT= second byte, third byte) 639 - 640 -A2 08 01 00: Same as AT+EXT=8,0 (AT+EXT= second byte, fourth byte) 641 - 642 -A2 08 02 00 00 00 3C: Same as AT+ SETCNT=60 (AT+ SETCNT = 4th byte and 5th byte and 6th byte and 7th byte) 643 - 644 - 645 - 646 - 647 -**Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm.** 648 - 649 - 650 -AT+WMOD=parameter1,parameter2,parameter3,parameter4 651 - 652 -Parameter 1: Alarm mode: 653 - 654 -0): Cancel 655 - 656 -1): Threshold alarm 657 - 658 -2): Fluctuation alarm 659 - 660 - 661 -Parameter 2: Sampling time. Unit: seconds, up to 255 seconds. 662 - 663 -**Note: When the collection time is less than 60 seconds and always exceeds the set alarm threshold, the sending interval will not be the collection time, but will be sent every 60 seconds.** 664 - 665 - 666 -Parameter 3 and parameter 4: 667 - 668 -1):If Alarm Mode is set to 1: Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature. 669 - 670 -Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm. 671 - 672 - 673 -2):If Alarm Mode is set to 2: Parameter 3 is valid, which represents the difference between the currently collected temperature and the last uploaded temperature. 674 - 675 -Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm. 676 - 677 -If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued. 678 - 679 - 680 -Downlink: 681 - 682 -0xA5 00 ~-~- AT+WMOD=0. 683 - 684 -0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105 (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 ) 685 - 686 -0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2 (AT+WMOD = second byte, third byte, fourth byte) 687 - 688 -0xA5 FF ~-~- After the device receives it, upload the current alarm configuration (FPORT=8). Such as 01 0A 11 94 29 04 or 02 0A 02. 689 - 690 - 691 691 == 2.5 Show data on Datacake == 692 692 693 693 ... ... @@ -1238,6 +1238,7 @@ 1238 1238 * For each success downlink, the PURPLE LED will blink once 1239 1239 1240 1240 1094 + 1241 1241 == 2.9 installation == 1242 1242 1243 1243 ... ... @@ -1295,6 +1295,7 @@ 1295 1295 * Working voltage 2.35v ~~ 5v 1296 1296 1297 1297 1152 + 1298 1298 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1299 1299 1300 1300 ... ... @@ -1365,6 +1365,7 @@ 1365 1365 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1366 1366 1367 1367 1223 + 1368 1368 == 4.2 Set External Sensor Mode == 1369 1369 1370 1370 ... ... @@ -1389,6 +1389,7 @@ 1389 1389 * 0xA20702003c: Same as AT+SETCNT=60 1390 1390 1391 1391 1248 + 1392 1392 == 4.3 Enable/Disable uplink Temperature probe ID == 1393 1393 1394 1394 ... ... @@ -1420,6 +1420,7 @@ 1420 1420 * **0xA801** **~-~->** AT+PID=1 1421 1421 1422 1422 1280 + 1423 1423 == 4.4 Set Password == 1424 1424 1425 1425 ... ... @@ -1472,6 +1472,7 @@ 1472 1472 * There is no downlink command to set to Sleep mode. 1473 1473 1474 1474 1333 + 1475 1475 == 4.7 Set system time == 1476 1476 1477 1477 ... ... @@ -1581,6 +1581,7 @@ 1581 1581 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1582 1582 1583 1583 1443 + 1584 1584 == 4.13 Auto Send None-ACK messages == 1585 1585 1586 1586 ... ... @@ -1602,6 +1602,7 @@ 1602 1602 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1603 1603 1604 1604 1465 + 1605 1605 = 5. Battery & How to replace = 1606 1606 1607 1607 == 5.1 Battery Type == ... ... @@ -2073,6 +2073,7 @@ 2073 2073 2074 2074 * (% style="color:red" %)**E3**(%%): External Temperature Probe 2075 2075 1937 + 2076 2076 = 8. Packing Info = 2077 2077 2078 2078 ... ... @@ -2086,11 +2086,13 @@ 2086 2086 * Device Size: 10 x 10 x 3.5 cm 2087 2087 * Device Weight: 120.5g 2088 2088 1951 + 2089 2089 = 9. Reference material = 2090 2090 2091 2091 2092 2092 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2093 2093 1957 + 2094 2094 = 10. FCC Warning = 2095 2095 2096 2096