Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Edwin - Content
-
... ... @@ -15,15 +15,14 @@ 15 15 16 16 = 1.Introduction = 17 17 18 + 18 18 == 1.1 What is LT Series I/O Controller == 19 19 20 20 ((( 21 21 22 22 23 -((( 24 24 The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring. 25 25 ))) 26 -))) 27 27 28 28 ((( 29 29 The LT I/O Controllers allows the user to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on. ... ... @@ -53,6 +53,7 @@ 53 53 54 54 ))) 55 55 55 + 56 56 == 1.2 Specifications == 57 57 58 58 ((( ... ... @@ -62,7 +62,7 @@ 62 62 ))) 63 63 64 64 * ((( 65 -STM32L072 xxxxMCU65 +STM32L072CZT6 MCU 66 66 ))) 67 67 * ((( 68 68 SX1276/78 Wireless Chip ... ... @@ -169,6 +169,7 @@ 169 169 Packet engine up to 256 bytes with CRC. 170 170 171 171 172 + 172 172 173 173 ))) 174 174 ... ... @@ -176,17 +176,11 @@ 176 176 177 177 178 178 * LoRaWAN Class A & Class C protocol 179 - 180 180 * Optional Customized LoRa Protocol 181 - 182 182 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869 183 - 184 184 * AT Commands to change parameters 185 - 186 186 * Remote configure parameters via LoRa Downlink 187 - 188 188 * Firmware upgradable via program port 189 - 190 190 * Counting 191 191 192 192 ... ... @@ -195,15 +195,10 @@ 195 195 196 196 197 197 * Smart Buildings & Home Automation 198 - 199 199 * Logistics and Supply Chain Management 200 - 201 201 * Smart Metering 202 - 203 203 * Smart Agriculture 204 - 205 205 * Smart Cities 206 - 207 207 * Smart Factory 208 208 209 209 ... ... @@ -211,12 +211,9 @@ 211 211 == 1.5 Hardware Variants == 212 212 213 213 214 -(% border="1" style="background-color:#f2f2f2; width:500px" %) 215 -|(% style="background-color:#d9e2f3; color:#0070c0; width:103px" %)**Model**|(% style="background-color:#d9e2f3; color:#0070c0; width:131px" %)**Photo**|(% style="background-color:#d9e2f3; color:#0070c0; width:334px" %)**Description** 216 -|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)((( 217 -(% style="text-align:center" %) 218 -[[image:image-20230424115112-1.png||height="106" width="58"]] 219 -)))|(% style="width:334px" %)((( 204 +(% border="1" style="background-color:#f7faff; width:500px" %) 205 +|(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description** 206 +|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)((( 220 220 * 2 x Digital Input (Bi-direction) 221 221 * 2 x Digital Output 222 222 * 2 x Relay Output (5A@250VAC / 30VDC) ... ... @@ -230,9 +230,7 @@ 230 230 = 2. Power ON Device = 231 231 232 232 233 -((( 234 234 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. 235 -))) 236 236 237 237 ((( 238 238 PWR will on when device is properly powered. ... ... @@ -243,8 +243,10 @@ 243 243 [[image:1653297104069-180.png]] 244 244 245 245 231 + 246 246 = 3. Operation Mode = 247 247 234 + 248 248 == 3.1 How it works? == 249 249 250 250 ... ... @@ -257,6 +257,7 @@ 257 257 ))) 258 258 259 259 247 + 260 260 == 3.2 Example to join LoRaWAN network == 261 261 262 262 ... ... @@ -283,17 +283,17 @@ 283 283 Each LT is shipped with a sticker with the default device EUI as below: 284 284 ))) 285 285 286 -[[image: image-20230425173427-2.png]]274 +[[image:1653297924498-393.png]] 287 287 288 288 289 289 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 290 290 291 - **Add APP EUI in the application.**279 +Add APP EUI in the application. 292 292 293 293 [[image:1653297955910-247.png||height="321" width="716"]] 294 294 295 295 296 - **Add APP KEY and DEV EUI**284 +Add APP KEY and DEV EUI 297 297 298 298 [[image:1653298023685-319.png]] 299 299 ... ... @@ -301,13 +301,12 @@ 301 301 302 302 ((( 303 303 (% style="color:blue" %)**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. 304 - 305 - 306 306 ))) 307 307 308 308 [[image:1653298044601-602.png||height="405" width="709"]] 309 309 310 310 297 + 311 311 == 3.3 Uplink Payload == 312 312 313 313 ... ... @@ -321,12 +321,11 @@ 321 321 * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5 322 322 323 323 311 + 324 324 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 325 325 326 326 327 -((( 328 328 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. 329 -))) 330 330 331 331 [[image:image-20220523174024-3.png]] 332 332 ... ... @@ -342,6 +342,7 @@ 342 342 * DI is for digital input. DIx=1: high or float, DIx=0: low. 343 343 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 344 344 331 + 345 345 (% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L** 346 346 347 347 For example if payload is: [[image:image-20220523175847-2.png]] ... ... @@ -362,6 +362,7 @@ 362 362 * [1] RO1 relay channel is close and the RO1 LED is ON. 363 363 * [0] RO2 relay channel is open and RO2 LED is OFF; 364 364 352 + 365 365 **LT22222-L:** 366 366 367 367 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -378,12 +378,12 @@ 378 378 ** DO1 LED is off in both case 379 379 380 380 369 + 370 + 381 381 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 382 382 383 383 384 -((( 385 385 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 386 -))) 387 387 388 388 ((( 389 389 Total : 11 bytes payload ... ... @@ -415,15 +415,11 @@ 415 415 (% class="box infomessage" %) 416 416 ((( 417 417 ((( 418 -((( 419 419 **AT+MOD=2** 420 -))) 421 421 422 -((( 423 423 **ATZ** 424 424 ))) 425 425 ))) 426 -))) 427 427 428 428 ((( 429 429 ... ... @@ -451,6 +451,7 @@ 451 451 ))) 452 452 453 453 438 + 454 454 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 455 455 456 456 ... ... @@ -482,15 +482,11 @@ 482 482 (% class="box infomessage" %) 483 483 ((( 484 484 ((( 485 -((( 486 486 **AT+MOD=3** 487 -))) 488 488 489 -((( 490 490 **ATZ** 491 491 ))) 492 492 ))) 493 -))) 494 494 495 495 ((( 496 496 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. ... ... @@ -497,16 +497,13 @@ 497 497 ))) 498 498 499 499 481 + 500 500 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 501 501 502 502 503 -((( 504 504 **LT22222-L**: This mode the DI1 is used as a counting pin. 505 -))) 506 506 507 -((( 508 508 The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour. 509 -))) 510 510 511 511 [[image:image-20220523181903-8.png]] 512 512 ... ... @@ -534,17 +534,14 @@ 534 534 (% class="box infomessage" %) 535 535 ((( 536 536 ((( 537 -((( 538 538 **AT+MOD=4** 539 -))) 540 540 541 -((( 542 542 **ATZ** 543 543 ))) 544 544 ))) 545 -))) 546 546 547 547 522 + 548 548 ((( 549 549 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 550 550 ))) ... ... @@ -565,6 +565,7 @@ 565 565 ))) 566 566 567 567 543 + 568 568 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 569 569 570 570 ... ... @@ -597,15 +597,11 @@ 597 597 (% class="box infomessage" %) 598 598 ((( 599 599 ((( 600 -((( 601 601 **AT+MOD=5** 602 -))) 603 603 604 -((( 605 605 **ATZ** 606 606 ))) 607 607 ))) 608 -))) 609 609 610 610 ((( 611 611 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. ... ... @@ -612,6 +612,7 @@ 612 612 ))) 613 613 614 614 587 + 615 615 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 616 616 617 617 ... ... @@ -622,11 +622,14 @@ 622 622 * **AT+MOD=1 ** **~-~->** The normal working mode 623 623 * **AT+ADDMOD6=1** **~-~->** Enable trigger 624 624 598 + 625 625 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 626 626 627 627 1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type 628 628 1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.** 629 629 604 + 605 + 630 630 (% style="color:#037691" %)**AT Command to set Trigger Condition**: 631 631 632 632 ... ... @@ -666,6 +666,7 @@ 666 666 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 667 667 668 668 645 + 669 669 (% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 670 670 671 671 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** ... ... @@ -709,6 +709,7 @@ 709 709 710 710 * Each bits shows if the corresponding trigger has been configured. 711 711 689 + 712 712 **Example:** 713 713 714 714 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -721,11 +721,13 @@ 721 721 722 722 * Each bits shows which status has been trigger on this uplink. 723 723 702 + 724 724 **Example:** 725 725 726 726 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 727 727 728 728 708 + 729 729 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 730 730 731 731 [[image:image-20220524090456-4.png]] ... ... @@ -732,6 +732,7 @@ 732 732 733 733 * Each bits shows which status has been trigger on this uplink. 734 734 715 + 735 735 **Example:** 736 736 737 737 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -739,6 +739,7 @@ 739 739 00000101: Means both DI1 and DI2 trigger are enabled. 740 740 741 741 723 + 742 742 (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable. 743 743 744 744 Downlink command to poll MOD6 status: ... ... @@ -748,43 +748,43 @@ 748 748 When device got this command, it will send the MOD6 payload. 749 749 750 750 733 + 734 + 751 751 === 3.3.7 Payload Decoder === 752 752 753 753 ((( 754 754 755 755 756 -**Decoder for TTN/loraserver/ChirpStack**: github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]740 +**Decoder for TTN/loraserver/ChirpStack**: [[https:~~/~~/www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0>>https://www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0]] 757 757 ))) 758 758 759 759 744 + 760 760 == 3.4 Configure LT via AT or Downlink == 761 761 762 762 763 -((( 764 764 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 765 -))) 766 766 767 767 ((( 768 -((( 769 769 There are two kinds of Commands: 770 770 ))) 771 -))) 772 772 773 -* (% style="color:b lue" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]754 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 774 774 775 -* (% style="color:b lue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below:756 +* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 776 776 777 777 759 + 778 778 === 3.4.1 Common Commands === 779 779 780 780 781 -((( 782 782 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]] 783 -))) 784 784 785 785 766 + 786 786 === 3.4.2 Sensor related commands === 787 787 769 + 788 788 ==== 3.4.2.1 Set Transmit Interval ==== 789 789 790 790 ... ... @@ -792,7 +792,7 @@ 792 792 793 793 * (% style="color:#037691" %)**AT Command:** 794 794 795 - (% style="color:blue" %)**AT+TDC=N **777 +**AT+TDC=N ** 796 796 797 797 798 798 **Example: **AT+TDC=30000. Means set interval to 30 seconds ... ... @@ -800,10 +800,11 @@ 800 800 801 801 * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 802 802 803 - (% style="color:blue" %)**0x01 aa bb cc**(%%)**~/~/ Same as AT+TDC=0x(aa bb cc)**785 +**0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 804 804 805 805 806 806 789 + 807 807 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 808 808 809 809 ... ... @@ -811,7 +811,7 @@ 811 811 812 812 * (% style="color:#037691" %)**AT Command:** 813 813 814 - (% style="color:blue" %)**AT+MOD=N **797 +**AT+MOD=N ** 815 815 816 816 817 817 **Example**: AT+MOD=2. Set work mode to Double DI counting mode ... ... @@ -819,10 +819,11 @@ 819 819 820 820 * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 821 821 822 - (% style="color:blue" %)**0x0A aa **(%%)****~/~/ Same as AT+MOD=aa805 +**0x0A aa ** ~/~/ Same as AT+MOD=aa 823 823 824 824 825 825 809 + 826 826 ==== 3.4.2.3 Poll an uplink ==== 827 827 828 828 ... ... @@ -833,7 +833,7 @@ 833 833 834 834 * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):** 835 835 836 - (% style="color:blue" %)**0x08 FF **(%%)** **~/~/ Poll an uplink820 +**0x08 FF **~/~/ Poll an uplink 837 837 838 838 839 839 **Example**: 0x08FF, ask device to send an Uplink ... ... @@ -840,6 +840,7 @@ 840 840 841 841 842 842 827 + 843 843 ==== 3.4.2.4 Enable Trigger Mode ==== 844 844 845 845 ... ... @@ -847,19 +847,20 @@ 847 847 848 848 * (% style="color:#037691" %)**AT Command:** 849 849 850 - (% style="color:blue" %)**AT+ADDMOD6=1 or 0**835 +**AT+ADDMOD6=1 or 0** 851 851 852 - (% style="color:red" %)**1:**(%%)Enable Trigger Mode837 +1: Enable Trigger Mode 853 853 854 - (% style="color:red" %)**0:**(%%)Disable Trigger Mode839 +0: Disable Trigger Mode 855 855 856 856 857 857 * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):** 858 858 859 - (% style="color:blue" %)**0x0A 06 aa **(%%)844 +**0x0A 06 aa ** ~/~/ Same as AT+ADDMOD6=aa 860 860 861 861 862 862 848 + 863 863 ==== 3.4.2.5 Poll trigger settings ==== 864 864 865 865 ... ... @@ -872,10 +872,11 @@ 872 872 873 873 * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):** 874 874 875 - (% style="color:blue" %)**0xAB 06 **(%%)~/~/ Poll trigger settings, device will uplink trigger settings once receive this command861 +**0xAB 06 **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command 876 876 877 877 878 878 865 + 879 879 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 880 880 881 881 ... ... @@ -883,7 +883,7 @@ 883 883 884 884 * (% style="color:#037691" %)**AT Command:** 885 885 886 - (% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**873 +**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 887 887 888 888 889 889 **Example:** ... ... @@ -892,10 +892,11 @@ 892 892 893 893 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):** 894 894 895 - (% style="color:blue" %)**0xAA 02 aa bb **(%%)~/~/ Same as AT+DTRI=aa,bb882 +**0xAA 02 aa bb **~/~/ Same as AT+DTRI=aa,bb 896 896 897 897 898 898 886 + 899 899 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 900 900 901 901 ... ... @@ -903,11 +903,11 @@ 903 903 904 904 * (% style="color:#037691" %)**AT Command:** 905 905 906 - (% style="color:blue" %)**AT+TRIG1=a,b**894 +**AT+TRIG1=a,b** 907 907 908 - (% style="color:red" %)**a :**(%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).896 +a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 909 909 910 - (% style="color:red" %)**b :**(%%)delay timing.898 +b : delay timing. 911 911 912 912 913 913 **Example:** ... ... @@ -916,11 +916,10 @@ 916 916 917 917 918 918 * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 907 +* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 919 919 920 -(% style="color:blue" %)**0x09 01 aa bb cc ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc) 921 921 922 922 923 - 924 924 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 925 925 926 926 ... ... @@ -928,13 +928,14 @@ 928 928 929 929 * (% style="color:#037691" %)**AT Command:** 930 930 931 - (% style="color:blue" %)**AT+TRIG2=a,b**918 +**AT+TRIG2=a,b** 932 932 933 -(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 934 934 935 - (%style="color:red"%)**b:**(%%)delaytiming.921 +a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 936 936 923 +b : delay timing. 937 937 925 + 938 938 **Example:** 939 939 940 940 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) ... ... @@ -942,10 +942,11 @@ 942 942 943 943 * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):** 944 944 945 - (% style="color:blue" %)**0x09 02 aa bb cc **(%%)~/~/ same as AT+TRIG2=aa,0x(bb cc)933 +**0x09 02 aa bb cc **~/~/ same as AT+TRIG1=aa,0x(bb cc) 946 946 947 947 948 948 937 + 949 949 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 950 950 951 951 ... ... @@ -953,15 +953,16 @@ 953 953 954 954 * (% style="color:#037691" %)**AT Command** 955 955 956 - (% style="color:blue" %)**AT+ACLIM**945 +**AT+ACLIM** 957 957 958 958 959 959 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )** 960 960 961 - (% style="color:blue" %)**0x AA 01 aa bb cc dd ee ff gg hh **(%%)~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]950 +**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 962 962 963 963 964 964 954 + 965 965 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 966 966 967 967 ... ... @@ -969,15 +969,16 @@ 969 969 970 970 * (% style="color:#037691" %)**AT Command** 971 971 972 - (% style="color:blue" %)**AT+AVLIM**(%%)**See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**962 +**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 973 973 974 974 975 975 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )** 976 976 977 - (% style="color:blue" %)**0x AA 00 aa bb cc dd ee ff gg hh **(%%)~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]967 +**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 978 978 979 979 980 980 971 + 981 981 ==== 3.4.2.11 Trigger – Set minimum interval ==== 982 982 983 983 ... ... @@ -985,12 +985,12 @@ 985 985 986 986 * (% style="color:#037691" %)**AT Command** 987 987 988 - (% style="color:blue" %)**AT+ATDC=5 **(%%)Device won't response the second trigger within 5 minute after the first trigger.979 +**AT+ATDC=5 ** Device won't response the second trigger within 5 minute after the first trigger. 989 989 990 990 991 991 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )** 992 992 993 - (% style="color:blue" %)**0x AC aa bb **(%%)~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)984 +**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 994 994 995 995 ((( 996 996 ... ... @@ -1000,6 +1000,7 @@ 1000 1000 1001 1001 1002 1002 994 + 1003 1003 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1004 1004 1005 1005 ... ... @@ -1009,7 +1009,7 @@ 1009 1009 1010 1010 1011 1011 * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 1012 -* (% style="color:blue" %)**0x02 aa bb cc **(%%)~/~/ Set DO1/DO2/DO3 output1004 +* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1013 1013 1014 1014 ((( 1015 1015 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. ... ... @@ -1031,6 +1031,7 @@ 1031 1031 1032 1032 1033 1033 1026 + 1034 1034 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1035 1035 1036 1036 ... ... @@ -1041,7 +1041,7 @@ 1041 1041 1042 1042 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)** 1043 1043 1044 - (% style="color:blue" %)**0xA9 aa bb cc **(%%)~/~/ Set DO1/DO2/DO3 output with time control1037 +**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1045 1045 1046 1046 1047 1047 This is to control the digital output time of DO pin. Include four bytes: ... ... @@ -1074,14 +1074,6 @@ 1074 1074 1075 1075 Latching time. Unit: ms 1076 1076 1077 - 1078 -(% style="color:red" %)**Note: ** 1079 - 1080 - Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes 1081 - 1082 - Before Firmwre v1.6.0 the latch time only suport 2 bytes. 1083 - 1084 - 1085 1085 (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1086 1086 1087 1087 ... ... @@ -1105,9 +1105,10 @@ 1105 1105 1106 1106 1107 1107 1108 -==== 3.4.2. 14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1109 1109 1094 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1110 1110 1096 + 1111 1111 * (% style="color:#037691" %)**AT Command:** 1112 1112 1113 1113 There is no AT Command to control Relay Output ... ... @@ -1115,7 +1115,7 @@ 1115 1115 1116 1116 * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):** 1117 1117 1118 - (% style="color:blue" %)**0x03 aa bb **(%%)~/~/ Set RO1/RO2 output1104 +**0x03 aa bb **~/~/ Set RO1/RO2 output 1119 1119 1120 1120 1121 1121 ((( ... ... @@ -1134,6 +1134,7 @@ 1134 1134 1135 1135 1136 1136 1123 + 1137 1137 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1138 1138 1139 1139 ... ... @@ -1144,7 +1144,7 @@ 1144 1144 1145 1145 * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1146 1146 1147 - (% style="color:blue" %)**0x05 aa bb cc dd **(%%)~/~/ Set RO1/RO2 relay with time control1134 +**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1148 1148 1149 1149 1150 1150 This is to control the relay output time of relay. Include four bytes: ... ... @@ -1160,25 +1160,17 @@ 1160 1160 1161 1161 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1162 1162 1163 -[[image:image-2022 1008095908-1.png||height="364" width="564"]]1150 +[[image:image-20220714135731-1.png||height="406" width="627"]] 1164 1164 1165 1165 1166 1166 (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms 1167 1167 1168 - 1169 -(% style="color:red" %)**Note:** 1170 - 1171 - Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes 1172 - 1173 - Before Firmwre v1.6.0 the latch time only suport 2 bytes. 1174 - 1175 - 1176 1176 (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1177 1177 1178 1178 1179 1179 **Example payload:** 1180 1180 1181 -**~1. 05 01 11 07 D 0**1160 +**~1. 05 01 11 07 D** 1182 1182 1183 1183 Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state. 1184 1184 ... ... @@ -1203,33 +1203,39 @@ 1203 1203 1204 1204 * (% style="color:#037691" %)**AT Command:** 1205 1205 1206 - (% style="color:blue" %)**AT+VOLMAX **(%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]1185 +**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1207 1207 1208 1208 1209 1209 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1210 1210 1211 - (% style="color:blue" %)**0xA5 aa bb cc **(%%)~/~/ Same as AT+VOLMAX=(aa bb),cc1190 +**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1212 1212 1213 1213 1214 1214 1194 + 1215 1215 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1216 1216 1217 1217 1218 1218 * (% style="color:#037691" %)**AT Command:** 1219 1219 1220 - (% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **1200 +**AT+SETCNT=aa,(bb cc dd ee) ** 1221 1221 1222 - (% style="color:red" %)**aa:**(%%)1: Set count1; 2: Set count2; 3: Set AV1 count1202 +aa: 1: Set count1, 1223 1223 1224 - (% style="color:red"%)**bb cc ddee:**(%%)numberto be set1204 +2: Set count2, 1225 1225 1206 +3: Set AV1 count 1226 1226 1208 +Bb cc dd ee: number to be set 1209 + 1210 + 1227 1227 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1228 1228 1229 - (% style="color:blue" %)**0x A8 aa bb cc dd ee **(%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)1213 +**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1230 1230 1231 1231 1232 1232 1217 + 1233 1233 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1234 1234 1235 1235 ... ... @@ -1237,114 +1237,121 @@ 1237 1237 1238 1238 * (% style="color:#037691" %)**AT Command:** 1239 1239 1240 - (% style="color:blue" %)**AT+CLRCOUNT **(%%)~/~/ clear all counting1225 +**AT+CLRCOUNT ** ~/~/ clear all counting 1241 1241 1242 1242 1243 1243 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1244 1244 1245 - (% style="color:blue" %)**0x A6 01 **(%%)~/~/ clear all counting1230 +**0x A6 01 ** ~/~/ clear all counting 1246 1246 1247 1247 1248 1248 1234 + 1249 1249 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1250 1250 1251 1251 1252 1252 * (% style="color:#037691" %)**AT Command:** 1253 1253 1254 - (% style="color:blue" %)**AT+COUTIME=60 **(%%)~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)1240 +**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1255 1255 1256 1256 1257 1257 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1258 1258 1259 - (% style="color:blue" %)**0x A7 aa bb cc **(%%)~/~/ same as AT+COUTIME =aa bb cc,1245 +**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1260 1260 1261 1261 ((( 1262 1262 range: aa bb cc:0 to 16777215, (unit:second) 1263 -))) 1264 1264 1265 1265 1266 1266 1267 -==== 3.4.2.20 Reset save RO DO state ==== 1252 + 1253 +))) 1268 1268 1255 +==== 3.4.2.20 Reset save DR DO state ==== 1269 1269 1257 + 1270 1270 * (% style="color:#037691" %)**AT Command:** 1271 1271 1272 - (% style="color:blue" %)**AT+RODORESET=1(%%)~/~/ RODO will close when the device joining the network. (default)1260 +**AT+RODORET=1 **~/~/ RODO will close when the device joining the network. (default) 1273 1273 1274 - (% style="color:blue" %)**AT+RODORESET=0(%%)~/~/1262 +**AT+RODORET=0 **~/~/After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network. 1275 1275 1276 1276 1277 1277 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):** 1278 1278 1279 - (% style="color:blue" %)**0x AD aa **(%%)~/~/ same as AT+RODORET =aa1267 +**0x AD aa **~/~/ same as AT+RODORET =aa 1280 1280 1269 +((( 1270 + 1281 1281 1282 1282 1273 + 1283 1283 ==== 3.4.2.21 Encrypted payload ==== 1284 1284 1285 1285 1286 1286 * (% style="color:#037691" %)**AT Command:** 1287 1287 1288 - (% style="color:blue" %)**AT+DECRYPT=1 **(%%)~/~/ The payload is uploaded without encryption1279 +**AT+DECRYPT=1 **~/~/ The payload is uploaded without encryption 1289 1289 1290 - (% style="color:blue" %)**AT+DECRYPT=0(%%)~/~/1281 +**AT+DECRYPT=0 **~/~/Encrypt when uploading payload (default) 1291 1291 1292 1292 1293 1293 1285 + 1294 1294 ==== 3.4.2.22 Get sensor value ==== 1295 1295 1296 1296 1297 1297 * (% style="color:#037691" %)**AT Command:** 1298 1298 1299 - (% style="color:blue" %)**AT+GETSENSORVALUE=0(%%)~/~/ The serial port gets the reading of the current sensor1291 +**AT+GETSENSORVALUE=0 **~/~/ The serial port gets the reading of the current sensor 1300 1300 1301 - (% style="color:blue" %)**AT+GETSENSORVALUE=1(%%)~/~/1293 +**AT+GETSENSORVALUE=1 **~/~/The serial port gets the current sensor reading and uploads it. 1302 1302 1303 1303 1304 1304 1297 + 1305 1305 ==== 3.4.2.23 Resets the downlink packet count ==== 1306 1306 1307 1307 1308 1308 * (% style="color:#037691" %)**AT Command:** 1309 1309 1310 - (% style="color:blue" %)**AT+DISFCNTCHECK=0(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)1303 +**AT+DISFCNTCHECK=0 **~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default) 1311 1311 1312 - (% style="color:blue" %)**AT+DISFCNTCHECK=1(%%)~/~/1305 +**AT+DISFCNTCHECK=1 **~/~/When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count. 1313 1313 1314 1314 1315 1315 1309 + 1316 1316 ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ==== 1317 1317 1318 1318 1319 1319 * (% style="color:#037691" %)**AT Command:** 1320 1320 1321 - (%style="color:blue"%)**AT+DISMACANS=0**(%%)~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)1315 + **AT+DISMACANS=0** ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default) 1322 1322 1323 - (%style="color:blue"%)**AT+DISMACANS=1**(%%)~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.1317 + **AT+DISMACANS=1** ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part. 1324 1324 1325 1325 1326 1326 * (% style="color:#037691" %)**Downlink Payload **(%%)**:** 1327 1327 1328 - (% style="color:blue" %)**0x21 00 01 **(%%)~/~/ Set the DISMACANS=11322 +**0x21 00 01 ** ~/~/ Set the DISMACANS=1 1329 1329 1330 1330 1331 1331 1326 + 1332 1332 ==== 3.4.2.25 Copy downlink to uplink ==== 1333 1333 1334 1334 1335 1335 * (% style="color:#037691" %)**AT Command**(%%)**:** 1336 1336 1337 - (%style="color:blue"%)**AT+RPL=5**(%%)~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.1332 + **AT+RPL=5** ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100. 1338 1338 1339 1339 Example:**aa xx xx xx xx** ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent. 1340 1340 1341 - 1342 1342 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]] 1343 1343 1344 1344 For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77. 1345 1345 1346 - 1347 - 1348 1348 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]] 1349 1349 1350 1350 For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned. ... ... @@ -1357,7 +1357,7 @@ 1357 1357 * ((( 1358 1358 (% style="color:#037691" %)**Downlink Payload**(%%)**:** 1359 1359 1360 - (% style="color:blue" %)**26 01 **(%%)1352 +**26 01 ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1361 1361 1362 1362 1363 1363 ))) ... ... @@ -1367,6 +1367,9 @@ 1367 1367 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]] 1368 1368 1369 1369 1362 + 1363 +))) 1364 + 1370 1370 == 3.5 Integrate with Mydevice == 1371 1371 1372 1372 ... ... @@ -1416,8 +1416,10 @@ 1416 1416 [[image:image-20220524094909-5.png||height="341" width="734"]] 1417 1417 1418 1418 1414 + 1419 1419 == 3.6 Interface Detail == 1420 1420 1417 + 1421 1421 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === 1422 1422 1423 1423 ... ... @@ -1426,6 +1426,7 @@ 1426 1426 [[image:1653356991268-289.png]] 1427 1427 1428 1428 1426 + 1429 1429 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1430 1430 1431 1431 ... ... @@ -1482,6 +1482,8 @@ 1482 1482 1483 1483 ((( 1484 1484 1483 + 1484 + 1485 1485 ))) 1486 1486 1487 1487 ((( ... ... @@ -1513,6 +1513,8 @@ 1513 1513 1514 1514 ((( 1515 1515 1516 + 1517 + 1516 1516 ))) 1517 1517 1518 1518 ((( ... ... @@ -1543,16 +1543,16 @@ 1543 1543 ))) 1544 1544 1545 1545 1548 + 1546 1546 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1547 1547 1548 1548 1549 - (% style="color:blue" %)**NPN output**(%%): GND or Float. Max voltage can apply to output pin is 36v.1552 +NPN output: GND or Float. Max voltage can apply to output pin is 36v. 1550 1550 1551 -(% style="color:red" %)**Note: DO pins go to float when device is power off.** 1552 - 1553 1553 [[image:1653357531600-905.png]] 1554 1554 1555 1555 1557 + 1556 1556 === 3.6.4 Analog Input Interface === 1557 1557 1558 1558 ... ... @@ -1568,13 +1568,13 @@ 1568 1568 We take the wind speed sensor as an example for reference only. 1569 1569 1570 1570 1571 - (% style="color:blue" %)**Specifications of the wind speed sensor:**1573 +**Specifications of the wind speed sensor:** 1572 1572 1573 - (% style="color:red" %)**Red: 12~~24v**1575 +Red: 12~~24v 1574 1574 1575 - (% style="color:#ffc000" %)**Yellow: 4~~20mA**1577 +Yellow: 4~~20mA 1576 1576 1577 - **Black: GND**1579 +Black: GND 1578 1578 1579 1579 1580 1580 **Connection diagram:** ... ... @@ -1584,13 +1584,12 @@ 1584 1584 [[image:1653357648330-671.png||height="155" width="733"]] 1585 1585 1586 1586 1589 + 1587 1587 === 3.6.5 Relay Output === 1588 1588 1589 1589 1590 1590 ((( 1591 -The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device's Power Line to in serial of RO1_1 and RO_2. Such as below: 1592 - 1593 -**Note**: RO pins go to Open(NO) when device is power off. 1594 +The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below: 1594 1594 ))) 1595 1595 1596 1596 [[image:image-20220524100215-9.png]] ... ... @@ -1599,6 +1599,7 @@ 1599 1599 [[image:image-20220524100215-10.png||height="382" width="723"]] 1600 1600 1601 1601 1603 + 1602 1602 == 3.7 LEDs Indicators == 1603 1603 1604 1604 ... ... @@ -1605,19 +1605,15 @@ 1605 1605 [[image:image-20220524100748-11.png]] 1606 1606 1607 1607 1610 + 1608 1608 = 4. Use AT Command = 1609 1609 1613 + 1610 1610 == 4.1 Access AT Command == 1611 1611 1612 1612 1613 -((( 1614 1614 LT supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LT for using AT command, as below. 1615 -))) 1616 1616 1617 -((( 1618 - 1619 -))) 1620 - 1621 1621 [[image:1653358238933-385.png]] 1622 1622 1623 1623 ... ... @@ -1645,7 +1645,7 @@ 1645 1645 ))) 1646 1646 1647 1647 ((( 1648 -AT+<CMD>=? : 1646 +AT+<CMD>=? : Get the value 1649 1649 ))) 1650 1650 1651 1651 ((( ... ... @@ -1673,11 +1673,11 @@ 1673 1673 ))) 1674 1674 1675 1675 ((( 1676 -AT+APPSKEY: 1674 +AT+APPSKEY: Get or Set the Application Session Key 1677 1677 ))) 1678 1678 1679 1679 ((( 1680 -AT+APPEUI: 1678 +AT+APPEUI: Get or Set the Application EUI 1681 1681 ))) 1682 1682 1683 1683 ((( ... ... @@ -1689,7 +1689,7 @@ 1689 1689 ))) 1690 1690 1691 1691 ((( 1692 -AT+DR: 1690 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X) 1693 1693 ))) 1694 1694 1695 1695 ((( ... ... @@ -1725,7 +1725,7 @@ 1725 1725 ))) 1726 1726 1727 1727 ((( 1728 -AT+NJM: 1726 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA) 1729 1729 ))) 1730 1730 1731 1731 ((( ... ... @@ -1769,7 +1769,7 @@ 1769 1769 ))) 1770 1770 1771 1771 ((( 1772 -AT+VER: 1770 +AT+VER: Get current image version and Frequency Band 1773 1773 ))) 1774 1774 1775 1775 ((( ... ... @@ -1777,7 +1777,7 @@ 1777 1777 ))) 1778 1778 1779 1779 ((( 1780 -AT+CFS: 1778 +AT+CFS: Get confirmation status of the last AT+SEND (0-1) 1781 1781 ))) 1782 1782 1783 1783 ((( ... ... @@ -1817,108 +1817,107 @@ 1817 1817 ))) 1818 1818 1819 1819 1818 + 1820 1820 == 4.2 Common AT Command Sequence == 1821 1821 1821 + 1822 1822 === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1823 1823 1824 1824 ((( 1825 1825 1826 1826 1827 -((( 1828 -(% style="color:blue" %)**If device has not joined network yet:** 1827 +**If device has not joined network yet:** 1829 1829 ))) 1830 -))) 1831 1831 1832 1832 ((( 1833 -(% style="background-color:#dcdcdc" %) **123456**1831 +(% style="background-color:#dcdcdc" %)123456 1834 1834 ))) 1835 1835 1836 1836 ((( 1837 -(% style="background-color:#dcdcdc" %) **AT+FDR**1835 +(% style="background-color:#dcdcdc" %)AT+FDR 1838 1838 ))) 1839 1839 1840 1840 ((( 1841 -(% style="background-color:#dcdcdc" %) **123456**1839 +(% style="background-color:#dcdcdc" %)123456 1842 1842 ))) 1843 1843 1844 1844 ((( 1845 -(% style="background-color:#dcdcdc" %) **AT+NJM=0**1843 +(% style="background-color:#dcdcdc" %)AT+NJM=0 1846 1846 ))) 1847 1847 1848 1848 ((( 1849 -(% style="background-color:#dcdcdc" %) **ATZ**1847 +(% style="background-color:#dcdcdc" %)ATZ 1850 1850 ))) 1851 1851 1852 1852 1853 1853 ((( 1854 - (% style="color:blue" %)**If device already joined network:**1852 +**If device already joined network:** 1855 1855 ))) 1856 1856 1857 1857 ((( 1858 -(% style="background-color:#dcdcdc" %) **AT+NJM=0**1856 +(% style="background-color:#dcdcdc" %)AT+NJM=0 1859 1859 ))) 1860 1860 1861 1861 ((( 1862 -(% style="background-color:#dcdcdc" %) **ATZ**1860 +(% style="background-color:#dcdcdc" %)ATZ 1863 1863 ))) 1864 1864 1865 1865 1864 + 1866 1866 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === 1867 1867 1868 1868 ((( 1869 1869 1870 1870 1871 -((( 1872 -(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter Password to have AT access. 1870 +(% style="background-color:#dcdcdc" %)123456(%%) Enter Password to have AT access. 1873 1873 ))) 1874 -))) 1875 1875 1876 1876 ((( 1877 -(% style="background-color:#dcdcdc" %) **AT+FDR**(%%)~/~/Reset Parameters to Factory Default, Keys Reserve1874 +(% style="background-color:#dcdcdc" %) AT+FDR(%%) Reset Parameters to Factory Default, Keys Reserve 1878 1878 ))) 1879 1879 1880 1880 ((( 1881 -(% style="background-color:#dcdcdc" %) **123456**(%%)~/~/Enter Password to have AT access.1878 +(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1882 1882 ))) 1883 1883 1884 1884 ((( 1885 -(% style="background-color:#dcdcdc" %) **AT+CLASS=C**(%%)~/~/Set to work in CLASS C1882 +(% style="background-color:#dcdcdc" %) AT+CLASS=C(%%) Set to work in CLASS C 1886 1886 ))) 1887 1887 1888 1888 ((( 1889 -(% style="background-color:#dcdcdc" %) **AT+NJM=0**(%%)~/~/Set to ABP mode1886 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1890 1890 ))) 1891 1891 1892 1892 ((( 1893 -(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%)~/~/Set the Adaptive Data Rate Off1890 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off 1894 1894 ))) 1895 1895 1896 1896 ((( 1897 -(% style="background-color:#dcdcdc" %) **AT+DR=5**(%%)~/~/Set Data Rate1894 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1898 1898 ))) 1899 1899 1900 1900 ((( 1901 -(% style="background-color:#dcdcdc" %) **AT+TDC=60000**(%%)~/~/Set transmit interval to 60 seconds1898 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) Set transmit interval to 60 seconds 1902 1902 ))) 1903 1903 1904 1904 ((( 1905 -(% style="background-color:#dcdcdc" %) **AT+CHS=868400000**(%%)~/~/Set transmit frequency to 868.4Mhz1902 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1906 1906 ))) 1907 1907 1908 1908 ((( 1909 -(% style="background-color:#dcdcdc" %) **AT+RX2FQ=868400000**(%%)~/~/Set RX2Frequency to 868.4Mhz (according to the result from server)1906 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1910 1910 ))) 1911 1911 1912 1912 ((( 1913 -(% style="background-color:#dcdcdc" %) **AT+RX2DR=5**(%%)****~/~/Set RX2DR to match the downlink DR from server. see below1910 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) Set RX2DR to match the downlink DR from server. see below 1914 1914 ))) 1915 1915 1916 1916 ((( 1917 -(% style="background-color:#dcdcdc" %) **AT+DADDR=26 01 1A F1**(%%)~/~/Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.1914 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%) Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1918 1918 ))) 1919 1919 1920 1920 ((( 1921 -(% style="background-color:#dcdcdc" %) **ATZ**(%%)~/~/Reset MCU1918 +(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1922 1922 1923 1923 1924 1924 ))) ... ... @@ -1928,15 +1928,11 @@ 1928 1928 ))) 1929 1929 1930 1930 ((( 1931 -**~1. Make sure the device is set to ABP mode in the IoT Server.** 1928 +(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server. 1929 +2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1930 +3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means. 1931 +4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5 1932 1932 1933 -**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.** 1934 - 1935 -**3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php? 1936 -dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.** 1937 - 1938 -**4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5.** 1939 - 1940 1940 1941 1941 ))) 1942 1942 ... ... @@ -1948,30 +1948,22 @@ 1948 1948 1949 1949 ))) 1950 1950 1944 + 1951 1951 === 4.2.3 Change to Class A === 1952 1952 1953 1953 1954 -((( 1955 -(% style="color:blue" %)**If sensor JOINED:** 1948 +If sensor JOINED 1949 +(% style="background-color:#dcdcdc" %)AT+CLASS=A 1950 +ATZ 1956 1956 1957 -(% style="background-color:#dcdcdc" %)**AT+CLASS=A 1958 -ATZ** 1959 -))) 1960 1960 1961 1961 1962 -= 5. CaseStudy=1954 += 5. FAQ = 1963 1963 1964 -== 5.1 Counting how many objects pass in Flow Line == 1965 1965 1957 +== 5.1 How to upgrade the image? == 1966 1966 1967 -Reference Link: [[How to set up to count objects pass in flow line>>How to set up to count objects pass in flow line]]? 1968 1968 1969 - 1970 -= 6. FAQ = 1971 - 1972 -== 6.1 How to upgrade the image? == 1973 - 1974 - 1975 1975 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: 1976 1976 1977 1977 * Support new features ... ... @@ -1989,10 +1989,8 @@ 1989 1989 (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 1990 1990 1991 1991 1992 -((( 1993 1993 (% style="color:blue" %)**For LT-22222-L**(%%): 1994 1994 Hold down the PRO button and then momentarily press the RST reset button and the (% style="color:red" %)**DO1 led**(%%) will change from OFF to ON. When (% style="color:red" %)**DO1 LED**(%%) is on, it means the device is in download mode. 1995 -))) 1996 1996 1997 1997 1998 1998 ))) ... ... @@ -1999,10 +1999,8 @@ 1999 1999 2000 2000 [[image:image-20220524103407-12.png]] 2001 2001 2002 - 2003 2003 [[image:image-20220524103429-13.png]] 2004 2004 2005 - 2006 2006 [[image:image-20220524104033-15.png]] 2007 2007 2008 2008 ... ... @@ -2014,8 +2014,10 @@ 2014 2014 2015 2015 ((( 2016 2016 ((( 2017 - ==6.2 How to change the LoRa Frequency Bands/Region? ==1998 + 2018 2018 2000 +== 5.2 How to change the LoRa Frequency Bands/Region? == 2001 + 2019 2019 2020 2020 ))) 2021 2021 ))) ... ... @@ -2027,8 +2027,9 @@ 2027 2027 ((( 2028 2028 2029 2029 2030 -== 6.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? == 2031 2031 2014 +== 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? == 2015 + 2032 2032 2033 2033 ))) 2034 2034 ... ... @@ -2042,6 +2042,7 @@ 2042 2042 ((( 2043 2043 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 2044 2044 2029 + 2045 2045 2046 2046 ))) 2047 2047 ))) ... ... @@ -2071,15 +2071,16 @@ 2071 2071 ))) 2072 2072 2073 2073 ((( 2074 -(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter Password to have AT access. 2075 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset Parameters to Factory Default, Keys Reserve 2076 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode 2077 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Set the Adaptive Data Rate Off 2078 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) : Set Data Rate (Set AT+DR=3 for 915 band) 2079 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds 2080 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz 2081 -(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%) : Set Device Address to 26 01 1A F1 2082 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) : Reset MCU 2059 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 2060 +(% style="background-color:#dcdcdc" %)AT+FDR(%%) Reset Parameters to Factory Default, Keys Reserve 2061 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 2062 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode 2063 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off 2064 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band) 2065 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds 2066 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 2067 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 2068 +(% style="background-color:#dcdcdc" %)ATZ (%%) Reset MCU 2083 2083 ))) 2084 2084 2085 2085 ... ... @@ -2090,23 +2090,26 @@ 2090 2090 [[image:1653360498588-932.png||height="485" width="726"]] 2091 2091 2092 2092 2093 -== 6.4 Can I see counting event in Serial? == 2094 2094 2080 +== 5.4 Can I see counting event in Serial? == 2095 2095 2082 + 2096 2096 ((( 2097 2097 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. 2098 2098 2099 2099 2100 -== 6.5 Can i use point to point communication for LT-22222-L? == 2101 2101 2088 +== 5.5 Can i use point to point communication for LT-22222-L? == 2102 2102 2103 -Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] ,this is [[firmware>>https://github.com/dragino/LT-22222-L/releases]]. 2104 2104 2091 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 2092 + 2093 + 2105 2105 2106 2106 ))) 2107 2107 2108 2108 ((( 2109 -== 6.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==2098 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2110 2110 2111 2111 2112 2112 If the device is not shut down, but directly powered off. ... ... @@ -2118,27 +2118,23 @@ 2118 2118 After restart, the status before power failure will be read from flash. 2119 2119 2120 2120 2121 -== 6.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==2110 +== 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? == 2122 2122 2123 - 2124 2124 LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below: 2125 2125 2126 - 2127 2127 [[image:image-20221006170630-1.png||height="610" width="945"]] 2128 2128 2129 2129 2130 -== 6.8 Can LT22222-L save RO state? == 2131 2131 2132 2132 2133 - Firmwareversion needs tobe nolessthan1.6.0.2119 += 6. Trouble Shooting = 2134 2134 2135 - 2136 -= 7. Trouble Shooting = 2121 + 2137 2137 ))) 2138 2138 2139 2139 ((( 2140 2140 ((( 2141 -== 7.1 Downlink doesn't work, how to solve it? ==2126 +== 6.1 Downlink doesn't work, how to solve it? == 2142 2142 2143 2143 2144 2144 ))) ... ... @@ -2151,8 +2151,9 @@ 2151 2151 ((( 2152 2152 2153 2153 2154 -== 7.2 Have trouble to upload image. == 2155 2155 2140 +== 6.2 Have trouble to upload image. == 2141 + 2156 2156 2157 2157 ))) 2158 2158 ... ... @@ -2163,8 +2163,9 @@ 2163 2163 ((( 2164 2164 2165 2165 2166 -== 7.3 Why I can't join TTN in US915 /AU915 bands? == 2167 2167 2153 +== 6.3 Why I can't join TTN in US915 /AU915 bands? == 2154 + 2168 2168 2169 2169 ))) 2170 2170 ... ... @@ -2173,9 +2173,10 @@ 2173 2173 ))) 2174 2174 2175 2175 2176 -= 8. Order Info = 2177 2177 2164 += 7. Order Info = 2178 2178 2166 + 2179 2179 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 2180 2180 2181 2181 (% style="color:#4f81bd" %)**XXX:** ... ... @@ -2192,7 +2192,7 @@ 2192 2192 2193 2193 2194 2194 2195 -= 9. Packing Info =2183 += 8. Packing Info = 2196 2196 2197 2197 2198 2198 **Package Includes**: ... ... @@ -2211,7 +2211,7 @@ 2211 2211 2212 2212 2213 2213 2214 -= 10. Support =2202 += 9. Support = 2215 2215 2216 2216 2217 2217 * ((( ... ... @@ -2221,10 +2221,11 @@ 2221 2221 Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 2222 2222 2223 2223 2212 + 2224 2224 2225 2225 ))) 2226 2226 2227 -= 1 1. Reference =2216 += 10. Reference = 2228 2228 2229 2229 2230 2230 * LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] ... ... @@ -2231,4 +2231,3 @@ 2231 2231 * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]] 2232 2232 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]] 2233 2233 2234 -
- image-20221008095908-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.8 KB - Content
- image-20221112174847-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -102.6 KB - Content
- image-20230424115112-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.1 KB - Content
- image-20230425173351-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -207.8 KB - Content
- image-20230425173427-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -150.1 KB - Content
- image-20230426161322-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -15.2 KB - Content