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, 13 added, 0 removed)
- image-20220523175754-1.png
- image-20220523175847-2.png
- image-20220523180452-3.png
- image-20220523180506-4.png
- image-20220523181246-5.png
- image-20220523181301-6.png
- image-20220523181727-7.png
- image-20220523181903-8.png
- image-20220523182334-9.png
- image-20220524085923-1.png
- image-20220524090106-2.png
- image-20220524090249-3.png
- image-20220524090456-4.png
Details
- Page properties
-
- Content
-
... ... @@ -4,8 +4,13 @@ 4 4 **LT-22222-L LoRa IO Controller User Manual ** 5 5 6 6 7 +**Table of Contents:** 7 7 9 +{{toc/}} 8 8 11 + 12 + 13 + 9 9 = 1.Introduction = 10 10 11 11 == 1.1 What is LT Series I/O Controller == ... ... @@ -182,7 +182,9 @@ 182 182 183 183 [[image:image-20220523174024-3.png]] 184 184 190 +((( 185 185 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 192 +))) 186 186 187 187 [[image:image-20220523174254-4.png]] 188 188 ... ... @@ -190,13 +190,12 @@ 190 190 * DI is for digital input. DIx=1: high or float, DIx=0: low. 191 191 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 192 192 193 -Note: DI3 and DO3 bit are not valid for LT-22222-L 200 +(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L 194 194 202 +For example if payload is: [[image:image-20220523175847-2.png]] 195 195 196 - Forexampleifpayloadis:04 AB 04 AC 13 10 13 00 AA FF 01204 +**The value for the interface is: ** 197 197 198 -The value for the interface is: 199 - 200 200 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V 201 201 202 202 AVI2 channel voltage is 0x04AC/1000=1.196V ... ... @@ -210,14 +210,8 @@ 210 210 * [1] RO1 relay channel is close and the RO1 LED is ON. 211 211 * [0] RO2 relay channel is open and RO2 LED is OFF; 212 212 213 -LT 33222-L:219 +**LT22222-L:** 214 214 215 -* [1] DI3 channel is high input and DI3 LED is OFF; 216 -* [0] DI2 channel is low input; 217 -* [1] DI1 channel is high input and DI1 LED is OFF; 218 - 219 -LT22222-L: 220 - 221 221 * [1] DI2 channel is high input and DI2 LED is ON; 222 222 * [0] DI1 channel is low input; 223 223 ... ... @@ -231,290 +231,236 @@ 231 231 ** DO1 is high in case there is load between DO1 and V+. 232 232 ** DO1 LED is off in both case 233 233 234 +=== 3.3.2 AT+MOD~=2, (Double DI Counting) === 234 234 235 -1. 236 -11. 237 -111. AT+MOD=2, (Double DI Counting) 238 - 239 -**For LT-33222-L**: this mode the **DI3** is used as a counting pin. Counting on DI3 reflect in COUNT1. 240 - 241 241 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 242 242 243 - 244 244 Total : 11 bytes payload 245 245 246 -(% border="1" style="background-color:#f7faff; height:10px; width:500px" %) 247 -|Size(bytes)|4|4|1|1|1 248 -|Value|COUNT1|COUNT2 |DIDORO*|((( 249 -Reserve 240 +[[image:image-20220523180452-3.png]] 250 250 251 - 252 -)))|MOD 242 +((( 243 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 244 +))) 253 253 254 - **DIDORO**is a combination for RO1, RO2, DO3, DO2and DO1.Totally 1bytes as below246 +[[image:image-20220523180506-4.png]] 255 255 256 -(% border="1" style="background-color:#f7faff" %) 257 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 258 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 259 - 260 260 * RO is for relay. ROx=1 : close,ROx=0 always open. 261 261 * FIRST: Indicate this is the first packet after join network. 262 262 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 263 263 264 -Note: DO3 bit is not valid for LT-22222-L. 252 +(% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 265 265 254 +**To use counting mode, please run:** 266 266 267 -To use counting mode, please run: 256 +(% class="box infomessage" %) 257 +((( 258 +**AT+MOD=2** 259 +))) 268 268 269 -AT+MOD=2 261 +(% class="box infomessage" %) 262 +((( 263 +**ATZ** 264 +))) 270 270 271 -AT Z266 +(% style="color:#4f81bd" %)**AT Commands for counting:** 272 272 273 - 274 -AT Commands for counting: 275 - 276 -**For LT33222-L:** 277 - 278 -AT+TRIG1=0,100 (set DI3 port to trigger on low level, valid signal is 100ms) 279 - 280 -AT+TRIG1=1,100 (set DI3 port to trigger on high level, valid signal is 100ms ) 281 - 282 -AT+SETCNT=1,60 (Set COUNT1 value to 60) 283 - 284 - 285 285 **For LT22222-L:** 286 286 287 -AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) 270 +(% class="box infomessage" %) 271 +((( 272 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 273 +))) 288 288 289 -AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 275 +(% class="box infomessage" %) 276 +((( 277 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 278 +))) 290 290 291 -AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) 280 +(% class="box infomessage" %) 281 +((( 282 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 283 +))) 292 292 293 -AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) 285 +(% class="box infomessage" %) 286 +((( 287 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 288 +))) 294 294 290 +(% class="box infomessage" %) 291 +((( 292 +**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 293 +))) 295 295 296 -AT+SETCNT=1,60 (Set COUNT1 value to 60) 295 +(% class="box infomessage" %) 296 +((( 297 +**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 298 +))) 297 297 298 -AT+ SETCNT=2,60(SetCOUNT2valueto60)300 +=== 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 299 299 300 - 301 -**For both LT22222-L & LT33222-L**: 302 - 303 -AT+CLRCOUNT clear all countings 304 - 305 -AT+COUTIME=60 Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 306 - 307 - 308 - 309 -1. 310 -11. 311 -111. AT+MOD=3, Single DI Counting + 2 x ACI 312 - 313 -**LT33222-L**: This mode the DI3 is used as a counting pin. 314 - 315 315 **LT22222-L**: This mode the DI1 is used as a counting pin. 316 316 304 +[[image:image-20220523181246-5.png]] 317 317 318 -(% border="1" style="background-color:#f7faff" %) 319 -|Size(bytes)|4|2|2|1|1|1 320 -|Value|COUNT1|((( 321 -ACI1 306 +((( 307 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 308 +))) 322 322 323 -Current 324 -)))|((( 325 -ACI2 310 +[[image:image-20220523181301-6.png]] 326 326 327 -Current 328 -)))|DIDORO*|Reserve|MOD 329 - 330 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 331 - 332 -(% border="1" style="background-color:#f7faff" %) 333 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 334 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 335 - 336 336 * RO is for relay. ROx=1 : close,ROx=0 always open. 337 337 * FIRST: Indicate this is the first packet after join network. 338 338 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 339 339 340 -Note: DO3 is not valid for LT-22222-L. 316 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 341 341 318 +**To use counting mode, please run:** 342 342 343 -To use counting mode, please run: 320 +(% class="box infomessage" %) 321 +((( 322 +**AT+MOD=3** 323 +))) 344 344 345 -AT+MOD=3 325 +(% class="box infomessage" %) 326 +((( 327 +**ATZ** 328 +))) 346 346 347 -ATZ 348 - 349 - 350 350 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 351 351 332 +=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 352 352 353 - 354 - 355 -1. 356 -11. 357 -111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting 358 - 359 -**LT33222-L**: This mode the DI3 is used as a counting pin. 360 - 361 361 **LT22222-L**: This mode the DI1 is used as a counting pin. 362 362 363 - 364 364 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. 365 365 338 +[[image:image-20220523181903-8.png]] 366 366 367 -(% border="1" style="background-color:#f7faff" %) 368 -|Size(bytes)|4|4|1|1|1 369 -|Value|COUNT1|AVI1 Counting|DIDORO*|((( 370 -Reserve 340 +((( 341 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 342 +))) 371 371 372 - 373 -)))|MOD 344 +[[image:image-20220523181727-7.png]] 374 374 375 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 376 - 377 -(% border="1" style="background-color:#f7faff" %) 378 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 379 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 380 - 381 381 * RO is for relay. ROx=1 : close,ROx=0 always open. 382 382 * FIRST: Indicate this is the first packet after join network. 383 383 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 384 384 385 -Note: DO3 is not valid for LT-22222-L. 350 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 386 386 352 +**To use this mode, please run:** 387 387 388 -To use this mode, please run: 354 +(% class="box infomessage" %) 355 +((( 356 +**AT+MOD=4** 357 +))) 389 389 390 -AT+MOD=4 359 +(% class="box infomessage" %) 360 +((( 361 +**ATZ** 362 +))) 391 391 392 -ATZ 393 393 394 - 395 - 396 396 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 397 397 398 -Plus below command for AVI1 Counting: 367 +**Plus below command for AVI1 Counting:** 399 399 400 -AT+SETCNT=3,60 (set AVI Count to 60) 369 +(% class="box infomessage" %) 370 +((( 371 +**AT+SETCNT=3,60 (set AVI Count to 60)** 372 +))) 401 401 402 -AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1) 374 +(% class="box infomessage" %) 375 +((( 376 +**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 377 +))) 403 403 404 -AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1) 379 +(% class="box infomessage" %) 380 +((( 381 +**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 382 +))) 405 405 406 -AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1) 384 +(% class="box infomessage" %) 385 +((( 386 +**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 387 +))) 407 407 389 +=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 408 408 409 - 410 -1. 411 -11. 412 -111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI 413 - 414 -**LT33222-L**: This mode the DI3 is used as a counting pin. 415 - 416 416 **LT22222-L**: This mode the DI1 is used as a counting pin. 417 417 393 +[[image:image-20220523182334-9.png]] 418 418 419 -(% border="1" style="background-color:#f7faff" %) 420 -|Size(bytes)|2|2|2|2|1|1|1 421 -|Value|((( 422 -AVI1 395 +((( 396 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 397 +))) 423 423 424 -voltage 425 -)))|((( 426 -AVI2 427 - 428 -voltage 429 -)))|((( 430 -ACI1 431 - 432 -Current 433 -)))|COUNT1|DIDORO*|((( 434 -Reserve 435 - 436 - 437 -)))|MOD 438 - 439 - 440 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 441 - 442 -(% border="1" style="background-color:#f7faff" %) 443 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 444 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 445 - 446 446 * RO is for relay. ROx=1 : close,ROx=0 always open. 447 447 * FIRST: Indicate this is the first packet after join network. 448 448 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 449 449 450 -Note: DO3 is not valid for LT-22222-L. 403 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 451 451 405 +**To use this mode, please run:** 452 452 453 -To use this mode, please run: 407 +(% class="box infomessage" %) 408 +((( 409 +**AT+MOD=5** 410 +))) 454 454 455 -AT+MOD=5 412 +(% class="box infomessage" %) 413 +((( 414 +**ATZ** 415 +))) 456 456 457 -ATZ 458 - 459 - 460 460 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 461 461 419 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 462 462 421 +(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 463 463 464 - 465 - 466 -1. 467 -11. 468 -111. AT+ADDMOD=6. (Trigger Mode, Optional) 469 - 470 -**This mode is an optional mode for trigger purpose. It can run together with other mode.** 471 - 472 472 For example, if user has configured below commands: 473 473 474 -* AT+MOD=1 àThe normal working mode475 -* AT+ADDMOD6=1 àEnable trigger425 +* **AT+MOD=1 ** **~-~->** The normal working mode 426 +* **AT+ADDMOD6=1** **~-~->** Enable trigger 476 476 477 477 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 478 478 479 -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 480 -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.** 430 +1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type 431 +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 (% style="color:#4f81bd" %)**CONFIRMED data type.** 481 481 482 482 **AT Command to set Trigger Condition**: 483 483 484 -**Trigger base on voltage**: 435 +(% style="color:#4f81bd" %)**Trigger base on voltage**: 485 485 486 486 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 487 487 488 -Example: 439 +**Example:** 489 489 490 490 AT+AVLIM=3000,6000,0,2000 (If AVI1 voltage lower than 3v or higher than 6v. or AV2 voltage is higher than 2v, LT will trigger Uplink) 491 491 492 492 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 493 493 445 +(% style="color:#4f81bd" %)**Trigger base on current**: 494 494 495 -**Trigger base on current**: 496 - 497 497 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 498 498 499 -Example: 449 +**Example:** 500 500 501 501 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 502 502 453 +(% style="color:#4f81bd" %)**Trigger base on DI status**: 503 503 504 -**Trigger base on DI status**: 505 - 506 506 DI status trigger Flag. 507 507 508 508 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 509 509 510 -Example: 459 +**Example:** 511 511 512 512 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 513 513 514 514 515 - 516 - 517 - 518 518 **Downlink Command to set Trigger Condition** 519 519 520 520 Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]] ... ... @@ -533,9 +533,8 @@ 533 533 534 534 Yy4 yy4: AC2 or AV2 high limit. 535 535 482 +**Example1**: AA 00 13 88 00 00 00 00 00 00 536 536 537 -Example1: AA 00 13 88 00 00 00 00 00 00 538 - 539 539 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 540 540 541 541 Example2: AA 02 01 00 ... ... @@ -542,135 +542,41 @@ 542 542 543 543 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 544 544 490 +(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 545 545 546 - 547 - 548 -**Trigger Settings Payload Explanation:** 549 - 550 550 MOD6 Payload : total 11 bytes payload 551 551 552 -(% border="1" style="background-color:#f7faff" %) 553 -|Size(bytes)|1|1|1|6|1|1 554 -|Value|((( 555 -TRI_A 494 +[[image:image-20220524085923-1.png]] 556 556 557 -FLAG 558 -)))|((( 559 -TRI_A 496 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 560 560 561 -Status 562 -)))|((( 563 -TRI_DI 498 +[[image:image-20220524090106-2.png]] 564 564 565 -FLAG+STA 566 -)))|Reserve|Enable/Disable MOD6|((( 567 -MOD 568 - 569 -(6) 570 -))) 571 - 572 - 573 -**TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 574 - 575 -(% border="1" style="background-color:#f7faff" %) 576 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 577 -|((( 578 -AV1_ 579 - 580 -LOW 581 -)))|((( 582 -AV1_ 583 - 584 -HIGH 585 -)))|((( 586 -AV2_ 587 - 588 -LOW 589 -)))|((( 590 -AV2_ 591 - 592 -HIGH 593 -)))|((( 594 -AC1_ 595 - 596 -LOW 597 -)))|((( 598 -AC1_ 599 - 600 -HIGH 601 -)))|((( 602 -AC2_ 603 - 604 -LOW 605 -)))|((( 606 -AC2_ 607 - 608 -HIGH 609 -))) 610 - 611 611 * Each bits shows if the corresponding trigger has been configured. 612 612 613 -Example: 502 +**Example:** 614 614 615 615 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 616 616 617 617 618 -**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below 507 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below 619 619 620 -(% border="1" style="background-color:#f7faff" %) 621 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 622 -|((( 623 -AV1_ 509 +[[image:image-20220524090249-3.png]] 624 624 625 -LOW 626 -)))|((( 627 -AV1_ 628 - 629 -HIGH 630 -)))|((( 631 -AV2_ 632 - 633 -LOW 634 -)))|((( 635 -AV2_ 636 - 637 -HIGH 638 -)))|((( 639 -AC1_ 640 - 641 -LOW 642 -)))|((( 643 -AC1_ 644 - 645 -HIGH 646 -)))|((( 647 -AC2_ 648 - 649 -LOW 650 -)))|((( 651 -AC2_ 652 - 653 -HIGH 654 -))) 655 - 656 656 * Each bits shows which status has been trigger on this uplink. 657 657 658 -Example: 513 +**Example:** 659 659 660 660 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 661 661 662 662 518 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 663 663 520 +[[image:image-20220524090456-4.png]] 664 664 665 -**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below 666 - 667 -(% border="1" style="background-color:#f7faff" %) 668 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 669 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 670 - 671 671 * Each bits shows which status has been trigger on this uplink. 672 672 673 -Example: 524 +**Example:** 674 674 675 675 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. 676 676 ... ... @@ -677,116 +677,119 @@ 677 677 00000101: Means both DI1 and DI2 trigger are enabled. 678 678 679 679 680 -**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable. 531 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable. 681 681 682 - 683 683 Downlink command to poll MOD6 status: 684 684 685 -AB 06 535 +**AB 06** 686 686 687 687 When device got this command, it will send the MOD6 payload. 688 688 539 +=== 3.3.7 Payload Decoder === 689 689 690 -1. 691 -11. 692 -111. Payload Decoder 693 - 541 +((( 694 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/]] 543 +))) 695 695 545 +== 3.4 Configure LT via AT or Downlink == 696 696 547 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 697 697 698 - 699 - 700 - 701 - 702 -1. 703 -11. Configure LT via AT or Downlink 704 - 705 -User can configure LT I/O Controller via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands 706 - 549 +((( 707 707 There are two kinds of Commands: 551 +))) 708 708 709 -* **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: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands 553 +* (% style="color:#4f81bd" %)**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: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands 710 710 711 -* **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 555 +* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 712 712 713 -1. 714 -11. 715 -111. Common Commands: 557 +=== 3.4.1 Common Commands === 716 716 717 -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_Commands559 +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>>http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 718 718 561 +=== 3.4.2 Sensor related commands === 719 719 720 -1. 721 -11. 722 -111. Sensor related commands: 563 +==== 3.4.2.1 Set Transmit Interval ==== 723 723 724 -==== Set Transmit Interval ==== 725 - 726 726 Set device uplink interval. 727 727 728 728 * AT Command: 729 729 730 -AT+TDC=N 569 +(% class="box infomessage" %) 570 +((( 571 +**AT+TDC=N ** 572 +))) 731 731 732 -Example: AT+TDC=30000. Means set interval to 30 seconds 574 +**Example: **AT+TDC=30000. Means set interval to 30 seconds 733 733 734 - 735 735 * Downlink Payload (prefix 0x01): 736 736 737 -0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc) 578 +(% class="box infomessage" %) 579 +((( 580 +**0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 581 +))) 738 738 739 739 740 -==== Set Work Mode (AT+MOD) ==== 584 +==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 741 741 742 742 Set work mode. 743 743 744 744 * AT Command: 745 745 746 -AT+MOD=N 590 +(% class="box infomessage" %) 591 +((( 592 +**AT+MOD=N ** 593 +))) 747 747 748 -Example: AT+MOD=2. Set work mode to Double DI counting mode 595 +**Example**: AT+MOD=2. Set work mode to Double DI counting mode 749 749 750 - 751 751 * Downlink Payload (prefix 0x0A): 752 752 753 -0x0A aa ~/~/ Same as AT+MOD=aa 599 +(% class="box infomessage" %) 600 +((( 601 +**0x0A aa ~/~/ Same as AT+MOD=aa** 602 +))) 754 754 604 +==== 3.4.2.3 Poll an uplink ==== 755 755 756 - 757 -==== Poll an uplink ==== 758 - 759 759 * AT Command: 760 760 761 761 There is no AT Command to poll uplink 762 762 763 - 764 764 * Downlink Payload (prefix 0x08): 765 765 766 -0x08 FF ~/~/ Poll an uplink, 612 +(% class="box infomessage" %) 613 +((( 614 +**0x08 FF ~/~/ Poll an uplink,** 615 +))) 767 767 768 -Example: 0x08FF, ask device to send an Uplink 617 +**Example**: 0x08FF, ask device to send an Uplink 769 769 770 770 771 -==== Enable Trigger Mode ==== 620 +==== 3.4.2.4 Enable Trigger Mode ==== 772 772 773 -Use of trigger mode, please check [[ADDMOD6>>path:#MOD6]] 622 +Use of trigger mode, please check [[ADDMOD6>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 774 774 775 775 * AT Command: 776 776 777 -AT+ADDMOD6=1 or 0 626 +(% class="box infomessage" %) 627 +((( 628 +**AT+ADDMOD6=1 or 0** 629 +))) 778 778 779 779 1: Enable Trigger Mode 780 780 781 781 0: Disable Trigger Mode 782 782 783 - 784 784 * Downlink Payload (prefix 0x0A 06): 785 785 786 -0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa, 637 +(% class="box infomessage" %) 638 +((( 639 +**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 640 +))) 787 787 788 788 789 -==== Poll trigger settings ==== 643 +==== 3.4.2.5 Poll trigger settings ==== 790 790 791 791 Poll trigger settings, 792 792 ... ... @@ -794,10 +794,12 @@ 794 794 795 795 There is no AT Command for this feature. 796 796 797 - 798 798 * Downlink Payload (prefix 0x AB 06): 799 799 800 -0xAB 06 ~/~/ Poll trigger settings, device will uplink [[trigger settings>>path:#Trigger_Settings]] once receive this command 653 +(% class="box infomessage" %) 654 +((( 655 +**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 656 +))) 801 801 802 802 803 803 ==== Enable / Disable DI1/DI2/DI3 as trigger ==== ... ... @@ -1177,7 +1177,7 @@ 1177 1177 1178 1178 1179 1179 1180 -1. 1036 +1. 1181 1181 11. Integrate with Mydevice 1182 1182 1183 1183 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: ... ... @@ -1235,7 +1235,7 @@ 1235 1235 1236 1236 1237 1237 1. 1238 -11. 1094 +11. 1239 1239 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1240 1240 1241 1241 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1289,8 +1289,8 @@ 1289 1289 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. 1290 1290 1291 1291 1292 -1. 1293 -11. 1148 +1. 1149 +11. 1294 1294 111. Digital Output Port: DO1/DO2 /DO3 1295 1295 1296 1296 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1301,7 +1301,7 @@ 1301 1301 1302 1302 1303 1303 1. 1304 -11. 1160 +11. 1305 1305 111. Analog Input Interface 1306 1306 1307 1307 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: ... ... @@ -1334,7 +1334,7 @@ 1334 1334 1335 1335 1336 1336 1. 1337 -11. 1193 +11. 1338 1338 111. Relay Output 1339 1339 1340 1340 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: ... ... @@ -1385,8 +1385,6 @@ 1385 1385 |**RO1**| 1386 1386 |**RO2**| 1387 1387 1388 - 1389 - 1390 1390 1. Use AT Command 1391 1391 11. Access AT Command 1392 1392 ... ... @@ -1496,7 +1496,7 @@ 1496 1496 1497 1497 1498 1498 1499 -1. 1353 +1. 1500 1500 11. Common AT Command Sequence 1501 1501 111. Multi-channel ABP mode (Use with SX1301/LG308) 1502 1502 ... ... @@ -1519,8 +1519,8 @@ 1519 1519 1520 1520 ATZ 1521 1521 1522 -1. 1523 -11. 1376 +1. 1377 +11. 1524 1524 111. Single-channel ABP mode (Use with LG01/LG02) 1525 1525 1526 1526 123456 Enter Password to have AT access. ... ... @@ -1560,7 +1560,7 @@ 1560 1560 1561 1561 1562 1562 1. 1563 -11. 1417 +11. 1564 1564 111. Change to Class A 1565 1565 1566 1566 If sensor JOINED ... ... @@ -1575,7 +1575,7 @@ 1575 1575 1576 1576 1. FAQ 1577 1577 1578 -1. 1432 +1. 1579 1579 11. How to upgrade the image? 1580 1580 1581 1581 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1634,7 +1634,7 @@ 1634 1634 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1635 1635 1636 1636 1637 -1. 1491 +1. 1638 1638 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1639 1639 1640 1640 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1693,7 +1693,7 @@ 1693 1693 [[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]] 1694 1694 1695 1695 1696 -1. 1550 +1. 1697 1697 11. Have trouble to upload image. 1698 1698 1699 1699 See this link for trouble shooting: ... ... @@ -1701,7 +1701,7 @@ 1701 1701 [[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]] 1702 1702 1703 1703 1704 -1. 1558 +1. 1705 1705 11. Why I can’t join TTN in US915 /AU915 bands? 1706 1706 1707 1707 It might be about the channels mapping. Please see this link for detail:
- image-20220523175754-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.8 KB - Content
- image-20220523175847-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.0 KB - Content
- image-20220523180452-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.5 KB - Content
- image-20220523180506-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.5 KB - Content
- image-20220523181246-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.5 KB - Content
- image-20220523181301-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.6 KB - Content
- image-20220523181727-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.8 KB - Content
- image-20220523181903-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.9 KB - Content
- image-20220523182334-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.4 KB - Content
- image-20220524085923-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.4 KB - Content
- image-20220524090106-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.2 KB - Content
- image-20220524090249-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.8 KB - Content
- image-20220524090456-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.1 KB - Content