<
From version < 61.6 >
edited by Xiaoling
on 2022/06/14 11:40
To version < 63.1 >
edited by Xiaoling
on 2022/06/30 10:35
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,72 +12,18 @@
12 12  
13 13  
14 14  
15 +
16 +
17 +
18 +
19 +
15 15  **Table of Contents:**
16 16  
17 -(% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %)
18 -(((
19 -(% class="macro" data-macro="startmacro:toc|-|" data-widget="xwiki-macro" %)
20 -(((
21 -(% class="macro-placeholder hidden" %)
22 -(((
23 -macro:toc
24 -)))
22 +{{toc/}}
25 25  
26 -* [[1.Introduction>>doc:null||anchor="H1.Introduction"]]
27 -** [[1.1 What is RS485-LN RS485 to LoRaWAN Converter>>doc:null||anchor="H1.1A0WhatisRS485-LNRS485toLoRaWANConverter"]]
28 -** [[1.2 Specifications>>doc:null||anchor="H1.2A0Specifications"]]
29 -** [[1.3 Features>>doc:null||anchor="H1.3Features"]]
30 -** [[1.4 Applications>>doc:null||anchor="H1.4A0Applications"]]
31 -** [[1.5 Firmware Change log>>doc:null||anchor="H1.5A0FirmwareChangelog"]]
32 -** [[1.6 Hardware Change log>>doc:null||anchor="H1.6HardwareChangelog"]]
33 -* [[2. Power ON Device>>doc:null||anchor="H2.PowerONDevice"]]
34 -* [[3. Operation Mode>>doc:null||anchor="H3.A0OperationMode"]]
35 -** [[3.1 How it works?>>doc:null||anchor="H3.1Howitworks3F"]]
36 -** [[3.2 Example to join LoRaWAN network>>doc:null||anchor="H3.2ExampletojoinLoRaWANnetwork"]]
37 -** [[3.3 Configure Commands to read data>>doc:null||anchor="H3.3ConfigureCommandstoreaddata"]]
38 -*** [[3.3.1 onfigure UART settings for RS485 or TTL communication>>doc:null||anchor="H3.3.1onfigureUARTsettingsforRS485orTTLcommunication"]]
39 -*** [[3.3.2 Configure sensors>>doc:null||anchor="H3.3.2Configuresensors"]]
40 -*** [[3.3.3 Configure read commands for each sampling>>doc:null||anchor="H3.3.3Configurereadcommandsforeachsampling"]]
41 -*** [[3.3.4 Compose the uplink payload>>doc:null||anchor="H3.3.4Composetheuplinkpayload"]]
42 -*** [[3.3.5 Uplink on demand>>doc:null||anchor="H3.3.5Uplinkondemand"]]
43 -*** [[3.3.6 Uplink on Interrupt>>doc:null||anchor="H3.3.6UplinkonInterrupt"]]
44 -** [[3.4 Uplink Payload>>doc:null||anchor="H3.4UplinkPayload"]]
45 -** [[3.5 Configure RS485-LN via AT or Downlink>>doc:null||anchor="H3.5ConfigureRS485-LNviaATorDownlink"]]
46 -*** [[3.5.1 Common Commands>>doc:null||anchor="H3.5.1CommonCommands"]]
47 -*** [[3.5.2 Sensor related commands>>doc:null||anchor="H3.5.2Sensorrelatedcommands"]]
48 -*** [[3.5.3 Sensor related commands>>doc:null||anchor="H3.5.3A0Sensorrelatedcommands"]]
49 -**** [[RS485 Debug Command>>doc:null||anchor="HRS485DebugCommand"]]
50 -**** [[Set Payload version>>doc:null||anchor="HSetPayloadversion"]]
51 -**** [[Set RS485 Sampling Commands>>doc:null||anchor="HSetRS485SamplingCommands"]]
52 -**** [[Fast command to handle MODBUS device>>doc:null||anchor="HFastcommandtohandleMODBUSdevice"]]
53 -**** [[RS485 command timeout>>doc:null||anchor="HRS485commandtimeout"]]
54 -**** [[Uplink payload mode>>doc:null||anchor="HUplinkpayloadmode"]]
55 -**** [[Manually trigger an Uplink>>doc:null||anchor="HManuallytriggeranUplink"]]
56 -**** [[Clear RS485 Command>>doc:null||anchor="HClearRS485Command"]]
57 -**** [[Set Serial Communication Parameters>>doc:null||anchor="HSetSerialCommunicationParameters"]]
58 -** [[3.6 Listening mode for RS485 network>>doc:null||anchor="H3.6A0ListeningmodeforRS485network"]]
59 -** [[3.7 Buttons>>doc:null||anchor="H3.7Buttons"]]
60 -** [[3.8 LEDs>>doc:null||anchor="H3.8LEDs"]]
61 -* [[4. Case Study>>doc:null||anchor="H4.CaseStudy"]]
62 -* [[5. Use AT Command>>doc:null||anchor="H5.UseATCommand"]]
63 -** [[5.1 Access AT Command>>doc:null||anchor="H5.1AccessATCommand"]]
64 -** [[5.2 Common AT Command Sequence>>doc:null||anchor="H5.2CommonATCommandSequence"]]
65 -*** [[5.2.1 Multi-channel ABP mode (Use with SX1301/LG308)>>doc:null||anchor="H5.2.1Multi-channelABPmode28UsewithSX13012FLG30829"]]
66 -*** [[5.5.2 Single-channel ABP mode (Use with LG01/LG02)>>doc:null||anchor="H5.5.2Single-channelABPmode28UsewithLG012FLG0229"]]
67 -* [[6. FAQ>>doc:null||anchor="H6.FAQ"]]
68 -** [[6.1 How to upgrade the image?>>doc:null||anchor="H6.1Howtoupgradetheimage3F"]]
69 -** [[6.2 How to change the LoRa Frequency Bands/Region?>>doc:null||anchor="H6.2HowtochangetheLoRaFrequencyBands2FRegion3F"]]
70 -** [[6.3 How many RS485-Slave can RS485-LN connects?>>doc:null||anchor="H6.3HowmanyRS485-SlavecanRS485-LNconnects3F"]]
71 -** [[6.4 Compatible question to ChirpStack and TTI LoRaWAN server ?>>doc:null||anchor="H6.4CompatiblequestiontoChirpStackandTTILoRaWANserver3F"]]
72 -* [[7. Trouble Shooting>>doc:null||anchor="H7.TroubleShooting"]]
73 -** [[7.1 Downlink doesn’t work, how to solve it?>>doc:null||anchor="H7.1Downlinkdoesn2019twork2Chowtosolveit3F"]]
74 -** [[7.2 Why I can’t join TTN V3 in US915 /AU915 bands?>>doc:null||anchor="H7.2WhyIcan2019tjoinTTNV3inUS9152FAU915bands3F"]]
75 -* [[8. Order Info>>doc:null||anchor="H8.OrderInfo"]]
76 -* [[9.Packing Info>>doc:null||anchor="H9.PackingInfo"]]
77 -* [[10. FCC Caution for RS485LN-US915>>doc:null||anchor="H10.FCCCautionforRS485LN-US915"]]
78 -* [[11. Support>>doc:null||anchor="H11.Support"]]
79 -)))
80 80  
25 +(% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %)
26 +(((
81 81  (% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||height="15" role="presentation" title="Click and drag to move" width="15"]]
82 82  )))
83 83  
... ... @@ -390,7 +390,6 @@
390 390  )))
391 391  
392 392  
393 -
394 394  === 3.3.2 Configure sensors ===
395 395  
396 396  (((
... ... @@ -415,8 +415,6 @@
415 415  )))
416 416  )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
417 417  
418 -
419 -
420 420  === 3.3.3 Configure read commands for each sampling ===
421 421  
422 422  (((
... ... @@ -628,17 +628,18 @@
628 628  
629 629  Response feature is added to the server's downlink, a special package with a FPort of 200 will be uploaded immediately after receiving the data sent by the server.
630 630  
631 -(% aria-label="image-20220602163333-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602163333-5.png||data-widget="image" height="263" width="1160"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
574 +(% aria-label="image-20220602163333-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602163333-5.png||data-widget="image" height="263" width="1160"]](% title="Click and drag to resize" %)​
632 632  
633 633  The first byte of this package represents whether the configuration is successful, 00 represents failure, 01 represents success. Except for the first byte, the other is the previous downlink. (All commands except A8 type commands are applicable)
634 634  
635 635  
579 +
636 636  === 3.5.3 Sensor related commands ===
637 637  
638 638  
639 639  
640 640  
641 -==== (% style="color:#037691" %)**RS485 Debug Command**(%%) ====
585 +==== (% style="color:blue" %)**RS485 Debug Command**(%%) ====
642 642  
643 643  (((
644 644  This command is used to configure the RS485 devices; they won’t be used during sampling.
... ... @@ -647,13 +647,13 @@
647 647  * (((
648 648  (% style="color:#037691" %)**AT Command**
649 649  
650 -**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m**
651 -
652 -
594 +(((
595 +**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m**  m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
653 653  )))
597 +)))
654 654  
655 655  (((
656 -m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
600 +
657 657  )))
658 658  
659 659  * (((
... ... @@ -694,7 +694,9 @@
694 694  )))
695 695  
696 696  (((
697 -**Example 1** ~-~-> Configure without ask for uplink (YY=0)
641 +
642 +
643 +**Example 1**  ~-~-> Configure without ask for uplink (YY=0)
698 698  )))
699 699  
700 700  (((
... ... @@ -710,6 +710,8 @@
710 710  )))
711 711  
712 712  (((
659 +
660 +
713 713  So if user want to use downlink command to control to RS485 Alarm, he can use:
714 714  )))
715 715  
... ... @@ -730,7 +730,7 @@
730 730  )))
731 731  
732 732  (((
733 -**Example 2** ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**)
681 +**Example 2**  ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**)
734 734  )))
735 735  
736 736  (((
... ... @@ -742,11 +742,11 @@
742 742  )))
743 743  
744 744  (((
745 -RS485-LN got this downlink command and send (% style="color:#4f81bd" %)**0A 08 00 04 00 01 **(%%)to Modbus network. One of the RS485 sensor in the network send back Modbus reply **0A 08 00 04 00 00**. RS485-LN get this reply and combine with the original downlink command and uplink. The uplink message is:
693 +(((
694 +RS485-LN got this downlink command and send (% style="color:#4f81bd" %)**0A 08 00 04 00 01 **(%%)to Modbus network. One of the RS485 sensor in the network send back Modbus reply **0A 08 00 04 00 00**. RS485-LN get this reply and combine with the original downlink command and uplink. The uplink message is:  **A8** (% style="color:#4f81bd" %)**0A 08 00 04 00  **(% style="color:red" %)**01 06** ** **(% style="color:green" %)**0A 08 00 04 00 00**
746 746  )))
747 747  
748 -(((
749 - **A8** (% style="color:#4f81bd" %)**0A 08 00 04 00  **(% style="color:red" %)**01 06** ** **(% style="color:green" %)**0A 08 00 04 00 00**
697 +
750 750  )))
751 751  
752 752  (((
... ... @@ -756,7 +756,7 @@
756 756  
757 757  
758 758  
759 -==== **Set Payload version** ====
707 +==== (% style="color:blue" %)**Set Payload version**(%%) ====
760 760  
761 761  (((
762 762  This is the first byte of the uplink payload. RS485-LN can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload.
... ... @@ -763,32 +763,28 @@
763 763  )))
764 764  
765 765  * (((
766 -**AT Command:**
767 -)))
714 +(% style="color:#037691" %)**AT Command:**
768 768  
769 -(% class="box infomessage" %)
770 -(((
771 -(((
772 -**AT+PAYVER: Set PAYVER field = 1**
773 -)))
774 -)))
716 +**AT+PAYVER:    **Set PAYVER field = 1
775 775  
718 +
719 +)))
776 776  * (((
777 -**Downlink Payload:**
721 +(% style="color:#037691" %)**Downlink Payload:**
778 778  )))
779 779  
780 780  (((
781 -**0xAE 01**  ~-~-> Set PAYVER field =  0x01
725 +**0xAE 01**  ~-~->  Set PAYVER field =  0x01
782 782  )))
783 783  
784 784  (((
785 -**0xAE 0F**   ~-~-> Set PAYVER field =  0x0F
729 +**0xAE 0F**   ~-~->  Set PAYVER field =  0x0F
786 786  )))
787 787  
788 788  
789 789  
790 790  
791 -==== **Set RS485 Sampling Commands** ====
735 +==== (% style="color:blue" %)**Set RS485 Sampling Commands**(%%) ====
792 792  
793 793  (((
794 794  AT+COMMANDx or AT+DATACUTx
... ... @@ -803,29 +803,16 @@
803 803  )))
804 804  
805 805  * (((
806 -**AT Command:**
750 +(% style="color:#037691" %)**AT Command:**
807 807  )))
808 808  
809 -(% class="box infomessage" %)
810 -(((
811 -(((
812 -**AT+COMMANDx: Configure RS485 read command to sensor.**
813 -)))
814 -)))
753 +**AT+COMMANDx:    **Configure RS485 read command to sensor.
815 815  
816 -(% class="box infomessage" %)
817 -(((
818 -(((
819 -**AT+DATACUTx: Configure how to handle return from RS485 devices.**
820 -)))
821 -)))
755 +**AT+DATACUTx:        **Configure how to handle return from RS485 devices.
822 822  
823 -(((
824 -
825 -)))
826 826  
827 827  * (((
828 -**Downlink Payload:**
759 +(% style="color:#037691" %)**Downlink Payload:**
829 829  )))
830 830  
831 831  (((
... ... @@ -861,6 +861,8 @@
861 861  )))
862 862  
863 863  (((
795 +
796 +
864 864  **Example:**
865 865  )))
866 866  
... ... @@ -879,10 +879,10 @@
879 879  
880 880  
881 881  
882 -==== **Fast command to handle MODBUS device** ====
815 +==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%) ====
883 883  
884 884  (((
885 -AT+MBFUN is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]].
818 +**AT+MBFUN** is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]].
886 886  )))
887 887  
888 888  (((
... ... @@ -902,23 +902,25 @@
902 902  )))
903 903  
904 904  * (((
905 -AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2 are not configure (0,0,0). So RS485-LN.
838 +AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2  are not configure (0,0,0). So RS485-LN.
906 906  )))
907 907  * (((
908 -AT+COMMAND1= 01 03 00 10 00 08,1 ~-~-> read slave address 01 , function code 03, start address 00 01, quantity of registers 00 08.
841 +AT+COMMAND1= 01 03 00 10 00 08,1  ~-~-> read slave address 01 , function code 03, start address 00 01, quantity of registers 00 08.
909 909  )))
910 910  * (((
911 -AT+COMMAND2= 01 02 00 40 00 10,1 ~-~-> read slave address 01 , function code 02, start address 00 40, quantity of inputs 00 10.
844 +AT+COMMAND2= 01 02 00 40 00 10,1  ~-~-> read slave address 01 , function code 02, start address 00 40, quantity of inputs 00 10.
845 +
846 +
912 912  )))
913 913  
914 -(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
849 +(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]](% title="Click and drag to resize" %)​
915 915  
916 -(% aria-label="image-20220602165351-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-7.png||data-widget="image"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
851 +(% aria-label="image-20220602165351-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-7.png||data-widget="image"]](% title="Click and drag to resize" %)​
917 917  
918 918  
919 919  
920 920  
921 -==== **RS485 command timeout** ====
856 +==== (% style="color:blue" %)**RS485 command timeout**(%%) ====
922 922  
923 923  (((
924 924  Some Modbus device has slow action to send replies. This command is used to configure the RS485-LN to use longer time to wait for their action.
... ... @@ -929,17 +929,14 @@
929 929  )))
930 930  
931 931  * (((
932 -**AT Command:**
933 -)))
867 +(% style="color:#037691" %)** AT Command:**
934 934  
935 -(% class="box infomessage" %)
936 -(((
937 -(((
938 938  **AT+CMDDLaa=hex(bb cc)*1000**
939 939  )))
940 -)))
941 941  
942 942  (((
873 +
874 +
943 943  **Example:**
944 944  )))
945 945  
... ... @@ -952,7 +952,7 @@
952 952  )))
953 953  
954 954  * (((
955 -**Downlink Payload:**
887 +(% style="color:#037691" %)** Downlink Payload:**
956 956  )))
957 957  
958 958  (((
... ... @@ -964,17 +964,17 @@
964 964  )))
965 965  
966 966  (((
967 - **Example:**
899 +**Example:**
968 968  )))
969 969  
970 970  (((
971 - 0xAA 01 00 01  ~-~-> Same as **AT+CMDDL1=1000 ms**
903 +**0xAA 01 00 01**  ~-~-> Same as  **AT+CMDDL1=1000 ms**
972 972  )))
973 973  
974 974  
975 975  
976 976  
977 -==== **Uplink payload mode** ====
909 +==== (% style="color:blue" %)**Uplink payload mode**(%%) ====
978 978  
979 979  (((
980 980  Define to use one uplink or multiple uplinks for the sampling.
... ... @@ -982,32 +982,21 @@
982 982  
983 983  (((
984 984  The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]]
917 +
918 +
985 985  )))
986 986  
987 987  * (((
988 -**AT Command:**
922 +(% style="color:#037691" %)** AT Command:**
989 989  )))
990 990  
991 -(% class="box infomessage" %)
992 -(((
993 -(((
994 994  **AT+DATAUP=0**
995 -)))
996 -)))
997 997  
998 -(% class="box infomessage" %)
999 -(((
1000 -(((
1001 1001  **AT+DATAUP=1**
1002 -)))
1003 -)))
1004 1004  
1005 -(((
1006 -
1007 -)))
1008 1008  
1009 1009  * (((
1010 -**Downlink Payload:**
931 +(% style="color:#037691" %)** Downlink Payload:**
1011 1011  )))
1012 1012  
1013 1013  (((
... ... @@ -1021,7 +1021,7 @@
1021 1021  
1022 1022  
1023 1023  
1024 -==== **Manually trigger an Uplink** ====
945 +==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ====
1025 1025  
1026 1026  (((
1027 1027  Ask device to send an uplink immediately.
... ... @@ -1028,7 +1028,7 @@
1028 1028  )))
1029 1029  
1030 1030  * (((
1031 -**AT Command:**
952 +(% style="color:#037691" %)** AT Command:**
1032 1032  )))
1033 1033  
1034 1034  (((
... ... @@ -1040,7 +1040,7 @@
1040 1040  )))
1041 1041  
1042 1042  * (((
1043 -**Downlink Payload:**
964 +(% style="color:#037691" %)** Downlink Payload:**
1044 1044  )))
1045 1045  
1046 1046  (((
... ... @@ -1050,14 +1050,16 @@
1050 1050  
1051 1051  
1052 1052  
1053 -==== **Clear RS485 Command** ====
974 +==== (% style="color:blue" %)**Clear RS485 Command**(%%) ====
1054 1054  
1055 1055  (((
1056 1056  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
978 +
979 +
1057 1057  )))
1058 1058  
1059 1059  * (((
1060 -**AT Command:**
983 +(% style="color:#037691" %)** AT Command:**
1061 1061  )))
1062 1062  
1063 1063  (((
... ... @@ -1084,7 +1084,7 @@
1084 1084  
1085 1085  
1086 1086  * (((
1087 -**Downlink Payload:**
1010 +(% style="color:#037691" %)** Downlink Payload:**
1088 1088  )))
1089 1089  
1090 1090  (((
... ... @@ -1094,7 +1094,7 @@
1094 1094  
1095 1095  
1096 1096  
1097 -==== **Set Serial Communication Parameters** ====
1020 +==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%) ====
1098 1098  
1099 1099  (((
1100 1100  Set the Rs485 serial communication parameters:
... ... @@ -1101,52 +1101,39 @@
1101 1101  )))
1102 1102  
1103 1103  * (((
1104 -**AT Command:**
1027 +(% style="color:#037691" %)** AT Command:**
1105 1105  )))
1106 1106  
1107 1107  (((
1108 -Set Baud Rate:
1031 +
1032 +
1033 +* Set Baud Rate
1109 1109  )))
1110 1110  
1111 -(% class="box infomessage" %)
1112 -(((
1113 -(((
1114 1114  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1115 -)))
1116 -)))
1117 1117  
1038 +
1118 1118  (((
1119 -Set UART Parity
1040 +* Set UART Parity
1120 1120  )))
1121 1121  
1122 -(% class="box infomessage" %)
1123 -(((
1124 -(((
1125 1125  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1126 -)))
1127 -)))
1128 1128  
1045 +
1129 1129  (((
1130 -Set STOPBIT
1047 +* Set STOPBIT
1131 1131  )))
1132 1132  
1133 -(% class="box infomessage" %)
1134 -(((
1135 -(((
1136 1136  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1137 -)))
1138 -)))
1139 1139  
1140 -(((
1141 -
1142 -)))
1143 1143  
1053 +
1144 1144  * (((
1145 -**Downlink Payload:**
1055 +(% style="color:#037691" %)** Downlink Payload:**
1146 1146  )))
1147 1147  
1148 1148  (((
1149 -**A7 01 aa bb**: Same  AT+BAUDR=hex(aa bb)*100
1059 +**A7 01 aa bb**:  Same  AT+BAUDR=hex(aa bb)*100
1150 1150  )))
1151 1151  
1152 1152  (((
... ... @@ -1161,11 +1161,11 @@
1161 1161  )))
1162 1162  
1163 1163  (((
1164 -A7 02 aa: Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1074 +A7 02 aa:  Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1165 1165  )))
1166 1166  
1167 1167  (((
1168 -A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1078 +A7 03 aa:  Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1169 1169  )))
1170 1170  
1171 1171  
... ... @@ -1219,7 +1219,7 @@
1219 1219  )))
1220 1220  
1221 1221  (((
1222 -**Downlink Command:**
1132 +(% style="color:#037691" %)** Downlink Command:**
1223 1223  )))
1224 1224  
1225 1225  (((
... ... @@ -1278,6 +1278,8 @@
1278 1278  |(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485
1279 1279  |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]]
1280 1280  
1191 +
1192 +
1281 1281  == 3.8 LEDs ==
1282 1282  
1283 1283  
... ... @@ -1286,6 +1286,8 @@
1286 1286  |**PWR**|Always on if there is power
1287 1287  |**SYS**|After device is powered on, the SYS will (% style="color:green" %)**fast blink in GREEN**(%%) for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be (% style="color:green" %)**on GREEN for 5 seconds** (%%)**. **SYS will (% style="color:green" %)**blink Blue**(%%) on every upload and (% style="color:green" %)**blink Green**(%%) once receive a downlink message.
1288 1288  
1201 +
1202 +
1289 1289  = 4. Case Study =
1290 1290  
1291 1291  User can check this URL for some case studies: [[APP RS485 COMMUNICATE WITH SENSORS>>doc:Main.Application Note \: Communicate with Different Sensors ----- RS485-LN RS485-BL.WebHome]]
... ... @@ -1317,38 +1317,24 @@
1317 1317  
1318 1318  == 5.2 Common AT Command Sequence ==
1319 1319  
1234 +
1320 1320  === 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1321 1321  
1322 1322  If device has not joined network yet:
1323 1323  
1324 -(% class="box infomessage" %)
1325 -(((
1326 -**AT+FDR**
1327 -)))
1239 +* (% style="color:#037691" %)**AT+FDR**
1240 +* (% style="color:#037691" %)**AT+NJM=0**
1241 +* (% style="color:#037691" %)**ATZ**
1328 1328  
1329 -(% class="box infomessage" %)
1330 1330  (((
1331 -**AT+NJM=0**
1332 -)))
1244 +
1333 1333  
1334 -(% class="box infomessage" %)
1335 -(((
1336 -**ATZ**
1337 -)))
1338 -
1339 -
1340 -(((
1341 1341  If device already joined network:
1342 -)))
1343 1343  
1344 -(% class="box infomessage" %)
1345 -(((
1346 -**AT+NJM=0**
1347 -)))
1248 +* (% style="color:#037691" %)**AT+NJM=0**
1249 +* (% style="color:#037691" %)**ATZ**
1348 1348  
1349 -(% class="box infomessage" %)
1350 -(((
1351 -**ATZ**
1251 +
1352 1352  )))
1353 1353  
1354 1354  
... ... @@ -1355,25 +1355,25 @@
1355 1355  === 5.5.2 Single-channel ABP mode (Use with LG01/LG02) ===
1356 1356  
1357 1357  
1358 -(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve
1258 +(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve
1359 1359  
1360 -(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode
1260 +(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%) Set to ABP mode
1361 1361  
1362 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off
1262 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) Set the Adaptive Data Rate Off
1363 1363  
1364 -(% style="background-color:#dcdcdc" %)**AT+DR=5**   (%%)Set Data Rate
1264 +(% style="background-color:#dcdcdc" %)**AT+DR=5**   (%%) Set Data Rate
1365 1365  
1366 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds
1266 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds
1367 1367  
1368 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz
1268 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%)  Set transmit frequency to 868.4Mhz
1369 1369  
1370 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1270 +(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1371 1371  
1372 -(% style="background-color:#dcdcdc" %)**AT+RX2DR=5**  (%%) Set RX2DR to match the downlink DR from server. see below
1272 +(% style="background-color:#dcdcdc" %)**AT+RX2DR=5**  (%%) Set RX2DR to match the downlink DR from server. see below
1373 1373  
1374 -(% 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.
1274 +(% 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.
1375 1375  
1376 -(% style="background-color:#dcdcdc" %)**ATZ**       (%%) Reset MCU
1276 +(% style="background-color:#dcdcdc" %)**ATZ**       (%%) Reset MCU
1377 1377  
1378 1378  
1379 1379  (% style="color:red" %)**Note:**
... ... @@ -1413,15 +1413,15 @@
1413 1413  (% aria-label="1654162535040-878.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654162535040-878.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
1414 1414  
1415 1415  (((
1416 -**Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
1316 +(% style="color:blue" %)**Step1**(%%)**:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
1417 1417  )))
1418 1418  
1419 1419  (((
1420 -**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1320 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1421 1421  )))
1422 1422  
1423 1423  (((
1424 -**Step3: **Open flashloader; choose the correct COM port to update.
1324 +(% style="color:blue" %)**Step3**(%%)**: **Open flashloader; choose the correct COM port to update.
1425 1425  )))
1426 1426  
1427 1427  (((
... ... @@ -1442,7 +1442,7 @@
1442 1442  (% aria-label="image-20220602175912-14.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175912-14.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
1443 1443  
1444 1444  
1445 -**Notice**: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:
1345 +(% style="color:red" %)**Notice**: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:
1446 1446  
1447 1447  (% aria-label="image-20220602175638-10.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175638-10.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
1448 1448  
... ... @@ -1466,12 +1466,12 @@
1466 1466  
1467 1467  = 7. Trouble Shooting =
1468 1468  
1469 -== 7.1 Downlink doesnt work, how to solve it? ==
1369 +== 7.1 Downlink doesn't work, how to solve it? ==
1470 1470  
1471 1471  Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]]
1472 1472  
1473 1473  
1474 -== 7.2 Why I cant join TTN V3 in US915 /AU915 bands? ==
1374 +== 7.2 Why I can't join TTN V3 in US915 /AU915 bands? ==
1475 1475  
1476 1476  It might about the channels mapping. Please see for detail: [[Notice of Frequency band>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1477 1477  
... ... @@ -1482,17 +1482,19 @@
1482 1482  
1483 1483  (% style="color:blue" %)**XXX:**
1484 1484  
1485 -* (% style="color:blue" %)**EU433**(%%): frequency bands EU433
1486 -* (% style="color:blue" %)**EU868**(%%): frequency bands EU868
1487 -* (% style="color:blue" %)**KR920**(%%): frequency bands KR920
1488 -* (% style="color:blue" %)**CN470**(%%): frequency bands CN470
1489 -* (% style="color:blue" %)**AS923**(%%): frequency bands AS923
1490 -* (% style="color:blue" %)**AU915**(%%): frequency bands AU915
1491 -* (% style="color:blue" %)**US915**(%%): frequency bands US915
1492 -* (% style="color:blue" %)**IN865**(%%): frequency bands IN865
1493 -* (% style="color:blue" %)**RU864**(%%): frequency bands RU864
1494 -* (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865
1385 +* (% style="color:red" %)**EU433**(%%):  frequency bands EU433
1386 +* (% style="color:red" %)**EU868**(%%):  frequency bands EU868
1387 +* (% style="color:red" %)**KR920**(%%):  frequency bands KR920
1388 +* (% style="color:red" %)**CN470**(%%):  frequency bands CN470
1389 +* (% style="color:red" %)**AS923**(%%):  frequency bands AS923
1390 +* (% style="color:red" %)**AU915**(%%):  frequency bands AU915
1391 +* (% style="color:red" %)**US915**(%%):  frequency bands US915
1392 +* (% style="color:red" %)**IN865**(%%):  frequency bands IN865
1393 +* (% style="color:red" %)**RU864**(%%):  frequency bands RU864
1394 +* (% style="color:red" %)**KZ865**(%%):  frequency bands KZ865
1495 1495  
1396 +
1397 +
1496 1496  = 9.Packing Info =
1497 1497  
1498 1498  
... ... @@ -1509,6 +1509,8 @@
1509 1509  * Package Size / pcs : 14.5 x 8 x 5 cm
1510 1510  * Weight / pcs : 170g
1511 1511  
1414 +
1415 +
1512 1512  = 10. FCC Caution for RS485LN-US915 =
1513 1513  
1514 1514  (((
... ... @@ -1524,7 +1524,7 @@
1524 1524  )))
1525 1525  
1526 1526  (((
1527 -**IMPORTANT NOTE:**
1431 +(% style="color:red" %)**IMPORTANT NOTE:**
1528 1528  )))
1529 1529  
1530 1530  (((
... ... @@ -1552,7 +1552,7 @@
1552 1552  )))
1553 1553  
1554 1554  (((
1555 -**FCC Radiation Exposure Statement:**
1459 +(% style="color:red" %)**FCC Radiation Exposure Statement:**
1556 1556  )))
1557 1557  
1558 1558  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0