<
From version < 98.1 >
edited by Edwin Chen
on 2022/10/06 17:06
To version < 104.1 >
edited by Xiaoling
on 2022/11/12 17:48
>
Change comment: Uploaded new attachment "image-20221112174847-1.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -21,8 +21,10 @@
21 21  (((
22 22  
23 23  
24 +(((
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  )))
27 +)))
26 26  
27 27  (((
28 28  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.
... ... @@ -184,9 +184,6 @@
184 184  * Firmware upgradable via program port
185 185  * Counting
186 186  
187 -
188 -
189 -
190 190  == 1.4  Applications ==
191 191  
192 192  
... ... @@ -197,9 +197,6 @@
197 197  * Smart Cities
198 198  * Smart Factory
199 199  
200 -
201 -
202 -
203 203  == 1.5 Hardware Variants ==
204 204  
205 205  
... ... @@ -214,13 +214,12 @@
214 214  * 1 x Counting Port
215 215  )))
216 216  
217 -
218 -
219 -
220 220  = 2. Power ON Device =
221 221  
222 222  
216 +(((
223 223  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.
218 +)))
224 224  
225 225  (((
226 226  PWR will on when device is properly powered.
... ... @@ -279,12 +279,12 @@
279 279  
280 280  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
281 281  
282 -Add APP EUI in the application.
277 +**Add APP EUI in the application.**
283 283  
284 284  [[image:1653297955910-247.png||height="321" width="716"]]
285 285  
286 286  
287 -Add APP KEY and DEV EUI
282 +**Add APP KEY and DEV EUI**
288 288  
289 289  [[image:1653298023685-319.png]]
290 290  
... ... @@ -292,6 +292,8 @@
292 292  
293 293  (((
294 294  (% 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.
290 +
291 +
295 295  )))
296 296  
297 297  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -311,12 +311,12 @@
311 311  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
312 312  
313 313  
314 -
315 -
316 316  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
317 317  
318 318  
314 +(((
319 319  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
316 +)))
320 320  
321 321  [[image:image-20220523174024-3.png]]
322 322  
... ... @@ -332,8 +332,6 @@
332 332  * DI is for digital input. DIx=1: high or float, DIx=0: low.
333 333  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
334 334  
335 -
336 -
337 337  (% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L**
338 338  
339 339  For example if payload is: [[image:image-20220523175847-2.png]]
... ... @@ -354,8 +354,6 @@
354 354  * [1] RO1 relay channel is close and the RO1 LED is ON.
355 355  * [0] RO2 relay channel is open and RO2 LED is OFF;
356 356  
357 -
358 -
359 359  **LT22222-L:**
360 360  
361 361  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -372,13 +372,12 @@
372 372  ** DO1 LED is off in both case
373 373  
374 374  
375 -
376 -
377 -
378 378  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
379 379  
380 380  
371 +(((
381 381  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
373 +)))
382 382  
383 383  (((
384 384  Total : 11 bytes payload
... ... @@ -410,11 +410,15 @@
410 410  (% class="box infomessage" %)
411 411  (((
412 412  (((
405 +(((
413 413  **AT+MOD=2**
407 +)))
414 414  
409 +(((
415 415  **ATZ**
416 416  )))
417 417  )))
413 +)))
418 418  
419 419  (((
420 420  
... ... @@ -474,11 +474,15 @@
474 474  (% class="box infomessage" %)
475 475  (((
476 476  (((
473 +(((
477 477  **AT+MOD=3**
475 +)))
478 478  
477 +(((
479 479  **ATZ**
480 480  )))
481 481  )))
481 +)))
482 482  
483 483  (((
484 484  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
... ... @@ -489,9 +489,13 @@
489 489  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
490 490  
491 491  
492 +(((
492 492  **LT22222-L**: This mode the DI1 is used as a counting pin.
494 +)))
493 493  
496 +(((
494 494  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.
498 +)))
495 495  
496 496  [[image:image-20220523181903-8.png]]
497 497  
... ... @@ -519,14 +519,17 @@
519 519  (% class="box infomessage" %)
520 520  (((
521 521  (((
526 +(((
522 522  **AT+MOD=4**
528 +)))
523 523  
530 +(((
524 524  **ATZ**
525 525  )))
526 526  )))
534 +)))
527 527  
528 528  
529 -
530 530  (((
531 531  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
532 532  )))
... ... @@ -580,11 +580,15 @@
580 580  (% class="box infomessage" %)
581 581  (((
582 582  (((
590 +(((
583 583  **AT+MOD=5**
592 +)))
584 584  
594 +(((
585 585  **ATZ**
586 586  )))
587 587  )))
598 +)))
588 588  
589 589  (((
590 590  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
... ... @@ -602,16 +602,11 @@
602 602  * **AT+MOD=1 ** **~-~->**  The normal working mode
603 603  * **AT+ADDMOD6=1**   **~-~->**  Enable trigger
604 604  
605 -
606 -
607 607  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
608 608  
609 609  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
610 610  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.**
611 611  
612 -
613 -
614 -
615 615  (% style="color:#037691" %)**AT Command to set Trigger Condition**:
616 616  
617 617  
... ... @@ -695,8 +695,6 @@
695 695  
696 696  * Each bits shows if the corresponding trigger has been configured.
697 697  
698 -
699 -
700 700  **Example:**
701 701  
702 702  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -709,8 +709,6 @@
709 709  
710 710  * Each bits shows which status has been trigger on this uplink.
711 711  
712 -
713 -
714 714  **Example:**
715 715  
716 716  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -723,8 +723,6 @@
723 723  
724 724  * Each bits shows which status has been trigger on this uplink.
725 725  
726 -
727 -
728 728  **Example:**
729 729  
730 730  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -743,13 +743,12 @@
743 743  
744 744  
745 745  
746 -
747 747  === 3.3.7 Payload Decoder ===
748 748  
749 749  (((
750 750  
751 751  
752 -**Decoder for TTN/loraserver/ChirpStack**:  [[https:~~/~~/www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0>>https://www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0]]
751 +**Decoder for TTN/loraserver/ChirpStack**:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
753 753  )))
754 754  
755 755  
... ... @@ -757,23 +757,26 @@
757 757  == 3.4 ​Configure LT via AT or Downlink ==
758 758  
759 759  
759 +(((
760 760  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
761 +)))
761 761  
762 762  (((
764 +(((
763 763  There are two kinds of Commands:
764 764  )))
767 +)))
765 765  
766 -* (% 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]]
769 +* (% style="color:blue" %)**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]]
767 767  
768 -* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
771 +* (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
769 769  
770 -
771 -
772 -
773 773  === 3.4.1 Common Commands ===
774 774  
775 775  
776 +(((
776 776  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]]
778 +)))
777 777  
778 778  
779 779  
... ... @@ -787,7 +787,7 @@
787 787  
788 788  * (% style="color:#037691" %)**AT Command:**
789 789  
790 -**AT+TDC=N **
792 +(% style="color:blue" %)**AT+TDC=N **
791 791  
792 792  
793 793  **Example: **AT+TDC=30000. Means set interval to 30 seconds
... ... @@ -795,11 +795,10 @@
795 795  
796 796  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
797 797  
798 -**0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
800 +(% style="color:blue" %)**0x01 aa bb cc  **(%%)** ~/~/ Same as AT+TDC=0x(aa bb cc)**
799 799  
800 800  
801 801  
802 -
803 803  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
804 804  
805 805  
... ... @@ -807,7 +807,7 @@
807 807  
808 808  * (% style="color:#037691" %)**AT Command:**
809 809  
810 -**AT+MOD=N  **
811 +(% style="color:blue" %)**AT+MOD=N  **
811 811  
812 812  
813 813  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
... ... @@ -815,11 +815,10 @@
815 815  
816 816  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
817 817  
818 -**0x0A aa    ** ~/~/ Same as AT+MOD=aa
819 +(% style="color:blue" %)**0x0A aa  **(%%)** ** ~/~/ Same as AT+MOD=aa
819 819  
820 820  
821 821  
822 -
823 823  ==== 3.4.2.3 Poll an uplink ====
824 824  
825 825  
... ... @@ -830,7 +830,7 @@
830 830  
831 831  * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
832 832  
833 -**0x08 FF     **~/~/ Poll an uplink
833 +(% style="color:blue" %)**0x08 FF  **(%%)** **~/~/ Poll an uplink
834 834  
835 835  
836 836  **Example**: 0x08FF, ask device to send an Uplink
... ... @@ -837,7 +837,6 @@
837 837  
838 838  
839 839  
840 -
841 841  ==== 3.4.2.4 Enable Trigger Mode ====
842 842  
843 843  
... ... @@ -845,16 +845,16 @@
845 845  
846 846  * (% style="color:#037691" %)**AT Command:**
847 847  
848 -**AT+ADDMOD6=1 or 0**
847 +(% style="color:blue" %)**AT+ADDMOD6=1 or 0**
849 849  
850 -1: Enable Trigger Mode
849 +(% style="color:red" %)**1:** (%%)Enable Trigger Mode
851 851  
852 -0: Disable Trigger Mode
851 +(% style="color:red" %)**0: **(%%)Disable Trigger Mode
853 853  
854 854  
855 855  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
856 856  
857 -**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
856 +(% style="color:blue" %)**0x0A 06 aa    **(%%) ~/~/ Same as AT+ADDMOD6=aa
858 858  
859 859  
860 860  
... ... @@ -871,11 +871,10 @@
871 871  
872 872  * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
873 873  
874 -**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
873 +(% style="color:blue" %)**0xAB 06  ** (%%) ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
875 875  
876 876  
877 877  
878 -
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 -**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
884 +(% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
887 887  
888 888  
889 889  **Example:**
... ... @@ -892,11 +892,10 @@
892 892  
893 893  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
894 894  
895 -**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
893 +(% style="color:blue" %)**0xAA 02 aa bb   ** (%%) ~/~/ Same as AT+DTRI=aa,bb
896 896  
897 897  
898 898  
899 -
900 900  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
901 901  
902 902  
... ... @@ -904,11 +904,11 @@
904 904  
905 905  * (% style="color:#037691" %)**AT Command:**
906 906  
907 -**AT+TRIG1=a,b**
904 +(% style="color:blue" %)**AT+TRIG1=a,b**
908 908  
909 -a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
906 +(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
910 910  
911 -b : delay timing.
908 +(% style="color:red" %)**b :** (%%)delay timing.
912 912  
913 913  
914 914  **Example:**
... ... @@ -917,8 +917,8 @@
917 917  
918 918  
919 919  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
920 -* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
921 921  
918 +(% style="color:blue" %)**0x09 01 aa bb cc    ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc)
922 922  
923 923  
924 924  
... ... @@ -929,14 +929,13 @@
929 929  
930 930  * (% style="color:#037691" %)**AT Command:**
931 931  
932 -**AT+TRIG2=a,b**
929 +(% style="color:blue" %)**AT+TRIG2=a,b**
933 933  
931 +(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
934 934  
935 -a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
933 +(% style="color:red" %)**b :** (%%)delay timing.
936 936  
937 -b : delay timing.
938 938  
939 -
940 940  **Example:**
941 941  
942 942  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
... ... @@ -944,11 +944,10 @@
944 944  
945 945  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
946 946  
947 -**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
943 +(% style="color:blue" %)**0x09 02 aa bb cc   ** (%%)~/~/ same as AT+TRIG1=aa,0x(bb cc)
948 948  
949 949  
950 950  
951 -
952 952  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
953 953  
954 954  
... ... @@ -956,16 +956,15 @@
956 956  
957 957  * (% style="color:#037691" %)**AT Command**
958 958  
959 -**AT+ACLIM**
954 +(% style="color:blue" %)**AT+ACLIM**
960 960  
961 961  
962 962  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
963 963  
964 -**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
959 +(% 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"]]
965 965  
966 966  
967 967  
968 -
969 969  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
970 970  
971 971  
... ... @@ -973,16 +973,15 @@
973 973  
974 974  * (% style="color:#037691" %)**AT Command**
975 975  
976 -**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
970 +(% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
977 977  
978 978  
979 979  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
980 980  
981 -**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
975 +(% 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"]]
982 982  
983 983  
984 984  
985 -
986 986  ==== 3.4.2.11 Trigger – Set minimum interval ====
987 987  
988 988  
... ... @@ -990,12 +990,12 @@
990 990  
991 991  * (% style="color:#037691" %)**AT Command**
992 992  
993 -**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
986 +(% style="color:blue" %)**AT+ATDC=5        ** (%%)Device won't response the second trigger within 5 minute after the first trigger.
994 994  
995 995  
996 996  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
997 997  
998 -**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
991 +(% style="color:blue" %)**0x AC aa bb   **(%%) ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
999 999  
1000 1000  (((
1001 1001  
... ... @@ -1005,7 +1005,6 @@
1005 1005  
1006 1006  
1007 1007  
1008 -
1009 1009  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1010 1010  
1011 1011  
... ... @@ -1015,7 +1015,7 @@
1015 1015  
1016 1016  
1017 1017  * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
1018 -* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
1010 +* (% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
1019 1019  
1020 1020  (((
1021 1021  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
... ... @@ -1037,7 +1037,6 @@
1037 1037  
1038 1038  
1039 1039  
1040 -
1041 1041  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1042 1042  
1043 1043  
... ... @@ -1048,7 +1048,7 @@
1048 1048  
1049 1049  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1050 1050  
1051 -**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1042 +(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Set DO1/DO2/DO3 output with time control
1052 1052  
1053 1053  
1054 1054  This is to control the digital output time of DO pin. Include four bytes:
... ... @@ -1104,7 +1104,6 @@
1104 1104  
1105 1105  
1106 1106  
1107 -
1108 1108  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1109 1109  
1110 1110  
... ... @@ -1115,7 +1115,7 @@
1115 1115  
1116 1116  * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1117 1117  
1118 -**0x03 aa bb     **~/~/ Set RO1/RO2 output
1108 +(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1119 1119  
1120 1120  
1121 1121  (((
... ... @@ -1145,7 +1145,7 @@
1145 1145  
1146 1146  * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1147 1147  
1148 -**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1138 +(% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Set RO1/RO2 relay with time control
1149 1149  
1150 1150  
1151 1151  This is to control the relay output time of relay. Include four bytes:
... ... @@ -1161,7 +1161,7 @@
1161 1161  
1162 1162  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1163 1163  
1164 -[[image:image-20220714135731-1.png||height="406" width="627"]]
1154 +[[image:image-20221008095908-1.png||height="364" width="564"]]
1165 1165  
1166 1166  
1167 1167  (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
... ... @@ -1196,39 +1196,33 @@
1196 1196  
1197 1197  * (% style="color:#037691" %)**AT Command:**
1198 1198  
1199 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1189 +(% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1200 1200  
1201 1201  
1202 1202  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1203 1203  
1204 -**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1194 +(% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
1205 1205  
1206 1206  
1207 1207  
1208 -
1209 1209  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1210 1210  
1211 1211  
1212 1212  * (% style="color:#037691" %)**AT Command:**
1213 1213  
1214 -**AT+SETCNT=aa,(bb cc dd ee) **
1203 +(% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1215 1215  
1216 -aa: 1: Set count1,
1205 +(% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1217 1217  
1218 -2: Set count2,
1207 +(% style="color:red" %)**bb cc dd ee: **(%%)number to be set
1219 1219  
1220 -3: Set AV1 count
1221 1221  
1222 -Bb cc dd ee: number to be set
1223 -
1224 -
1225 1225  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1226 1226  
1227 -**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1212 +(% style="color:blue" %)**0x A8 aa bb cc dd ee     ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1228 1228  
1229 1229  
1230 1230  
1231 -
1232 1232  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1233 1233  
1234 1234  
... ... @@ -1236,87 +1236,79 @@
1236 1236  
1237 1237  * (% style="color:#037691" %)**AT Command:**
1238 1238  
1239 -**AT+CLRCOUNT ** ~/~/ clear all counting
1223 +(% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting
1240 1240  
1241 1241  
1242 1242  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1243 1243  
1244 -**0x A6 01    ** ~/~/ clear all counting
1228 +(% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
1245 1245  
1246 1246  
1247 1247  
1248 -
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 -**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1237 +(% 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)
1255 1255  
1256 1256  
1257 1257  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1258 1258  
1259 -**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1242 +(% style="color:blue" %)**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)
1246 +)))
1263 1263  
1264 1264  
1265 1265  
1266 -
1267 -)))
1268 -
1269 1269  ==== 3.4.2.20 Reset save DR DO state ====
1270 1270  
1271 1271  
1272 1272  * (% style="color:#037691" %)**AT Command:**
1273 1273  
1274 -**AT+RODORET=1  **~/~/ RODO will close when the device joining the network. (default)
1255 +(% style="color:blue" %)**AT+RODORET=1    **(%%)~/~/ RODO will close when the device joining the network. (default)
1275 1275  
1276 -**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.
1257 +(% style="color:blue" %)**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.
1277 1277  
1278 1278  
1279 1279  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
1280 1280  
1281 -**0x AD aa      **~/~/ same as AT+RODORET =aa
1262 +(% style="color:blue" %)**0x AD aa      ** (%%)~/~/ same as AT+RODORET =aa
1282 1282  
1283 -(((
1284 -
1285 1285  
1286 1286  
1287 -
1288 1288  ==== 3.4.2.21 Encrypted payload ====
1289 1289  
1290 1290  
1291 1291  * (% style="color:#037691" %)**AT Command:**
1292 1292  
1293 -**AT+DECRYPT=1  **~/~/ The payload is uploaded without encryption
1271 +(% style="color:blue" %)**AT+DECRYPT=1  ** (%%)~/~/ The payload is uploaded without encryption
1294 1294  
1295 -**AT+DECRYPT=0  **~/~/Encrypt when uploading payload (default)
1273 +(% style="color:blue" %)**AT+DECRYPT=0    **(%%)~/~/  Encrypt when uploading payload (default)
1296 1296  
1297 1297  
1298 1298  
1299 -
1300 1300  ==== 3.4.2.22 Get sensor value ====
1301 1301  
1302 1302  
1303 1303  * (% style="color:#037691" %)**AT Command:**
1304 1304  
1305 -**AT+GETSENSORVALUE=0  **~/~/ The serial port gets the reading of the current sensor
1282 +(% style="color:blue" %)**AT+GETSENSORVALUE=0    **(%%)~/~/ The serial port gets the reading of the current sensor
1306 1306  
1307 -**AT+GETSENSORVALUE=1  **~/~/The serial port gets the current sensor reading and uploads it.
1284 +(% style="color:blue" %)**AT+GETSENSORVALUE=1    **(%%)~/~/ The serial port gets the current sensor reading and uploads it.
1308 1308  
1309 1309  
1310 1310  
1311 -
1312 1312  ==== 3.4.2.23 Resets the downlink packet count ====
1313 1313  
1314 1314  
1315 1315  * (% style="color:#037691" %)**AT Command:**
1316 1316  
1317 -**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)
1293 +(% 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)
1318 1318  
1319 -**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.
1295 +(% style="color:blue" %)**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.
1320 1320  
1321 1321  
1322 1322  
... ... @@ -1326,14 +1326,14 @@
1326 1326  
1327 1327  * (% style="color:#037691" %)**AT Command:**
1328 1328  
1329 - **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)
1305 +(% 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)
1330 1330  
1331 - **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.
1307 +(% 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.
1332 1332  
1333 1333  
1334 1334  * (% style="color:#037691" %)**Downlink Payload **(%%)**:**
1335 1335  
1336 -**0x21 00 01 ** ~/~/ Set  the DISMACANS=1
1312 +(% style="color:blue" %)**0x21 00 01 ** (%%) ~/~/ Set  the DISMACANS=1
1337 1337  
1338 1338  
1339 1339  
... ... @@ -1343,14 +1343,17 @@
1343 1343  
1344 1344  * (% style="color:#037691" %)**AT Command**(%%)**:**
1345 1345  
1346 - **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.
1322 +(% 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.
1347 1347  
1348 1348  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.
1349 1349  
1326 +
1350 1350  [[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"]]
1351 1351  
1352 1352  For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1353 1353  
1331 +
1332 +
1354 1354  [[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"]]
1355 1355  
1356 1356  For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
... ... @@ -1363,7 +1363,7 @@
1363 1363  * (((
1364 1364  (% style="color:#037691" %)**Downlink Payload**(%%)**:**
1365 1365  
1366 -**26 01  ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1345 +(% style="color:blue" %)**26 01  ** (%%) ~/~/  Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1367 1367  
1368 1368  
1369 1369  )))
... ... @@ -1373,8 +1373,6 @@
1373 1373  [[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"]]
1374 1374  
1375 1375  
1376 -
1377 -)))
1378 1378  
1379 1379  == 3.5 Integrate with Mydevice ==
1380 1380  
... ... @@ -1485,11 +1485,11 @@
1485 1485  )))
1486 1486  
1487 1487  (((
1488 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.**
1465 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.**
1489 1489  )))
1490 1490  
1491 1491  (((
1492 -If** DI1+ **= **12v**, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal.
1469 +If** DI1+ **= **12v**, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal.
1493 1493  )))
1494 1494  
1495 1495  (((
... ... @@ -1584,13 +1584,13 @@
1584 1584  We take the wind speed sensor as an example for reference only.
1585 1585  
1586 1586  
1587 -**Specifications of the wind speed sensor:**
1564 +(% style="color:blue" %)**Specifications of the wind speed sensor:**
1588 1588  
1589 -Red:  12~~24v
1566 +**Red:  12~~24v**
1590 1590  
1591 -Yellow:  4~~20mA
1568 +**Yellow:  4~~20mA**
1592 1592  
1593 -Black:  GND
1570 +**Black:  GND**
1594 1594  
1595 1595  
1596 1596  **Connection diagram:**
... ... @@ -1628,8 +1628,14 @@
1628 1628  == 4.1 Access AT Command ==
1629 1629  
1630 1630  
1608 +(((
1631 1631  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.
1610 +)))
1632 1632  
1612 +(((
1613 +
1614 +)))
1615 +
1633 1633  [[image:1653358238933-385.png]]
1634 1634  
1635 1635  
... ... @@ -1657,7 +1657,7 @@
1657 1657  )))
1658 1658  
1659 1659  (((
1660 -AT+<CMD>=?       : Get the value
1643 +AT+<CMD>=?       :  Get the value
1661 1661  )))
1662 1662  
1663 1663  (((
... ... @@ -1685,11 +1685,11 @@
1685 1685  )))
1686 1686  
1687 1687  (((
1688 -AT+APPSKEY: Get or Set the Application Session Key
1671 +AT+APPSKEY:  Get or Set the Application Session Key
1689 1689  )))
1690 1690  
1691 1691  (((
1692 -AT+APPEUI: Get or Set the Application EUI
1675 +AT+APPEUI:  Get or Set the Application EUI
1693 1693  )))
1694 1694  
1695 1695  (((
... ... @@ -1701,7 +1701,7 @@
1701 1701  )))
1702 1702  
1703 1703  (((
1704 -AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1687 +AT+DR:  Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1705 1705  )))
1706 1706  
1707 1707  (((
... ... @@ -1737,7 +1737,7 @@
1737 1737  )))
1738 1738  
1739 1739  (((
1740 -AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1723 +AT+NJM:  Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1741 1741  )))
1742 1742  
1743 1743  (((
... ... @@ -1781,7 +1781,7 @@
1781 1781  )))
1782 1782  
1783 1783  (((
1784 -AT+VER: Get current image version and Frequency Band
1767 +AT+VER:  Get current image version and Frequency Band
1785 1785  )))
1786 1786  
1787 1787  (((
... ... @@ -1789,7 +1789,7 @@
1789 1789  )))
1790 1790  
1791 1791  (((
1792 -AT+CFS: Get confirmation status of the last AT+SEND (0-1)
1775 +AT+CFS:  Get confirmation status of the last AT+SEND (0-1)
1793 1793  )))
1794 1794  
1795 1795  (((
... ... @@ -1838,40 +1838,42 @@
1838 1838  (((
1839 1839  
1840 1840  
1841 -**If device has not joined network yet:**
1824 +(((
1825 +(% style="color:blue" %)**If device has not joined network yet:**
1842 1842  )))
1827 +)))
1843 1843  
1844 1844  (((
1845 -(% style="background-color:#dcdcdc" %)123456
1830 +(% style="background-color:#dcdcdc" %)**123456**
1846 1846  )))
1847 1847  
1848 1848  (((
1849 -(% style="background-color:#dcdcdc" %)AT+FDR
1834 +(% style="background-color:#dcdcdc" %)**AT+FDR**
1850 1850  )))
1851 1851  
1852 1852  (((
1853 -(% style="background-color:#dcdcdc" %)123456
1838 +(% style="background-color:#dcdcdc" %)**123456**
1854 1854  )))
1855 1855  
1856 1856  (((
1857 -(% style="background-color:#dcdcdc" %)AT+NJM=0
1842 +(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1858 1858  )))
1859 1859  
1860 1860  (((
1861 -(% style="background-color:#dcdcdc" %)ATZ
1846 +(% style="background-color:#dcdcdc" %)**ATZ**
1862 1862  )))
1863 1863  
1864 1864  
1865 1865  (((
1866 -**If device already joined network:**
1851 +(% style="color:blue" %)**If device already joined network:**
1867 1867  )))
1868 1868  
1869 1869  (((
1870 -(% style="background-color:#dcdcdc" %)AT+NJM=0
1855 +(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1871 1871  )))
1872 1872  
1873 1873  (((
1874 -(% style="background-color:#dcdcdc" %)ATZ
1859 +(% style="background-color:#dcdcdc" %)**ATZ**
1875 1875  )))
1876 1876  
1877 1877  
... ... @@ -1881,55 +1881,57 @@
1881 1881  (((
1882 1882  
1883 1883  
1884 -(% style="background-color:#dcdcdc" %)123456(%%)  Enter Password to have AT access.
1869 +(((
1870 +(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter Password to have AT access.
1885 1885  )))
1872 +)))
1886 1886  
1887 1887  (((
1888 -(% style="background-color:#dcdcdc" %) AT+FDR(%%)   Reset Parameters to Factory Default, Keys Reserve
1875 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset Parameters to Factory Default, Keys Reserve
1889 1889  )))
1890 1890  
1891 1891  (((
1892 -(% style="background-color:#dcdcdc" %) 123456(%%)  Enter Password to have AT access.
1879 +(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter Password to have AT access.
1893 1893  )))
1894 1894  
1895 1895  (((
1896 -(% style="background-color:#dcdcdc" %) AT+CLASS=C(%%) Set to work in CLASS C
1883 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to work in CLASS C
1897 1897  )))
1898 1898  
1899 1899  (((
1900 -(% style="background-color:#dcdcdc" %) AT+NJM=0(%%)  Set to ABP mode
1887 +(% style="background-color:#dcdcdc" %)** AT+NJM=0**(%%)  ~/~/ Set to ABP mode
1901 1901  )))
1902 1902  
1903 1903  (((
1904 -(% style="background-color:#dcdcdc" %) AT+ADR=0(%%)  Set the Adaptive Data Rate Off
1891 +(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%)  ~/~/ Set the Adaptive Data Rate Off
1905 1905  )))
1906 1906  
1907 1907  (((
1908 -(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
1895 +(% style="background-color:#dcdcdc" %)** AT+DR=5**(%%)  ~/~/ Set Data Rate
1909 1909  )))
1910 1910  
1911 1911  (((
1912 -(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
1899 +(% style="background-color:#dcdcdc" %)** AT+TDC=60000**(%%)  ~/~/ Set transmit interval to 60 seconds
1913 1913  )))
1914 1914  
1915 1915  (((
1916 -(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1903 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4Mhz
1917 1917  )))
1918 1918  
1919 1919  (((
1920 -(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%)  Set RX2Frequency to 868.4Mhz (according to the result from server)
1907 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2Frequency to 868.4Mhz (according to the result from server)
1921 1921  )))
1922 1922  
1923 1923  (((
1924 -(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%)  Set RX2DR to match the downlink DR from server. see below
1911 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below
1925 1925  )))
1926 1926  
1927 1927  (((
1928 -(% 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.
1915 +(% 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.
1929 1929  )))
1930 1930  
1931 1931  (((
1932 -(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
1919 +(% style="background-color:#dcdcdc" %)** ATZ**         (%%) ~/~/ Reset MCU
1933 1933  
1934 1934  
1935 1935  )))
... ... @@ -1939,11 +1939,15 @@
1939 1939  )))
1940 1940  
1941 1941  (((
1942 -(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server.
1943 -2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1944 -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.
1945 -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
1929 +**~1. Make sure the device is set to ABP mode in the IoT Server.**
1946 1946  
1931 +**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.**
1932 +
1933 +**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?
1934 +dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
1935 +
1936 +**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**
1937 +
1947 1947  
1948 1948  )))
1949 1949  
... ... @@ -1959,12 +1959,15 @@
1959 1959  === 4.2.3 Change to Class A ===
1960 1960  
1961 1961  
1962 -If sensor JOINED
1963 -(% style="background-color:#dcdcdc" %)AT+CLASS=A
1964 -ATZ
1953 +(((
1954 +(% style="color:blue" %)**If sensor JOINED:**
1965 1965  
1956 +(% style="background-color:#dcdcdc" %)**AT+CLASS=A
1957 +ATZ**
1958 +)))
1966 1966  
1967 1967  
1961 +
1968 1968  = 5. FAQ =
1969 1969  
1970 1970  
... ... @@ -1988,8 +1988,10 @@
1988 1988  (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
1989 1989  
1990 1990  
1985 +(((
1991 1991  (% style="color:blue" %)**For LT-22222-L**(%%):
1992 1992  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.
1988 +)))
1993 1993  
1994 1994  
1995 1995  )))
... ... @@ -2040,7 +2040,6 @@
2040 2040  (((
2041 2041  Assume we have a LG02 working in the frequency 868400000 now , below is the step.
2042 2042  
2043 -
2044 2044  
2045 2045  )))
2046 2046  )))
... ... @@ -2070,16 +2070,15 @@
2070 2070  )))
2071 2071  
2072 2072  (((
2073 -(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
2074 -(% style="background-color:#dcdcdc" %)AT+FDR(%%)  Reset Parameters to Factory Default, Keys Reserve
2075 -(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
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
2068 +(% style="background-color:#dcdcdc" %)**123456** (%%) :  Enter Password to have AT access.
2069 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%)  :  Reset Parameters to Factory Default, Keys Reserve
2070 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) :  Set to ABP mode
2071 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) :  Set the Adaptive Data Rate Off
2072 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) :  Set Data Rate (Set AT+DR=3 for 915 band)
2073 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) :  Set transmit interval to 60 seconds
2074 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz
2075 +(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%)  :  Set Device Address to 26 01 1A F1
2076 +(% style="background-color:#dcdcdc" %)**ATZ**        (%%) :  Reset MCU
2083 2083  )))
2084 2084  
2085 2085  
... ... @@ -2102,7 +2102,7 @@
2102 2102  == 5.5 Can i use point to point communication for LT-22222-L? ==
2103 2103  
2104 2104  
2105 -Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
2099 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]  ,this is [[firmware>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AADKXQ2v5ZT-S3sxdmbvE7UAa/LT-22222-L/image?dl=0&subfolder_nav_tracking=1]].
2106 2106  
2107 2107  
2108 2108  
... ... @@ -2122,6 +2122,20 @@
2122 2122  
2123 2123  
2124 2124  
2119 +== 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2120 +
2121 +
2122 +LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below:
2123 +
2124 +
2125 +[[image:image-20221006170630-1.png||height="610" width="945"]]
2126 +
2127 +
2128 +== 5.8 Can LT22222 save RO state? ==
2129 +
2130 +Firmware version needs to be no less than 1.6.0.
2131 +
2132 +
2125 2125  = 6. Trouble Shooting =
2126 2126  
2127 2127  
... ... @@ -2184,9 +2184,6 @@
2184 2184  * (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2185 2185  * (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2186 2186  
2187 -
2188 -
2189 -
2190 2190  = 8. Packing Info =
2191 2191  
2192 2192  
... ... @@ -2204,9 +2204,8 @@
2204 2204  * Package Size / pcs : 14.5 x 8 x 5 cm
2205 2205  * Weight / pcs : 170g
2206 2206  
2212 +
2207 2207  
2208 -
2209 -
2210 2210  = 9. Support =
2211 2211  
2212 2212  
... ... @@ -2227,5 +2227,3 @@
2227 2227  * 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]]
2228 2228  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2229 2229  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2230 -
2231 -
image-20221008095908-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +41.8 KB
Content
image-20221112174847-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +102.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0