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)
Details
- Page properties
-
- Content
-
... ... @@ -41,6 +41,8 @@ 41 41 42 42 ((( 43 43 [[image:1653295757274-912.png]] 44 + 45 + 44 44 ))) 45 45 46 46 == 1.2 Specifications == ... ... @@ -151,6 +151,8 @@ 151 151 ))) 152 152 * ((( 153 153 Packet engine up to 256 bytes with CRC. 156 + 157 + 154 154 ))) 155 155 156 156 == 1.3 Features == ... ... @@ -163,6 +163,7 @@ 163 163 * Firmware upgradable via program port 164 164 * Counting 165 165 170 + 166 166 == 1.4 Applications == 167 167 168 168 * Smart Buildings & Home Automation ... ... @@ -172,6 +172,7 @@ 172 172 * Smart Cities 173 173 * Smart Factory 174 174 180 + 175 175 == 1.5 Hardware Variants == 176 176 177 177 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -185,6 +185,8 @@ 185 185 * 1 x Counting Port 186 186 ))) 187 187 194 + 195 + 188 188 = 2. Power ON Device = 189 189 190 190 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. ... ... @@ -195,6 +195,7 @@ 195 195 196 196 [[image:1653297104069-180.png]] 197 197 206 + 198 198 = 3. Operation Mode = 199 199 200 200 == 3.1 How it works? == ... ... @@ -204,13 +204,13 @@ 204 204 ))) 205 205 206 206 ((( 207 -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:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H4.UseATCommand]] to set the keys in the devices. 208 -))) 216 +In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices. 209 209 210 -((( 211 -3.2 Example to join LoRaWAN network 218 + 212 212 ))) 213 213 221 +== 3.2 Example to join LoRaWAN network == 222 + 214 214 ((( 215 215 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. 216 216 ))) ... ... @@ -217,7 +217,6 @@ 217 217 218 218 [[image:image-20220523172350-1.png||height="266" width="864"]] 219 219 220 - 221 221 ((( 222 222 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: 223 223 ))) ... ... @@ -238,10 +238,12 @@ 238 238 239 239 [[image:1653297955910-247.png||height="321" width="716"]] 240 240 249 + 241 241 Add APP KEY and DEV EUI 242 242 243 243 [[image:1653298023685-319.png]] 244 244 254 + 245 245 ((( 246 246 **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. 247 247 ))) ... ... @@ -248,6 +248,7 @@ 248 248 249 249 [[image:1653298044601-602.png||height="405" width="709"]] 250 250 261 + 251 251 == 3.3 Uplink Payload == 252 252 253 253 There are five working modes + one interrupt mode on LT for different type application: ... ... @@ -259,6 +259,7 @@ 259 259 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 260 260 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 261 261 273 + 262 262 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 263 263 264 264 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -294,6 +294,7 @@ 294 294 * [1] RO1 relay channel is close and the RO1 LED is ON. 295 295 * [0] RO2 relay channel is open and RO2 LED is OFF; 296 296 309 + 297 297 **LT22222-L:** 298 298 299 299 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -309,11 +309,14 @@ 309 309 ** DO1 is high in case there is load between DO1 and V+. 310 310 ** DO1 LED is off in both case 311 311 325 + 312 312 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 313 313 314 314 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 315 315 330 +((( 316 316 Total : 11 bytes payload 332 +))) 317 317 318 318 [[image:image-20220523180452-3.png]] 319 319 ... ... @@ -327,54 +327,79 @@ 327 327 * FIRST: Indicate this is the first packet after join network. 328 328 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 329 329 346 +((( 330 330 (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 348 +))) 331 331 350 +((( 332 332 **To use counting mode, please run:** 352 +))) 333 333 334 334 (% class="box infomessage" %) 335 335 ((( 356 +((( 336 336 **AT+MOD=2** 337 337 ))) 359 +))) 338 338 339 339 (% class="box infomessage" %) 340 340 ((( 363 +((( 341 341 **ATZ** 342 342 ))) 366 +))) 343 343 368 +((( 344 344 (% style="color:#4f81bd" %)**AT Commands for counting:** 370 +))) 345 345 372 +((( 346 346 **For LT22222-L:** 374 +))) 347 347 348 348 (% class="box infomessage" %) 349 349 ((( 378 +((( 350 350 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 351 351 ))) 381 +))) 352 352 353 353 (% class="box infomessage" %) 354 354 ((( 385 +((( 355 355 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 356 356 ))) 388 +))) 357 357 358 358 (% class="box infomessage" %) 359 359 ((( 392 +((( 360 360 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 361 361 ))) 395 +))) 362 362 363 363 (% class="box infomessage" %) 364 364 ((( 399 +((( 365 365 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 366 366 ))) 402 +))) 367 367 368 368 (% class="box infomessage" %) 369 369 ((( 406 +((( 370 370 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 371 371 ))) 409 +))) 372 372 373 373 (% class="box infomessage" %) 374 374 ((( 413 +((( 375 375 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 376 376 ))) 416 +))) 377 377 418 + 378 378 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 379 379 380 380 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -391,22 +391,34 @@ 391 391 * FIRST: Indicate this is the first packet after join network. 392 392 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 393 393 435 +((( 394 394 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 437 +))) 395 395 439 +((( 396 396 **To use counting mode, please run:** 441 +))) 397 397 398 398 (% class="box infomessage" %) 399 399 ((( 445 +((( 400 400 **AT+MOD=3** 401 401 ))) 448 +))) 402 402 403 403 (% class="box infomessage" %) 404 404 ((( 452 +((( 405 405 **ATZ** 406 406 ))) 455 +))) 407 407 408 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]. 457 +((( 458 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 409 409 460 + 461 +))) 462 + 410 410 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 411 411 412 412 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -425,45 +425,69 @@ 425 425 * FIRST: Indicate this is the first packet after join network. 426 426 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 427 427 481 +((( 428 428 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 483 +))) 429 429 485 +((( 430 430 **To use this mode, please run:** 487 +))) 431 431 432 432 (% class="box infomessage" %) 433 433 ((( 491 +((( 434 434 **AT+MOD=4** 435 435 ))) 494 +))) 436 436 437 437 (% class="box infomessage" %) 438 438 ((( 498 +((( 439 439 **ATZ** 440 440 ))) 501 +))) 441 441 503 +((( 504 + 505 +))) 442 442 443 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]. 507 +((( 508 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 509 +))) 444 444 511 +((( 445 445 **Plus below command for AVI1 Counting:** 513 +))) 446 446 447 447 (% class="box infomessage" %) 448 448 ((( 517 +((( 449 449 **AT+SETCNT=3,60 (set AVI Count to 60)** 450 450 ))) 520 +))) 451 451 452 452 (% class="box infomessage" %) 453 453 ((( 524 +((( 454 454 **AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 455 455 ))) 527 +))) 456 456 457 457 (% class="box infomessage" %) 458 458 ((( 531 +((( 459 459 **AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 460 460 ))) 534 +))) 461 461 462 462 (% class="box infomessage" %) 463 463 ((( 538 +((( 464 464 **AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 465 465 ))) 541 +))) 466 466 543 + 467 467 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 468 468 469 469 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -476,24 +476,38 @@ 476 476 477 477 * RO is for relay. ROx=1 : close,ROx=0 always open. 478 478 * FIRST: Indicate this is the first packet after join network. 479 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 556 +* ((( 557 +DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 558 +))) 480 480 560 +((( 481 481 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 562 +))) 482 482 564 +((( 483 483 **To use this mode, please run:** 566 +))) 484 484 485 485 (% class="box infomessage" %) 486 486 ((( 570 +((( 487 487 **AT+MOD=5** 488 488 ))) 573 +))) 489 489 490 490 (% class="box infomessage" %) 491 491 ((( 577 +((( 492 492 **ATZ** 493 493 ))) 580 +))) 494 494 495 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]. 582 +((( 583 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 496 496 585 + 586 +))) 587 + 497 497 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 498 498 499 499 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** ... ... @@ -614,10 +614,13 @@ 614 614 615 615 When device got this command, it will send the MOD6 payload. 616 616 708 + 617 617 === 3.3.7 Payload Decoder === 618 618 619 619 ((( 620 620 **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/]] 713 + 714 + 621 621 ))) 622 622 623 623 == 3.4 Configure LT via AT or Downlink == ... ... @@ -632,10 +632,12 @@ 632 632 633 633 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 634 634 729 + 635 635 === 3.4.1 Common Commands === 636 636 637 -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/]]732 +They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 638 638 734 + 639 639 === 3.4.2 Sensor related commands === 640 640 641 641 ==== 3.4.2.1 Set Transmit Interval ==== ... ... @@ -658,6 +658,7 @@ 658 658 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 659 659 ))) 660 660 757 + 661 661 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 662 662 663 663 Set work mode. ... ... @@ -678,6 +678,7 @@ 678 678 **0x0A aa ~/~/ Same as AT+MOD=aa** 679 679 ))) 680 680 778 + 681 681 ==== 3.4.2.3 Poll an uplink ==== 682 682 683 683 * AT Command: ... ... @@ -693,6 +693,7 @@ 693 693 694 694 **Example**: 0x08FF, ask device to send an Uplink 695 695 794 + 696 696 ==== 3.4.2.4 Enable Trigger Mode ==== 697 697 698 698 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]] ... ... @@ -715,6 +715,7 @@ 715 715 **0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 716 716 ))) 717 717 817 + 718 718 ==== 3.4.2.5 Poll trigger settings ==== 719 719 720 720 Poll trigger settings, ... ... @@ -730,6 +730,7 @@ 730 730 **0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 731 731 ))) 732 732 833 + 733 733 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 734 734 735 735 Enable Disable DI1/DI2/DI2 as trigger, ... ... @@ -752,6 +752,7 @@ 752 752 **0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 753 753 ))) 754 754 856 + 755 755 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 756 756 757 757 Set DI1 or DI3(for LT-33222-L) trigger. ... ... @@ -778,6 +778,7 @@ 778 778 **0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 779 779 ))) 780 780 883 + 781 781 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 782 782 783 783 Set DI2 trigger. ... ... @@ -804,6 +804,7 @@ 804 804 **0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 805 805 ))) 806 806 910 + 807 807 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 808 808 809 809 Set current trigger , base on AC port. See [[trigger mode>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] ... ... @@ -822,6 +822,7 @@ 822 822 **0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]** 823 823 ))) 824 824 929 + 825 825 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 826 826 827 827 Set current trigger , base on AV port. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] ... ... @@ -840,6 +840,7 @@ 840 840 **0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] ** 841 841 ))) 842 842 948 + 843 843 ==== 3.4.2.11 Trigger – Set minimum interval ==== 844 844 845 845 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. ... ... @@ -858,6 +858,7 @@ 858 858 **0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 859 859 ))) 860 860 967 + 861 861 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 862 862 863 863 * AT Command: ... ... @@ -900,8 +900,10 @@ 900 900 901 901 (% class="box infomessage" %) 902 902 ((( 1010 +((( 903 903 **0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 904 904 ))) 1013 +))) 905 905 906 906 This is to control the digital output time of DO pin. Include four bytes: 907 907 ... ... @@ -1046,6 +1046,7 @@ 1046 1046 **0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1047 1047 ))) 1048 1048 1158 + 1049 1049 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1050 1050 1051 1051 * AT Command: ... ... @@ -1070,6 +1070,7 @@ 1070 1070 **0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1071 1071 ))) 1072 1072 1183 + 1073 1073 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1074 1074 1075 1075 Clear counting for counting mode ... ... @@ -1088,6 +1088,7 @@ 1088 1088 **0x A6 01 ~/~/ clear all counting,** 1089 1089 ))) 1090 1090 1202 + 1091 1091 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1092 1092 1093 1093 * AT Command: ... ... @@ -1104,21 +1104,28 @@ 1104 1104 **0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1105 1105 ))) 1106 1106 1219 +((( 1107 1107 range: aa bb cc:0 to 16777215, (unit:second) 1108 1108 1222 + 1223 +))) 1224 + 1109 1109 == 3.5 Integrate with Mydevice == 1110 1110 1111 1111 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: 1112 1112 1229 +((( 1113 1113 **Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1231 +))) 1114 1114 1233 +((( 1115 1115 **Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1235 +))) 1116 1116 1117 1117 [[image:1653356737703-362.png||height="232" width="732"]] 1118 1118 1119 1119 [[image:image-20220524094641-11.png||height="390" width="723"]] 1120 1120 1121 - 1122 1122 [[image:image-20220524094641-12.png||height="402" width="718"]] 1123 1123 1124 1124 **Step 3**: Create an account or log in Mydevices. ... ... @@ -1129,6 +1129,7 @@ 1129 1129 1130 1130 [[image:1653356838789-523.png||height="337" width="740"]] 1131 1131 1251 + 1132 1132 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1133 1133 1134 1134 [[image:image-20220524094909-1.png||height="335" width="729"]] ... ... @@ -1141,6 +1141,7 @@ 1141 1141 1142 1142 [[image:image-20220524094909-5.png||height="341" width="734"]] 1143 1143 1264 + 1144 1144 == 3.6 Interface Detail == 1145 1145 1146 1146 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === ... ... @@ -1149,6 +1149,7 @@ 1149 1149 1150 1150 [[image:1653356991268-289.png]] 1151 1151 1273 + 1152 1152 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1153 1153 1154 1154 ((( ... ... @@ -1177,7 +1177,7 @@ 1177 1177 1178 1178 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1179 1179 1180 - IF// = DI1+ / 1K.1302 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]] = DI1+ / 1K.** 1181 1181 1182 1182 If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal. 1183 1183 ... ... @@ -1191,9 +1191,9 @@ 1191 1191 1192 1192 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1193 1193 1194 -[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]] [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.**1316 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.** 1195 1195 1196 -If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]] [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal.1318 +If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal. 1197 1197 1198 1198 1199 1199 **Example3**: Connect to a 220v high active sensor. ... ... @@ -1205,10 +1205,11 @@ 1205 1205 1206 1206 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1207 1207 1208 - [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]] [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.**1330 + [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.** 1209 1209 1210 1210 If sensor output is 220v, the (% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K. = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1211 1211 1334 + 1212 1212 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1213 1213 1214 1214 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1215,6 +1215,7 @@ 1215 1215 1216 1216 [[image:1653357531600-905.png]] 1217 1217 1341 + 1218 1218 === 3.6.4 Analog Input Interface === 1219 1219 1220 1220 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: ... ... @@ -1242,6 +1242,7 @@ 1242 1242 1243 1243 [[image:1653357648330-671.png||height="155" width="733"]] 1244 1244 1369 + 1245 1245 === 3.6.5 Relay Output === 1246 1246 1247 1247 ((( ... ... @@ -1252,10 +1252,12 @@ 1252 1252 1253 1253 [[image:image-20220524100215-10.png||height="382" width="723"]] 1254 1254 1380 + 1255 1255 == 3.7 LEDs Indicators == 1256 1256 1257 1257 [[image:image-20220524100748-11.png]] 1258 1258 1385 + 1259 1259 = 4. Use AT Command = 1260 1260 1261 1261 == 4.1 Access AT Command == ... ... @@ -1264,11 +1264,15 @@ 1264 1264 1265 1265 [[image:1653358238933-385.png]] 1266 1266 1394 +((( 1267 1267 In PC, User needs to set (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**)(%%) to active it. As shown below: 1396 +))) 1268 1268 1269 1269 [[image:1653358355238-883.png]] 1270 1270 1400 +((( 1271 1271 More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1402 +))) 1272 1272 1273 1273 ((( 1274 1274 AT+<CMD>? : Help on <CMD> ... ... @@ -1452,6 +1452,8 @@ 1452 1452 1453 1453 ((( 1454 1454 AT+CFG: Print all settings 1586 + 1587 + 1455 1455 ))) 1456 1456 1457 1457 == 4.2 Common AT Command Sequence == ... ... @@ -1493,6 +1493,8 @@ 1493 1493 1494 1494 ((( 1495 1495 (% style="background-color:#dcdcdc" %)ATZ 1629 + 1630 + 1496 1496 ))) 1497 1497 1498 1498 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === ... ... @@ -1574,6 +1574,7 @@ 1574 1574 (% style="background-color:#dcdcdc" %)AT+CLASS=A 1575 1575 ATZ 1576 1576 1712 + 1577 1577 = 5. FAQ = 1578 1578 1579 1579 == 5.1 How to upgrade the image? == ... ... @@ -1586,11 +1586,13 @@ 1586 1586 Below shows the hardware connection for how to upload an image to the LT: 1587 1587 * [[image:1653359603330-121.png]] 1588 1588 1725 +((( 1589 1589 **Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. 1590 1590 **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1591 1591 **Step3: **Open flashloader; choose the correct COM port to update. 1592 1592 **For LT-22222-L**: 1593 1593 Hold down the PRO button and then momentarily press the RST reset button and the **DO1 led** will change from OFF to ON. When **DO1 LED** is on, it means the device is in download mode. 1731 +))) 1594 1594 1595 1595 [[image:image-20220524103407-12.png]] 1596 1596 ... ... @@ -1602,6 +1602,7 @@ 1602 1602 1603 1603 [[image:1653360054704-518.png||height="186" width="745"]] 1604 1604 1743 + 1605 1605 ((( 1606 1606 ((( 1607 1607 == 5.2 How to change the LoRa Frequency Bands/Region? == ... ... @@ -1609,7 +1609,9 @@ 1609 1609 ))) 1610 1610 1611 1611 ((( 1612 -User can follow the introduction for [[how to upgrade image>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H5.1Howtoupgradetheimage3F]]. When download the images, choose the required image file for download. 1751 +User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1752 + 1753 + 1613 1613 ))) 1614 1614 1615 1615 ((( ... ... @@ -1636,10 +1636,15 @@ 1636 1636 [[image:1653360231087-571.png||height="401" width="727"]] 1637 1637 ))) 1638 1638 1780 +((( 1639 1639 (% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN. 1782 +))) 1640 1640 1784 +((( 1641 1641 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1786 +))) 1642 1642 1788 +((( 1643 1643 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1644 1644 (% style="background-color:#dcdcdc" %)AT+FDR (%%) Reset Parameters to Factory Default, Keys Reserve 1645 1645 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. ... ... @@ -1650,19 +1650,25 @@ 1650 1650 (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz 1651 1651 (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1652 1652 (% style="background-color:#dcdcdc" %)ATZ (%%)Reset MCU 1799 +))) 1653 1653 1801 +((( 1654 1654 As shown in below: 1803 +))) 1655 1655 1656 1656 [[image:1653360498588-932.png||height="485" width="726"]] 1657 1657 1807 + 1658 1658 == 5.4 Can I see counting event in Serial? == 1659 1659 1660 1660 ((( 1661 1661 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. 1812 + 1813 + 1662 1662 ))) 1663 1663 1664 1664 ((( 1665 -= 6. Trouble Shooting 1817 += 6. Trouble Shooting = 1666 1666 ))) 1667 1667 1668 1668 ((( ... ... @@ -1672,13 +1672,11 @@ 1672 1672 ))) 1673 1673 1674 1674 ((( 1675 -Please see this link for how to debug: 1827 +Please see this link for how to debug: 1676 1676 1677 -[[http:~~/~~/8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/>>http://8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/]] 1678 -))) 1829 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H5.1Howitwork>>http://wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H5.1Howitwork]] 1679 1679 1680 -((( 1681 -[[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]] 1831 + 1682 1682 ))) 1683 1683 1684 1684 ((( ... ... @@ -1687,10 +1687,12 @@ 1687 1687 1688 1688 ((( 1689 1689 See this link for trouble shooting: 1840 + 1841 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/>>http://wiki1.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 1690 1690 ))) 1691 1691 1692 1692 ((( 1693 - [[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]]1845 + 1694 1694 ))) 1695 1695 1696 1696 ((( ... ... @@ -1699,10 +1699,12 @@ 1699 1699 1700 1700 ((( 1701 1701 It might be about the channels mapping. Please see this link for detail: 1854 + 1855 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H2.NoticeofUS9152FCN4702FAU915Frequencyband>>http://wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H2.NoticeofUS9152FCN4702FAU915Frequencyband]] 1702 1702 ))) 1703 1703 1704 1704 ((( 1705 - [[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band]]1859 + 1706 1706 ))) 1707 1707 1708 1708 ((( ... ... @@ -1721,34 +1721,61 @@ 1721 1721 ))) 1722 1722 ))) 1723 1723 1878 +((( 1724 1724 * ((( 1725 1725 (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 1726 1726 ))) 1882 +))) 1883 + 1884 +((( 1727 1727 * ((( 1728 1728 (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 1729 1729 ))) 1888 +))) 1889 + 1890 +((( 1730 1730 * ((( 1731 1731 (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1732 1732 ))) 1894 +))) 1895 + 1896 +((( 1733 1733 * ((( 1734 1734 (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1735 1735 ))) 1900 +))) 1901 + 1902 +((( 1736 1736 * ((( 1737 1737 (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1738 1738 ))) 1906 +))) 1907 + 1908 +((( 1739 1739 * ((( 1740 1740 (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1741 1741 ))) 1912 +))) 1913 + 1914 +((( 1742 1742 * ((( 1743 1743 (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1744 1744 ))) 1918 +))) 1919 + 1920 +((( 1745 1745 * ((( 1746 1746 (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1747 1747 ))) 1924 +))) 1748 1748 1749 1749 ((( 1750 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1927 +* ((( 1928 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1751 1751 1930 + 1931 +))) 1932 + 1752 1752 = 8. Packing Info = 1753 1753 ))) 1754 1754 ... ... @@ -1779,6 +1779,8 @@ 1779 1779 * Device Weight: 105g 1780 1780 * Package Size / pcs : 14.5 x 8 x 5 cm 1781 1781 * Weight / pcs : 170g 1963 + 1964 + 1782 1782 ))) 1783 1783 ))) 1784 1784 ... ... @@ -1800,6 +1800,8 @@ 1800 1800 ((( 1801 1801 ((( 1802 1802 [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1986 + 1987 + 1803 1803 ))) 1804 1804 1805 1805 (((