Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -19,6 +19,8 @@ 19 19 == 1.1 What is LT Series I/O Controller == 20 20 21 21 ((( 22 + 23 + 22 22 The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring. 23 23 ))) 24 24 ... ... @@ -48,6 +48,7 @@ 48 48 49 49 ))) 50 50 53 + 51 51 == 1.2 Specifications == 52 52 53 53 ((( ... ... @@ -76,6 +76,8 @@ 76 76 ))) 77 77 78 78 ((( 82 + 83 + 79 79 **Interface for Model: LT22222-L:** 80 80 ))) 81 81 ... ... @@ -99,6 +99,8 @@ 99 99 ))) 100 100 101 101 ((( 107 + 108 + 102 102 **LoRa Spec:** 103 103 ))) 104 104 ... ... @@ -159,6 +159,8 @@ 159 159 * ((( 160 160 Packet engine up to 256 bytes with CRC. 161 161 169 + 170 + 162 162 163 163 ))) 164 164 ... ... @@ -172,6 +172,8 @@ 172 172 * Firmware upgradable via program port 173 173 * Counting 174 174 184 + 185 + 175 175 == 1.4 Applications == 176 176 177 177 * Smart Buildings & Home Automation ... ... @@ -181,6 +181,8 @@ 181 181 * Smart Cities 182 182 * Smart Factory 183 183 195 + 196 + 184 184 == 1.5 Hardware Variants == 185 185 186 186 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -194,6 +194,7 @@ 194 194 * 1 x Counting Port 195 195 ))) 196 196 210 + 197 197 = 2. Power ON Device = 198 198 199 199 The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller. ... ... @@ -216,12 +216,9 @@ 216 216 217 217 ((( 218 218 In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices. 219 - 220 - 221 221 ))) 222 222 223 223 224 - 225 225 == 3.2 Example to join LoRaWAN network == 226 226 227 227 ((( ... ... @@ -230,12 +230,13 @@ 230 230 231 231 [[image:image-20220523172350-1.png||height="266" width="864"]] 232 232 244 + 233 233 ((( 234 234 The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN: 235 235 ))) 236 236 237 237 ((( 238 -**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller. 250 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller. 239 239 ))) 240 240 241 241 ((( ... ... @@ -244,6 +244,7 @@ 244 244 245 245 [[image:1653297924498-393.png]] 246 246 259 + 247 247 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 248 248 249 249 Add APP EUI in the application. ... ... @@ -257,7 +257,7 @@ 257 257 258 258 259 259 ((( 260 -**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel. 273 +(% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel. 261 261 ))) 262 262 263 263 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -275,6 +275,8 @@ 275 275 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 276 276 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 277 277 291 + 292 + 278 278 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 279 279 280 280 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -282,6 +282,8 @@ 282 282 [[image:image-20220523174024-3.png]] 283 283 284 284 ((( 300 + 301 + 285 285 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 286 286 ))) 287 287 ... ... @@ -311,7 +311,6 @@ 311 311 * [1] RO1 relay channel is close and the RO1 LED is ON. 312 312 * [0] RO2 relay channel is open and RO2 LED is OFF; 313 313 314 - 315 315 **LT22222-L:** 316 316 317 317 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -365,12 +365,7 @@ 365 365 ((( 366 366 ((( 367 367 **AT+MOD=2** 368 -))) 369 -))) 370 370 371 -(% class="box infomessage" %) 372 -((( 373 -((( 374 374 **ATZ** 375 375 ))) 376 376 ))) ... ... @@ -389,40 +389,15 @@ 389 389 ((( 390 390 ((( 391 391 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 392 -))) 393 -))) 394 394 395 -(% class="box infomessage" %) 396 -((( 397 -((( 398 398 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 399 -))) 400 -))) 401 401 402 -(% class="box infomessage" %) 403 -((( 404 -((( 405 405 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 406 -))) 407 -))) 408 408 409 -(% class="box infomessage" %) 410 -((( 411 -((( 412 412 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 413 -))) 414 -))) 415 415 416 -(% class="box infomessage" %) 417 -((( 418 -((( 419 419 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 420 -))) 421 -))) 422 422 423 -(% class="box infomessage" %) 424 -((( 425 -((( 426 426 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 427 427 ))) 428 428 ))) ... ... @@ -457,12 +457,7 @@ 457 457 ((( 458 458 ((( 459 459 **AT+MOD=3** 460 -))) 461 -))) 462 462 463 -(% class="box infomessage" %) 464 -((( 465 -((( 466 466 **ATZ** 467 467 ))) 468 468 ))) ... ... @@ -469,11 +469,10 @@ 469 469 470 470 ((( 471 471 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 472 - 473 - 474 474 ))) 475 475 476 476 456 + 477 477 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 478 478 479 479 ... ... @@ -508,20 +508,13 @@ 508 508 ((( 509 509 ((( 510 510 **AT+MOD=4** 511 -))) 512 -))) 513 513 514 -(% class="box infomessage" %) 515 -((( 516 -((( 517 517 **ATZ** 518 518 ))) 519 519 ))) 520 520 521 -((( 522 - 523 -))) 524 524 497 + 525 525 ((( 526 526 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 527 527 ))) ... ... @@ -535,33 +535,17 @@ 535 535 (% class="box infomessage" %) 536 536 ((( 537 537 ((( 538 -**AT+SETCNT=3,60 (set AVI Count to 60)** 539 -))) 540 -))) 511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 541 541 542 -(% class="box infomessage" %) 543 -((( 544 -((( 545 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 546 -))) 547 -))) 513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 548 548 549 -(% class="box infomessage" %) 550 -((( 551 -((( 552 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 553 -))) 554 -))) 515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 555 555 556 -(% class="box infomessage" %) 557 -((( 558 -((( 559 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 517 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 560 560 ))) 561 561 ))) 562 562 563 563 564 - 565 565 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 566 566 567 567 ... ... @@ -595,12 +595,7 @@ 595 595 ((( 596 596 ((( 597 597 **AT+MOD=5** 598 -))) 599 -))) 600 600 601 -(% class="box infomessage" %) 602 -((( 603 -((( 604 604 **ATZ** 605 605 ))) 606 606 ))) ... ... @@ -626,7 +626,7 @@ 626 626 1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type 627 627 1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.** 628 628 629 -**AT Command to set Trigger Condition**: 581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 630 630 631 631 (% style="color:#4f81bd" %)**Trigger base on voltage**: 632 632 ... ... @@ -639,6 +639,7 @@ 639 639 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 640 640 641 641 594 + 642 642 (% style="color:#4f81bd" %)**Trigger base on current**: 643 643 644 644 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -648,6 +648,7 @@ 648 648 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 649 649 650 650 604 + 651 651 (% style="color:#4f81bd" %)**Trigger base on DI status**: 652 652 653 653 DI status trigger Flag. ... ... @@ -654,12 +654,13 @@ 654 654 655 655 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 656 656 611 + 657 657 **Example:** 658 658 659 659 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 660 660 661 661 662 -**Downlink Command to set Trigger Condition** 617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 663 663 664 664 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 665 665 ... ... @@ -688,6 +688,7 @@ 688 688 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 689 689 690 690 646 + 691 691 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 692 692 693 693 MOD6 Payload : total 11 bytes payload ... ... @@ -751,7 +751,6 @@ 751 751 ))) 752 752 753 753 754 - 755 755 == 3.4 Configure LT via AT or Downlink == 756 756 757 757 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -765,6 +765,7 @@ 765 765 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 766 766 767 767 723 + 768 768 === 3.4.1 Common Commands === 769 769 770 770 They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] ... ... @@ -777,7 +777,7 @@ 777 777 778 778 Set device uplink interval. 779 779 780 -* AT Command: 736 +* (% style="color:#037691" %)**AT Command:** 781 781 782 782 (% class="box infomessage" %) 783 783 ((( ... ... @@ -787,7 +787,7 @@ 787 787 **Example: **AT+TDC=30000. Means set interval to 30 seconds 788 788 789 789 790 -* Downlink Payload (prefix 0x01): 746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 791 791 792 792 (% class="box infomessage" %) 793 793 ((( ... ... @@ -800,7 +800,7 @@ 800 800 801 801 Set work mode. 802 802 803 -* AT Command: 759 +* (% style="color:#037691" %)**AT Command:** 804 804 805 805 (% class="box infomessage" %) 806 806 ((( ... ... @@ -810,7 +810,7 @@ 810 810 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 811 811 812 812 813 -* Downlink Payload (prefix 0x0A): 769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 814 814 815 815 (% class="box infomessage" %) 816 816 ((( ... ... @@ -821,12 +821,12 @@ 821 821 822 822 ==== 3.4.2.3 Poll an uplink ==== 823 823 824 -* AT Command: 780 +* (% style="color:#037691" %)AT Command: 825 825 826 826 There is no AT Command to poll uplink 827 827 828 828 829 -* Downlink Payload (prefix 0x08): 785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08): 830 830 831 831 (% class="box infomessage" %) 832 832 ((( ... ... @@ -841,7 +841,7 @@ 841 841 842 842 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 843 843 844 -* AT Command: 800 +* (% style="color:#037691" %)AT Command: 845 845 846 846 (% class="box infomessage" %) 847 847 ((( ... ... @@ -853,7 +853,7 @@ 853 853 0: Disable Trigger Mode 854 854 855 855 856 -* Downlink Payload (prefix 0x0A 06): 812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06): 857 857 858 858 (% class="box infomessage" %) 859 859 ((( ... ... @@ -866,12 +866,12 @@ 866 866 867 867 Poll trigger settings, 868 868 869 -* AT Command: 825 +* (% style="color:#037691" %)AT Command: 870 870 871 871 There is no AT Command for this feature. 872 872 873 873 874 -* Downlink Payload (prefix 0x AB 06): 830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06): 875 875 876 876 (% class="box infomessage" %) 877 877 ((( ... ... @@ -884,7 +884,7 @@ 884 884 885 885 Enable Disable DI1/DI2/DI2 as trigger, 886 886 887 -* AT Command: 843 +* (% style="color:#037691" %)AT Command: 888 888 889 889 (% class="box infomessage" %) 890 890 ((( ... ... @@ -896,7 +896,7 @@ 896 896 897 897 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 898 898 899 -* Downlink Payload (prefix 0xAA 02): 855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02): 900 900 901 901 (% class="box infomessage" %) 902 902 ((( ... ... @@ -909,7 +909,7 @@ 909 909 910 910 Set DI1 or DI3(for LT-33222-L) trigger. 911 911 912 -* AT Command: 868 +* (% style="color:#037691" %)AT Command: 913 913 914 914 (% class="box infomessage" %) 915 915 ((( ... ... @@ -926,7 +926,7 @@ 926 926 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 927 927 928 928 929 -* Downlink Payload (prefix 0x09 01 ): 885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ): 930 930 931 931 (% class="box infomessage" %) 932 932 ((( ... ... @@ -939,7 +939,7 @@ 939 939 940 940 Set DI2 trigger. 941 941 942 -* AT Command: 898 +* (% style="color:#037691" %)AT Command: 943 943 944 944 (% class="box infomessage" %) 945 945 ((( ... ... @@ -956,7 +956,7 @@ 956 956 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 957 957 958 958 959 -* Downlink Payload (prefix 0x09 02 ): 915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ): 960 960 961 961 (% class="box infomessage" %) 962 962 ((( ... ... @@ -969,78 +969,60 @@ 969 969 970 970 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 971 971 972 -* AT Command: 928 +* (% style="color:#037691" %)AT Command: 973 973 974 -(% class="box infomessage" %) 975 -((( 976 -**AT+ACLIM. ** 977 -))) 930 +**AT+ACLIM** 978 978 979 979 980 -* Downlink Payload (prefix 0xAA 01 ): 933 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ): 981 981 982 -(% class="box infomessage" %) 983 -((( 984 -**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 985 -))) 935 +**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 986 986 987 987 988 988 939 + 989 989 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 990 990 991 991 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 992 992 993 -* AT Command: 944 +* (% style="color:#037691" %)**AT Command:** 994 994 995 -(% class="box infomessage" %) 996 -((( 997 -**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 998 -))) 946 +**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 999 999 1000 1000 1001 -* Downlink Payload (prefix 0xAA 00 ): 949 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 ):** 1002 1002 1003 -(% class="box infomessage" %) 1004 -((( 1005 -**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ** 1006 -))) 951 +**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1007 1007 1008 1008 1009 1009 955 + 1010 1010 ==== 3.4.2.11 Trigger – Set minimum interval ==== 1011 1011 1012 1012 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 1013 1013 1014 -* AT Command: 960 +* (% style="color:#037691" %)**AT Command:** 1015 1015 1016 -(% class="box infomessage" %) 1017 -((( 1018 1018 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1019 -))) 1020 1020 1021 1021 1022 -* Downlink Payload (prefix 0xAC ): 965 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC ):** 1023 1023 1024 -(% class="box infomessage" %) 1025 -((( 1026 -**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 1027 -))) 967 +**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 1028 1028 1029 1029 1030 1030 971 + 1031 1031 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1032 1032 1033 -* AT Command: 974 +* (% style="color:#037691" %)**AT Command:** 1034 1034 1035 1035 There is no AT Command to control Digital Output 1036 1036 1037 1037 1038 -* Downlink Payload (prefix 0x02): 979 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x02):** 980 +* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1039 1039 1040 -(% class="box infomessage" %) 1041 -((( 1042 -**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 1043 -))) 1044 1044 1045 1045 ((( 1046 1046 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. ... ... @@ -1062,22 +1062,19 @@ 1062 1062 1063 1063 1064 1064 1003 + 1065 1065 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1066 1066 1067 -* AT Command: 1006 +* (% style="color:#037691" %)**AT Command:** 1068 1068 1069 1069 There is no AT Command to control Digital Output 1070 1070 1071 1071 1072 -* Downlink Payload (prefix 0xA9): 1011 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9):** 1073 1073 1074 -(% class="box infomessage" %) 1075 -((( 1076 -((( 1077 -**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1078 -))) 1079 -))) 1013 +**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1080 1080 1015 + 1081 1081 This is to control the digital output time of DO pin. Include four bytes: 1082 1082 1083 1083 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1131,20 +1131,19 @@ 1131 1131 1132 1132 1133 1133 1069 + 1134 1134 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1135 1135 1136 -* AT Command: 1072 +* (% style="color:#037691" %)**AT Command:** 1137 1137 1138 1138 There is no AT Command to control Relay Output 1139 1139 1140 1140 1141 -* Downlink Payload (prefix 0x03): 1077 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):** 1142 1142 1143 -(% class="box infomessage" %) 1144 -((( 1145 -**0x03 aa bb ~/~/ Set RO1/RO2 output** 1146 -))) 1079 +**0x03 aa bb **~/~/ Set RO1/RO2 output 1147 1147 1081 + 1148 1148 ((( 1149 1149 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1150 1150 ))) ... ... @@ -1161,20 +1161,19 @@ 1161 1161 1162 1162 1163 1163 1098 + 1164 1164 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1165 1165 1166 -* AT Command: 1101 +* (% style="color:#037691" %)**AT Command:** 1167 1167 1168 1168 There is no AT Command to control Relay Output 1169 1169 1170 1170 1171 -* Downlink Payload (prefix 0x05): 1106 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1172 1172 1173 -(% class="box infomessage" %) 1174 -((( 1175 -**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1176 -))) 1108 +**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1177 1177 1110 + 1178 1178 This is to control the relay output time of relay. Include four bytes: 1179 1179 1180 1180 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1216,35 +1216,28 @@ 1216 1216 1217 1217 1218 1218 1152 + 1219 1219 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1220 1220 1221 1221 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1222 1222 1223 -* AT Command: 1157 +* (% style="color:#037691" %)**AT Command:** 1224 1224 1225 -(% class="box infomessage" %) 1226 -((( 1227 -**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1228 -))) 1159 +(% style="color:#037691" %)****(%%)**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1229 1229 1230 1230 1231 -* Downlink Payload (prefix 0xA5): 1162 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1232 1232 1233 -(% class="box infomessage" %) 1234 -((( 1235 -**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1236 -))) 1164 +**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1237 1237 1238 1238 1239 1239 1168 + 1240 1240 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1241 1241 1242 -* AT Command: 1171 +* (% style="color:#037691" %)**AT Command:** 1243 1243 1244 -(% class="box infomessage" %) 1245 -((( 1246 -**AT+SETCNT=aa,(bb cc dd ee) ** 1247 -))) 1173 +(% style="color:#037691" %)****(%%)**AT+SETCNT=aa,(bb cc dd ee) ** 1248 1248 1249 1249 aa: 1: Set count1, 1250 1250 ... ... @@ -1255,51 +1255,40 @@ 1255 1255 Bb cc dd ee: number to be set 1256 1256 1257 1257 1258 -* Downlink Payload (prefix 0xA8): 1184 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1259 1259 1260 -(% class="box infomessage" %) 1261 -((( 1262 -**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1263 -))) 1186 +**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1264 1264 1265 1265 1266 1266 1190 + 1267 1267 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1268 1268 1269 1269 Clear counting for counting mode 1270 1270 1271 -* AT Command: 1195 +* (% style="color:#037691" %)**AT Command:** 1272 1272 1273 -(% class="box infomessage" %) 1274 -((( 1275 -**AT+CLRCOUNT ~/~/ clear all counting** 1276 -))) 1197 +(% style="color:#037691" %)(%%)**AT+CLRCOUNT ** ~/~/ clear all counting 1277 1277 1278 -* Downlink Payload (prefix 0xA6): 1279 1279 1280 -(% class="box infomessage" %) 1281 -((( 1282 -**0x A6 01 ~/~/ clear all counting,** 1283 -))) 1200 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1284 1284 1202 +**0x A6 01 ** ~/~/ clear all counting 1285 1285 1286 1286 1205 + 1206 + 1287 1287 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1288 1288 1289 -* AT Command: 1209 +* (% style="color:#037691" %)**AT Command:** 1290 1290 1291 -(% class="box infomessage" %) 1292 -((( 1293 -**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1294 -))) 1211 +**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1295 1295 1296 -* Downlink Payload (prefix 0xA7): 1297 1297 1298 -(% class="box infomessage" %) 1299 -((( 1300 -**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1301 -))) 1214 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1302 1302 1216 +**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1217 + 1303 1303 ((( 1304 1304 range: aa bb cc:0 to 16777215, (unit:second) 1305 1305 ... ... @@ -1307,6 +1307,7 @@ 1307 1307 ))) 1308 1308 1309 1309 1225 + 1310 1310 == 3.5 Integrate with Mydevice == 1311 1311 1312 1312 Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: ... ... @@ -1996,8 +1996,16 @@ 1996 1996 ))) 1997 1997 1998 1998 ((( 1999 - 1915 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2000 2000 1917 +If the device is not shut down, but directly powered off. 1918 + 1919 +It will default that this is a power-off state. 1920 + 1921 +In modes 2 to 5, DO RO status and pulse count are saved in flash. 1922 + 1923 +After restart, the status before power failure will be read from flash. 1924 + 2001 2001 = 6. Trouble Shooting = 2002 2002 ))) 2003 2003