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 == ... ... @@ -195,21 +195,29 @@ 195 195 196 196 [[image:1653297104069-180.png]] 197 197 202 + 198 198 = 3. Operation Mode = 199 199 200 200 == 3.1 How it works? == 201 201 207 +((( 202 202 The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on **TX LED** will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. **TX LED** will be on for 5 seconds after joined in network. When there is message from server, the **RX LED** will be on for 1 second. 209 +))) 203 203 204 -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. 211 +((( 212 +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. 205 205 206 -3.2 Example to join LoRaWAN network 214 + 215 +))) 207 207 217 +== 3.2 Example to join LoRaWAN network == 218 + 219 +((( 208 208 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. 221 +))) 209 209 210 210 [[image:image-20220523172350-1.png||height="266" width="864"]] 211 211 212 - 213 213 ((( 214 214 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: 215 215 ))) ... ... @@ -230,10 +230,12 @@ 230 230 231 231 [[image:1653297955910-247.png||height="321" width="716"]] 232 232 245 + 233 233 Add APP KEY and DEV EUI 234 234 235 235 [[image:1653298023685-319.png]] 236 236 250 + 237 237 ((( 238 238 **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. 239 239 ))) ... ... @@ -240,6 +240,7 @@ 240 240 241 241 [[image:1653298044601-602.png||height="405" width="709"]] 242 242 257 + 243 243 == 3.3 Uplink Payload == 244 244 245 245 There are five working modes + one interrupt mode on LT for different type application: ... ... @@ -305,7 +305,9 @@ 305 305 306 306 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 307 307 323 +((( 308 308 Total : 11 bytes payload 325 +))) 309 309 310 310 [[image:image-20220523180452-3.png]] 311 311 ... ... @@ -319,54 +319,79 @@ 319 319 * FIRST: Indicate this is the first packet after join network. 320 320 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 321 321 339 +((( 322 322 (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 341 +))) 323 323 343 +((( 324 324 **To use counting mode, please run:** 345 +))) 325 325 326 326 (% class="box infomessage" %) 327 327 ((( 349 +((( 328 328 **AT+MOD=2** 329 329 ))) 352 +))) 330 330 331 331 (% class="box infomessage" %) 332 332 ((( 356 +((( 333 333 **ATZ** 334 334 ))) 359 +))) 335 335 361 +((( 336 336 (% style="color:#4f81bd" %)**AT Commands for counting:** 363 +))) 337 337 365 +((( 338 338 **For LT22222-L:** 367 +))) 339 339 340 340 (% class="box infomessage" %) 341 341 ((( 371 +((( 342 342 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 343 343 ))) 374 +))) 344 344 345 345 (% class="box infomessage" %) 346 346 ((( 378 +((( 347 347 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 348 348 ))) 381 +))) 349 349 350 350 (% class="box infomessage" %) 351 351 ((( 385 +((( 352 352 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 353 353 ))) 388 +))) 354 354 355 355 (% class="box infomessage" %) 356 356 ((( 392 +((( 357 357 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 358 358 ))) 395 +))) 359 359 360 360 (% class="box infomessage" %) 361 361 ((( 399 +((( 362 362 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 363 363 ))) 402 +))) 364 364 365 365 (% class="box infomessage" %) 366 366 ((( 406 +((( 367 367 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 368 368 ))) 409 +))) 369 369 411 + 370 370 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 371 371 372 372 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -383,22 +383,34 @@ 383 383 * FIRST: Indicate this is the first packet after join network. 384 384 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 385 385 428 +((( 386 386 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 430 +))) 387 387 432 +((( 388 388 **To use counting mode, please run:** 434 +))) 389 389 390 390 (% class="box infomessage" %) 391 391 ((( 438 +((( 392 392 **AT+MOD=3** 393 393 ))) 441 +))) 394 394 395 395 (% class="box infomessage" %) 396 396 ((( 445 +((( 397 397 **ATZ** 398 398 ))) 448 +))) 399 399 400 -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]]. 450 +((( 451 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 401 401 453 + 454 +))) 455 + 402 402 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 403 403 404 404 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -417,45 +417,69 @@ 417 417 * FIRST: Indicate this is the first packet after join network. 418 418 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 419 419 474 +((( 420 420 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 476 +))) 421 421 478 +((( 422 422 **To use this mode, please run:** 480 +))) 423 423 424 424 (% class="box infomessage" %) 425 425 ((( 484 +((( 426 426 **AT+MOD=4** 427 427 ))) 487 +))) 428 428 429 429 (% class="box infomessage" %) 430 430 ((( 491 +((( 431 431 **ATZ** 432 432 ))) 494 +))) 433 433 496 +((( 497 + 498 +))) 434 434 435 -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]]. 500 +((( 501 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 502 +))) 436 436 504 +((( 437 437 **Plus below command for AVI1 Counting:** 506 +))) 438 438 439 439 (% class="box infomessage" %) 440 440 ((( 510 +((( 441 441 **AT+SETCNT=3,60 (set AVI Count to 60)** 442 442 ))) 513 +))) 443 443 444 444 (% class="box infomessage" %) 445 445 ((( 517 +((( 446 446 **AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 447 447 ))) 520 +))) 448 448 449 449 (% class="box infomessage" %) 450 450 ((( 524 +((( 451 451 **AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 452 452 ))) 527 +))) 453 453 454 454 (% class="box infomessage" %) 455 455 ((( 531 +((( 456 456 **AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 457 457 ))) 534 +))) 458 458 536 + 459 459 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 460 460 461 461 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -468,24 +468,38 @@ 468 468 469 469 * RO is for relay. ROx=1 : close,ROx=0 always open. 470 470 * FIRST: Indicate this is the first packet after join network. 471 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 549 +* ((( 550 +DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 551 +))) 472 472 553 +((( 473 473 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 555 +))) 474 474 557 +((( 475 475 **To use this mode, please run:** 559 +))) 476 476 477 477 (% class="box infomessage" %) 478 478 ((( 563 +((( 479 479 **AT+MOD=5** 480 480 ))) 566 +))) 481 481 482 482 (% class="box infomessage" %) 483 483 ((( 570 +((( 484 484 **ATZ** 485 485 ))) 573 +))) 486 486 487 -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]]. 575 +((( 576 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 488 488 578 + 579 +))) 580 + 489 489 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 490 490 491 491 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** ... ... @@ -606,10 +606,13 @@ 606 606 607 607 When device got this command, it will send the MOD6 payload. 608 608 701 + 609 609 === 3.3.7 Payload Decoder === 610 610 611 611 ((( 612 612 **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/]] 706 + 707 + 613 613 ))) 614 614 615 615 == 3.4 Configure LT via AT or Downlink == ... ... @@ -626,8 +626,9 @@ 626 626 627 627 === 3.4.1 Common Commands === 628 628 629 -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/]]724 +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]] 630 630 726 + 631 631 === 3.4.2 Sensor related commands === 632 632 633 633 ==== 3.4.2.1 Set Transmit Interval ==== ... ... @@ -650,6 +650,7 @@ 650 650 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 651 651 ))) 652 652 749 + 653 653 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 654 654 655 655 Set work mode. ... ... @@ -670,6 +670,7 @@ 670 670 **0x0A aa ~/~/ Same as AT+MOD=aa** 671 671 ))) 672 672 770 + 673 673 ==== 3.4.2.3 Poll an uplink ==== 674 674 675 675 * AT Command: ... ... @@ -685,6 +685,7 @@ 685 685 686 686 **Example**: 0x08FF, ask device to send an Uplink 687 687 786 + 688 688 ==== 3.4.2.4 Enable Trigger Mode ==== 689 689 690 690 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]] ... ... @@ -707,6 +707,7 @@ 707 707 **0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 708 708 ))) 709 709 809 + 710 710 ==== 3.4.2.5 Poll trigger settings ==== 711 711 712 712 Poll trigger settings, ... ... @@ -722,6 +722,7 @@ 722 722 **0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 723 723 ))) 724 724 825 + 725 725 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 726 726 727 727 Enable Disable DI1/DI2/DI2 as trigger, ... ... @@ -744,6 +744,7 @@ 744 744 **0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 745 745 ))) 746 746 848 + 747 747 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 748 748 749 749 Set DI1 or DI3(for LT-33222-L) trigger. ... ... @@ -770,6 +770,7 @@ 770 770 **0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 771 771 ))) 772 772 875 + 773 773 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 774 774 775 775 Set DI2 trigger. ... ... @@ -796,6 +796,7 @@ 796 796 **0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 797 797 ))) 798 798 902 + 799 799 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 800 800 801 801 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]] ... ... @@ -814,6 +814,7 @@ 814 814 **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]]** 815 815 ))) 816 816 921 + 817 817 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 818 818 819 819 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]] ... ... @@ -832,6 +832,7 @@ 832 832 **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]] ** 833 833 ))) 834 834 940 + 835 835 ==== 3.4.2.11 Trigger – Set minimum interval ==== 836 836 837 837 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. ... ... @@ -850,6 +850,7 @@ 850 850 **0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 851 851 ))) 852 852 959 + 853 853 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 854 854 855 855 * AT Command: ... ... @@ -892,8 +892,10 @@ 892 892 893 893 (% class="box infomessage" %) 894 894 ((( 1002 +((( 895 895 **0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 896 896 ))) 1005 +))) 897 897 898 898 This is to control the digital output time of DO pin. Include four bytes: 899 899 ... ... @@ -1038,6 +1038,7 @@ 1038 1038 **0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1039 1039 ))) 1040 1040 1150 + 1041 1041 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1042 1042 1043 1043 * AT Command: ... ... @@ -1062,6 +1062,7 @@ 1062 1062 **0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1063 1063 ))) 1064 1064 1175 + 1065 1065 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1066 1066 1067 1067 Clear counting for counting mode ... ... @@ -1080,6 +1080,7 @@ 1080 1080 **0x A6 01 ~/~/ clear all counting,** 1081 1081 ))) 1082 1082 1194 + 1083 1083 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1084 1084 1085 1085 * AT Command: ... ... @@ -1096,21 +1096,28 @@ 1096 1096 **0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1097 1097 ))) 1098 1098 1211 +((( 1099 1099 range: aa bb cc:0 to 16777215, (unit:second) 1100 1100 1214 + 1215 +))) 1216 + 1101 1101 == 3.5 Integrate with Mydevice == 1102 1102 1103 1103 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: 1104 1104 1221 +((( 1105 1105 **Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1223 +))) 1106 1106 1225 +((( 1107 1107 **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: 1227 +))) 1108 1108 1109 1109 [[image:1653356737703-362.png||height="232" width="732"]] 1110 1110 1111 1111 [[image:image-20220524094641-11.png||height="390" width="723"]] 1112 1112 1113 - 1114 1114 [[image:image-20220524094641-12.png||height="402" width="718"]] 1115 1115 1116 1116 **Step 3**: Create an account or log in Mydevices. ... ... @@ -1121,6 +1121,7 @@ 1121 1121 1122 1122 [[image:1653356838789-523.png||height="337" width="740"]] 1123 1123 1243 + 1124 1124 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1125 1125 1126 1126 [[image:image-20220524094909-1.png||height="335" width="729"]] ... ... @@ -1133,6 +1133,7 @@ 1133 1133 1134 1134 [[image:image-20220524094909-5.png||height="341" width="734"]] 1135 1135 1256 + 1136 1136 == 3.6 Interface Detail == 1137 1137 1138 1138 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === ... ... @@ -1141,6 +1141,7 @@ 1141 1141 1142 1142 [[image:1653356991268-289.png]] 1143 1143 1265 + 1144 1144 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1145 1145 1146 1146 ((( ... ... @@ -1169,7 +1169,7 @@ 1169 1169 1170 1170 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1171 1171 1172 - IF// = DI1+ / 1K.1294 +[[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.** 1173 1173 1174 1174 If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal. 1175 1175 ... ... @@ -1183,9 +1183,9 @@ 1183 1183 1184 1184 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1185 1185 1186 -[[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.**1308 +[[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.** 1187 1187 1188 -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.1310 +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. 1189 1189 1190 1190 1191 1191 **Example3**: Connect to a 220v high active sensor. ... ... @@ -1197,10 +1197,11 @@ 1197 1197 1198 1198 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1199 1199 1200 - [[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.**1322 + [[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.** 1201 1201 1202 1202 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. 1203 1203 1326 + 1204 1204 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1205 1205 1206 1206 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1207,6 +1207,7 @@ 1207 1207 1208 1208 [[image:1653357531600-905.png]] 1209 1209 1333 + 1210 1210 === 3.6.4 Analog Input Interface === 1211 1211 1212 1212 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: ... ... @@ -1234,6 +1234,7 @@ 1234 1234 1235 1235 [[image:1653357648330-671.png||height="155" width="733"]] 1236 1236 1361 + 1237 1237 === 3.6.5 Relay Output === 1238 1238 1239 1239 ((( ... ... @@ -1244,10 +1244,12 @@ 1244 1244 1245 1245 [[image:image-20220524100215-10.png||height="382" width="723"]] 1246 1246 1372 + 1247 1247 == 3.7 LEDs Indicators == 1248 1248 1249 1249 [[image:image-20220524100748-11.png]] 1250 1250 1377 + 1251 1251 = 4. Use AT Command = 1252 1252 1253 1253 == 4.1 Access AT Command == ... ... @@ -1256,11 +1256,15 @@ 1256 1256 1257 1257 [[image:1653358238933-385.png]] 1258 1258 1386 +((( 1259 1259 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: 1388 +))) 1260 1260 1261 1261 [[image:1653358355238-883.png]] 1262 1262 1392 +((( 1263 1263 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/]] 1394 +))) 1264 1264 1265 1265 ((( 1266 1266 AT+<CMD>? : Help on <CMD> ... ... @@ -1444,6 +1444,8 @@ 1444 1444 1445 1445 ((( 1446 1446 AT+CFG: Print all settings 1578 + 1579 + 1447 1447 ))) 1448 1448 1449 1449 == 4.2 Common AT Command Sequence == ... ... @@ -1485,6 +1485,8 @@ 1485 1485 1486 1486 ((( 1487 1487 (% style="background-color:#dcdcdc" %)ATZ 1621 + 1622 + 1488 1488 ))) 1489 1489 1490 1490 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === ... ... @@ -1566,6 +1566,7 @@ 1566 1566 (% style="background-color:#dcdcdc" %)AT+CLASS=A 1567 1567 ATZ 1568 1568 1704 + 1569 1569 = 5. FAQ = 1570 1570 1571 1571 == 5.1 How to upgrade the image? == ... ... @@ -1578,11 +1578,13 @@ 1578 1578 Below shows the hardware connection for how to upload an image to the LT: 1579 1579 * [[image:1653359603330-121.png]] 1580 1580 1717 +((( 1581 1581 **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]]. 1582 1582 **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1583 1583 **Step3: **Open flashloader; choose the correct COM port to update. 1584 1584 **For LT-22222-L**: 1585 1585 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. 1723 +))) 1586 1586 1587 1587 [[image:image-20220524103407-12.png]] 1588 1588 ... ... @@ -1594,6 +1594,7 @@ 1594 1594 1595 1595 [[image:1653360054704-518.png||height="186" width="745"]] 1596 1596 1735 + 1597 1597 ((( 1598 1598 ((( 1599 1599 == 5.2 How to change the LoRa Frequency Bands/Region? == ... ... @@ -1601,7 +1601,9 @@ 1601 1601 ))) 1602 1602 1603 1603 ((( 1604 -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. 1743 +User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1744 + 1745 + 1605 1605 ))) 1606 1606 1607 1607 ((( ... ... @@ -1628,10 +1628,15 @@ 1628 1628 [[image:1653360231087-571.png||height="401" width="727"]] 1629 1629 ))) 1630 1630 1772 +((( 1631 1631 (% 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. 1774 +))) 1632 1632 1776 +((( 1633 1633 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1778 +))) 1634 1634 1780 +((( 1635 1635 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1636 1636 (% style="background-color:#dcdcdc" %)AT+FDR (%%) Reset Parameters to Factory Default, Keys Reserve 1637 1637 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. ... ... @@ -1642,19 +1642,25 @@ 1642 1642 (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz 1643 1643 (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1644 1644 (% style="background-color:#dcdcdc" %)ATZ (%%)Reset MCU 1791 +))) 1645 1645 1793 +((( 1646 1646 As shown in below: 1795 +))) 1647 1647 1648 1648 [[image:1653360498588-932.png||height="485" width="726"]] 1649 1649 1799 + 1650 1650 == 5.4 Can I see counting event in Serial? == 1651 1651 1652 1652 ((( 1653 1653 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. 1804 + 1805 + 1654 1654 ))) 1655 1655 1656 1656 ((( 1657 -= 6. Trouble Shooting 1809 += 6. Trouble Shooting = 1658 1658 ))) 1659 1659 1660 1660 ((( ... ... @@ -1664,25 +1664,21 @@ 1664 1664 ))) 1665 1665 1666 1666 ((( 1667 -Please see this link for how to debug: 1819 +Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]] 1668 1668 1669 - [[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/]]1821 + 1670 1670 ))) 1671 1671 1672 1672 ((( 1673 -[[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]] 1674 -))) 1675 - 1676 -((( 1677 1677 == 6.2 Have trouble to upload image. == 1678 1678 ))) 1679 1679 1680 1680 ((( 1681 -See this link for trouble shooting: 1829 +See this link for trouble shooting: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]] 1682 1682 ))) 1683 1683 1684 1684 ((( 1685 - [[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]]1833 + 1686 1686 ))) 1687 1687 1688 1688 ((( ... ... @@ -1690,11 +1690,11 @@ 1690 1690 ))) 1691 1691 1692 1692 ((( 1693 -It might be about the channels mapping. Please see this link for detail: 1841 +It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]] 1694 1694 ))) 1695 1695 1696 1696 ((( 1697 - [[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]]1845 + 1698 1698 ))) 1699 1699 1700 1700 ((( ... ... @@ -1713,34 +1713,61 @@ 1713 1713 ))) 1714 1714 ))) 1715 1715 1864 +((( 1716 1716 * ((( 1717 1717 (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 1718 1718 ))) 1868 +))) 1869 + 1870 +((( 1719 1719 * ((( 1720 1720 (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 1721 1721 ))) 1874 +))) 1875 + 1876 +((( 1722 1722 * ((( 1723 1723 (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1724 1724 ))) 1880 +))) 1881 + 1882 +((( 1725 1725 * ((( 1726 1726 (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1727 1727 ))) 1886 +))) 1887 + 1888 +((( 1728 1728 * ((( 1729 1729 (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1730 1730 ))) 1892 +))) 1893 + 1894 +((( 1731 1731 * ((( 1732 1732 (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1733 1733 ))) 1898 +))) 1899 + 1900 +((( 1734 1734 * ((( 1735 1735 (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1736 1736 ))) 1904 +))) 1905 + 1906 +((( 1737 1737 * ((( 1738 1738 (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1739 1739 ))) 1910 +))) 1740 1740 1741 1741 ((( 1742 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1913 +* ((( 1914 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1743 1743 1916 + 1917 +))) 1918 + 1744 1744 = 8. Packing Info = 1745 1745 ))) 1746 1746 ... ... @@ -1771,6 +1771,8 @@ 1771 1771 * Device Weight: 105g 1772 1772 * Package Size / pcs : 14.5 x 8 x 5 cm 1773 1773 * Weight / pcs : 170g 1949 + 1950 + 1774 1774 ))) 1775 1775 ))) 1776 1776 ... ... @@ -1792,6 +1792,8 @@ 1792 1792 ((( 1793 1793 ((( 1794 1794 [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1972 + 1973 + 1795 1795 ))) 1796 1796 1797 1797 (((