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
-
... ... @@ -4,13 +4,8 @@ 4 4 **LT-22222-L LoRa IO Controller User Manual ** 5 5 6 6 7 -**Table of Contents:** 8 8 9 -{{toc/}} 10 10 11 - 12 - 13 - 14 14 = 1.Introduction = 15 15 16 16 == 1.1 What is LT Series I/O Controller == ... ... @@ -187,9 +187,7 @@ 187 187 188 188 [[image:image-20220523174024-3.png]] 189 189 190 -((( 191 191 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 192 -))) 193 193 194 194 [[image:image-20220523174254-4.png]] 195 195 ... ... @@ -197,12 +197,13 @@ 197 197 * DI is for digital input. DIx=1: high or float, DIx=0: low. 198 198 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 199 199 200 - (% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L193 +Note: DI3 and DO3 bit are not valid for LT-22222-L 201 201 202 -For example if payload is: [[image:image-20220523175847-2.png]] 203 203 204 - **Thevaluefor theinterfaceis:**196 +For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01 205 205 198 +The value for the interface is: 199 + 206 206 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V 207 207 208 208 AVI2 channel voltage is 0x04AC/1000=1.196V ... ... @@ -216,8 +216,14 @@ 216 216 * [1] RO1 relay channel is close and the RO1 LED is ON. 217 217 * [0] RO2 relay channel is open and RO2 LED is OFF; 218 218 219 - **LT22222-L:**213 +LT33222-L: 220 220 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,236 +231,290 @@ 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) === 235 235 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 + 236 236 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 237 237 243 + 238 238 Total : 11 bytes payload 239 239 240 -[[image:image-20220523180452-3.png]] 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 241 241 242 -((( 243 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 244 -))) 251 + 252 +)))|MOD 245 245 246 - [[image:image-20220523180506-4.png]]254 +**DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 247 247 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 + 248 248 * RO is for relay. ROx=1 : close,ROx=0 always open. 249 249 * FIRST: Indicate this is the first packet after join network. 250 250 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 251 251 252 - (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.264 +Note: DO3 bit is not valid for LT-22222-L. 253 253 254 -**To use counting mode, please run:** 255 255 256 -(% class="box infomessage" %) 257 -((( 258 -**AT+MOD=2** 259 -))) 267 +To use counting mode, please run: 260 260 261 -(% class="box infomessage" %) 262 -((( 263 -**ATZ** 264 -))) 269 +AT+MOD=2 265 265 266 - (% style="color:#4f81bd" %)**ATCommands for counting:**271 +ATZ 267 267 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 + 268 268 **For LT22222-L:** 269 269 270 -(% class="box infomessage" %) 271 -((( 272 -**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 273 -))) 287 +AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) 274 274 275 -(% class="box infomessage" %) 276 -((( 277 -**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 278 -))) 289 +AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 279 279 280 -(% class="box infomessage" %) 281 -((( 282 -**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 283 -))) 291 +AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) 284 284 285 -(% class="box infomessage" %) 286 -((( 287 -**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 288 -))) 293 +AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) 289 289 290 -(% class="box infomessage" %) 291 -((( 292 -**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 293 -))) 294 294 295 -(% class="box infomessage" %) 296 -((( 297 -**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 298 -))) 296 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 299 299 300 - === 3.3.3AT+MOD~=3, SingleDI Counting+2xACI===298 +AT+SETCNT=2,60 (Set COUNT2 value to 60) 301 301 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 + 302 302 **LT22222-L**: This mode the DI1 is used as a counting pin. 303 303 304 -[[image:image-20220523181246-5.png]] 305 305 306 -((( 307 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 308 -))) 318 +(% border="1" style="background-color:#f7faff" %) 319 +|Size(bytes)|4|2|2|1|1|1 320 +|Value|COUNT1|((( 321 +ACI1 309 309 310 -[[image:image-20220523181301-6.png]] 323 +Current 324 +)))|((( 325 +ACI2 311 311 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 + 312 312 * RO is for relay. ROx=1 : close,ROx=0 always open. 313 313 * FIRST: Indicate this is the first packet after join network. 314 314 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 315 315 316 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.340 +Note: DO3 is not valid for LT-22222-L. 317 317 318 -**To use counting mode, please run:** 319 319 320 -(% class="box infomessage" %) 321 -((( 322 -**AT+MOD=3** 323 -))) 343 +To use counting mode, please run: 324 324 325 -(% class="box infomessage" %) 326 -((( 327 -**ATZ** 328 -))) 345 +AT+MOD=3 329 329 347 +ATZ 348 + 349 + 330 330 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 331 331 332 -=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 333 333 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 + 334 334 **LT22222-L**: This mode the DI1 is used as a counting pin. 335 335 363 + 336 336 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. 337 337 338 -[[image:image-20220523181903-8.png]] 339 339 340 -((( 341 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 342 -))) 367 +(% border="1" style="background-color:#f7faff" %) 368 +|Size(bytes)|4|4|1|1|1 369 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 370 +Reserve 343 343 344 -[[image:image-20220523181727-7.png]] 372 + 373 +)))|MOD 345 345 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 + 346 346 * RO is for relay. ROx=1 : close,ROx=0 always open. 347 347 * FIRST: Indicate this is the first packet after join network. 348 348 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 349 349 350 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.385 +Note: DO3 is not valid for LT-22222-L. 351 351 352 -**To use this mode, please run:** 353 353 354 -(% class="box infomessage" %) 355 -((( 356 -**AT+MOD=4** 357 -))) 388 +To use this mode, please run: 358 358 359 -(% class="box infomessage" %) 360 -((( 361 -**ATZ** 362 -))) 390 +AT+MOD=4 363 363 392 +ATZ 364 364 394 + 395 + 365 365 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 366 366 367 - **Plus below command for AVI1 Counting:**398 +Plus below command for AVI1 Counting: 368 368 369 -(% class="box infomessage" %) 370 -((( 371 -**AT+SETCNT=3,60 (set AVI Count to 60)** 372 -))) 400 +AT+SETCNT=3,60 (set AVI Count to 60) 373 373 374 -(% class="box infomessage" %) 375 -((( 376 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 377 -))) 402 +AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1) 378 378 379 -(% class="box infomessage" %) 380 -((( 381 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 382 -))) 404 +AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1) 383 383 384 -(% class="box infomessage" %) 385 -((( 386 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 387 -))) 406 +AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1) 388 388 389 -=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 390 390 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 + 391 391 **LT22222-L**: This mode the DI1 is used as a counting pin. 392 392 393 -[[image:image-20220523182334-9.png]] 394 394 395 -((( 396 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 397 -))) 419 +(% border="1" style="background-color:#f7faff" %) 420 +|Size(bytes)|2|2|2|2|1|1|1 421 +|Value|((( 422 +AVI1 398 398 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 + 399 399 * RO is for relay. ROx=1 : close,ROx=0 always open. 400 400 * FIRST: Indicate this is the first packet after join network. 401 401 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 402 402 403 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.450 +Note: DO3 is not valid for LT-22222-L. 404 404 405 -**To use this mode, please run:** 406 406 407 -(% class="box infomessage" %) 408 -((( 409 -**AT+MOD=5** 410 -))) 453 +To use this mode, please run: 411 411 412 -(% class="box infomessage" %) 413 -((( 414 -**ATZ** 415 -))) 455 +AT+MOD=5 416 416 457 +ATZ 458 + 459 + 417 417 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 418 418 419 -=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 420 420 421 -(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 422 422 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 + 423 423 For example, if user has configured below commands: 424 424 425 -* **AT+MOD=1****~-~->**The normal working mode426 -* **AT+ADDMOD6=1****~-~->**Enable trigger474 +* AT+MOD=1 à The normal working mode 475 +* AT+ADDMOD6=1 à Enable trigger 427 427 428 428 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 429 429 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 type431 -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.**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.** 432 432 433 433 **AT Command to set Trigger Condition**: 434 434 435 - (% style="color:#4f81bd" %)**Trigger base on voltage**:484 +**Trigger base on voltage**: 436 436 437 437 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 438 438 439 - **Example:**488 +Example: 440 440 441 441 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) 442 442 443 443 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 444 444 445 -(% style="color:#4f81bd" %)**Trigger base on current**: 446 446 495 +**Trigger base on current**: 496 + 447 447 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 448 448 449 - **Example:**499 +Example: 450 450 451 451 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 452 452 453 -(% style="color:#4f81bd" %)**Trigger base on DI status**: 454 454 504 +**Trigger base on DI status**: 505 + 455 455 DI status trigger Flag. 456 456 457 457 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 458 458 459 - **Example:**510 +Example: 460 460 461 461 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 462 462 463 463 515 + 516 + 517 + 464 464 **Downlink Command to set Trigger Condition** 465 465 466 466 Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]] ... ... @@ -479,8 +479,9 @@ 479 479 480 480 Yy4 yy4: AC2 or AV2 high limit. 481 481 482 -**Example1**: AA 00 13 88 00 00 00 00 00 00 483 483 537 +Example1: AA 00 13 88 00 00 00 00 00 00 538 + 484 484 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 485 485 486 486 Example2: AA 02 01 00 ... ... @@ -487,41 +487,135 @@ 487 487 488 488 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 489 489 490 -(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 491 491 546 + 547 + 548 +**Trigger Settings Payload Explanation:** 549 + 492 492 MOD6 Payload : total 11 bytes payload 493 493 494 -[[image:image-20220524085923-1.png]] 552 +(% border="1" style="background-color:#f7faff" %) 553 +|Size(bytes)|1|1|1|6|1|1 554 +|Value|((( 555 +TRI_A 495 495 496 -(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 557 +FLAG 558 +)))|((( 559 +TRI_A 497 497 498 -[[image:image-20220524090106-2.png]] 561 +Status 562 +)))|((( 563 +TRI_DI 499 499 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 + 500 500 * Each bits shows if the corresponding trigger has been configured. 501 501 502 - **Example:**613 +Example: 503 503 504 504 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 505 505 506 506 507 - (% style="color:#4f81bd" %)**TRI Status1**(%%)is a combination to show which condition is trigger. Totally 1byte as below618 +**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below 508 508 509 -[[image:image-20220524090249-3.png]] 620 +(% border="1" style="background-color:#f7faff" %) 621 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 622 +|((( 623 +AV1_ 510 510 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 + 511 511 * Each bits shows which status has been trigger on this uplink. 512 512 513 - **Example:**658 +Example: 514 514 515 515 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 516 516 517 517 518 -(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 519 519 520 -[[image:image-20220524090456-4.png]] 521 521 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 + 522 522 * Each bits shows which status has been trigger on this uplink. 523 523 524 - **Example:**673 +Example: 525 525 526 526 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. 527 527 ... ... @@ -528,119 +528,116 @@ 528 528 00000101: Means both DI1 and DI2 trigger are enabled. 529 529 530 530 531 - (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.680 +**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable. 532 532 682 + 533 533 Downlink command to poll MOD6 status: 534 534 535 - **AB 06**685 +AB 06 536 536 537 537 When device got this command, it will send the MOD6 payload. 538 538 539 -=== 3.3.7 Payload Decoder === 540 540 541 -((( 690 +1. 691 +11. 692 +111. Payload Decoder 693 + 542 542 **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 -))) 544 544 545 -== 3.4 Configure LT via AT or Downlink == 546 546 547 -User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 548 548 549 -((( 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 + 550 550 There are two kinds of Commands: 551 -))) 552 552 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_Commands709 +* **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 554 554 555 -* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below:711 +* **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 556 556 557 -=== 3.4.1 Common Commands === 713 +1. 714 +11. 715 +111. Common Commands: 558 558 559 -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: [[EndDevice AT Commands and Downlink Command>>http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]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_Commands 560 560 561 -=== 3.4.2 Sensor related commands === 562 562 563 -==== 3.4.2.1 Set Transmit Interval ==== 720 +1. 721 +11. 722 +111. Sensor related commands: 564 564 724 +==== Set Transmit Interval ==== 725 + 565 565 Set device uplink interval. 566 566 567 567 * AT Command: 568 568 569 -(% class="box infomessage" %) 570 -((( 571 -**AT+TDC=N ** 572 -))) 730 +AT+TDC=N 573 573 574 - **Example:**AT+TDC=30000. Means set interval to 30 seconds732 +Example: AT+TDC=30000. Means set interval to 30 seconds 575 575 734 + 576 576 * Downlink Payload (prefix 0x01): 577 577 578 -(% class="box infomessage" %) 579 -((( 580 -**0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 581 -))) 737 +0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc) 582 582 583 583 584 -==== 3.4.2.2Set Work Mode (AT+MOD) ====740 +==== Set Work Mode (AT+MOD) ==== 585 585 586 586 Set work mode. 587 587 588 588 * AT Command: 589 589 590 -(% class="box infomessage" %) 591 -((( 592 -**AT+MOD=N ** 593 -))) 746 +AT+MOD=N 594 594 595 - **Example**: AT+MOD=2. Set work mode to Double DI counting mode748 +Example: AT+MOD=2. Set work mode to Double DI counting mode 596 596 750 + 597 597 * Downlink Payload (prefix 0x0A): 598 598 599 -(% class="box infomessage" %) 600 -((( 601 -**0x0A aa ~/~/ Same as AT+MOD=aa** 602 -))) 753 +0x0A aa ~/~/ Same as AT+MOD=aa 603 603 604 -==== 3.4.2.3 Poll an uplink ==== 605 605 756 + 757 +==== Poll an uplink ==== 758 + 606 606 * AT Command: 607 607 608 608 There is no AT Command to poll uplink 609 609 763 + 610 610 * Downlink Payload (prefix 0x08): 611 611 612 -(% class="box infomessage" %) 613 -((( 614 -**0x08 FF ~/~/ Poll an uplink,** 615 -))) 766 +0x08 FF ~/~/ Poll an uplink, 616 616 617 - **Example**: 0x08FF, ask device to send an Uplink768 +Example: 0x08FF, ask device to send an Uplink 618 618 619 619 620 -==== 3.4.2.4Enable Trigger Mode ====771 +==== Enable Trigger Mode ==== 621 621 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]]773 +Use of trigger mode, please check [[ADDMOD6>>path:#MOD6]] 623 623 624 624 * AT Command: 625 625 626 -(% class="box infomessage" %) 627 -((( 628 -**AT+ADDMOD6=1 or 0** 629 -))) 777 +AT+ADDMOD6=1 or 0 630 630 631 631 1: Enable Trigger Mode 632 632 633 633 0: Disable Trigger Mode 634 634 783 + 635 635 * Downlink Payload (prefix 0x0A 06): 636 636 637 -(% class="box infomessage" %) 638 -((( 639 -**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 640 -))) 786 +0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa, 641 641 642 642 643 -==== 3.4.2.5Poll trigger settings ====789 +==== Poll trigger settings ==== 644 644 645 645 Poll trigger settings, 646 646 ... ... @@ -648,12 +648,10 @@ 648 648 649 649 There is no AT Command for this feature. 650 650 797 + 651 651 * Downlink Payload (prefix 0x AB 06): 652 652 653 -(% class="box infomessage" %) 654 -((( 655 -**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 656 -))) 800 +0xAB 06 ~/~/ Poll trigger settings, device will uplink [[trigger settings>>path:#Trigger_Settings]] once receive this command 657 657 658 658 659 659 ==== Enable / Disable DI1/DI2/DI3 as trigger ==== ... ... @@ -1033,7 +1033,7 @@ 1033 1033 1034 1034 1035 1035 1036 -1. 1180 +1. 1037 1037 11. Integrate with Mydevice 1038 1038 1039 1039 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: ... ... @@ -1091,7 +1091,7 @@ 1091 1091 1092 1092 1093 1093 1. 1094 -11. 1238 +11. 1095 1095 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1096 1096 1097 1097 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1145,8 +1145,8 @@ 1145 1145 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. 1146 1146 1147 1147 1148 -1. 1149 -11. 1292 +1. 1293 +11. 1150 1150 111. Digital Output Port: DO1/DO2 /DO3 1151 1151 1152 1152 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1157,7 +1157,7 @@ 1157 1157 1158 1158 1159 1159 1. 1160 -11. 1304 +11. 1161 1161 111. Analog Input Interface 1162 1162 1163 1163 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: ... ... @@ -1190,7 +1190,7 @@ 1190 1190 1191 1191 1192 1192 1. 1193 -11. 1337 +11. 1194 1194 111. Relay Output 1195 1195 1196 1196 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: ... ... @@ -1241,6 +1241,8 @@ 1241 1241 |**RO1**| 1242 1242 |**RO2**| 1243 1243 1388 + 1389 + 1244 1244 1. Use AT Command 1245 1245 11. Access AT Command 1246 1246 ... ... @@ -1350,7 +1350,7 @@ 1350 1350 1351 1351 1352 1352 1353 -1. 1499 +1. 1354 1354 11. Common AT Command Sequence 1355 1355 111. Multi-channel ABP mode (Use with SX1301/LG308) 1356 1356 ... ... @@ -1373,8 +1373,8 @@ 1373 1373 1374 1374 ATZ 1375 1375 1376 -1. 1377 -11. 1522 +1. 1523 +11. 1378 1378 111. Single-channel ABP mode (Use with LG01/LG02) 1379 1379 1380 1380 123456 Enter Password to have AT access. ... ... @@ -1414,7 +1414,7 @@ 1414 1414 1415 1415 1416 1416 1. 1417 -11. 1563 +11. 1418 1418 111. Change to Class A 1419 1419 1420 1420 If sensor JOINED ... ... @@ -1429,7 +1429,7 @@ 1429 1429 1430 1430 1. FAQ 1431 1431 1432 -1. 1578 +1. 1433 1433 11. How to upgrade the image? 1434 1434 1435 1435 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1488,7 +1488,7 @@ 1488 1488 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1489 1489 1490 1490 1491 -1. 1637 +1. 1492 1492 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1493 1493 1494 1494 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1547,7 +1547,7 @@ 1547 1547 [[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]] 1548 1548 1549 1549 1550 -1. 1696 +1. 1551 1551 11. Have trouble to upload image. 1552 1552 1553 1553 See this link for trouble shooting: ... ... @@ -1555,7 +1555,7 @@ 1555 1555 [[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]] 1556 1556 1557 1557 1558 -1. 1704 +1. 1559 1559 11. Why I can’t join TTN in US915 /AU915 bands? 1560 1560 1561 1561 It might be about the channels mapping. Please see this link for detail:
- 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
- image-20220523182334-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.4 KB - Content
- image-20220524085923-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.4 KB - Content
- image-20220524090106-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.2 KB - Content
- image-20220524090249-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.8 KB - Content
- image-20220524090456-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.1 KB - Content