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
-
... ... @@ -205,7 +205,6 @@ 205 205 * Go to your application page and click on the **End devices** in the left menu. 206 206 * On the End devices page, click on **+ Register end device**. Two registration options are available: 207 207 208 - 209 209 ==== 3.2.2.1 Using the LoRaWAN Device Repository ==== 210 210 211 211 * On the **Register end device** page: ... ... @@ -551,13 +551,13 @@ 551 551 ((( 552 552 **In addition to that, below are the commands for AVI1 Counting:** 553 553 554 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** 553 +(% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI Count to 60)** 555 555 556 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** 555 +(% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 557 557 558 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** 557 +(% style="color:blue" %)**AT+VOLMAX=20000,0 **(%%)**(If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 559 559 560 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** 559 +(% style="color:blue" %)**AT+VOLMAX=20000,1 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 561 561 ))) 562 562 563 563 ... ... @@ -621,15 +621,17 @@ 621 621 622 622 For example, if you configured the following commands: 623 623 624 -* **AT+MOD=1 ** **~-~->** The normal workingmode623 +* **AT+MOD=1 ** **~-~->** The default work mode 625 625 * **AT+ADDMOD6=1** **~-~->** Enable trigger mode 626 626 627 627 The LT-22222-L will continuously monitor AV1, AV2, AC1, and AC2 every 5 seconds. LT will send uplink packets in two cases: 628 628 629 629 1. Periodically uplink (Based on TDC time). The payload is the same as in normal mode (MOD=1 for the commands above). These are (% style="color:#4f81bd" %)**unconfirmed**(%%) uplinks. 630 -1. Trigger uplink when the trigger condition is met. LT will send two packets in this case. The first uplink uses the payload specified in trigger mode (MOD=6). The second packet uses the normal mode payload (MOD=1 as set above). Both are (% style="color:#4f81bd" %)**CONFIRMED uplinks.** 629 +1. ((( 630 +Trigger uplink when the trigger condition is met. LT will send two packets in this case. The first uplink uses the payload specified in trigger mode (MOD=6). The second packet uses the normal mode payload (MOD=1 as set above). Both are (% style="color:#4f81bd" %)**confirmed uplinks.** 631 +))) 631 631 632 -(% style="color:#037691" %)**AT Command to set Trigger Condition**: 633 +(% style="color:#037691" %)**AT Commands to set Trigger Condition**: 633 633 634 634 (% style="color:#4f81bd" %)**Trigger based on voltage**: 635 635 ... ... @@ -801,51 +801,67 @@ 801 801 ))) 802 802 803 803 804 -== 3.4 Configure LT via AT Commands or Downlinks == 805 +== 3.4 Configure LT-22222-L via AT Commands or Downlinks == 805 805 806 - 807 807 ((( 808 - Usercan configure LT I/O Controller via AT Commands or LoRaWAN Downlinks.808 +You can configure LT-22222-L I/O Controller via AT Commands or LoRaWAN Downlinks. 809 809 ))) 810 810 811 811 ((( 812 812 ((( 813 -There are two kinds ofCommands:813 +There are two tytes of commands: 814 814 ))) 815 815 ))) 816 816 817 -* (% style="color:blue" %)**Common Commands**(%%):They should be available for each sensor, 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]]817 +* (% style="color:blue" %)**Common commands**(%%): 818 818 819 -* (% style="color:blue" %)**Sensor RelatedCommands**(%%):These commands are special designed for LT-22222-L. User can see these commands below:819 +* (% style="color:blue" %)**Sensor-related commands**(%%): 820 820 821 -=== 3.4.1 Common Commands ===821 +=== 3.4.1 Common commands === 822 822 823 823 ((( 824 -These commands should be available for allDraginosensors,such as changing the824 +These are available for each sensors and include actions such as changing the uplink interval or resetting the device. For firmware v1.5.4, you can find the supported common commands under: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]s. 825 825 ))) 826 826 827 +=== 3.4.2 Sensor-related commands === 827 827 828 - ===3.4.2Sensorrelated commands===829 +These commands are specially designed for the LT-22222-L. Commands can be sent to the device using options such as an AT command or a LoRaWAN downlink payload. 829 829 830 830 ==== 3.4.2.1 Set Transmit Interval ==== 831 831 832 832 Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes. 833 833 834 - *(% style="color:#037691" %)**AT command:**835 +(% style="color:#037691" %)**AT command** 835 835 836 -(% style="color:blue" %)**AT+TDC=N** 837 +(% style="width:500px" %) 838 +|Command|AT+TDC<time> 839 +|Response| 840 +|Parameters|<time> uplink interval is in milliseconds 841 +|Example|((( 842 +AT+TDC=30000 837 837 838 -where N is the time in milliseconds. 844 +Sets the uplink interval to 30,000 milliseconds (30 seconds) 845 +))) 839 839 840 - **Example: **AT+TDC=30000. Thiswill set the uplinkintervalto30 seconds847 +(% style="color:#037691" %)**Downlink payload** 841 841 849 +(% style="width:500px" %) 850 +|Payload|((( 851 +<prefix><time> 852 +))) 853 +|Parameters|((( 854 +<prefix> 0x01 842 842 843 -* (% style="color:#037691" %)**Downlink payload (prefix 0x01):** 856 +<time> uplink interval is in milliseconds, represented by 3 bytes in hexadecimal. 857 +))) 858 +|Example|((( 859 +01 **00 75 30** 844 844 845 - (%style="color:blue"%)**0x01aa bb cc **(%%)** ~/~/ SameasAT+TDC=0x(aabbcc)**861 +Sets the uplink interval to 30,000 milliseconds (30 seconds) 846 846 863 +Note: 00 75 30 (hex) = 30000 (dec) 864 +))) 847 847 848 - 849 849 ==== 3.4.2.2 Set the Work Mode (AT+MOD) ==== 850 850 851 851 ... ... @@ -866,8 +866,8 @@ 866 866 867 867 ==== 3.4.2.3 Poll an uplink ==== 868 868 886 +Requests the device to send an uplink. 869 869 870 -Asks the device to send an uplink. 871 871 872 872 * (% style="color:#037691" %)**AT command:**(%%) There is no AT Command to poll uplink 873 873 ... ... @@ -881,7 +881,6 @@ 881 881 882 882 ==== 3.4.2.4 Enable/Disable Trigger Mode ==== 883 883 884 - 885 885 Enable or disable the trigger mode (see also [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]). 886 886 887 887 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ADDMOD6=1 or 0** ... ... @@ -899,9 +899,8 @@ 899 899 900 900 ==== 3.4.2.5 Poll trigger settings ==== 901 901 918 +Polls the trigger settings. 902 902 903 -Polls the trigger settings 904 - 905 905 * (% style="color:#037691" %)**AT Command:** 906 906 907 907 There is no AT Command for this feature. ... ... @@ -912,11 +912,10 @@ 912 912 913 913 914 914 915 -==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 930 +==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as a trigger ==== 916 916 932 +Enable or disable DI1/DI2/DI2 as a trigger. 917 917 918 -Enable or Disable DI1/DI2/DI2 as trigger, 919 - 920 920 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 921 921 922 922 **Example:** AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -928,11 +928,10 @@ 928 928 929 929 930 930 931 -==== 3.4.2.7 Trigger1 – Set DI 1or DI3 as trigger ====945 +==== 3.4.2.7 Trigger1 – Set DI or DI3 as a trigger ==== 932 932 947 +Sets DI1 or DI3 (for LT-33222-L) as a trigger. 933 933 934 -Set DI1 or DI3(for LT-33222-L) trigger. 935 - 936 936 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG1=a,b** 937 937 938 938 (% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). ... ... @@ -947,12 +947,10 @@ 947 947 (% style="color:blue" %)**0x09 01 aa bb cc ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc) 948 948 949 949 963 +==== 3.4.2.8 Trigger2 – Set DI2 as a trigger ==== 950 950 951 - ==== 3.4.2.8 Trigger2 –Set DI2 as trigger====965 +Sets DI2 as a trigger. 952 952 953 - 954 -Sets DI2 trigger. 955 - 956 956 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG2=a,b** 957 957 958 958 (% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1). ... ... @@ -967,12 +967,10 @@ 967 967 (% style="color:blue" %)**0x09 02 aa bb cc ** (%%)~/~/ same as AT+TRIG2=aa,0x(bb cc) 968 968 969 969 981 +==== 3.4.2.9 Trigger – Set AC (current) as a trigger ==== 970 970 971 - ====3.4.2.9Trigger– Set AC(current)astrigger ====983 +Sets the current trigger based on the AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 972 972 973 - 974 -Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 975 - 976 976 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ACLIM** 977 977 978 978 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )** ... ... @@ -983,9 +983,8 @@ 983 983 984 984 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 985 985 995 +Sets the current trigger based on the AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 986 986 987 -Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 988 - 989 989 * (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+AVLIM **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 990 990 991 991 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )** ... ... @@ -993,10 +993,8 @@ 993 993 (% style="color:blue" %)**0x AA 00 aa bb cc dd ee ff gg hh ** (%%) ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 994 994 995 995 996 - 997 997 ==== 3.4.2.11 Trigger – Set minimum interval ==== 998 998 999 - 1000 1000 Sets AV and AC trigger minimum interval. Device won't response to the second trigger within this set time after the first trigger. 1001 1001 1002 1002 * (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+ATDC=5 ** ~/~/ (%%)Device won't response the second trigger within 5 minute after the first trigger. ... ... @@ -1013,6 +1013,7 @@ 1013 1013 1014 1014 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1015 1015 1022 +Controls the digital outputs DO1, DO2, and DO3 1016 1016 1017 1017 * (% style="color:#037691" %)**AT Command** 1018 1018 ... ... @@ -1445,7 +1445,7 @@ 1445 1445 **Downlink data converter (this is an optional step):** 1446 1446 1447 1447 * Click the **Create new** button if it is not selected by default. 1448 -* Enter a suitable name for the downlink data converter in the **Name **text** **box or keep the default name 1455 +* Enter a suitable name for the downlink data converter in the **Name **text** **box or keep the default name. 1449 1449 * Click the **JavaScript** button. 1450 1450 * Paste the downlink decoder function into the text area (first, delete the default code). The demo downlink decoder function can be found [[here>>https://raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Downlink_Converter.js]]. 1451 1451 * Click the **Next** button. You will be navigated to the **Connection** tab. ... ... @@ -1457,7 +1457,7 @@ 1457 1457 1458 1458 * Choose **Region** from the **Host type**. 1459 1459 * Enter the **cluster** of your **The Things Stack** in the **Region** textbox. You can find the cluster in the url (e.g., https:~/~/**eu1**.cloud.thethings.network/...). 1460 -* Enter the **Username** and **Password** of the MQTT integration in the **Credentials** section. The username and password can be found on the MQTT integration page of your The Things Stack account (see Configuring MQTT Connection information withThe Things StackSandbox).1467 +* Enter the **Username** and **Password** of the MQTT integration in the **Credentials** section. The **username **and **password **can be found on the MQTT integration page of your The Things Stack account (see Configuring The Things Stack). 1461 1461 * Click the **Check connection** button to test the connection. If the connection is successful, you will see the message saying **Connected**. 1462 1462 1463 1463 [[image:message-1.png]]