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,6 +309,7 @@ 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. ... ... @@ -329,54 +329,79 @@ 329 329 * FIRST: Indicate this is the first packet after join network. 330 330 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 331 331 346 +((( 332 332 (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 348 +))) 333 333 350 +((( 334 334 **To use counting mode, please run:** 352 +))) 335 335 336 336 (% class="box infomessage" %) 337 337 ((( 356 +((( 338 338 **AT+MOD=2** 339 339 ))) 359 +))) 340 340 341 341 (% class="box infomessage" %) 342 342 ((( 363 +((( 343 343 **ATZ** 344 344 ))) 366 +))) 345 345 368 +((( 346 346 (% style="color:#4f81bd" %)**AT Commands for counting:** 370 +))) 347 347 372 +((( 348 348 **For LT22222-L:** 374 +))) 349 349 350 350 (% class="box infomessage" %) 351 351 ((( 378 +((( 352 352 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 353 353 ))) 381 +))) 354 354 355 355 (% class="box infomessage" %) 356 356 ((( 385 +((( 357 357 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 358 358 ))) 388 +))) 359 359 360 360 (% class="box infomessage" %) 361 361 ((( 392 +((( 362 362 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 363 363 ))) 395 +))) 364 364 365 365 (% class="box infomessage" %) 366 366 ((( 399 +((( 367 367 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 368 368 ))) 402 +))) 369 369 370 370 (% class="box infomessage" %) 371 371 ((( 406 +((( 372 372 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 373 373 ))) 409 +))) 374 374 375 375 (% class="box infomessage" %) 376 376 ((( 413 +((( 377 377 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 378 378 ))) 416 +))) 379 379 418 + 380 380 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 381 381 382 382 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -393,22 +393,34 @@ 393 393 * FIRST: Indicate this is the first packet after join network. 394 394 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 395 395 435 +((( 396 396 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 437 +))) 397 397 439 +((( 398 398 **To use counting mode, please run:** 441 +))) 399 399 400 400 (% class="box infomessage" %) 401 401 ((( 445 +((( 402 402 **AT+MOD=3** 403 403 ))) 448 +))) 404 404 405 405 (% class="box infomessage" %) 406 406 ((( 452 +((( 407 407 **ATZ** 408 408 ))) 455 +))) 409 409 410 -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"]]. 411 411 460 + 461 +))) 462 + 412 412 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 413 413 414 414 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -427,45 +427,69 @@ 427 427 * FIRST: Indicate this is the first packet after join network. 428 428 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 429 429 481 +((( 430 430 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 483 +))) 431 431 485 +((( 432 432 **To use this mode, please run:** 487 +))) 433 433 434 434 (% class="box infomessage" %) 435 435 ((( 491 +((( 436 436 **AT+MOD=4** 437 437 ))) 494 +))) 438 438 439 439 (% class="box infomessage" %) 440 440 ((( 498 +((( 441 441 **ATZ** 442 442 ))) 501 +))) 443 443 503 +((( 504 + 505 +))) 444 444 445 -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 +))) 446 446 511 +((( 447 447 **Plus below command for AVI1 Counting:** 513 +))) 448 448 449 449 (% class="box infomessage" %) 450 450 ((( 517 +((( 451 451 **AT+SETCNT=3,60 (set AVI Count to 60)** 452 452 ))) 520 +))) 453 453 454 454 (% class="box infomessage" %) 455 455 ((( 524 +((( 456 456 **AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 457 457 ))) 527 +))) 458 458 459 459 (% class="box infomessage" %) 460 460 ((( 531 +((( 461 461 **AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 462 462 ))) 534 +))) 463 463 464 464 (% class="box infomessage" %) 465 465 ((( 538 +((( 466 466 **AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 467 467 ))) 541 +))) 468 468 543 + 469 469 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 470 470 471 471 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -478,24 +478,38 @@ 478 478 479 479 * RO is for relay. ROx=1 : close,ROx=0 always open. 480 480 * FIRST: Indicate this is the first packet after join network. 481 -* 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 +))) 482 482 560 +((( 483 483 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 562 +))) 484 484 564 +((( 485 485 **To use this mode, please run:** 566 +))) 486 486 487 487 (% class="box infomessage" %) 488 488 ((( 570 +((( 489 489 **AT+MOD=5** 490 490 ))) 573 +))) 491 491 492 492 (% class="box infomessage" %) 493 493 ((( 577 +((( 494 494 **ATZ** 495 495 ))) 580 +))) 496 496 497 -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"]]. 498 498 585 + 586 +))) 587 + 499 499 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 500 500 501 501 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** ... ... @@ -616,10 +616,13 @@ 616 616 617 617 When device got this command, it will send the MOD6 payload. 618 618 708 + 619 619 === 3.3.7 Payload Decoder === 620 620 621 621 ((( 622 622 **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 + 623 623 ))) 624 624 625 625 == 3.4 Configure LT via AT or Downlink == ... ... @@ -634,10 +634,12 @@ 634 634 635 635 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 636 636 729 + 637 637 === 3.4.1 Common Commands === 638 638 639 -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]] 640 640 734 + 641 641 === 3.4.2 Sensor related commands === 642 642 643 643 ==== 3.4.2.1 Set Transmit Interval ==== ... ... @@ -660,6 +660,7 @@ 660 660 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 661 661 ))) 662 662 757 + 663 663 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 664 664 665 665 Set work mode. ... ... @@ -680,6 +680,7 @@ 680 680 **0x0A aa ~/~/ Same as AT+MOD=aa** 681 681 ))) 682 682 778 + 683 683 ==== 3.4.2.3 Poll an uplink ==== 684 684 685 685 * AT Command: ... ... @@ -695,6 +695,7 @@ 695 695 696 696 **Example**: 0x08FF, ask device to send an Uplink 697 697 794 + 698 698 ==== 3.4.2.4 Enable Trigger Mode ==== 699 699 700 700 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]] ... ... @@ -717,6 +717,7 @@ 717 717 **0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 718 718 ))) 719 719 817 + 720 720 ==== 3.4.2.5 Poll trigger settings ==== 721 721 722 722 Poll trigger settings, ... ... @@ -732,6 +732,7 @@ 732 732 **0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 733 733 ))) 734 734 833 + 735 735 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 736 736 737 737 Enable Disable DI1/DI2/DI2 as trigger, ... ... @@ -754,6 +754,7 @@ 754 754 **0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 755 755 ))) 756 756 856 + 757 757 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 758 758 759 759 Set DI1 or DI3(for LT-33222-L) trigger. ... ... @@ -780,6 +780,7 @@ 780 780 **0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 781 781 ))) 782 782 883 + 783 783 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 784 784 785 785 Set DI2 trigger. ... ... @@ -806,6 +806,7 @@ 806 806 **0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 807 807 ))) 808 808 910 + 809 809 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 810 810 811 811 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]] ... ... @@ -824,6 +824,7 @@ 824 824 **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]]** 825 825 ))) 826 826 929 + 827 827 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 828 828 829 829 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]] ... ... @@ -842,6 +842,7 @@ 842 842 **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]] ** 843 843 ))) 844 844 948 + 845 845 ==== 3.4.2.11 Trigger – Set minimum interval ==== 846 846 847 847 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. ... ... @@ -860,6 +860,7 @@ 860 860 **0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 861 861 ))) 862 862 967 + 863 863 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 864 864 865 865 * AT Command: ... ... @@ -902,8 +902,10 @@ 902 902 903 903 (% class="box infomessage" %) 904 904 ((( 1010 +((( 905 905 **0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 906 906 ))) 1013 +))) 907 907 908 908 This is to control the digital output time of DO pin. Include four bytes: 909 909 ... ... @@ -1048,6 +1048,7 @@ 1048 1048 **0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1049 1049 ))) 1050 1050 1158 + 1051 1051 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1052 1052 1053 1053 * AT Command: ... ... @@ -1072,6 +1072,7 @@ 1072 1072 **0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1073 1073 ))) 1074 1074 1183 + 1075 1075 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1076 1076 1077 1077 Clear counting for counting mode ... ... @@ -1090,6 +1090,7 @@ 1090 1090 **0x A6 01 ~/~/ clear all counting,** 1091 1091 ))) 1092 1092 1202 + 1093 1093 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1094 1094 1095 1095 * AT Command: ... ... @@ -1106,21 +1106,28 @@ 1106 1106 **0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1107 1107 ))) 1108 1108 1219 +((( 1109 1109 range: aa bb cc:0 to 16777215, (unit:second) 1110 1110 1222 + 1223 +))) 1224 + 1111 1111 == 3.5 Integrate with Mydevice == 1112 1112 1113 1113 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: 1114 1114 1229 +((( 1115 1115 **Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1231 +))) 1116 1116 1233 +((( 1117 1117 **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 +))) 1118 1118 1119 1119 [[image:1653356737703-362.png||height="232" width="732"]] 1120 1120 1121 1121 [[image:image-20220524094641-11.png||height="390" width="723"]] 1122 1122 1123 - 1124 1124 [[image:image-20220524094641-12.png||height="402" width="718"]] 1125 1125 1126 1126 **Step 3**: Create an account or log in Mydevices. ... ... @@ -1131,6 +1131,7 @@ 1131 1131 1132 1132 [[image:1653356838789-523.png||height="337" width="740"]] 1133 1133 1251 + 1134 1134 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1135 1135 1136 1136 [[image:image-20220524094909-1.png||height="335" width="729"]] ... ... @@ -1143,6 +1143,7 @@ 1143 1143 1144 1144 [[image:image-20220524094909-5.png||height="341" width="734"]] 1145 1145 1264 + 1146 1146 == 3.6 Interface Detail == 1147 1147 1148 1148 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === ... ... @@ -1151,6 +1151,7 @@ 1151 1151 1152 1152 [[image:1653356991268-289.png]] 1153 1153 1273 + 1154 1154 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1155 1155 1156 1156 ((( ... ... @@ -1179,7 +1179,7 @@ 1179 1179 1180 1180 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1181 1181 1182 - 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.** 1183 1183 1184 1184 If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal. 1185 1185 ... ... @@ -1193,9 +1193,9 @@ 1193 1193 1194 1194 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1195 1195 1196 -[[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.** 1197 1197 1198 -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. 1199 1199 1200 1200 1201 1201 **Example3**: Connect to a 220v high active sensor. ... ... @@ -1207,10 +1207,11 @@ 1207 1207 1208 1208 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1209 1209 1210 - [[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.** 1211 1211 1212 1212 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. 1213 1213 1334 + 1214 1214 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1215 1215 1216 1216 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1217,6 +1217,7 @@ 1217 1217 1218 1218 [[image:1653357531600-905.png]] 1219 1219 1341 + 1220 1220 === 3.6.4 Analog Input Interface === 1221 1221 1222 1222 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: ... ... @@ -1244,6 +1244,7 @@ 1244 1244 1245 1245 [[image:1653357648330-671.png||height="155" width="733"]] 1246 1246 1369 + 1247 1247 === 3.6.5 Relay Output === 1248 1248 1249 1249 ((( ... ... @@ -1254,10 +1254,12 @@ 1254 1254 1255 1255 [[image:image-20220524100215-10.png||height="382" width="723"]] 1256 1256 1380 + 1257 1257 == 3.7 LEDs Indicators == 1258 1258 1259 1259 [[image:image-20220524100748-11.png]] 1260 1260 1385 + 1261 1261 = 4. Use AT Command = 1262 1262 1263 1263 == 4.1 Access AT Command == ... ... @@ -1266,11 +1266,15 @@ 1266 1266 1267 1267 [[image:1653358238933-385.png]] 1268 1268 1394 +((( 1269 1269 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 +))) 1270 1270 1271 1271 [[image:1653358355238-883.png]] 1272 1272 1400 +((( 1273 1273 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 +))) 1274 1274 1275 1275 ((( 1276 1276 AT+<CMD>? : Help on <CMD> ... ... @@ -1454,6 +1454,8 @@ 1454 1454 1455 1455 ((( 1456 1456 AT+CFG: Print all settings 1586 + 1587 + 1457 1457 ))) 1458 1458 1459 1459 == 4.2 Common AT Command Sequence == ... ... @@ -1495,6 +1495,8 @@ 1495 1495 1496 1496 ((( 1497 1497 (% style="background-color:#dcdcdc" %)ATZ 1629 + 1630 + 1498 1498 ))) 1499 1499 1500 1500 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === ... ... @@ -1576,6 +1576,7 @@ 1576 1576 (% style="background-color:#dcdcdc" %)AT+CLASS=A 1577 1577 ATZ 1578 1578 1712 + 1579 1579 = 5. FAQ = 1580 1580 1581 1581 == 5.1 How to upgrade the image? == ... ... @@ -1588,11 +1588,13 @@ 1588 1588 Below shows the hardware connection for how to upload an image to the LT: 1589 1589 * [[image:1653359603330-121.png]] 1590 1590 1725 +((( 1591 1591 **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]]. 1592 1592 **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1593 1593 **Step3: **Open flashloader; choose the correct COM port to update. 1594 1594 **For LT-22222-L**: 1595 1595 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 +))) 1596 1596 1597 1597 [[image:image-20220524103407-12.png]] 1598 1598 ... ... @@ -1604,6 +1604,7 @@ 1604 1604 1605 1605 [[image:1653360054704-518.png||height="186" width="745"]] 1606 1606 1743 + 1607 1607 ((( 1608 1608 ((( 1609 1609 == 5.2 How to change the LoRa Frequency Bands/Region? == ... ... @@ -1611,7 +1611,9 @@ 1611 1611 ))) 1612 1612 1613 1613 ((( 1614 -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 + 1615 1615 ))) 1616 1616 1617 1617 ((( ... ... @@ -1638,10 +1638,15 @@ 1638 1638 [[image:1653360231087-571.png||height="401" width="727"]] 1639 1639 ))) 1640 1640 1780 +((( 1641 1641 (% 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 +))) 1642 1642 1784 +((( 1643 1643 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1786 +))) 1644 1644 1788 +((( 1645 1645 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1646 1646 (% style="background-color:#dcdcdc" %)AT+FDR (%%) Reset Parameters to Factory Default, Keys Reserve 1647 1647 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. ... ... @@ -1652,19 +1652,25 @@ 1652 1652 (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz 1653 1653 (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1654 1654 (% style="background-color:#dcdcdc" %)ATZ (%%)Reset MCU 1799 +))) 1655 1655 1801 +((( 1656 1656 As shown in below: 1803 +))) 1657 1657 1658 1658 [[image:1653360498588-932.png||height="485" width="726"]] 1659 1659 1807 + 1660 1660 == 5.4 Can I see counting event in Serial? == 1661 1661 1662 1662 ((( 1663 1663 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 + 1664 1664 ))) 1665 1665 1666 1666 ((( 1667 -= 6. Trouble Shooting 1817 += 6. Trouble Shooting = 1668 1668 ))) 1669 1669 1670 1670 ((( ... ... @@ -1674,13 +1674,11 @@ 1674 1674 ))) 1675 1675 1676 1676 ((( 1677 -Please see this link for how to debug: 1827 +Please see this link for how to debug: 1678 1678 1679 -[[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/]] 1680 -))) 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]] 1681 1681 1682 -((( 1683 -[[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 + 1684 1684 ))) 1685 1685 1686 1686 ((( ... ... @@ -1689,10 +1689,12 @@ 1689 1689 1690 1690 ((( 1691 1691 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/]] 1692 1692 ))) 1693 1693 1694 1694 ((( 1695 - [[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 + 1696 1696 ))) 1697 1697 1698 1698 ((( ... ... @@ -1701,10 +1701,12 @@ 1701 1701 1702 1702 ((( 1703 1703 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]] 1704 1704 ))) 1705 1705 1706 1706 ((( 1707 - [[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 + 1708 1708 ))) 1709 1709 1710 1710 ((( ... ... @@ -1723,34 +1723,61 @@ 1723 1723 ))) 1724 1724 ))) 1725 1725 1878 +((( 1726 1726 * ((( 1727 1727 (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 1728 1728 ))) 1882 +))) 1883 + 1884 +((( 1729 1729 * ((( 1730 1730 (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 1731 1731 ))) 1888 +))) 1889 + 1890 +((( 1732 1732 * ((( 1733 1733 (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1734 1734 ))) 1894 +))) 1895 + 1896 +((( 1735 1735 * ((( 1736 1736 (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1737 1737 ))) 1900 +))) 1901 + 1902 +((( 1738 1738 * ((( 1739 1739 (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1740 1740 ))) 1906 +))) 1907 + 1908 +((( 1741 1741 * ((( 1742 1742 (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1743 1743 ))) 1912 +))) 1913 + 1914 +((( 1744 1744 * ((( 1745 1745 (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1746 1746 ))) 1918 +))) 1919 + 1920 +((( 1747 1747 * ((( 1748 1748 (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1749 1749 ))) 1924 +))) 1750 1750 1751 1751 ((( 1752 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1927 +* ((( 1928 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1753 1753 1930 + 1931 +))) 1932 + 1754 1754 = 8. Packing Info = 1755 1755 ))) 1756 1756 ... ... @@ -1781,6 +1781,8 @@ 1781 1781 * Device Weight: 105g 1782 1782 * Package Size / pcs : 14.5 x 8 x 5 cm 1783 1783 * Weight / pcs : 170g 1963 + 1964 + 1784 1784 ))) 1785 1785 ))) 1786 1786 ... ... @@ -1802,6 +1802,8 @@ 1802 1802 ((( 1803 1803 ((( 1804 1804 [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1986 + 1987 + 1805 1805 ))) 1806 1806 1807 1807 (((