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)
-
Attachments (0 modified, 6 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -110,109 +110,82 @@ 110 110 * 1 x Counting Port 111 111 ))) 112 112 113 -2. 113 += 2. Power ON Device = 114 114 115 115 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. 116 116 117 +((( 117 117 PWR will on when device is properly powered. 119 +))) 118 118 119 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]121 +[[image:1653297104069-180.png]] 120 120 123 += 3. Operation Mode = 121 121 125 +== 3.1 How it works? == 122 122 127 +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. 123 123 124 - 125 -1. Operation Mode 126 -11. How it works? 127 - 128 -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. 129 - 130 - 131 131 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>>path:#AT_Command]] to set the keys in the devices. 132 132 131 +3.2 Example to join LoRaWAN network 133 133 134 -1. 135 -11. Example to join LoRaWAN network 136 - 137 137 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. 138 138 139 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]135 +[[image:image-20220523172350-1.png||height="266" width="864"]] 140 140 141 141 138 +((( 142 142 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: 140 +))) 143 143 142 +((( 144 144 **Step 1**: Create a device in TTN with the OTAA keys from LT IO controller. 144 +))) 145 145 146 +((( 146 146 Each LT is shipped with a sticker with the default device EUI as below: 148 +))) 147 147 148 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png]]150 +[[image:1653297924498-393.png]] 149 149 150 - 151 - 152 - 153 153 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 154 154 155 155 Add APP EUI in the application. 156 156 157 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]] 156 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]][[image:1653297955910-247.png||height="321" width="716"]] 158 158 159 159 Add APP KEY and DEV EUI 160 160 161 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]]160 +[[image:1653298023685-319.png]] 162 162 162 +((( 163 163 **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. 164 +))) 164 164 165 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]166 +[[image:1653298044601-602.png||height="405" width="709"]] 166 166 168 +== [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]3.3 Uplink Payload == 167 167 168 -1. 169 -11. Uplink Payload 170 - 171 171 There are five working modes + one interrupt mode on LT for different type application: 172 172 173 -* [[MOD1>>path:#MOD1]]:(default setting): 2 x ACI + 2AVI + DI + DO + RO174 -* [[MOD2>>path:#MOD2]]:Double DI Counting + DO + RO175 -* [[MOD3>>path:#MOD3]]:Single DI Counting + 2 x ACI + DO + RO176 -* [[MOD4>>path:#MOD4]]:Single DI Counting + 1 x Voltage Counting + DO + RO177 -* [[MOD5>>path:#MOD5]]:Single DI Counting + 2 x AVI + 1 x ACI + DO + RO178 -* [[ADDMOD6>>path:#MOD6]]:Trigger Mode, Optional, used together with MOD1 ~~ MOD5172 +* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO 173 +* **MOD2**: Double DI Counting + DO + RO 174 +* **MOD3**: Single DI Counting + 2 x ACI + DO + RO 175 +* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO 176 +* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 177 +* **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 179 179 179 +=== 3.3.1 AT+MOD~=1, 2ACI+2AVI === 180 180 181 -1. 182 -11. 183 -111. AT+MOD=1, 2ACI+2AVI 184 - 185 185 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. 186 186 183 +[[image:image-20220523174024-3.png]] 187 187 188 -|Size(bytes)|2|2|2|2|1|1|1 189 -|Value|((( 190 -AVI1 191 191 192 -voltage 193 -)))|((( 194 -AVI2 195 - 196 -voltage 197 -)))|((( 198 -ACI1 199 - 200 -Current 201 -)))|((( 202 -ACI2 203 - 204 -Current 205 -)))|DIDORO*|((( 206 -Reserve 207 - 208 - 209 -)))|MOD 210 - 211 - 212 212 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 213 213 214 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 215 -|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1 188 +[[image:image-20220523174254-4.png]] 216 216 217 217 * RO is for relay. ROx=1 : close,ROx=0 always open. 218 218 * DI is for digital input. DIx=1: high or float, DIx=0: low. ... ... @@ -273,6 +273,7 @@ 273 273 274 274 Total : 11 bytes payload 275 275 249 +(% border="1" style="background-color:#f7faff" %) 276 276 |Size(bytes)|4|4|1|1|1 277 277 |Value|COUNT1|COUNT2 |DIDORO*|((( 278 278 Reserve ... ... @@ -283,6 +283,7 @@ 283 283 284 284 **DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 285 285 260 +(% border="1" style="background-color:#f7faff" %) 286 286 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 287 287 |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 288 288 ... ... @@ -344,6 +344,7 @@ 344 344 **LT22222-L**: This mode the DI1 is used as a counting pin. 345 345 346 346 322 +(% border="1" style="background-color:#f7faff" %) 347 347 |Size(bytes)|4|2|2|1|1|1 348 348 |Value|COUNT1|((( 349 349 ACI1 ... ... @@ -358,6 +358,7 @@ 358 358 359 359 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 360 360 337 +(% border="1" style="background-color:#f7faff" %) 361 361 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 362 362 |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 363 363 ... ... @@ -392,6 +392,7 @@ 392 392 The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour. 393 393 394 394 372 +(% border="1" style="background-color:#f7faff" %) 395 395 |Size(bytes)|4|4|1|1|1 396 396 |Value|COUNT1|AVI1 Counting|DIDORO*|((( 397 397 Reserve ... ... @@ -402,6 +402,7 @@ 402 402 403 403 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 404 404 383 +(% border="1" style="background-color:#f7faff" %) 405 405 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 406 406 |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 407 407 ... ... @@ -444,6 +444,7 @@ 444 444 **LT22222-L**: This mode the DI1 is used as a counting pin. 445 445 446 446 426 +(% border="1" style="background-color:#f7faff" %) 447 447 |Size(bytes)|2|2|2|2|1|1|1 448 448 |Value|((( 449 449 AVI1 ... ... @@ -467,6 +467,7 @@ 467 467 468 468 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 469 469 450 +(% border="1" style="background-color:#f7faff" %) 470 470 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 471 471 |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 472 472 ... ... @@ -579,6 +579,7 @@ 579 579 580 580 MOD6 Payload : total 11 bytes payload 581 581 563 +(% border="1" style="background-color:#f7faff" %) 582 582 |Size(bytes)|1|1|1|6|1|1 583 583 |Value|((( 584 584 TRI_A ... ... @@ -602,6 +602,7 @@ 602 602 603 603 **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 604 604 587 +(% border="1" style="background-color:#f7faff" %) 605 605 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 606 606 |((( 607 607 AV1_ ... ... @@ -646,6 +646,7 @@ 646 646 647 647 **TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below 648 648 632 +(% border="1" style="background-color:#f7faff" %) 649 649 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 650 650 |((( 651 651 AV1_ ... ... @@ -692,6 +692,7 @@ 692 692 693 693 **TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below 694 694 679 +(% border="1" style="background-color:#f7faff" %) 695 695 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 696 696 |N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 697 697 ... ... @@ -951,6 +951,7 @@ 951 951 952 952 01: Low, 00: High , 11: No action 953 953 939 +(% border="1" style="background-color:#f7faff" %) 954 954 |Downlink Code|DO1|DO2|DO3 955 955 |02 01 00 11|Low|High|No Action 956 956 |02 00 11 01|High|No Action|Low ... ... @@ -988,6 +988,7 @@ 988 988 989 989 **Third Byte**: Control Method and Ports status: 990 990 977 +(% border="1" style="background-color:#f7faff" %) 991 991 |Second Byte|Status 992 992 |0x01|DO1 set to low 993 993 |0x00|DO1 set to high ... ... @@ -996,6 +996,7 @@ 996 996 997 997 **Fourth Byte**: Control Method and Ports status: 998 998 986 +(% border="1" style="background-color:#f7faff" %) 999 999 |Second Byte|Status 1000 1000 |0x01|DO2 set to low 1001 1001 |0x00|DO2 set to high ... ... @@ -1004,6 +1004,7 @@ 1004 1004 1005 1005 **Fifth Byte**: Control Method and Ports status: 1006 1006 995 +(% border="1" style="background-color:#f7faff" %) 1007 1007 |Second Byte|Status 1008 1008 |0x01|DO3 set to low 1009 1009 |0x00|DO3 set to high ... ... @@ -1056,6 +1056,7 @@ 1056 1056 1057 1057 01: Close , 00: Open , 11: No action 1058 1058 1048 +(% border="1" style="background-color:#f7faff" %) 1059 1059 |Downlink Code|RO1|RO2 1060 1060 |03 00 11|Open|No Action 1061 1061 |03 01 11|Close|No Action ... ... @@ -1093,6 +1093,7 @@ 1093 1093 1094 1094 **Third Byte(bb)**: Control Method and Ports status: 1095 1095 1086 +(% border="1" style="background-color:#f7faff" %) 1096 1096 |Value|Status 1097 1097 |0x11|RO1 and RO2 to NO 1098 1098 |0x10|RO2 to NO, RO1 to NC ... ... @@ -1381,6 +1381,7 @@ 1381 1381 11. LEDs Indicators 1382 1382 1383 1383 1375 +(% border="1" style="background-color:#f7faff" %) 1384 1384 |**LEDs**|**Feature** 1385 1385 |**PWR**|Always on if there is power 1386 1386 |**SYS**|After device is powered on, the SYS will **fast blink in GREEN** for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be **on GREEN for 5 seconds. **SYS will **blink Blue** on every upload and **blink Green** once receive a downlink message.
- 1653297955910-247.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.9 KB - Content
- 1653298023685-319.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.5 KB - Content
- 1653298044601-602.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +58.4 KB - Content
- image-20220523173530-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.8 KB - Content
- image-20220523174024-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.0 KB - Content
- image-20220523174254-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.9 KB - Content