<
From version < 83.1 >
edited by Bei Jinggeng
on 2022/06/28 13:36
To version < 95.1 >
edited by Bei Jinggeng
on 2022/08/24 15:58
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,6 @@
1 1  (% style="text-align:center" %)
2 2  [[image:image-20220523163353-1.jpeg||height="604" width="500"]]
3 3  
4 -**LT-22222-L LoRa IO Controller User Manual **
5 5  
6 6  
7 7  **Table of Contents:**
... ... @@ -37,11 +37,13 @@
37 37  )))
38 38  
39 39  (((
40 -1) If users area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.
39 +1) If user's area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.
41 41  )))
42 42  
43 43  (((
44 44  2) User can set up a LoRaWAN gateway locally and configure the controller to connect to the gateway via wireless.
44 +
45 +
45 45  )))
46 46  
47 47  (((
... ... @@ -173,17 +173,18 @@
173 173  
174 174  == 1.3 Features ==
175 175  
177 +
176 176  * LoRaWAN Class A & Class C protocol
177 177  * Optional Customized LoRa Protocol
178 -* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865
180 +* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
179 179  * AT Commands to change parameters
180 180  * Remote configure parameters via LoRa Downlink
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
184 -
185 185  == 1.4  Applications ==
186 186  
188 +
187 187  * Smart Buildings & Home Automation
188 188  * Logistics and Supply Chain Management
189 189  * Smart Metering
... ... @@ -191,9 +191,9 @@
191 191  * Smart Cities
192 192  * Smart Factory
193 193  
194 -
195 195  == 1.5 Hardware Variants ==
196 196  
198 +
197 197  (% border="1" style="background-color:#f7faff; width:500px" %)
198 198  |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description**
199 199  |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)(((
... ... @@ -207,6 +207,7 @@
207 207  
208 208  = 2. Power ON Device =
209 209  
212 +
210 210  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.
211 211  
212 212  (((
... ... @@ -221,19 +221,24 @@
221 221  
222 222  == 3.1 How it works? ==
223 223  
227 +
224 224  (((
225 -The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on **TX LED** will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. **TX LED** will be on for 5 seconds after joined in network. When there is message from server, the **RX LED** will be on for 1 second. 
229 +The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on (% style="color:green" %)**TX LED**(%%) will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. (% style="color:green" %)**TX LED**(%%) will be on for 5 seconds after joined in network. When there is message from server, the RX LED will be on for 1 second. 
226 226  )))
227 227  
228 228  (((
229 -In case user cant 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.
233 +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.
230 230  )))
231 231  
232 232  
237 +
233 233  == 3.2 Example to join LoRaWAN network ==
234 234  
240 +
235 235  (((
236 236  This chapter shows an example for how to join the TTN LoRaWAN Network. Below is the network structure, we use our LG308 as LoRaWAN gateway here. 
243 +
244 +
237 237  )))
238 238  
239 239  [[image:image-20220523172350-1.png||height="266" width="864"]]
... ... @@ -241,6 +241,8 @@
241 241  
242 242  (((
243 243  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:
252 +
253 +
244 244  )))
245 245  
246 246  (((
... ... @@ -266,6 +266,7 @@
266 266  [[image:1653298023685-319.png]]
267 267  
268 268  
279 +
269 269  (((
270 270  (% 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.
271 271  )))
... ... @@ -276,19 +276,19 @@
276 276  
277 277  == 3.3 Uplink Payload ==
278 278  
290 +
279 279  There are five working modes + one interrupt mode on LT for different type application:
280 280  
281 -* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO
282 -* **MOD2**: Double DI Counting + DO + RO
283 -* **MOD3**: Single DI Counting + 2 x ACI + DO + RO
284 -* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO
285 -* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
286 -* **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
293 +* (% style="color:blue" %)**MOD1**(%%): (default setting): 2 x ACI + 2AVI + DI + DO + RO
294 +* (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO
295 +* (% style="color:blue" %)**MOD3**(%%): Single DI Counting + 2 x ACI + DO + RO
296 +* (% style="color:blue" %)**MOD4**(%%): Single DI Counting + 1 x Voltage Counting + DO + RO
297 +* (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
298 +* (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
287 287  
288 -
289 -
290 290  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
291 291  
302 +
292 292  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
293 293  
294 294  [[image:image-20220523174024-3.png]]
... ... @@ -340,8 +340,6 @@
340 340  ** DO1 is high in case there is load between DO1 and V+.
341 341  ** DO1 LED is off in both case
342 342  
343 -
344 -
345 345  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
346 346  
347 347  
... ... @@ -410,11 +410,14 @@
410 410  
411 411  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
412 412  
422 +
413 413  **LT22222-L**: This mode the DI1 is used as a counting pin.
414 414  
415 415  [[image:image-20220523181246-5.png]]
416 416  
417 417  (((
428 +
429 +
418 418  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
419 419  )))
420 420  
... ... @@ -428,6 +428,7 @@
428 428  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
429 429  )))
430 430  
443 +
431 431  (((
432 432  **To use counting mode, please run:**
433 433  )))
... ... @@ -560,8 +560,8 @@
560 560  
561 561  For example, if user has configured below commands:
562 562  
563 -* **AT+MOD=1 ** **~-~->** The normal working mode
564 -* **AT+ADDMOD6=1**   **~-~->** Enable trigger
576 +* **AT+MOD=1 ** **~-~->**  The normal working mode
577 +* **AT+ADDMOD6=1**   **~-~->**  Enable trigger
565 565  
566 566  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
567 567  
... ... @@ -570,6 +570,7 @@
570 570  
571 571  (% style="color:#037691" %)**AT Command to set Trigger Condition**:
572 572  
586 +
573 573  (% style="color:#4f81bd" %)**Trigger base on voltage**:
574 574  
575 575  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -691,14 +691,14 @@
691 691  (((
692 692  
693 693  
694 -**Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]]
695 -
696 -
708 +**Decoder for TTN/loraserver/ChirpStack**:  [[https:~~/~~/www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0>>https://www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0]]
697 697  )))
698 698  
699 699  
712 +
700 700  == 3.4 ​Configure LT via AT or Downlink ==
701 701  
715 +
702 702  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
703 703  
704 704  (((
... ... @@ -709,10 +709,9 @@
709 709  
710 710  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
711 711  
712 -
713 -
714 714  === 3.4.1 Common Commands ===
715 715  
728 +
716 716  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]]
717 717  
718 718  
... ... @@ -719,8 +719,10 @@
719 719  
720 720  === 3.4.2 Sensor related commands ===
721 721  
735 +
722 722  ==== 3.4.2.1 Set Transmit Interval ====
723 723  
738 +
724 724  Set device uplink interval.
725 725  
726 726  * (% style="color:#037691" %)**AT Command:**
... ... @@ -740,6 +740,7 @@
740 740  
741 741  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
742 742  
758 +
743 743  Set work mode.
744 744  
745 745  * (% style="color:#037691" %)**AT Command:**
... ... @@ -759,6 +759,7 @@
759 759  
760 760  ==== 3.4.2.3 Poll an uplink ====
761 761  
778 +
762 762  * (% style="color:#037691" %)**AT Command:**
763 763  
764 764  There is no AT Command to poll uplink
... ... @@ -772,8 +772,10 @@
772 772  
773 773  
774 774  
792 +
775 775  ==== 3.4.2.4 Enable Trigger Mode ====
776 776  
795 +
777 777  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
778 778  
779 779  * (% style="color:#037691" %)**AT Command:**
... ... @@ -794,6 +794,7 @@
794 794  
795 795  ==== 3.4.2.5 Poll trigger settings ====
796 796  
816 +
797 797  Poll trigger settings,
798 798  
799 799  * (% style="color:#037691" %)**AT Command:**
... ... @@ -810,6 +810,7 @@
810 810  
811 811  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
812 812  
833 +
813 813  Enable Disable DI1/DI2/DI2 as trigger,
814 814  
815 815  * (% style="color:#037691" %)**AT Command:**
... ... @@ -830,6 +830,7 @@
830 830  
831 831  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
832 832  
854 +
833 833  Set DI1 or DI3(for LT-33222-L) trigger.
834 834  
835 835  * (% style="color:#037691" %)**AT Command:**
... ... @@ -851,6 +851,7 @@
851 851  
852 852  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
853 853  
876 +
854 854  Set DI2 trigger.
855 855  
856 856  * (% style="color:#037691" %)**AT Command:**
... ... @@ -877,6 +877,7 @@
877 877  
878 878  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
879 879  
903 +
880 880  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
881 881  
882 882  * (% style="color:#037691" %)**AT Command**
... ... @@ -893,6 +893,7 @@
893 893  
894 894  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
895 895  
920 +
896 896  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
897 897  
898 898  * (% style="color:#037691" %)**AT Command**
... ... @@ -909,6 +909,7 @@
909 909  
910 910  ==== 3.4.2.11 Trigger – Set minimum interval ====
911 911  
937 +
912 912  Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
913 913  
914 914  * (% style="color:#037691" %)**AT Command**
... ... @@ -928,8 +928,10 @@
928 928  
929 929  
930 930  
957 +
931 931  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
932 932  
960 +
933 933  * (% style="color:#037691" %)**AT Command**
934 934  
935 935  There is no AT Command to control Digital Output
... ... @@ -961,6 +961,7 @@
961 961  
962 962  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
963 963  
992 +
964 964  * (% style="color:#037691" %)**AT Command**
965 965  
966 966  There is no AT Command to control Digital Output
... ... @@ -997,11 +997,11 @@
997 997  [[image:image-20220524093351-8.png]]
998 998  
999 999  
1000 -(% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1029 +(% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**:
1001 1001  
1002 1002   Latching time. Unit: ms
1003 1003  
1004 -Device will upload a packet if downlink code executes successfully.
1033 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
1005 1005  
1006 1006  
1007 1007  **Example payload:**
... ... @@ -1027,6 +1027,7 @@
1027 1027  
1028 1028  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1029 1029  
1059 +
1030 1030  * (% style="color:#037691" %)**AT Command:**
1031 1031  
1032 1032  There is no AT Command to control Relay Output
... ... @@ -1049,7 +1049,7 @@
1049 1049  [[image:image-20220524093724-9.png]]
1050 1050  )))
1051 1051  
1052 -Device will upload a packet if downlink code executes successfully.
1082 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
1053 1053  
1054 1054  
1055 1055  
... ... @@ -1056,6 +1056,7 @@
1056 1056  
1057 1057  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1058 1058  
1089 +
1059 1059  * (% style="color:#037691" %)**AT Command:**
1060 1060  
1061 1061  There is no AT Command to control Relay Output
... ... @@ -1079,37 +1079,37 @@
1079 1079  
1080 1080  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1081 1081  
1082 -[[image:image-20220524093831-10.png]]
1113 +[[image:image-20220714135731-1.png||height="406" width="627"]]
1083 1083  
1084 1084  
1085 -(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1116 +(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1086 1086  
1087 -Device will upload a packet if downlink code executes successfully.
1118 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
1088 1088  
1089 1089  
1090 1090  **Example payload:**
1091 1091  
1092 -**~1. 05 01 11 07 D0**
1123 +**~1. 05 01 11 07 D**
1093 1093  
1094 -Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state.
1125 +Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state.
1095 1095  
1096 1096  **2. 05 01 10 07 D0**
1097 1097  
1098 -Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state.
1129 +Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then both change back to original state.
1099 1099  
1100 1100  **3. 05 00 01 07 D0**
1101 1101  
1102 -Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC.
1133 +Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then relay change to NC,Relay2 change to NO.
1103 1103  
1104 1104  **4. 05 00 00 07 D0**
1105 1105  
1106 -Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1137 +Relay 1 & relay2 will change to NO, last 2 seconds, then both change to NC.
1107 1107  
1108 1108  
1109 1109  
1110 -
1111 1111  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1112 1112  
1143 +
1113 1113  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1114 1114  
1115 1115  * (% style="color:#037691" %)**AT Command:**
... ... @@ -1126,6 +1126,7 @@
1126 1126  
1127 1127  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1128 1128  
1160 +
1129 1129  * (% style="color:#037691" %)**AT Command:**
1130 1130  
1131 1131  **AT+SETCNT=aa,(bb cc dd ee) **
... ... @@ -1148,6 +1148,7 @@
1148 1148  
1149 1149  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1150 1150  
1183 +
1151 1151  Clear counting for counting mode
1152 1152  
1153 1153  * (% style="color:#037691" %)**AT Command:**
... ... @@ -1164,6 +1164,7 @@
1164 1164  
1165 1165  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1166 1166  
1200 +
1167 1167  * (% style="color:#037691" %)**AT Command:**
1168 1168  
1169 1169  **AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
... ... @@ -1179,10 +1179,107 @@
1179 1179  
1180 1180  )))
1181 1181  
1216 +==== 3.4.2.20 Reset save DR DO state ====
1182 1182  
1183 1183  
1219 +* (% style="color:#037691" %)**AT Command:**
1220 +
1221 +**AT+RODORET=1  **~/~/ RODO will close when the device joining the network. (default)
1222 +
1223 +**AT+RODORET=0  **~/~/After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network.
1224 +
1225 +
1226 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
1227 +
1228 +**0x AD aa      **~/~/ same as AT+RODORET =aa
1229 +
1230 +(((
1231 +
1232 +
1233 +==== 3.4.2.21 Encrypted payload ====
1234 +
1235 +
1236 +* (% style="color:#037691" %)**AT Command:**
1237 +
1238 +**AT+DECRYPT=1  **~/~/ The payload is uploaded without encryption
1239 +
1240 +**AT+DECRYPT=0  **~/~/Encrypt when uploading payload (default)
1241 +
1242 +
1243 +==== 3.4.2.22 Get sensor value ====
1244 +
1245 +
1246 +* (% style="color:#037691" %)**AT Command:**
1247 +
1248 +**AT+GETSENSORVALUE=0  **~/~/ The serial port gets the reading of the current sensor
1249 +
1250 +**AT+GETSENSORVALUE=1  **~/~/The serial port gets the current sensor reading and uploads it.
1251 +
1252 +
1253 +==== 3.4.2.23 Resets the downlink packet count ====
1254 +
1255 +
1256 +* (% style="color:#037691" %)**AT Command:**
1257 +
1258 +**AT+DISFCNTCHECK=0  **~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)
1259 +
1260 +**AT+DISFCNTCHECK=1  **~/~/When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count.
1261 +
1262 +
1263 +==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ====
1264 +
1265 +
1266 +* (% style="color:#037691" %)**AT Command:**
1267 +
1268 + **AT+DISMACANS=0**  ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)
1269 +
1270 + **AT+DISMACANS=1**      ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.
1271 +
1272 +
1273 +* (% style="color:#037691" %)**Downlink Payload **(%%)**:**
1274 +
1275 +**0x21 00 01 ** ~/~/ Set  the DISMACANS=1
1276 +
1277 +
1278 +==== 3.4.2.25 Copy downlink to uplink ====
1279 +
1280 +
1281 +* (% style="color:#037691" %)**AT Command**(%%)**:**
1282 +
1283 + **AT+RPL=5**  ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.
1284 +
1285 +Example:**aa xx xx xx xx**         ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent.
1286 +
1287 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]]
1288 +
1289 +For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1290 +
1291 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]]
1292 +
1293 +For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
1294 +
1295 +
1296 +
1297 +==== 3.4.2.26 Query version number and frequency band 、TDC ====
1298 +
1299 +
1300 +* (((
1301 +(% style="color:#037691" %)**Downlink Payload**(%%)**:**
1302 +
1303 +**26 01  ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1304 +)))
1305 +
1306 +Example:
1307 +
1308 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]]
1309 +
1310 +
1311 +
1312 +)))
1313 +
1184 1184  == 3.5 Integrate with Mydevice ==
1185 1185  
1316 +
1186 1186  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:
1187 1187  
1188 1188  (((
... ... @@ -1191,14 +1191,15 @@
1191 1191  
1192 1192  (((
1193 1193  (% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1325 +
1326 +
1194 1194  )))
1195 1195  
1196 -[[image:1653356737703-362.png||height="232" width="732"]]
1329 +[[image:image-20220719105525-1.png||height="377" width="677"]]
1197 1197  
1198 -[[image:image-20220524094641-11.png||height="390" width="723"]]
1199 1199  
1200 1200  
1201 -[[image:image-20220524094641-12.png||height="402" width="718"]]
1333 +[[image:image-20220719110247-2.png||height="388" width="683"]]
1202 1202  
1203 1203  
1204 1204  (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
... ... @@ -1231,8 +1231,10 @@
1231 1231  
1232 1232  == 3.6 Interface Detail ==
1233 1233  
1366 +
1234 1234  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
1235 1235  
1369 +
1236 1236  Support NPN Type sensor
1237 1237  
1238 1238  [[image:1653356991268-289.png]]
... ... @@ -1241,6 +1241,7 @@
1241 1241  
1242 1242  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1243 1243  
1378 +
1244 1244  (((
1245 1245  The DI port of LT-22222-L can support NPN or PNP output sensor.
1246 1246  )))
... ... @@ -1247,7 +1247,9 @@
1247 1247  
1248 1248  (((
1249 1249  (((
1250 -Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high
1385 +Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high.
1386 +
1387 +
1251 1251  )))
1252 1252  )))
1253 1253  
... ... @@ -1292,6 +1292,8 @@
1292 1292  
1293 1293  (((
1294 1294  
1432 +
1433 +
1295 1295  )))
1296 1296  
1297 1297  (((
... ... @@ -1323,6 +1323,8 @@
1323 1323  
1324 1324  (((
1325 1325  
1465 +
1466 +
1326 1326  )))
1327 1327  
1328 1328  (((
... ... @@ -1356,6 +1356,7 @@
1356 1356  
1357 1357  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1358 1358  
1500 +
1359 1359  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
1360 1360  
1361 1361  [[image:1653357531600-905.png]]
... ... @@ -1364,6 +1364,7 @@
1364 1364  
1365 1365  === 3.6.4 Analog Input Interface ===
1366 1366  
1509 +
1367 1367  The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is:
1368 1368  
1369 1369  
... ... @@ -1395,6 +1395,7 @@
1395 1395  
1396 1396  === 3.6.5 Relay Output ===
1397 1397  
1541 +
1398 1398  (((
1399 1399  The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below:
1400 1400  )))
... ... @@ -1407,6 +1407,7 @@
1407 1407  
1408 1408  == 3.7 LEDs Indicators ==
1409 1409  
1554 +
1410 1410  [[image:image-20220524100748-11.png]]
1411 1411  
1412 1412  
... ... @@ -1413,8 +1413,10 @@
1413 1413  
1414 1414  = 4. Use AT Command =
1415 1415  
1561 +
1416 1416  == 4.1 Access AT Command ==
1417 1417  
1564 +
1418 1418  LT supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LT for using AT command, as below.
1419 1419  
1420 1420  [[image:1653358238933-385.png]]
... ... @@ -1619,6 +1619,7 @@
1619 1619  
1620 1620  == 4.2 Common AT Command Sequence ==
1621 1621  
1769 +
1622 1622  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1623 1623  
1624 1624  (((
... ... @@ -1729,6 +1729,8 @@
1729 1729  2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1730 1730  3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.
1731 1731  4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5
1880 +
1881 +
1732 1732  )))
1733 1733  
1734 1734  (((
... ... @@ -1742,13 +1742,16 @@
1742 1742  
1743 1743  === 4.2.3 Change to Class A ===
1744 1744  
1895 +
1745 1745  If sensor JOINED
1746 1746  (% style="background-color:#dcdcdc" %)AT+CLASS=A
1747 1747  ATZ
1748 1748  
1749 1749  
1901 +
1750 1750  = 5. FAQ =
1751 1751  
1904 +
1752 1752  == 5.1 How to upgrade the image? ==
1753 1753  
1754 1754  
... ... @@ -1770,7 +1770,9 @@
1770 1770  
1771 1771  
1772 1772  (% style="color:blue" %)**For LT-22222-L**(%%):
1773 -Hold down the PRO button and then momentarily press the RST reset button and the **DO1 led** will change from OFF to ON. When **DO1 LED** is on, it means the device is in download mode.
1926 +Hold down the PRO button and then momentarily press the RST reset button and the (% style="color:red" %)**DO1 led**(%%) will change from OFF to ON. When (% style="color:red" %)**DO1 LED**(%%) is on, it means the device is in download mode.
1927 +
1928 +
1774 1774  )))
1775 1775  
1776 1776   [[image:image-20220524103407-12.png]]
... ... @@ -1782,6 +1782,7 @@
1782 1782  
1783 1783  (% style="color:red" %)**Notice**(%%): In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:
1784 1784  
1940 +
1785 1785  [[image:1653360054704-518.png||height="186" width="745"]]
1786 1786  
1787 1787  
... ... @@ -1790,6 +1790,8 @@
1790 1790  
1791 1791  
1792 1792  == 5.2 How to change the LoRa Frequency Bands/Region? ==
1949 +
1950 +
1793 1793  )))
1794 1794  )))
1795 1795  
... ... @@ -1800,7 +1800,10 @@
1800 1800  (((
1801 1801  
1802 1802  
1961 +
1803 1803  == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
1963 +
1964 +
1804 1804  )))
1805 1805  
1806 1806  (((
... ... @@ -1818,7 +1818,7 @@
1818 1818  )))
1819 1819  
1820 1820  (((
1821 -(% style="color:#4f81bd" %)**Step1**(%%): Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
1982 +(% style="color:blue" %)**Step1**(%%):  Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
1822 1822  )))
1823 1823  
1824 1824  (((
... ... @@ -1826,12 +1826,12 @@
1826 1826  )))
1827 1827  
1828 1828  (((
1829 -(% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.
1990 +(% style="color:red" %)**Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.**
1830 1830  )))
1831 1831  
1832 1832  
1833 1833  (((
1834 -(% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1995 +(% style="color:blue" %)**Step2**(%%)**:  **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1835 1835  )))
1836 1836  
1837 1837  (((
... ... @@ -1855,16 +1855,21 @@
1855 1855  [[image:1653360498588-932.png||height="485" width="726"]]
1856 1856  
1857 1857  
2019 +
1858 1858  == 5.4 Can I see counting event in Serial? ==
1859 1859  
2022 +
1860 1860  (((
1861 -User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesnt support AT+DEBUG. User can update to latest firmware first.
2024 +User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn't support AT+DEBUG. User can update to latest firmware first.
1862 1862  
1863 1863  
2027 +
1864 1864  == 5.5 Can i use point to point communication for LT-22222-L? ==
1865 1865  
2030 +
1866 1866  Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1867 1867  
2033 +
1868 1868  
1869 1869  )))
1870 1870  
... ... @@ -1871,6 +1871,7 @@
1871 1871  (((
1872 1872  == 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
1873 1873  
2040 +
1874 1874  If the device is not shut down, but directly powered off.
1875 1875  
1876 1876  It will default that this is a power-off state.
... ... @@ -1880,12 +1880,15 @@
1880 1880  After restart, the status before power failure will be read from flash.
1881 1881  
1882 1882  
2050 +
1883 1883  = 6. Trouble Shooting =
1884 1884  )))
1885 1885  
1886 1886  (((
1887 1887  (((
1888 -== 6.1 Downlink doesn’t work, how to solve it? ==
2056 +== 6.1 Downlink doesn't work, how to solve it? ==
2057 +
2058 +
1889 1889  )))
1890 1890  )))
1891 1891  
... ... @@ -1896,7 +1896,10 @@
1896 1896  (((
1897 1897  
1898 1898  
2069 +
1899 1899  == 6.2 Have trouble to upload image. ==
2071 +
2072 +
1900 1900  )))
1901 1901  
1902 1902  (((
... ... @@ -1906,7 +1906,10 @@
1906 1906  (((
1907 1907  
1908 1908  
1909 -== 6.3 Why I can’t join TTN in US915 /AU915 bands? ==
2082 +
2083 +== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2084 +
2085 +
1910 1910  )))
1911 1911  
1912 1912  (((
... ... @@ -1914,22 +1914,23 @@
1914 1914  )))
1915 1915  
1916 1916  
2093 +
1917 1917  = 7. Order Info =
1918 1918  
2096 +
1919 1919  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1920 1920  
1921 -
1922 1922  (% style="color:#4f81bd" %)**XXX:**
1923 1923  
1924 -* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1925 -* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1926 -* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1927 -* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1928 -* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1929 -* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1930 -* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1931 -* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1932 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
2101 +* (% style="color:red" %)**EU433**(%%):  LT with frequency bands EU433
2102 +* (% style="color:red" %)**EU868**(%%):  LT with frequency bands EU868
2103 +* (% style="color:red" %)**KR920**(%%):  LT with frequency bands KR920
2104 +* (% style="color:red" %)**CN470**(%%):  LT with frequency bands CN470
2105 +* (% style="color:red" %)**AS923**(%%):  LT with frequency bands AS923
2106 +* (% style="color:red" %)**AU915**(%%):  LT with frequency bands AU915
2107 +* (% style="color:red" %)**US915**(%%):  LT with frequency bands US915
2108 +* (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2109 +* (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
1933 1933  
1934 1934  = 8. Packing Info =
1935 1935  
... ... @@ -1950,6 +1950,7 @@
1950 1950  
1951 1951  = 9. Support =
1952 1952  
2130 +
1953 1953  * (((
1954 1954  Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1955 1955  )))
... ... @@ -1963,7 +1963,9 @@
1963 1963  
1964 1964  = 10. Reference​​​​​ =
1965 1965  
2144 +
1966 1966  * LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
1967 -* [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]
1968 -* [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
2146 +* [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
1969 1969  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2148 +
2149 +
image-20220714135731-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +54.1 KB
Content
image-20220719105525-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +165.5 KB
Content
image-20220719110247-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +52.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0