Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 205.1
edited by Edwin Chen
on 2022/10/11 18:16
on 2022/10/11 18:16
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 9 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:image-20220613162008-1.png||_mstalt="428142" height="5 10" width="334"]]2 +[[image:image-20220613162008-1.png||_mstalt="428142" height="579" width="379"]] 3 3 4 4 5 5 ... ... @@ -16,7 +16,6 @@ 16 16 17 17 = 1. Introduction = 18 18 19 - 20 20 == 1.1 What is LHT65N Temperature & Humidity Sensor == 21 21 22 22 ... ... @@ -45,10 +45,8 @@ 45 45 ))) 46 46 47 47 48 - 49 49 == 1.2 Features == 50 50 51 - 52 52 * Wall mountable 53 53 * LoRaWAN v1.0.3 Class A protocol 54 54 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915 ... ... @@ -59,12 +59,12 @@ 59 59 * Built-in Temperature & Humidity sensor 60 60 * Optional External Sensors 61 61 * Tri-color LED to indicate working status 62 -* Datalog feature (Max 3328 records)59 +* Datalog feature 63 63 64 64 == 1.3 Specification == 65 65 66 66 67 - (% style="color:#037691" %)**Built-in Temperature Sensor:**64 +**Built-in Temperature Sensor:** 68 68 69 69 * Resolution: 0.01 °C 70 70 * Accuracy Tolerance : Typ ±0.3 °C ... ... @@ -71,7 +71,7 @@ 71 71 * Long Term Drift: < 0.02 °C/yr 72 72 * Operating Range: -40 ~~ 85 °C 73 73 74 - (% style="color:#037691" %)**Built-in Humidity Sensor:**71 +**Built-in Humidity Sensor:** 75 75 76 76 * Resolution: 0.04 %RH 77 77 * Accuracy Tolerance : Typ ±3 %RH ... ... @@ -78,7 +78,7 @@ 78 78 * Long Term Drift: < 0.02 °C/yr 79 79 * Operating Range: 0 ~~ 96 %RH 80 80 81 - (% style="color:#037691" %)**External Temperature Sensor:**78 +**External Temperature Sensor:** 82 82 83 83 * Resolution: 0.0625 °C 84 84 * ±0.5°C accuracy from -10°C to +85°C ... ... @@ -87,10 +87,8 @@ 87 87 88 88 = 2. Connect LHT65N to IoT Server = 89 89 90 - 91 91 == 2.1 How does LHT65N work? == 92 92 93 - 94 94 ((( 95 95 LHT65N is configured as LoRaWAN OTAA Class A mode by default. Each LHT65N is shipped with a worldwide unique set of OTAA keys. To use LHT65N in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N. 96 96 ))) ... ... @@ -100,10 +100,8 @@ 100 100 ))) 101 101 102 102 103 - 104 104 == 2.2 How to Activate LHT65N? == 105 105 106 - 107 107 ((( 108 108 The LHT65N has two working modes: 109 109 ))) ... ... @@ -128,11 +128,9 @@ 128 128 129 129 == 2.3 Example to join LoRaWAN network == 130 130 131 - 132 132 (% _msthash="315240" _msttexthash="9205482" _mstvisible="1" class="wikigeneratedid" %) 133 133 This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Use with other LoRaWAN IoT servers is of a similar procedure. 134 134 135 - 136 136 (% _mstvisible="1" class="wikigeneratedid" %) 137 137 [[image:image-20220522232442-1.png||_mstalt="427830" _mstvisible="3" height="387" width="648"]] 138 138 ... ... @@ -145,7 +145,6 @@ 145 145 146 146 === 2.3.1 Step 1: Create Device n TTN === 147 147 148 - 149 149 ((( 150 150 Create a device in TTN V3 with the OTAA keys from LHT65N. 151 151 ))) ... ... @@ -187,7 +187,6 @@ 187 187 188 188 === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 189 189 190 - 191 191 ((( 192 192 Use ACT button to activate LHT65N and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel. 193 193 ))) ... ... @@ -199,7 +199,6 @@ 199 199 200 200 == 2.4 Uplink Payload == 201 201 202 - 203 203 ((( 204 204 The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% _mstvisible="3" style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default. 205 205 ))) ... ... @@ -274,11 +274,12 @@ 274 274 275 275 * The First 6 bytes: has fix meanings for every LHT65N. 276 276 * The 7th byte (EXT #): defines the external sensor model. 277 -* 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.)265 +* 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.) 278 278 279 -=== 2.4.1 Decoder in TTN V3 === 280 280 281 281 269 +=== 2.4.1 Decoder in TTN V3 === 270 + 282 282 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. 283 283 284 284 Below is the position to put the decoder and LHT65N decoder can be download from here: ... ... @@ -294,7 +294,6 @@ 294 294 295 295 === 2.4.2 BAT-Battery Info === 296 296 297 - 298 298 These two bytes of BAT include the battery state and the actually voltage 299 299 300 300 [[image:image-20220523152839-18.png||_mstalt="457613" _mstvisible="3"]] ... ... @@ -308,9 +308,10 @@ 308 308 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 309 309 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 310 310 311 -=== 2.4.3 Built-in Temperature === 312 312 313 313 301 +=== 2.4.3 Built-in Temperature === 302 + 314 314 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] 315 315 316 316 * Temperature: 0x0ABB/100=27.47℃ ... ... @@ -319,16 +319,18 @@ 319 319 320 320 * Temperature: (0xF5C6-65536)/100=-26.18℃ 321 321 322 -=== 2.4.4 Built-in Humidity === 323 323 324 324 313 +=== 2.4.4 Built-in Humidity === 314 + 325 325 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] 326 326 327 327 * Humidity: 0x025C/10=60.4% 328 328 329 -=== 2.4.5 Ext # === 330 330 331 331 321 +=== 2.4.5 Ext # === 322 + 332 332 Bytes for External Sensor: 333 333 334 334 [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]] ... ... @@ -337,7 +337,6 @@ 337 337 338 338 === 2.4.6 Ext value === 339 339 340 - 341 341 ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== 342 342 343 343 ... ... @@ -361,7 +361,6 @@ 361 361 362 362 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 363 363 364 - 365 365 ((( 366 366 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: 367 367 ))) ... ... @@ -483,9 +483,9 @@ 483 483 * (% 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. 484 484 * (% 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) 485 485 475 + 486 486 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 487 487 488 - 489 489 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can 490 490 491 491 be used to power the external ADC sensor; user can control the power on time for this ... ... @@ -492,7 +492,7 @@ 492 492 493 493 sensor by setting: 494 494 495 -AT+EXT=6,timeout (% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %) **Time to power this sensor, from 0 ~~ 65535ms**484 +AT+EXT=6,timeout (% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)Time to power this sensor, from 0 ~~ 65535ms 496 496 497 497 For example: 498 498 ... ... @@ -515,7 +515,6 @@ 515 515 516 516 When the voltage collected by ADC_IN1 is less than the minimum range, the minimum range will be used as the output; Similarly, when the collected voltage is greater than the maximum range, the maximum range will be used as the output. 517 517 518 - 519 519 1) The minimum range is about 0.1V. Each chip has internal calibration, so this value is close to 0.1V 520 520 521 521 [[image:image-20220628151005-5.png]] ... ... @@ -532,171 +532,8 @@ 532 532 533 533 534 534 535 -==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 536 - 537 - 538 -[[image:image-20220927095645-1.png||height="534" width="460"]] 539 - 540 - 541 -**Ext=2,Temperature Sensor(TMP117):** 542 - 543 -[[image:image-20220906102307-7.png]] 544 - 545 - 546 -(% style="color:blue" %)**Interrupt Mode and Counting Mode:** 547 - 548 -The external cable NE2 can be use for MOD4 and MOD8 549 - 550 - 551 - 552 - 553 -==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 554 - 555 - 556 -(% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will send an uplink when there is a trigger.** 557 - 558 - 559 -(% style="color:blue" %)**Interrupt Mode can be used to connect to external interrupt sensors such as:** 560 - 561 -**Case 1: Door Sensor.** 3.3v Out for such sensor is just to detect Open/Close. 562 - 563 - In Open State, the power consumption is the same as if there is no probe 564 - 565 - In Close state, the power consumption will be 3uA higher than normal. 566 - 567 -[[image:image-20220906100852-1.png||height="205" width="377"]] 568 - 569 - 570 -Ext=4,Interrupt Sensor: 571 - 572 -(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:512px" %) 573 -|(% style="width:117px" %)((( 574 -AT+EXT=4,1 575 -)))|(% style="width:371px" %)((( 576 -Sent uplink packet in both rising and falling interrupt 577 -))) 578 -|(% style="width:117px" %)((( 579 -AT+EXT=4,2 580 -)))|(% style="width:371px" %)((( 581 -Sent uplink packet only in falling interrupt 582 -))) 583 -|(% style="width:117px" %)((( 584 -AT+EXT=4,3 585 -)))|(% style="width:371px" %)((( 586 -Sent uplink packet only in rising interrupt 587 -))) 588 - 589 -Trigger by falling edge: 590 - 591 -[[image:image-20220906101145-2.png]] 592 - 593 - 594 -Trigger by raising edge: 595 - 596 -[[image:image-20220906101145-3.png]] 597 - 598 - 599 - 600 - 601 -==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 602 - 603 - 604 -(% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.** 605 - 606 - 607 -(% style="color:blue" %)**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. 608 - 609 -[[image:image-20220906101320-4.png||height="366" width="698"]] 610 - 611 - 612 -(% style="color:blue" %)**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 613 - 614 -[[image:image-20220906101320-5.png||height="353" width="696"]] 615 - 616 -Ext=8, Counting Sensor ( 4 bytes): 617 - 618 -(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %) 619 -|(% style="width:138px" %)((( 620 -AT+EXT=8,0 621 -)))|(% style="width:240px" %)((( 622 -Count at falling interrupt 623 -))) 624 -|(% style="width:138px" %)((( 625 -AT+EXT=8,1 626 -)))|(% style="width:240px" %)((( 627 -Count at rising interrupt 628 -))) 629 -|(% style="width:138px" %)((( 630 -AT+SETCNT=60 631 -)))|(% style="width:240px" %)((( 632 -Sent current count to 60 633 -))) 634 - 635 -[[image:image-20220906101320-6.png]] 636 - 637 - 638 -(% style="color:blue" %)**A2 downlink Command:** 639 - 640 -A2 02: Same as AT+EXT=2 (AT+EXT= second byte) 641 - 642 -A2 06 01 F4: Same as AT+EXT=6,500 (AT+EXT= second byte, third and fourth bytes) 643 - 644 -A2 04 02: Same as AT+EXT=4,2 (AT+EXT= second byte, third byte) 645 - 646 -A2 08 01 00: Same as AT+EXT=8,0 (AT+EXT= second byte, fourth byte) 647 - 648 -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) 649 - 650 - 651 -(% style="color:blue" %)**Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm.** 652 - 653 - 654 -(% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4** 655 - 656 -(% style="color:#037691" %)**Parameter 1**(%%): Alarm mode: 657 - 658 -0): Cancel 659 - 660 -1): Threshold alarm 661 - 662 -2): Fluctuation alarm 663 - 664 - 665 -(% style="color:#037691" %)** Parameter 2**(%%): Sampling time. Unit: seconds, up to 255 seconds. 666 - 667 -(% style="color:red" %)**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.** 668 - 669 - 670 -(% style="color:#037691" %) **Parameter 3 and parameter 4:** 671 - 672 -1): If Alarm Mode is set to 1: Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature. 673 - 674 -Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm. 675 - 676 - 677 -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. 678 - 679 -Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm. 680 - 681 -If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued. 682 - 683 - 684 -(% style="color:blue" %)** Downlink:** 685 - 686 -0xA5 00 ~-~- AT+WMOD=0. 687 - 688 -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 ) 689 - 690 -0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2 (AT+WMOD = second byte, third byte, fourth byte) 691 - 692 -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. 693 - 694 - 695 - 696 - 697 697 == 2.5 Show data on Datacake == 698 698 699 - 700 700 ((( 701 701 Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: 702 702 ))) ... ... @@ -744,7 +744,6 @@ 744 744 745 745 == 2.6 Datalog Feature == 746 746 747 - 748 748 ((( 749 749 Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N. 750 750 ))) ... ... @@ -753,22 +753,13 @@ 753 753 754 754 === 2.6.1 Ways to get datalog via LoRaWAN === 755 755 756 - 757 757 There are two methods: 758 758 759 -**Method 1**: IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range. 582 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specifying time range. 583 +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. 760 760 761 - 762 -**Method 2: **Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 763 - 764 -**Note for method 2:** 765 - 766 -* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server. 767 -* b) LHT65N will send data in **CONFIRMED Mode** when PNACKMD=1, but LHT65N won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if LHT65N gets a ACK, LHT65N will consider there is a network connection and resend all NONE-ACK Message. 768 - 769 769 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 770 770 771 - 772 772 [[image:image-20220703111700-2.png||height="381" width="1119"]] 773 773 774 774 ... ... @@ -794,7 +794,6 @@ 794 794 795 795 === 2.6.3 Set Device Time === 796 796 797 - 798 798 ((( 799 799 There are two ways to set device's time: 800 800 ))) ... ... @@ -812,7 +812,7 @@ 812 812 ))) 813 813 814 814 ((( 815 -(% style="color:red" %) **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.**629 +(% style="color:red" %)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. 816 816 ))) 817 817 818 818 ((( ... ... @@ -831,7 +831,6 @@ 831 831 832 832 === 2.6.4 Poll sensor value === 833 833 834 - 835 835 User can poll sensor value based on timestamps from the server. Below is the downlink command. 836 836 837 837 [[image:image-20220523152302-15.png||_mstalt="451581" _mstvisible="3"]] ... ... @@ -849,7 +849,6 @@ 849 849 850 850 === 2.6.5 Datalog Uplink payload === 851 851 852 - 853 853 (% _msthash="315267" _msttexthash="2245087" _mstvisible="1" %) 854 854 The Datalog poll reply uplink will use below payload format. 855 855 ... ... @@ -856,9 +856,6 @@ 856 856 (% _mstvisible="1" %) 857 857 ((( 858 858 (% _mstvisible="2" %) 859 - 860 - 861 -(% _mstvisible="2" %) 862 862 (% _msthash="506080" _msttexthash="451581" _mstvisible="4" %)**Retrieval data payload** 863 863 ))) 864 864 ... ... @@ -990,18 +990,15 @@ 990 990 (% _msthash="315268" _msttexthash="390390" _mstvisible="3" %)**Poll message flag & Ext** 991 991 992 992 (% _mstvisible="1" %) 802 +[[image:image-20220523152208-14.png||_mstalt="452920" _mstvisible="3"]] 803 + 804 +(% _mstvisible="1" %) 993 993 ((( 994 994 (% _mstvisible="2" %) 995 995 ((( 996 996 (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %) 997 997 ((( 998 -[[image:image-20221006192726-1.png||height="112" width="754"]] 999 - 1000 -(% class="mark" %)No ACK Message(%%): 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature) 1001 - 1002 -(% class="mark" %)Poll Message Flag(%%): 1: This message is a poll message reply. 1003 - 1004 - 810 +Poll Message Flag: 1: This message is a poll message reply. 1005 1005 ))) 1006 1006 ))) 1007 1007 ))) ... ... @@ -1124,7 +1124,7 @@ 1124 1124 (% _mstvisible="1" %) 1125 1125 ((( 1126 1126 (% _msthash="506083" _msttexthash="737269" _mstvisible="2" style="text-align: left;" %) 1127 - 933 + Stop time 60066DA7= time 21/1/19 05:27:(% _msthash="903005" _msttexthash="9672" _mstvisible="2" %)03 1128 1128 ))) 1129 1129 1130 1130 (% _mstvisible="1" %) ... ... @@ -1142,7 +1142,6 @@ 1142 1142 (% _mstvisible="1" %) 1143 1143 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 1144 1144 1145 - 1146 1146 (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %) 1147 1147 ((( 1148 1148 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E ... ... @@ -1187,15 +1187,12 @@ 1187 1187 1188 1188 == 2.7 Alarm Mode == 1189 1189 1190 - 1191 1191 ((( 1192 1192 when the device is in alarm mode, it checks the built-in sensor temperature for a short time. if the temperature exceeds the preconfigured range, it sends an uplink immediately. 1193 1193 ))) 1194 1194 1195 1195 ((( 1196 -(% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.** 1197 - 1198 - 1000 +(% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled. 1199 1199 ))) 1200 1200 1201 1201 ((( ... ... @@ -1240,10 +1240,8 @@ 1240 1240 TEMPhigh=003C 1241 1241 1242 1242 1243 - 1244 1244 == 2.8 LED Indicator == 1245 1245 1246 - 1247 1247 The LHT65 has a triple color LED which for easy showing different stage . 1248 1248 1249 1249 While user press ACT button, the LED will work as per LED status with ACT button. ... ... @@ -1257,7 +1257,6 @@ 1257 1257 1258 1258 == 2.9 installation == 1259 1259 1260 - 1261 1261 (% _mstvisible="1" %) 1262 1262 [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]] 1263 1263 ... ... @@ -1265,13 +1265,10 @@ 1265 1265 1266 1266 = 3. Sensors and Accessories = 1267 1267 1268 - 1269 1269 == 3.1 E2 Extension Cable == 1270 1270 1271 - 1272 1272 [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]] 1273 1273 1274 - 1275 1275 **1m long breakout cable for LHT65N. Features:** 1276 1276 1277 1277 * ((( ... ... @@ -1288,9 +1288,6 @@ 1288 1288 ))) 1289 1289 * ((( 1290 1290 Exposed All pins from the LHT65N Type-C connector. 1291 - 1292 - 1293 - 1294 1294 ))) 1295 1295 1296 1296 [[image:image-20220619092421-3.png||height="371" width="529"]] ... ... @@ -1314,7 +1314,6 @@ 1314 1314 1315 1315 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1316 1316 1317 - 1318 1318 ((( 1319 1319 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 1320 1320 ))) ... ... @@ -1359,13 +1359,10 @@ 1359 1359 ))) 1360 1360 1361 1361 1362 - 1363 1363 == 4.1 Set Transmit Interval Time == 1364 1364 1365 - 1366 1366 Feature: Change LoRaWAN End Node Transmit Interval. 1367 1367 1368 - 1369 1369 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 1370 1370 1371 1371 [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]] ... ... @@ -1383,10 +1383,8 @@ 1383 1383 1384 1384 == 4.2 Set External Sensor Mode == 1385 1385 1386 - 1387 1387 Feature: Change External Sensor Mode. 1388 1388 1389 - 1390 1390 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1391 1391 1392 1392 [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]] ... ... @@ -1406,7 +1406,6 @@ 1406 1406 1407 1407 == 4.3 Enable/Disable uplink Temperature probe ID == 1408 1408 1409 - 1410 1410 ((( 1411 1411 Feature: If PID is enabled, device will send the temperature probe ID on: 1412 1412 ))) ... ... @@ -1420,8 +1420,6 @@ 1420 1420 1421 1421 ((( 1422 1422 PID is default set to disable (0) 1423 - 1424 - 1425 1425 ))) 1426 1426 1427 1427 (% style="color:#4f81bd" %)**AT Command:** ... ... @@ -1436,10 +1436,8 @@ 1436 1436 1437 1437 == 4.4 Set Password == 1438 1438 1439 - 1440 1440 Feature: Set device password, max 9 digits 1441 1441 1442 - 1443 1443 (% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1444 1444 1445 1445 [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]] ... ... @@ -1453,10 +1453,8 @@ 1453 1453 1454 1454 == 4.5 Quit AT Command == 1455 1455 1456 - 1457 1457 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1458 1458 1459 - 1460 1460 (% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1461 1461 1462 1462 [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]] ... ... @@ -1470,7 +1470,6 @@ 1470 1470 1471 1471 == 4.6 Set to sleep mode == 1472 1472 1473 - 1474 1474 Feature: Set device to sleep mode 1475 1475 1476 1476 * **AT+Sleep=0** : Normal working mode, device will sleep and use lower power when there is no LoRa message ... ... @@ -1487,10 +1487,8 @@ 1487 1487 1488 1488 == 4.7 Set system time == 1489 1489 1490 - 1491 1491 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1492 1492 1493 - 1494 1494 (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1495 1495 1496 1496 [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]] ... ... @@ -1498,13 +1498,12 @@ 1498 1498 1499 1499 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1500 1500 1501 -0x306007806000 1278 +0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1502 1502 1503 1503 1504 1504 1505 1505 == 4.8 Set Time Sync Mode == 1506 1506 1507 - 1508 1508 ((( 1509 1509 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 1510 1510 ))) ... ... @@ -1511,8 +1511,6 @@ 1511 1511 1512 1512 ((( 1513 1513 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. 1514 - 1515 - 1516 1516 ))) 1517 1517 1518 1518 (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** ... ... @@ -1522,17 +1522,15 @@ 1522 1522 1523 1523 (% style="color:#4f81bd" %)**Downlink Command:** 1524 1524 1525 -0x28 01 1526 -0x28 00 1299 +0x28 01 ~/~/ Same As AT+SYNCMOD=1 1300 +0x28 00 ~/~/ Same As AT+SYNCMOD=0 1527 1527 1528 1528 1529 1529 1530 1530 == 4.9 Set Time Sync Interval == 1531 1531 1532 - 1533 1533 Feature: Define System time sync interval. SYNCTDC default value: 10 days. 1534 1534 1535 - 1536 1536 (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1537 1537 1538 1538 [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]] ... ... @@ -1546,10 +1546,8 @@ 1546 1546 1547 1547 == 4.10 Print data entries base on page. == 1548 1548 1549 - 1550 1550 Feature: Print the sector data from start page to stop page (max is 416 pages). 1551 1551 1552 - 1553 1553 (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA** 1554 1554 1555 1555 [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]] ... ... @@ -1563,10 +1563,8 @@ 1563 1563 1564 1564 == 4.11 Print last few data entries. == 1565 1565 1566 - 1567 1567 Feature: Print the last few data entries 1568 1568 1569 - 1570 1570 (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1571 1571 1572 1572 [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]] ... ... @@ -1580,7 +1580,6 @@ 1580 1580 1581 1581 == 4.12 Clear Flash Record == 1582 1582 1583 - 1584 1584 Feature: Clear flash storage for data log feature. 1585 1585 1586 1586 ... ... @@ -1595,11 +1595,9 @@ 1595 1595 1596 1596 == 4.13 Auto Send None-ACK messages == 1597 1597 1598 - 1599 1599 (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %) 1600 1600 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. 1601 1601 1602 - 1603 1603 (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD** 1604 1604 1605 1605 (% _msthash="315396" _msttexthash="734682" _mstvisible="1" %) ... ... @@ -1615,10 +1615,8 @@ 1615 1615 1616 1616 = 5. Battery & How to replace = 1617 1617 1618 - 1619 1619 == 5.1 Battery Type == 1620 1620 1621 - 1622 1622 ((( 1623 1623 ((( 1624 1624 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. ... ... @@ -1639,10 +1639,8 @@ 1639 1639 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1640 1640 1641 1641 1642 - 1643 1643 == 5.2 Replace Battery == 1644 1644 1645 - 1646 1646 LHT65N has two screws on the back, Unscrew them, and changing the battery inside is ok. The battery is a general CR17450 battery. Any brand should be ok. 1647 1647 1648 1648 [[image:image-20220515075440-2.png||_mstalt="429546" _mstvisible="3" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" _mstvisible="3" height="193" width="257"]] ... ... @@ -1650,7 +1650,6 @@ 1650 1650 1651 1651 == 5.3 Battery Life Analyze == 1652 1652 1653 - 1654 1654 ((( 1655 1655 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: 1656 1656 [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]] ... ... @@ -1668,10 +1668,8 @@ 1668 1668 1669 1669 = 6. FAQ = 1670 1670 1671 - 1672 1672 == 6.1 How to use AT Command? == 1673 1673 1674 - 1675 1675 LHT65N supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below. 1676 1676 1677 1677 [[image:image-20220530085651-1.png||_mstalt="429949"]] ... ... @@ -1682,6 +1682,7 @@ 1682 1682 * (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1683 1683 * (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1684 1684 * (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1443 +* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1685 1685 1686 1686 ((( 1687 1687 In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**) (%%)to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. ... ... @@ -1889,43 +1889,40 @@ 1889 1889 AT+PID: Get or set the PID 1890 1890 1891 1891 1892 - 1893 1893 == 6.2 Where to use AT commands and Downlink commands == 1894 1894 1653 +(% _msthash="506131" _msttexthash="14585714" %) 1654 +AT commands: 1895 1895 1896 -**AT commands:** 1897 - 1898 1898 [[image:image-20220620153708-1.png||height="603" width="723"]] 1899 1899 1658 +(% _msthash="506132" _msttexthash="337922" %) 1659 +Downlink commands: 1900 1900 1901 -**Downlink commands:** 1902 1902 1662 +(% _msthash="506133" _msttexthash="33046" %) 1663 +**TTN:** 1903 1903 1904 - 1905 -(% style="color:blue" %)**TTN:** 1906 - 1907 1907 [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] 1908 1908 1909 1909 1668 +(% _msthash="506134" _msttexthash="11113791" %) 1669 +**Helium:** 1910 1910 1911 -(% style="color:blue" %)**Helium:** 1912 - 1913 1913 [[image:image-20220615092551-3.png||_mstalt="430794" height="423" width="835"]] 1914 1914 1915 1915 1674 +(% _msthash="506135" _msttexthash="4159844" %) 1675 +**Chirpstack:The downlink window will not be displayed until the network is accessed** 1916 1916 1917 -(% style="color:blue" %)**Chirpstack: The downlink window will not be displayed until the network is accessed** 1918 - 1919 - 1920 1920 [[image:image-20220615094850-6.png||_mstalt="433082"]] 1921 1921 1922 - 1923 1923 [[image:image-20220615094904-7.png||_mstalt="433485" height="281" width="911"]] 1924 1924 1925 1925 1682 +(% _msthash="506136" _msttexthash="39286" %) 1683 +**Aws:** 1926 1926 1927 -(% style="color:blue" %)**Aws:** 1928 - 1929 1929 [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]] 1930 1930 1931 1931 ... ... @@ -1932,14 +1932,12 @@ 1932 1932 1933 1933 == 6.3 How to change the uplink interval? == 1934 1934 1691 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_msthash="506137" _msttexthash="5712018"]] 1935 1935 1936 -Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_msthash="506137" _msttexthash="5712018" style="background-color: rgb(255, 255, 255);"]] 1937 1937 1938 1938 1939 - 1940 1940 == 6.4 How to use TTL-USB to connect a PC to input AT commands? == 1941 1941 1942 - 1943 1943 [[image:image-20220615153355-1.png]] 1944 1944 1945 1945 [[image:1655802313617-381.png]] ... ... @@ -1967,7 +1967,6 @@ 1967 1967 [[image:image-20220615170542-5.png]] 1968 1968 1969 1969 1970 - 1971 1971 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 1972 1972 1973 1973 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -1981,7 +1981,6 @@ 1981 1981 [[image:image-20220621170938-2.png]] 1982 1982 1983 1983 1984 - 1985 1985 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 1986 1986 1987 1987 [[image:image-20220615171334-6.png]] ... ... @@ -1998,16 +1998,13 @@ 1998 1998 Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. 1999 1999 2000 2000 2001 - 2002 2002 == 6.6 Using USB-TYPE-C to connect to the computer using the AT command == 2003 2003 2004 - 2005 2005 [[image:image-20220623110706-1.png]] 2006 2006 2007 2007 2008 2008 [[image:image-20220623112117-4.png||height="459" width="343"]] 2009 2009 2010 - 2011 2011 ((( 2012 2012 In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 2013 2013 ))) ... ... @@ -2018,19 +2018,15 @@ 2018 2018 [[image:image-20220615154519-3.png||height="672" width="807"]] 2019 2019 2020 2020 2021 - 2022 2022 == 6.7 How to use USB-TYPE-C to connect PC to upgrade firmware? == 2023 2023 2024 - 2025 2025 [[image:image-20220623110706-1.png]] 2026 2026 2027 - 2028 2028 (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 2029 2029 2030 2030 [[image:image-20220615170542-5.png]] 2031 2031 2032 2032 2033 - 2034 2034 (% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 2035 2035 2036 2036 (% _msthash="506146" _msttexthash="52173160" %) ... ... @@ -2042,8 +2042,6 @@ 2042 2042 (% _msthash="506146" _msttexthash="52173160" %) 2043 2043 Press and hold the start key to restart and enter (% _mstvisible="1" %)bootlaod(%%) mode. 2044 2044 2045 - 2046 - 2047 2047 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 2048 2048 2049 2049 [[image:image-20220615171334-6.png]] ... ... @@ -2060,7 +2060,6 @@ 2060 2060 Finally,restart reset device again 2061 2061 2062 2062 2063 - 2064 2064 = 7. Order Info = 2065 2065 2066 2066 ... ... @@ -2068,13 +2068,20 @@ 2068 2068 2069 2069 (% style="color:#4f81bd" %)**XX **(%%): The default frequency band 2070 2070 2071 -* (% style="color:#4f81bd" %)** **(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1813 +(% style="color:#4f81bd" %)** **(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1814 + 2072 2072 * (% style="color:#4f81bd" %)** **(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1816 + 2073 2073 * (% style="color:#4f81bd" %)** **(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 1818 + 2074 2074 * (% style="color:#4f81bd" %)** **(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1820 + 2075 2075 * (% style="color:#4f81bd" %)** **(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1822 + 2076 2076 * (% style="color:#4f81bd" %)** **(% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1824 + 2077 2077 * (% style="color:#4f81bd" %)** **(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1826 + 2078 2078 * (% style="color:#4f81bd" %)** **(% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 2079 2079 2080 2080 (% style="color:#4f81bd" %)**YY**(%%): Sensor Accessories ... ... @@ -2096,17 +2096,12 @@ 2096 2096 2097 2097 = 9. Reference material = 2098 2098 2099 - 2100 2100 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 2101 2101 2102 2102 = 10. FCC Warning = 2103 2103 2104 - 2105 2105 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: 2106 2106 2107 2107 (1) This device may not cause harmful interference; 2108 2108 2109 2109 (2) this device must accept any interference received, including interference that may cause undesired operation. 2110 - 2111 - 2112 -
- image-20220906100852-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -251.9 KB - Content
- image-20220906101145-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.3 KB - Content
- image-20220906101145-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.6 KB - Content
- image-20220906101320-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -202.3 KB - Content
- image-20220906101320-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -206.1 KB - Content
- image-20220906101320-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.1 KB - Content
- image-20220906102307-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.3 KB - Content
- image-20220927095645-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -174.1 KB - Content
- image-20221006192726-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.3 KB - Content