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, 0 added, 11 removed)
Details
- Page properties
-
- Content
-
... ... @@ -43,7 +43,7 @@ 43 43 **Hardware System:** 44 44 45 45 * STM32L072CZT6 MCU 46 -* SX1276/78 Wireless Chip 46 +* SX1276/78 Wireless Chip 47 47 * Power Consumption: 48 48 ** Idle: 4mA@12v 49 49 ** 20dB Transmit: 34mA@12v ... ... @@ -55,7 +55,7 @@ 55 55 * 2 x Relay Output (5A@250VAC / 30VDC) 56 56 * 2 x 0~~20mA Analog Input (res:0.01mA) 57 57 * 2 x 0~~30V Analog Input (res:0.01v) 58 -* Power Input 7~~ 24V DC. 58 +* Power Input 7~~ 24V DC. 59 59 60 60 **LoRa Spec:** 61 61 ... ... @@ -99,7 +99,7 @@ 99 99 100 100 == 1.5 Hardware Variants == 101 101 102 -(% border="1" style="background-color:#f7faff; width:50 0px" %)102 +(% border="1" style="background-color:#f7faff; width:540px" %) 103 103 |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description** 104 104 |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)((( 105 105 * 2 x Digital Input (Bi-direction) ... ... @@ -122,7 +122,7 @@ 122 122 123 123 = 3. Operation Mode = 124 124 125 -== 3.1 How it works? == 125 +== 3.1 How it works? == 126 126 127 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. 128 128 ... ... @@ -130,7 +130,7 @@ 130 130 131 131 3.2 Example to join LoRaWAN network 132 132 133 -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. 133 +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. 134 134 135 135 [[image:image-20220523172350-1.png||height="266" width="864"]] 136 136 ... ... @@ -153,51 +153,81 @@ 153 153 154 154 Add APP EUI in the application. 155 155 156 -[[image:1653297955910-247.png||height="321" width="716"]] 156 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]][[image:1653297955910-247.png||height="321" width="716"]] 157 157 158 158 Add APP KEY and DEV EUI 159 159 160 160 [[image:1653298023685-319.png]] 161 161 162 -((( 162 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]] 163 + 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 -))) 165 165 166 -[[image:1653298044601-602.png ||height="405" width="709"]]166 +[[image:1653298044601-602.png]] 167 167 168 - == 3.3Uplink Payload ==168 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]] 169 169 170 + 171 +1. 172 +11. Uplink Payload 173 + 170 170 There are five working modes + one interrupt mode on LT for different type application: 171 171 172 -* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO173 -* **MOD2**: Double DI Counting + DO + RO174 -* **MOD3**: Single DI Counting + 2 x ACI + DO + RO175 -* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO176 -* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO177 -* **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5176 +* [[MOD1>>path:#MOD1]]: (default setting): 2 x ACI + 2AVI + DI + DO + RO 177 +* [[MOD2>>path:#MOD2]]: Double DI Counting + DO + RO 178 +* [[MOD3>>path:#MOD3]]: Single DI Counting + 2 x ACI + DO + RO 179 +* [[MOD4>>path:#MOD4]]: Single DI Counting + 1 x Voltage Counting + DO + RO 180 +* [[MOD5>>path:#MOD5]]: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 181 +* [[ADDMOD6>>path:#MOD6]]: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 178 178 179 -=== 3.3.1 AT+MOD~=1, 2ACI+2AVI === 180 180 184 +1. 185 +11. 186 +111. AT+MOD=1, 2ACI+2AVI 187 + 181 181 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. 182 182 183 -[[image:image-20220523174024-3.png]] 184 184 185 -( ((186 - (% style="color:#4f81bd" %)**DIDORO**(%%) isacombination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below187 - )))191 +|Size(bytes)|2|2|2|2|1|1|1 192 +|Value|((( 193 +AVI1 188 188 189 -[[image:image-20220523174254-4.png]] 195 +voltage 196 +)))|((( 197 +AVI2 190 190 199 +voltage 200 +)))|((( 201 +ACI1 202 + 203 +Current 204 +)))|((( 205 +ACI2 206 + 207 +Current 208 +)))|DIDORO*|((( 209 +Reserve 210 + 211 + 212 +)))|MOD 213 + 214 + 215 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 216 + 217 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 218 +|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1 219 + 191 191 * RO is for relay. ROx=1 : close,ROx=0 always open. 192 192 * DI is for digital input. DIx=1: high or float, DIx=0: low. 193 193 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 194 194 195 - (% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L224 +Note: DI3 and DO3 bit are not valid for LT-22222-L 196 196 197 -For example if payload is: [[image:image-20220523175847-2.png]] 198 198 199 - **Thevaluefor theinterfaceis:**227 +For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01 200 200 229 +The value for the interface is: 230 + 201 201 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V 202 202 203 203 AVI2 channel voltage is 0x04AC/1000=1.196V ... ... @@ -211,11 +211,18 @@ 211 211 * [1] RO1 relay channel is close and the RO1 LED is ON. 212 212 * [0] RO2 relay channel is open and RO2 LED is OFF; 213 213 214 - **LT22222-L:**244 +LT33222-L: 215 215 246 +* [1] DI3 channel is high input and DI3 LED is OFF; 247 +* [0] DI2 channel is low input; 248 +* [1] DI1 channel is high input and DI1 LED is OFF; 249 + 250 +LT22222-L: 251 + 216 216 * [1] DI2 channel is high input and DI2 LED is ON; 217 217 * [0] DI1 channel is low input; 218 218 255 + 219 219 * [0] DO3 channel output state 220 220 ** DO3 is float in case no load between DO3 and V+.; 221 221 ** DO3 is high in case there is load between DO3 and V+. ... ... @@ -226,174 +226,203 @@ 226 226 ** DO1 is high in case there is load between DO1 and V+. 227 227 ** DO1 LED is off in both case 228 228 229 -=== 3.3.2 AT+MOD~=2, (Double DI Counting) === 230 230 267 + 268 +1. 269 +11. 270 +111. AT+MOD=2, (Double DI Counting) 271 + 272 +**For LT-33222-L**: this mode the **DI3** is used as a counting pin. Counting on DI3 reflect in COUNT1. 273 + 231 231 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 232 232 276 + 233 233 Total : 11 bytes payload 234 234 235 -[[image:image-20220523180452-3.png]] 279 +|Size(bytes)|4|4|1|1|1 280 +|Value|COUNT1|COUNT2 |DIDORO*|((( 281 +Reserve 236 236 237 -((( 238 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 239 -))) 283 + 284 +)))|MOD 240 240 241 -[[image:image-20220523180506-4.png]] 242 242 287 +**DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 288 + 289 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 290 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 291 + 243 243 * RO is for relay. ROx=1 : close,ROx=0 always open. 244 244 * FIRST: Indicate this is the first packet after join network. 245 245 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 246 246 247 - (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.296 +Note: DO3 bit is not valid for LT-22222-L. 248 248 249 -**To use counting mode, please run:** 250 250 251 -(% class="box infomessage" %) 252 -((( 253 -**AT+MOD=2** 254 -))) 299 +To use counting mode, please run: 255 255 256 -(% class="box infomessage" %) 257 -((( 258 -**ATZ** 259 -))) 301 +AT+MOD=2 260 260 261 - (% style="color:#4f81bd" %)**ATCommands for counting:**303 +ATZ 262 262 305 + 306 +AT Commands for counting: 307 + 308 +**For LT33222-L:** 309 + 310 +AT+TRIG1=0,100 (set DI3 port to trigger on low level, valid signal is 100ms) 311 + 312 +AT+TRIG1=1,100 (set DI3 port to trigger on high level, valid signal is 100ms ) 313 + 314 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 315 + 316 + 263 263 **For LT22222-L:** 264 264 265 -(% class="box infomessage" %) 266 -((( 267 -**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 268 -))) 319 +AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) 269 269 270 -(% class="box infomessage" %) 271 -((( 272 -**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 273 -))) 321 +AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 274 274 275 -(% class="box infomessage" %) 276 -((( 277 -**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 278 -))) 323 +AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) 279 279 280 -(% class="box infomessage" %) 281 -((( 282 -**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 283 -))) 325 +AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) 284 284 285 -(% class="box infomessage" %) 286 -((( 287 -**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 288 -))) 289 289 290 -(% class="box infomessage" %) 291 -((( 292 -**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 293 -))) 328 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 294 294 295 - === 3.3.3AT+MOD~=3, SingleDI Counting+2xACI===330 +AT+SETCNT=2,60 (Set COUNT2 value to 60) 296 296 332 + 333 +**For both LT22222-L & LT33222-L**: 334 + 335 +AT+CLRCOUNT clear all countings 336 + 337 +AT+COUTIME=60 Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 338 + 339 + 340 + 341 +1. 342 +11. 343 +111. AT+MOD=3, Single DI Counting + 2 x ACI 344 + 345 +**LT33222-L**: This mode the DI3 is used as a counting pin. 346 + 297 297 **LT22222-L**: This mode the DI1 is used as a counting pin. 298 298 299 -[[image:image-20220523181246-5.png]] 300 300 301 -( ((302 - (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1.Totally1bytes as below303 - )))350 +|Size(bytes)|4|2|2|1|1|1 351 +|Value|COUNT1|((( 352 +ACI1 304 304 305 -[[image:image-20220523181301-6.png]] 354 +Current 355 +)))|((( 356 +ACI2 306 306 358 +Current 359 +)))|DIDORO*|Reserve|MOD 360 + 361 + 362 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 363 + 364 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 365 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 366 + 307 307 * RO is for relay. ROx=1 : close,ROx=0 always open. 308 308 * FIRST: Indicate this is the first packet after join network. 309 309 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 310 310 311 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.371 +Note: DO3 is not valid for LT-22222-L. 312 312 313 -**To use counting mode, please run:** 314 314 315 -(% class="box infomessage" %) 316 -((( 317 -**AT+MOD=3** 318 -))) 374 +To use counting mode, please run: 319 319 320 -(% class="box infomessage" %) 321 -((( 322 -**ATZ** 323 -))) 376 +AT+MOD=3 324 324 378 +ATZ 379 + 380 + 325 325 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 326 326 327 -=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 328 328 384 + 385 + 386 +1. 387 +11. 388 +111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting 389 + 390 +**LT33222-L**: This mode the DI3 is used as a counting pin. 391 + 329 329 **LT22222-L**: This mode the DI1 is used as a counting pin. 330 330 394 + 331 331 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. 332 332 333 -[[image:image-20220523181903-8.png]] 334 334 335 -( ((336 - (% style="color:#4f81bd" %)**DIDORO**(%%)is a combinationfor RO1, RO2,DI3,DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below337 - )))398 +|Size(bytes)|4|4|1|1|1 399 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 400 +Reserve 338 338 339 -[[image:image-20220523181727-7.png]] 402 + 403 +)))|MOD 340 340 405 + 406 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 407 + 408 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 409 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 410 + 341 341 * RO is for relay. ROx=1 : close,ROx=0 always open. 342 342 * FIRST: Indicate this is the first packet after join network. 343 343 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 344 344 345 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.415 +Note: DO3 is not valid for LT-22222-L. 346 346 347 -**To use this mode, please run:** 348 348 349 -(% class="box infomessage" %) 350 -((( 351 -**AT+MOD=4** 352 -))) 418 +To use this mode, please run: 353 353 354 -(% class="box infomessage" %) 355 -((( 356 -**ATZ** 357 -))) 420 +AT+MOD=4 358 358 422 +ATZ 359 359 424 + 425 + 360 360 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 361 361 362 - **Plus below command for AVI1 Counting:**428 +Plus below command for AVI1 Counting: 363 363 364 -(% class="box infomessage" %) 365 -((( 366 -**AT+SETCNT=3,60 (set AVI Count to 60)** 367 -))) 430 +AT+SETCNT=3,60 (set AVI Count to 60) 368 368 369 -(% class="box infomessage" %) 370 -((( 371 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 372 -))) 432 +AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1) 373 373 374 -(% class="box infomessage" %) 375 -((( 376 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 377 -))) 434 +AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1) 378 378 379 -(% class="box infomessage" %) 380 -((( 381 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 382 -))) 436 +AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1) 383 383 384 -=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 385 385 439 + 440 +1. 441 +11. 442 +111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI 443 + 444 + 445 +**LT33222-L**: This mode the DI3 is used as a counting pin. 446 + 386 386 **LT22222-L**: This mode the DI1 is used as a counting pin. 387 387 388 -(% border="1" style="background-color:#f7faff" %) 389 -|(% style="width:93px" %)Size(bytes)|(% style="width:112px" %)2|(% style="width:105px" %)2|(% style="width:449px" %)2|2|1|1|1 390 -|(% style="width:93px" %)Value|(% style="width:112px" %)AVI1 voltage|(% style="width:105px" %)AVI2 voltage|(% style="width:449px" %)ACI1 Current| | | | 391 -|(% style="width:93px" %)Value|(% style="width:112px" %)((( 392 -AVI1 voltage 393 -)))|(% style="width:105px" %)((( 394 -AVI2 voltage 395 -)))|(% style="width:449px" %)((( 396 -ACI1 Current 449 + 450 +|Size(bytes)|2|2|2|2|1|1|1 451 +|Value|((( 452 +AVI1 453 + 454 +voltage 455 +)))|((( 456 +AVI2 457 + 458 +voltage 459 +)))|((( 460 +ACI1 461 + 462 +Current 397 397 )))|COUNT1|DIDORO*|((( 398 398 Reserve 399 399 ... ... @@ -400,9 +400,10 @@ 400 400 401 401 )))|MOD 402 402 469 + 470 + 403 403 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 404 404 405 -(% border="1" style="background-color:#f7faff" %) 406 406 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 407 407 |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 408 408 ... ... @@ -426,10 +426,11 @@ 426 426 427 427 428 428 429 -1. 430 -11. 496 +1. 497 +11. 431 431 111. AT+ADDMOD=6. (Trigger Mode, Optional) 432 432 500 + 433 433 **This mode is an optional mode for trigger purpose. It can run together with other mode.** 434 434 435 435 For example, if user has configured below commands: ... ... @@ -437,11 +437,13 @@ 437 437 * AT+MOD=1 à The normal working mode 438 438 * AT+ADDMOD6=1 à Enable trigger 439 439 508 + 440 440 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 441 441 442 442 1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN **unconfirmed** data type 443 443 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 **CONFIRMED data type.** 444 444 514 + 445 445 **AT Command to set Trigger Condition**: 446 446 447 447 **Trigger base on voltage**: ... ... @@ -512,7 +512,6 @@ 512 512 513 513 MOD6 Payload : total 11 bytes payload 514 514 515 -(% border="1" style="background-color:#f7faff" %) 516 516 |Size(bytes)|1|1|1|6|1|1 517 517 |Value|((( 518 518 TRI_A ... ... @@ -532,9 +532,10 @@ 532 532 (6) 533 533 ))) 534 534 604 + 605 + 535 535 **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 536 536 537 -(% border="1" style="background-color:#f7faff" %) 538 538 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 539 539 |((( 540 540 AV1_ ... ... @@ -579,7 +579,6 @@ 579 579 580 580 **TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below 581 581 582 -(% border="1" style="background-color:#f7faff" %) 583 583 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 584 584 |((( 585 585 AV1_ ... ... @@ -626,7 +626,6 @@ 626 626 627 627 **TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below 628 628 629 -(% border="1" style="background-color:#f7faff" %) 630 630 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 631 631 |N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 632 632 ... ... @@ -649,10 +649,11 @@ 649 649 When device got this command, it will send the MOD6 payload. 650 650 651 651 652 -1. 653 -11. 720 +1. 721 +11. 654 654 111. Payload Decoder 655 655 724 + 656 656 **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/]] 657 657 658 658 ... ... @@ -661,7 +661,7 @@ 661 661 662 662 663 663 664 -1. 733 +1. 665 665 11. Configure LT via AT or Downlink 666 666 667 667 User can configure LT I/O Controller via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands ... ... @@ -672,17 +672,20 @@ 672 672 673 673 * **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 674 674 675 -1. 676 -11. 744 + 745 +1. 746 +11. 677 677 111. Common Commands: 678 678 749 + 679 679 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: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands 680 680 681 681 682 -1. 683 -11. 753 +1. 754 +11. 684 684 111. Sensor related commands: 685 685 757 + 686 686 ==== Set Transmit Interval ==== 687 687 688 688 Set device uplink interval. ... ... @@ -882,7 +882,6 @@ 882 882 883 883 01: Low, 00: High , 11: No action 884 884 885 -(% border="1" style="background-color:#f7faff" %) 886 886 |Downlink Code|DO1|DO2|DO3 887 887 |02 01 00 11|Low|High|No Action 888 888 |02 00 11 01|High|No Action|Low ... ... @@ -920,23 +920,22 @@ 920 920 921 921 **Third Byte**: Control Method and Ports status: 922 922 923 -(% border="1" style="background-color:#f7faff" %) 924 924 |Second Byte|Status 925 925 |0x01|DO1 set to low 926 926 |0x00|DO1 set to high 927 927 |0x11|DO1 NO Action 928 928 999 + 929 929 **Fourth Byte**: Control Method and Ports status: 930 930 931 -(% border="1" style="background-color:#f7faff" %) 932 932 |Second Byte|Status 933 933 |0x01|DO2 set to low 934 934 |0x00|DO2 set to high 935 935 |0x11|DO2 NO Action 936 936 1007 + 937 937 **Fifth Byte**: Control Method and Ports status: 938 938 939 -(% border="1" style="background-color:#f7faff" %) 940 940 |Second Byte|Status 941 941 |0x01|DO3 set to low 942 942 |0x00|DO3 set to high ... ... @@ -989,7 +989,6 @@ 989 989 990 990 01: Close , 00: Open , 11: No action 991 991 992 -(% border="1" style="background-color:#f7faff" %) 993 993 |Downlink Code|RO1|RO2 994 994 |03 00 11|Open|No Action 995 995 |03 01 11|Close|No Action ... ... @@ -1027,7 +1027,6 @@ 1027 1027 1028 1028 **Third Byte(bb)**: Control Method and Ports status: 1029 1029 1030 -(% border="1" style="background-color:#f7faff" %) 1031 1031 |Value|Status 1032 1032 |0x11|RO1 and RO2 to NO 1033 1033 |0x10|RO2 to NO, RO1 to NC ... ... @@ -1038,6 +1038,7 @@ 1038 1038 |0x02|RO1 to NC, RO2 No Action 1039 1039 |0x12|RO1 to NO, RO2 No Action 1040 1040 1109 + 1041 1041 **Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms 1042 1042 1043 1043 Device will upload a packet if downlink code executes successfully. ... ... @@ -1139,9 +1139,10 @@ 1139 1139 1140 1140 1141 1141 1142 -1. 1211 +1. 1143 1143 11. Integrate with Mydevice 1144 1144 1214 + 1145 1145 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: 1146 1146 1147 1147 ... ... @@ -1186,7 +1186,7 @@ 1186 1186 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]] 1187 1187 1188 1188 1189 -1. 1259 +1. 1190 1190 11. Interface Detail 1191 1191 111. Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) 1192 1192 ... ... @@ -1196,8 +1196,8 @@ 1196 1196 1197 1197 1198 1198 1199 -1. 1200 -11. 1269 +1. 1270 +11. 1201 1201 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1202 1202 1203 1203 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1239,7 +1239,7 @@ 1239 1239 1240 1240 **Example3**: Connect to a 220v high active sensor.公司测试一下 1241 1241 1242 -Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1312 +Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1243 1243 1244 1244 * Connect sensor’s output to DI1+ with a serial 50K resistor 1245 1245 * Connect sensor’s GND DI1-. ... ... @@ -1251,8 +1251,8 @@ 1251 1251 If sensor output is 220v, the //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1252 1252 1253 1253 1254 -1. 1255 -11. 1324 +1. 1325 +11. 1256 1256 111. Digital Output Port: DO1/DO2 /DO3 1257 1257 1258 1258 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1262,8 +1262,8 @@ 1262 1262 1263 1263 1264 1264 1265 -1. 1266 -11. 1335 +1. 1336 +11. 1267 1267 111. Analog Input Interface 1268 1268 1269 1269 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: ... ... @@ -1295,8 +1295,8 @@ 1295 1295 1296 1296 1297 1297 1298 -1. 1299 -11. 1368 +1. 1369 +11. 1300 1300 111. Relay Output 1301 1301 1302 1302 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: ... ... @@ -1310,10 +1310,10 @@ 1310 1310 1311 1311 1312 1312 1313 -1. 1383 +1. 1314 1314 11. LEDs Indicators 1315 1315 1316 - (% border="1" style="background-color:#f7faff" %)1386 + 1317 1317 |**LEDs**|**Feature** 1318 1318 |**PWR**|Always on if there is power 1319 1319 |**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. ... ... @@ -1347,6 +1347,9 @@ 1347 1347 |**RO1**| 1348 1348 |**RO2**| 1349 1349 1420 + 1421 + 1422 + 1350 1350 1. Use AT Command 1351 1351 11. Access AT Command 1352 1352 ... ... @@ -1456,7 +1456,7 @@ 1456 1456 1457 1457 1458 1458 1459 -1. 1532 +1. 1460 1460 11. Common AT Command Sequence 1461 1461 111. Multi-channel ABP mode (Use with SX1301/LG308) 1462 1462 ... ... @@ -1479,8 +1479,8 @@ 1479 1479 1480 1480 ATZ 1481 1481 1482 -1. 1483 -11. 1555 +1. 1556 +11. 1484 1484 111. Single-channel ABP mode (Use with LG01/LG02) 1485 1485 1486 1486 123456 Enter Password to have AT access. ... ... @@ -1519,10 +1519,11 @@ 1519 1519 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]] 1520 1520 1521 1521 1522 -1. 1523 -11. 1595 +1. 1596 +11. 1524 1524 111. Change to Class A 1525 1525 1599 + 1526 1526 If sensor JOINED 1527 1527 1528 1528 AT+CLASS=A ... ... @@ -1535,7 +1535,8 @@ 1535 1535 1536 1536 1. FAQ 1537 1537 1538 -1. 1612 + 1613 +1. 1539 1539 11. How to upgrade the image? 1540 1540 1541 1541 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1544,6 +1544,7 @@ 1544 1544 * For bug fix 1545 1545 * Change LoRaWAN bands. 1546 1546 1622 + 1547 1547 Below shows the hardware connection for how to upload an image to the LT: 1548 1548 1549 1549 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]] ... ... @@ -1588,13 +1588,13 @@ 1588 1588 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]] 1589 1589 1590 1590 1591 -1. 1667 +1. 1592 1592 11. How to change the LoRa Frequency Bands/Region? 1593 1593 1594 1594 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1595 1595 1596 1596 1597 -1. 1673 +1. 1598 1598 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1599 1599 1600 1600 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1637,7 +1637,7 @@ 1637 1637 1638 1638 1639 1639 1640 -1. 1716 +1. 1641 1641 11. Can I see counting event in Serial? 1642 1642 1643 1643 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. ... ... @@ -1653,7 +1653,7 @@ 1653 1653 [[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]] 1654 1654 1655 1655 1656 -1. 1732 +1. 1657 1657 11. Have trouble to upload image. 1658 1658 1659 1659 See this link for trouble shooting: ... ... @@ -1661,7 +1661,7 @@ 1661 1661 [[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]] 1662 1662 1663 1663 1664 -1. 1740 +1. 1665 1665 11. Why I can’t join TTN in US915 /AU915 bands? 1666 1666 1667 1667 It might be about the channels mapping. Please see this link for detail: ... ... @@ -1673,6 +1673,7 @@ 1673 1673 1674 1674 1. Order Info 1675 1675 1752 + 1676 1676 **For LT-33222-L-XXX or LT-22222-L-XXX:** 1677 1677 1678 1678 **XXX:** ... ... @@ -1687,6 +1687,7 @@ 1687 1687 * **IN865**: LT with frequency bands IN865 1688 1688 * **CN779**: LT with frequency bands CN779 1689 1689 1767 + 1690 1690 1. Packing Info 1691 1691 1692 1692 **Package Includes**: ... ... @@ -1696,6 +1696,7 @@ 1696 1696 * Bracket for controller x1 1697 1697 * Program cable x 1 1698 1698 1777 + 1699 1699 **Dimension and weight**: 1700 1700 1701 1701 * Device Size: 13.5 x 7 x 3 cm ... ... @@ -1703,6 +1703,7 @@ 1703 1703 * Package Size / pcs : 14.5 x 8 x 5 cm 1704 1704 * Weight / pcs : 170g 1705 1705 1785 + 1706 1706 1. Support 1707 1707 1708 1708 * 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.
- image-20220523173530-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.8 KB - Content
- image-20220523174024-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.0 KB - Content
- image-20220523174254-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.9 KB - Content
- image-20220523175754-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.8 KB - Content
- image-20220523175847-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.0 KB - Content
- image-20220523180452-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.5 KB - Content
- image-20220523180506-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.5 KB - Content
- image-20220523181246-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.5 KB - Content
- image-20220523181301-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.6 KB - Content
- image-20220523181727-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.8 KB - Content
- image-20220523181903-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.9 KB - Content