Changes for page NDDS75 -- NB-IoT Distance Detect Sensor User Manual
Last modified by Bei Jinggeng on 2024/05/31 09:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -147,7 +147,6 @@ 147 147 148 148 ))) 149 149 150 - 151 151 **Step 2**: Power on LSE01 152 152 153 153 ... ... @@ -766,140 +766,137 @@ 766 766 767 767 768 768 769 -1. Using the AT Commands 770 -11. Access AT Commands 768 += 3. Using the AT Commands = 771 771 770 +== 3.1 Access AT Commands == 771 + 772 + 772 772 LSE01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSE01 for using AT command, as below. 773 773 774 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]]775 +[[image:1654501986557-872.png]] 775 775 776 776 777 777 Or if you have below board, use below connection: 778 778 779 779 780 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]]781 +[[image:1654502005655-729.png]] 781 781 782 782 783 783 784 -In the PC, you need to set the serial baud rate to **9600** to access the serial console for LSE01. LSE01 will output system info once power on as below: 785 +In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LSE01. LSE01 will output system info once power on as below: 785 785 786 786 787 - [[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]788 + [[image:1654502050864-459.png]] 788 788 789 789 790 790 Below are the available commands, a more detailed AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/]]: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/]] 791 791 792 792 793 -AT+<CMD>? 794 +(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>? **(%%) : Help on <CMD> 794 794 795 -AT+<CMD> 796 +(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD> **(%%) : Run <CMD> 796 796 797 -AT+<CMD>=<value> : Set the value 798 +(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>=<value>**(%%) : Set the value 798 798 799 -AT+<CMD>=? 800 +(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>=?**(%%) : Get the value 800 800 801 801 802 -**General Commands** 803 +(% style="color:#037691" %)**General Commands**(%%) 803 803 804 -AT 805 +(% style="background-color:#dcdcdc" %)**AT**(%%) : Attention 805 805 806 -AT? 807 +(% style="background-color:#dcdcdc" %)**AT?**(%%) : Short Help 807 807 808 -ATZ 809 +(% style="background-color:#dcdcdc" %)**ATZ**(%%) : MCU Reset 809 809 810 -AT+TDC 811 +(% style="background-color:#dcdcdc" %)**AT+TDC**(%%) : Application Data Transmission Interval 811 811 812 812 813 -**Keys, IDs and EUIs management** 814 +(% style="color:#037691" %)**Keys, IDs and EUIs management** 814 814 815 -AT+APPEUI : Application EUI 816 +(% style="background-color:#dcdcdc" %)**AT+APPEUI**(%%) : Application EUI 816 816 817 -AT+APPKEY : Application Key 818 +(% style="background-color:#dcdcdc" %)**AT+APPKEY**(%%) : Application Key 818 818 819 -AT+APPSKEY : Application Session Key 820 +(% style="background-color:#dcdcdc" %)**AT+APPSKEY**(%%) : Application Session Key 820 820 821 -AT+DADDR : Device Address 822 +(% style="background-color:#dcdcdc" %)**AT+DADDR**(%%) : Device Address 822 822 823 -AT+DEUI : Device EUI 824 +(% style="background-color:#dcdcdc" %)**AT+DEUI**(%%) : Device EUI 824 824 825 -AT+NWKID : Network ID (You can enter this command change only after 826 +(% style="background-color:#dcdcdc" %)**AT+NWKID**(%%) : Network ID (You can enter this command change only after successful network connection) 826 826 827 -AT+NWKSKEY : Network Session Key Joining and sending date on LoRa network 828 +(% style="background-color:#dcdcdc" %)**AT+NWKSKEY**(%%) : Network Session Key Joining and sending date on LoRa network 828 828 829 -AT+CFM 830 +(% style="background-color:#dcdcdc" %)**AT+CFM**(%%) : Confirm Mode 830 830 831 -AT+CFS : Confirm Status 832 +(% style="background-color:#dcdcdc" %)**AT+CFS**(%%) : Confirm Status 832 832 833 -AT+JOIN 834 +(% style="background-color:#dcdcdc" %)**AT+JOIN**(%%) : Join LoRa? Network 834 834 835 -AT+NJM 836 +(% style="background-color:#dcdcdc" %)**AT+NJM**(%%) : LoRa? Network Join Mode 836 836 837 -AT+NJS : LoRa? Network Join Status 838 +(% style="background-color:#dcdcdc" %)**AT+NJS**(%%) : LoRa? Network Join Status 838 838 839 -AT+RECV : Print Last Received Data in Raw Format 840 +(% style="background-color:#dcdcdc" %)**AT+RECV**(%%) : Print Last Received Data in Raw Format 840 840 841 -AT+RECVB : Print Last Received Data in Binary Format 842 +(% style="background-color:#dcdcdc" %)**AT+RECVB**(%%) : Print Last Received Data in Binary Format 842 842 843 -AT+SEND : Send Text Data 844 +(% style="background-color:#dcdcdc" %)**AT+SEND**(%%) : Send Text Data 844 844 845 -AT+SENB : Send Hexadecimal Data 846 +(% style="background-color:#dcdcdc" %)**AT+SENB**(%%) : Send Hexadecimal Data 846 846 847 847 848 -**LoRa Network Management** 849 +(% style="color:#037691" %)**LoRa Network Management** 849 849 850 -AT+ADR : Adaptive Rate 851 +(% style="background-color:#dcdcdc" %)**AT+ADR**(%%) : Adaptive Rate 851 851 852 -AT+CLASS 853 +(% style="background-color:#dcdcdc" %)**AT+CLASS**(%%) : LoRa Class(Currently only support class A 853 853 854 -AT+DCS 855 +(% style="background-color:#dcdcdc" %)**AT+DCS**(%%) : Duty Cycle Setting 855 855 856 -AT+DR 857 +(% style="background-color:#dcdcdc" %)**AT+DR**(%%) : Data Rate (Can Only be Modified after ADR=0) 857 857 858 -AT+FCD 859 +(% style="background-color:#dcdcdc" %)**AT+FCD**(%%) : Frame Counter Downlink 859 859 860 -AT+FCU 861 +(% style="background-color:#dcdcdc" %)**AT+FCU**(%%) : Frame Counter Uplink 861 861 862 -AT+JN1DL 863 +(% style="background-color:#dcdcdc" %)**AT+JN1DL**(%%) : Join Accept Delay1 863 863 864 -AT+JN2DL 865 +(% style="background-color:#dcdcdc" %)**AT+JN2DL**(%%) : Join Accept Delay2 865 865 866 -AT+PNM 867 +(% style="background-color:#dcdcdc" %)**AT+PNM**(%%) : Public Network Mode 867 867 868 -AT+RX1DL 869 +(% style="background-color:#dcdcdc" %)**AT+RX1DL**(%%) : Receive Delay1 869 869 870 -AT+RX2DL 871 +(% style="background-color:#dcdcdc" %)**AT+RX2DL**(%%) : Receive Delay2 871 871 872 -AT+RX2DR 873 +(% style="background-color:#dcdcdc" %)**AT+RX2DR**(%%) : Rx2 Window Data Rate 873 873 874 -AT+RX2FQ 875 +(% style="background-color:#dcdcdc" %)**AT+RX2FQ**(%%) : Rx2 Window Frequency 875 875 876 -AT+TXP 877 +(% style="background-color:#dcdcdc" %)**AT+TXP**(%%) : Transmit Power 877 877 878 -AT+ MOD 879 +(% style="background-color:#dcdcdc" %)**AT+ MOD**(%%) : Set work mode 879 879 880 880 881 -**Information** 882 +(% style="color:#037691" %)**Information** 882 882 883 -AT+RSSI : RSSI of the Last Received Packet 884 +(% style="background-color:#dcdcdc" %)**AT+RSSI**(%%) : RSSI of the Last Received Packet 884 884 885 -AT+SNR : SNR of the Last Received Packet 886 +(% style="background-color:#dcdcdc" %)**AT+SNR**(%%) : SNR of the Last Received Packet 886 886 887 -AT+VER : Image Version and Frequency Band 888 +(% style="background-color:#dcdcdc" %)**AT+VER**(%%) : Image Version and Frequency Band 888 888 889 -AT+FDR : Factory Data Reset 890 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Factory Data Reset 890 890 891 -AT+PORT 892 +(% style="background-color:#dcdcdc" %)**AT+PORT**(%%) : Application Port 892 892 893 -AT+CHS 894 +(% style="background-color:#dcdcdc" %)**AT+CHS**(%%) : Get or Set Frequency (Unit: Hz) for Single Channel Mode 894 894 895 - AT+CHE 896 + (% style="background-color:#dcdcdc" %)**AT+CHE**(%%) : Get or Set eight channels mode, Only for US915, AU915, CN470 896 896 897 897 898 - 899 - 900 - 901 - 902 - 903 903 = 4. FAQ = 904 904 905 905 == 4.1 How to change the LoRa Frequency Bands/Region? == ... ... @@ -908,33 +908,16 @@ 908 908 When downloading the images, choose the required image file for download. 909 909 910 910 907 +How to set up LSE01 to work in 8 channel mode By default, the frequency bands US915, AU915, CN470 work in 72 frequencies. Many gateways are 8 channel gateways, and in this case, the OTAA join time and uplink schedule is long and unpredictable while the end node is hopping in 72 frequencies. 911 911 912 -How to set up LSE01 to work in 8 channel mode 913 913 914 -By default, the frequency bands US915, AU915, CN470 work in 72 frequencies. Many gateways are 8 channel gateways, and in this case, the OTAA join time and uplink schedule is long and unpredictable while the end node is hopping in 72 frequencies. 915 - 916 - 917 917 You can configure the end node to work in 8 channel mode by using the AT+CHE command. The 500kHz channels are always included for OTAA. 918 918 919 919 920 - 921 921 For example, in **US915** band, the frequency table is as below. By default, the end node will use all channels (0~~71) for OTAA Join process. After the OTAA Join, the end node will use these all channels (0~~71) to send uplink packets. 922 922 915 +[[image:image-20220606154726-3.png]] 923 923 924 -(% border="1" cellspacing="10" style="background-color:#f7faff" %) 925 -|=(% style="width: 56px;" %)CHE|=(% colspan="9" style="width: 1433px;" %)US915 Uplink Channels(125KHz,4/5,Unit:MHz,CHS=0) 926 -|(% style="width:56px" %)0|(% colspan="9" style="width:1433px" %)ENABLE Channel 0-63 927 -|(% style="width:56px" %)1|(% style="width:63px" %)902.3|(% style="width:70px" %)902.5|(% style="width:68px" %)902.7|(% style="width:70px" %)902.9|(% style="width:464px" %)903.1|903.3|903.5|903.7|Channel 0-7 928 -|(% style="width:56px" %)2|(% style="width:63px" %)903.9|(% style="width:70px" %)904.1|(% style="width:68px" %)904.3|(% style="width:70px" %)904.5|(% style="width:464px" %)904.7|904.9|905.1|905.3|Channel 8-15 929 -|(% style="width:56px" %)3|(% style="width:63px" %)905.5|(% style="width:70px" %)905.7|(% style="width:68px" %)905.9|(% style="width:70px" %)906.1|(% style="width:464px" %)906.3|906.5|906.7|906.9|Channel 16-23 930 -|(% style="width:56px" %)4|(% style="width:63px" %)907.1|(% style="width:70px" %)907.3|(% style="width:68px" %)907.5|(% style="width:70px" %)907.7|(% style="width:464px" %)907.9|908.1|908.3|908.5|Channel 24-31 931 -|(% style="width:56px" %)5|(% style="width:63px" %)908.7|(% style="width:70px" %)908.9|(% style="width:68px" %)909.1|(% style="width:70px" %)909.3|(% style="width:464px" %)909.5|909.7|909.9|910.1|Channel 32-39 932 -|(% style="width:56px" %)6|(% style="width:63px" %)910.3|(% style="width:70px" %)910.5|(% style="width:68px" %)910.7|(% style="width:70px" %)910.9|(% style="width:464px" %)911.1|911.3|911.5|911.7|Channel 40-47 933 -|(% style="width:56px" %)7|(% style="width:63px" %)911.9|(% style="width:70px" %)912.1|(% style="width:68px" %)912.3|(% style="width:70px" %)912.5|(% style="width:464px" %)912.7|912.9|913.1|913.3|Channel 48-55 934 -|(% style="width:56px" %)8|(% style="width:63px" %)913.5|(% style="width:70px" %)913.7|(% style="width:68px" %)913.9|(% style="width:70px" %)914.1|(% style="width:464px" %)914.3|914.5|914.7|914.9|Channel 56-63 935 -|(% colspan="10" %)Channels(500KHz,4/5,Unit:MHz,CHS=0) 936 -|(% style="width:56px" %) |(% style="width:63px" %)903|(% style="width:70px" %)904.6|(% style="width:68px" %)906.2|(% style="width:70px" %)907.8|(% style="width:464px" %)909.4|911|912.6|914.2|Channel 64-71 937 - 938 938 When you use the TTN network, the US915 frequency bands use are: 939 939 940 940 * 903.9 - SF7BW125 to SF10BW125 ... ... @@ -949,9 +949,15 @@ 949 949 950 950 Because the end node is now hopping in 72 frequency, it makes it difficult for the devices to Join the TTN network and uplink data. To solve this issue, you can access the device via the AT commands and run: 951 951 931 +(% class="box infomessage" %) 932 +((( 952 952 **AT+CHE=2** 934 +))) 953 953 936 +(% class="box infomessage" %) 937 +((( 954 954 **ATZ** 939 +))) 955 955 956 956 to set the end node to work in 8 channel mode. The device will work in Channel 8-15 & 64-71 for OTAA, and channel 8-15 for Uplink. 957 957 ... ... @@ -958,25 +958,12 @@ 958 958 959 959 The **AU915** band is similar. Below are the AU915 Uplink Channels. 960 960 946 +[[image:image-20220606154825-4.png]] 961 961 962 -|CHE|(% colspan="9" %)AU915 Uplink Channels(125KHz,4/5,Unit:MHz,CHS=0) 963 -|0|(% colspan="9" %)ENABLE Channel 0-63 964 -|1|915.2|915.4|915.6|915.8|916|916.2|916.4|916.6|Channel 0-7 965 -|2|916.8|917|917.2|917.4|917.6|917.8|918|918.2|Channel 8-15 966 -|3|918.4|918.6|918.8|919|919.2|919.4|919.6|919.8|Channel 16-23 967 -|4|920|920.2|920.4|920.6|920.8|921|921.2|921.4|Channel 24-31 968 -|5|921.6|921.8|922|922.2|922.4|922.6|922.8|923|Channel 32-39 969 -|6|923.2|923.4|923.6|923.8|924|924.2|924.4|924.6|Channel 40-47 970 -|7|924.8|925|925.2|925.4|925.6|925.8|926|926.2|Channel 48-55 971 -|8|926.4|926.6|926.8|927|927.2|927.4|927.6|927.8|Channel 56-63 972 -|(% colspan="10" %)Channels(500KHz,4/5,Unit:MHz,CHS=0) 973 -| |915.9|917.5|919.1|920.7|922.3|923.9|925.5|927.1|Channel 64-71 974 974 975 975 976 - 977 977 = 5. Trouble Shooting = 978 978 979 - 980 980 == 5.1 Why I can’t join TTN in US915 / AU915 bands? == 981 981 982 982 It is due to channel mapping. Please see the [[Eight Channel Mode>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]] section above for details.
- 1654501986557-872.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +767.2 KB - Content
- 1654502005655-729.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +915.0 KB - Content
- 1654502050864-459.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +174.6 KB - Content