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,6 +205,7 @@ 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 + 208 208 ==== 3.2.2.1 Using the LoRaWAN Device Repository ==== 209 209 210 210 * On the **Register end device** page: ... ... @@ -550,13 +550,13 @@ 550 550 ((( 551 551 **In addition to that, below are the commands for AVI1 Counting:** 552 552 553 -(% style="color:blue" %)**AT+SETCNT=3,60 554 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (Sets AVI Count to 60)** 554 554 555 -(% style="color:blue" %)**AT+VOLMAX=20000 556 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 556 556 557 -(% style="color:blue" %)**AT+VOLMAX=20000,0 558 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 558 558 559 -(% style="color:blue" %)**AT+VOLMAX=20000,1 560 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 560 560 ))) 561 561 562 562 ... ... @@ -620,17 +620,15 @@ 620 620 621 621 For example, if you configured the following commands: 622 622 623 -* **AT+MOD=1 ** **~-~->** The defaultwork mode624 +* **AT+MOD=1 ** **~-~->** The normal working mode 624 624 * **AT+ADDMOD6=1** **~-~->** Enable trigger mode 625 625 626 626 The LT-22222-L will continuously monitor AV1, AV2, AC1, and AC2 every 5 seconds. LT will send uplink packets in two cases: 627 627 628 628 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. 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 -))) 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.** 632 632 633 -(% style="color:#037691" %)**AT Command sto set Trigger Condition**:632 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 634 634 635 635 (% style="color:#4f81bd" %)**Trigger based on voltage**: 636 636 ... ... @@ -802,67 +802,51 @@ 802 802 ))) 803 803 804 804 805 -== 3.4 Configure LT -22222-Lvia AT Commands or Downlinks ==804 +== 3.4 Configure LT via AT Commands or Downlinks == 806 806 806 + 807 807 ((( 808 - Youcan configure LT-22222-LI/O Controller via AT Commands or LoRaWAN Downlinks.808 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlinks. 809 809 ))) 810 810 811 811 ((( 812 812 ((( 813 -There are two tytes ofcommands:813 +There are two kinds of Commands: 814 814 ))) 815 815 ))) 816 816 817 -* (% style="color:blue" %)**Common commands**(%%):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]] 818 818 819 -* (% style="color:blue" %)**Sensor -relatedcommands**(%%):819 +* (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 820 820 821 -=== 3.4.1 Common commands ===821 +=== 3.4.1 Common Commands === 822 822 823 823 ((( 824 -These a re available foreachsensorsandinclude actionssuch as changing the:[[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]s.824 +These commands should be available for all Dragino sensors, 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]]. 825 825 ))) 826 826 827 -=== 3.4.2 Sensor-related commands === 828 828 829 - Thesecommandsarespecially designed fortheLT-22222-L. Commands can be sentto theeviceusing options such as an AT commandor a LoRaWAN downlink payload.828 +=== 3.4.2 Sensor related commands === 830 830 831 831 ==== 3.4.2.1 Set Transmit Interval ==== 832 832 833 833 Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes. 834 834 835 -(% style="color:#037691" %)**AT command** 834 +* (% style="color:#037691" %)**AT command:** 836 836 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 836 +(% style="color:blue" %)**AT+TDC=N** 843 843 844 -Sets the uplink interval to 30,000 milliseconds (30 seconds) 845 -))) 838 +where N is the time in milliseconds. 846 846 847 - (% style="color:#037691"%)**Downlinkpayload**840 +**Example: **AT+TDC=30000. This will set the uplink interval to 30 seconds 848 848 849 -(% style="width:500px" %) 850 -|Payload|((( 851 -<prefix><time> 852 -))) 853 -|Parameters|((( 854 -<prefix> 0x01 855 855 856 -<time> uplink interval is in milliseconds, represented by 3 bytes in hexadecimal. 857 -))) 858 -|Example|((( 859 -01 **00 75 30** 843 +* (% style="color:#037691" %)**Downlink payload (prefix 0x01):** 860 860 861 - Setsthe uplink intervalto 30,000milliseconds(30seconds)845 +(% style="color:blue" %)**0x01 aa bb cc **(%%)** ~/~/ Same as AT+TDC=0x(aa bb cc)** 862 862 863 -Note: 00 75 30 (hex) = 30000 (dec) 864 -))) 865 865 848 + 866 866 ==== 3.4.2.2 Set the Work Mode (AT+MOD) ==== 867 867 868 868 ... ... @@ -883,8 +883,8 @@ 883 883 884 884 ==== 3.4.2.3 Poll an uplink ==== 885 885 886 -Requests the device to send an uplink. 887 887 870 +Asks the device to send an uplink. 888 888 889 889 * (% style="color:#037691" %)**AT command:**(%%) There is no AT Command to poll uplink 890 890 ... ... @@ -898,6 +898,7 @@ 898 898 899 899 ==== 3.4.2.4 Enable/Disable Trigger Mode ==== 900 900 884 + 901 901 Enable or disable the trigger mode (see also [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]). 902 902 903 903 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ADDMOD6=1 or 0** ... ... @@ -915,8 +915,9 @@ 915 915 916 916 ==== 3.4.2.5 Poll trigger settings ==== 917 917 918 -Polls the trigger settings. 919 919 903 +Polls the trigger settings 904 + 920 920 * (% style="color:#037691" %)**AT Command:** 921 921 922 922 There is no AT Command for this feature. ... ... @@ -927,10 +927,11 @@ 927 927 928 928 929 929 930 -==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as atrigger ====915 +==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 931 931 932 -Enable or disable DI1/DI2/DI2 as a trigger. 933 933 918 +Enable or Disable DI1/DI2/DI2 as trigger, 919 + 934 934 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 935 935 936 936 **Example:** AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -942,10 +942,11 @@ 942 942 943 943 944 944 945 -==== 3.4.2.7 Trigger1 – Set DI or DI3 as atrigger ====931 +==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 946 946 947 -Sets DI1 or DI3 (for LT-33222-L) as a trigger. 948 948 934 +Set DI1 or DI3(for LT-33222-L) trigger. 935 + 949 949 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG1=a,b** 950 950 951 951 (% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). ... ... @@ -960,10 +960,12 @@ 960 960 (% style="color:blue" %)**0x09 01 aa bb cc ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc) 961 961 962 962 963 -==== 3.4.2.8 Trigger2 – Set DI2 as a trigger ==== 964 964 965 -Set sDI2 asatrigger.951 +==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 966 966 953 + 954 +Sets DI2 trigger. 955 + 967 967 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG2=a,b** 968 968 969 969 (% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1). ... ... @@ -978,10 +978,12 @@ 978 978 (% style="color:blue" %)**0x09 02 aa bb cc ** (%%)~/~/ same as AT+TRIG2=aa,0x(bb cc) 979 979 980 980 981 -==== 3.4.2.9 Trigger – Set AC (current) as a trigger ==== 982 982 983 - Setsthecurrent triggerbasedon the ACport.See[[triggermode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]971 +==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 984 984 973 + 974 +Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 975 + 985 985 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ACLIM** 986 986 987 987 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )** ... ... @@ -992,8 +992,9 @@ 992 992 993 993 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 994 994 995 -Sets the current trigger based on the AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 996 996 987 +Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 988 + 997 997 * (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+AVLIM **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 998 998 999 999 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )** ... ... @@ -1001,8 +1001,10 @@ 1001 1001 (% 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"]] 1002 1002 1003 1003 996 + 1004 1004 ==== 3.4.2.11 Trigger – Set minimum interval ==== 1005 1005 999 + 1006 1006 Sets AV and AC trigger minimum interval. Device won't response to the second trigger within this set time after the first trigger. 1007 1007 1008 1008 * (% 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. ... ... @@ -1019,7 +1019,6 @@ 1019 1019 1020 1020 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1021 1021 1022 -Controls the digital outputs DO1, DO2, and DO3 1023 1023 1024 1024 * (% style="color:#037691" %)**AT Command** 1025 1025 ... ... @@ -1452,7 +1452,7 @@ 1452 1452 **Downlink data converter (this is an optional step):** 1453 1453 1454 1454 * Click the **Create new** button if it is not selected by default. 1455 -* Enter a suitable name for the downlink data converter in the **Name **text** **box or keep the default name .1448 +* Enter a suitable name for the downlink data converter in the **Name **text** **box or keep the default name 1456 1456 * Click the **JavaScript** button. 1457 1457 * 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]]. 1458 1458 * Click the **Next** button. You will be navigated to the **Connection** tab. ... ... @@ -1464,7 +1464,7 @@ 1464 1464 1465 1465 * Choose **Region** from the **Host type**. 1466 1466 * 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/...). 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).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 with The Things Stack Sandbox). 1468 1468 * Click the **Check connection** button to test the connection. If the connection is successful, you will see the message saying **Connected**. 1469 1469 1470 1470 [[image:message-1.png]]