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,8 +216,6 @@ 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 ... ... @@ -277,6 +277,7 @@ 277 277 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 278 278 279 279 292 + 280 280 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 281 281 282 282 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -315,7 +315,6 @@ 315 315 * [1] RO1 relay channel is close and the RO1 LED is ON. 316 316 * [0] RO2 relay channel is open and RO2 LED is OFF; 317 317 318 - 319 319 **LT22222-L:** 320 320 321 321 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -332,6 +332,7 @@ 332 332 ** DO1 LED is off in both case 333 333 334 334 347 + 335 335 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 336 336 337 337 ... ... @@ -368,12 +368,7 @@ 368 368 ((( 369 369 ((( 370 370 **AT+MOD=2** 371 -))) 372 -))) 373 373 374 -(% class="box infomessage" %) 375 -((( 376 -((( 377 377 **ATZ** 378 378 ))) 379 379 ))) ... ... @@ -392,40 +392,15 @@ 392 392 ((( 393 393 ((( 394 394 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 395 -))) 396 -))) 397 397 398 -(% class="box infomessage" %) 399 -((( 400 -((( 401 401 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 402 -))) 403 -))) 404 404 405 -(% class="box infomessage" %) 406 -((( 407 -((( 408 408 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 409 -))) 410 -))) 411 411 412 -(% class="box infomessage" %) 413 -((( 414 -((( 415 415 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 416 -))) 417 -))) 418 418 419 -(% class="box infomessage" %) 420 -((( 421 -((( 422 422 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 423 -))) 424 -))) 425 425 426 -(% class="box infomessage" %) 427 -((( 428 -((( 429 429 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 430 430 ))) 431 431 ))) ... ... @@ -460,12 +460,7 @@ 460 460 ((( 461 461 ((( 462 462 **AT+MOD=3** 463 -))) 464 -))) 465 465 466 -(% class="box infomessage" %) 467 -((( 468 -((( 469 469 **ATZ** 470 470 ))) 471 471 ))) ... ... @@ -472,11 +472,10 @@ 472 472 473 473 ((( 474 474 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 475 - 476 - 477 477 ))) 478 478 479 479 456 + 480 480 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 481 481 482 482 ... ... @@ -511,20 +511,13 @@ 511 511 ((( 512 512 ((( 513 513 **AT+MOD=4** 514 -))) 515 -))) 516 516 517 -(% class="box infomessage" %) 518 -((( 519 -((( 520 520 **ATZ** 521 521 ))) 522 522 ))) 523 523 524 -((( 525 - 526 -))) 527 527 497 + 528 528 ((( 529 529 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 530 530 ))) ... ... @@ -538,33 +538,17 @@ 538 538 (% class="box infomessage" %) 539 539 ((( 540 540 ((( 541 -**AT+SETCNT=3,60 (set AVI Count to 60)** 542 -))) 543 -))) 511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 544 544 545 -(% class="box infomessage" %) 546 -((( 547 -((( 548 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 549 -))) 550 -))) 513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 551 551 552 -(% class="box infomessage" %) 553 -((( 554 -((( 555 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 556 -))) 557 -))) 515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 558 558 559 -(% class="box infomessage" %) 560 -((( 561 -((( 562 -**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)** 563 563 ))) 564 564 ))) 565 565 566 566 567 - 568 568 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 569 569 570 570 ... ... @@ -598,12 +598,7 @@ 598 598 ((( 599 599 ((( 600 600 **AT+MOD=5** 601 -))) 602 -))) 603 603 604 -(% class="box infomessage" %) 605 -((( 606 -((( 607 607 **ATZ** 608 608 ))) 609 609 ))) ... ... @@ -629,9 +629,8 @@ 629 629 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 630 630 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.** 631 631 581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 632 632 633 -**AT Command to set Trigger Condition**: 634 - 635 635 (% style="color:#4f81bd" %)**Trigger base on voltage**: 636 636 637 637 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> ... ... @@ -666,7 +666,7 @@ 666 666 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 667 667 668 668 669 -**Downlink Command to set Trigger Condition:** 617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 670 670 671 671 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 672 672 ... ... @@ -709,7 +709,6 @@ 709 709 710 710 * Each bits shows if the corresponding trigger has been configured. 711 711 712 - 713 713 **Example:** 714 714 715 715 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -721,7 +721,6 @@ 721 721 722 722 * Each bits shows which status has been trigger on this uplink. 723 723 724 - 725 725 **Example:** 726 726 727 727 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -733,7 +733,6 @@ 733 733 734 734 * Each bits shows which status has been trigger on this uplink. 735 735 736 - 737 737 **Example:** 738 738 739 739 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -762,7 +762,6 @@ 762 762 ))) 763 763 764 764 765 - 766 766 == 3.4 Configure LT via AT or Downlink == 767 767 768 768 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -776,6 +776,7 @@ 776 776 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 777 777 778 778 723 + 779 779 === 3.4.1 Common Commands === 780 780 781 781 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]] ... ... @@ -788,7 +788,7 @@ 788 788 789 789 Set device uplink interval. 790 790 791 -* AT Command: 736 +* (% style="color:#037691" %)**AT Command:** 792 792 793 793 (% class="box infomessage" %) 794 794 ((( ... ... @@ -798,7 +798,7 @@ 798 798 **Example: **AT+TDC=30000. Means set interval to 30 seconds 799 799 800 800 801 -* Downlink Payload (prefix 0x01): 746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 802 802 803 803 (% class="box infomessage" %) 804 804 ((( ... ... @@ -811,7 +811,7 @@ 811 811 812 812 Set work mode. 813 813 814 -* AT Command: 759 +* (% style="color:#037691" %)**AT Command:** 815 815 816 816 (% class="box infomessage" %) 817 817 ((( ... ... @@ -821,7 +821,7 @@ 821 821 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 822 822 823 823 824 -* Downlink Payload (prefix 0x0A): 769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 825 825 826 826 (% class="box infomessage" %) 827 827 ((( ... ... @@ -832,12 +832,12 @@ 832 832 833 833 ==== 3.4.2.3 Poll an uplink ==== 834 834 835 -* AT Command: 780 +* (% style="color:#037691" %)AT Command: 836 836 837 837 There is no AT Command to poll uplink 838 838 839 839 840 -* Downlink Payload (prefix 0x08): 785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08): 841 841 842 842 (% class="box infomessage" %) 843 843 ((( ... ... @@ -852,7 +852,7 @@ 852 852 853 853 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 854 854 855 -* AT Command: 800 +* (% style="color:#037691" %)AT Command: 856 856 857 857 (% class="box infomessage" %) 858 858 ((( ... ... @@ -864,7 +864,7 @@ 864 864 0: Disable Trigger Mode 865 865 866 866 867 -* Downlink Payload (prefix 0x0A 06): 812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06): 868 868 869 869 (% class="box infomessage" %) 870 870 ((( ... ... @@ -877,12 +877,12 @@ 877 877 878 878 Poll trigger settings, 879 879 880 -* AT Command: 825 +* (% style="color:#037691" %)AT Command: 881 881 882 882 There is no AT Command for this feature. 883 883 884 884 885 -* Downlink Payload (prefix 0x AB 06): 830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06): 886 886 887 887 (% class="box infomessage" %) 888 888 ((( ... ... @@ -895,7 +895,7 @@ 895 895 896 896 Enable Disable DI1/DI2/DI2 as trigger, 897 897 898 -* AT Command: 843 +* (% style="color:#037691" %)AT Command: 899 899 900 900 (% class="box infomessage" %) 901 901 ((( ... ... @@ -907,7 +907,7 @@ 907 907 908 908 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 909 909 910 -* Downlink Payload (prefix 0xAA 02): 855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02): 911 911 912 912 (% class="box infomessage" %) 913 913 ((( ... ... @@ -920,7 +920,7 @@ 920 920 921 921 Set DI1 or DI3(for LT-33222-L) trigger. 922 922 923 -* AT Command: 868 +* (% style="color:#037691" %)AT Command: 924 924 925 925 (% class="box infomessage" %) 926 926 ((( ... ... @@ -937,7 +937,7 @@ 937 937 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 938 938 939 939 940 -* Downlink Payload (prefix 0x09 01 ): 885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ): 941 941 942 942 (% class="box infomessage" %) 943 943 ((( ... ... @@ -950,7 +950,7 @@ 950 950 951 951 Set DI2 trigger. 952 952 953 -* AT Command: 898 +* (% style="color:#037691" %)AT Command: 954 954 955 955 (% class="box infomessage" %) 956 956 ((( ... ... @@ -967,7 +967,7 @@ 967 967 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 968 968 969 969 970 -* Downlink Payload (prefix 0x09 02 ): 915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ): 971 971 972 972 (% class="box infomessage" %) 973 973 ((( ... ... @@ -980,7 +980,7 @@ 980 980 981 981 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 982 982 983 -* AT Command: 928 +* (% style="color:#037691" %)AT Command: 984 984 985 985 (% class="box infomessage" %) 986 986 ((( ... ... @@ -988,7 +988,7 @@ 988 988 ))) 989 989 990 990 991 -* Downlink Payload (prefix 0xAA 01 ): 936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ): 992 992 993 993 (% class="box infomessage" %) 994 994 ((( ... ... @@ -1001,7 +1001,7 @@ 1001 1001 1002 1002 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1003 1003 1004 -* AT Command: 949 +* (% style="color:#037691" %)AT Command: 1005 1005 1006 1006 (% class="box infomessage" %) 1007 1007 ((( ... ... @@ -1009,7 +1009,7 @@ 1009 1009 ))) 1010 1010 1011 1011 1012 -* Downlink Payload (prefix 0xAA 00 ): 957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ): 1013 1013 1014 1014 (% class="box infomessage" %) 1015 1015 ((( ... ... @@ -1022,7 +1022,7 @@ 1022 1022 1023 1023 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 1024 1024 1025 -* AT Command: 970 +* (% style="color:#037691" %)AT Command: 1026 1026 1027 1027 (% class="box infomessage" %) 1028 1028 ((( ... ... @@ -1030,7 +1030,7 @@ 1030 1030 ))) 1031 1031 1032 1032 1033 -* Downlink Payload (prefix 0xAC ): 978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ): 1034 1034 1035 1035 (% class="box infomessage" %) 1036 1036 ((( ... ... @@ -1041,12 +1041,12 @@ 1041 1041 1042 1042 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1043 1043 1044 -* AT Command: 989 +* (% style="color:#037691" %)AT Command: 1045 1045 1046 1046 There is no AT Command to control Digital Output 1047 1047 1048 1048 1049 -* Downlink Payload (prefix 0x02): 994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02): 1050 1050 1051 1051 (% class="box infomessage" %) 1052 1052 ((( ... ... @@ -1075,12 +1075,12 @@ 1075 1075 1076 1076 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1077 1077 1078 -* AT Command: 1023 +* (% style="color:#037691" %)AT Command: 1079 1079 1080 1080 There is no AT Command to control Digital Output 1081 1081 1082 1082 1083 -* Downlink Payload (prefix 0xA9): 1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9): 1084 1084 1085 1085 (% class="box infomessage" %) 1086 1086 ((( ... ... @@ -1144,12 +1144,12 @@ 1144 1144 1145 1145 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1146 1146 1147 -* AT Command: 1092 +* (% style="color:#037691" %)AT Command: 1148 1148 1149 1149 There is no AT Command to control Relay Output 1150 1150 1151 1151 1152 -* Downlink Payload (prefix 0x03): 1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03): 1153 1153 1154 1154 (% class="box infomessage" %) 1155 1155 ((( ... ... @@ -1174,18 +1174,16 @@ 1174 1174 1175 1175 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1176 1176 1177 -* AT Command: 1122 +* (% style="color:#037691" %)AT Command: 1178 1178 1179 1179 There is no AT Command to control Relay Output 1180 1180 1181 1181 1182 -* Downlink Payload (prefix 0x05): 1127 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1183 1183 1184 -(% class="box infomessage" %) 1185 -((( 1186 -**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1187 -))) 1129 +**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1188 1188 1131 + 1189 1189 This is to control the relay output time of relay. Include four bytes: 1190 1190 1191 1191 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1227,35 +1227,28 @@ 1227 1227 1228 1228 1229 1229 1173 + 1230 1230 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1231 1231 1232 1232 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1233 1233 1234 -* AT Command: 1178 +* (% style="color:#037691" %)**AT Command:** 1235 1235 1236 -(% class="box infomessage" %) 1237 -((( 1238 -**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1239 -))) 1180 +(% style="color:#037691" %)****(%%)**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1240 1240 1241 1241 1242 -* Downlink Payload (prefix 0xA5): 1183 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1243 1243 1244 -(% class="box infomessage" %) 1245 -((( 1246 -**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1247 -))) 1185 +**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1248 1248 1249 1249 1250 1250 1189 + 1251 1251 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1252 1252 1253 -* AT Command: 1192 +* (% style="color:#037691" %)**AT Command:** 1254 1254 1255 -(% class="box infomessage" %) 1256 -((( 1257 -**AT+SETCNT=aa,(bb cc dd ee) ** 1258 -))) 1194 +(% style="color:#037691" %)****(%%)**AT+SETCNT=aa,(bb cc dd ee) ** 1259 1259 1260 1260 aa: 1: Set count1, 1261 1261 ... ... @@ -1266,51 +1266,40 @@ 1266 1266 Bb cc dd ee: number to be set 1267 1267 1268 1268 1269 -* Downlink Payload (prefix 0xA8): 1205 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1270 1270 1271 -(% class="box infomessage" %) 1272 -((( 1273 -**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1274 -))) 1207 +**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1275 1275 1276 1276 1277 1277 1211 + 1278 1278 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1279 1279 1280 1280 Clear counting for counting mode 1281 1281 1282 -* AT Command: 1216 +* (% style="color:#037691" %)**AT Command:** 1283 1283 1284 -(% class="box infomessage" %) 1285 -((( 1286 -**AT+CLRCOUNT ~/~/ clear all counting** 1287 -))) 1218 +(% style="color:#037691" %)(%%)**AT+CLRCOUNT ** ~/~/ clear all counting 1288 1288 1289 -* Downlink Payload (prefix 0xA6): 1290 1290 1291 -(% class="box infomessage" %) 1292 -((( 1293 -**0x A6 01 ~/~/ clear all counting,** 1294 -))) 1221 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1295 1295 1223 +**0x A6 01 ** ~/~/ clear all counting 1296 1296 1297 1297 1226 + 1227 + 1298 1298 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1299 1299 1300 -* AT Command: 1230 +* (% style="color:#037691" %)**AT Command:** 1301 1301 1302 -(% class="box infomessage" %) 1303 -((( 1304 -**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1305 -))) 1232 +**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1306 1306 1307 -* Downlink Payload (prefix 0xA7): 1308 1308 1309 -(% class="box infomessage" %) 1310 -((( 1311 -**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1312 -))) 1235 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1313 1313 1237 +**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1238 + 1314 1314 ((( 1315 1315 range: aa bb cc:0 to 16777215, (unit:second) 1316 1316 ... ... @@ -1318,6 +1318,7 @@ 1318 1318 ))) 1319 1319 1320 1320 1246 + 1321 1321 == 3.5 Integrate with Mydevice == 1322 1322 1323 1323 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: ... ... @@ -2007,8 +2007,16 @@ 2007 2007 ))) 2008 2008 2009 2009 ((( 2010 - 1936 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2011 2011 1938 +If the device is not shut down, but directly powered off. 1939 + 1940 +It will default that this is a power-off state. 1941 + 1942 +In modes 2 to 5, DO RO status and pulse count are saved in flash. 1943 + 1944 +After restart, the status before power failure will be read from flash. 1945 + 2012 2012 = 6. Trouble Shooting = 2013 2013 ))) 2014 2014