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, 0 added, 4 removed)
Details
- Page properties
-
- Content
-
... ... @@ -147,6 +147,7 @@ 147 147 148 148 ))) 149 149 150 + 150 150 **Step 2**: Power on LSE01 151 151 152 152 ... ... @@ -765,137 +765,140 @@ 765 765 766 766 767 767 768 -= 3. Using the AT Commands = 769 +1. Using the AT Commands 770 +11. Access AT Commands 769 769 770 -== 3.1 Access AT Commands == 771 - 772 - 773 773 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. 774 774 775 -[[image: 1654501986557-872.png]]774 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]] 776 776 777 777 778 778 Or if you have below board, use below connection: 779 779 780 780 781 -[[image: 1654502005655-729.png]]780 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]] 782 782 783 783 784 784 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: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: 786 786 787 787 788 - [[image: 1654502050864-459.png]]787 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]] 789 789 790 790 791 791 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/]] 792 792 793 793 794 - (% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>?**(%%)793 +AT+<CMD>? : Help on <CMD> 795 795 796 - (% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>**(%%)795 +AT+<CMD> : Run <CMD> 797 797 798 - (% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>=<value>**(%%): Set the value797 +AT+<CMD>=<value> : Set the value 799 799 800 - (% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>=?**(%%)799 +AT+<CMD>=? : Get the value 801 801 802 802 803 - (% style="color:#037691" %)**General Commands**(%%)802 +**General Commands** 804 804 805 - (% style="background-color:#dcdcdc" %)**AT**(%%)804 +AT : Attention 806 806 807 - (% style="background-color:#dcdcdc" %)**AT?**(%%)806 +AT? : Short Help 808 808 809 - (% style="background-color:#dcdcdc" %)**ATZ**(%%)808 +ATZ : MCU Reset 810 810 811 - (% style="background-color:#dcdcdc" %)**AT+TDC**(%%)810 +AT+TDC : Application Data Transmission Interval 812 812 813 813 814 - (% style="color:#037691" %)**Keys, IDs and EUIs management**813 +**Keys, IDs and EUIs management** 815 815 816 - (% style="background-color:#dcdcdc" %)**AT+APPEUI**(%%): Application EUI815 +AT+APPEUI : Application EUI 817 817 818 - (% style="background-color:#dcdcdc" %)**AT+APPKEY**(%%): Application Key817 +AT+APPKEY : Application Key 819 819 820 - (% style="background-color:#dcdcdc" %)**AT+APPSKEY**(%%): Application Session Key819 +AT+APPSKEY : Application Session Key 821 821 822 - (% style="background-color:#dcdcdc" %)**AT+DADDR**(%%): Device Address821 +AT+DADDR : Device Address 823 823 824 - (% style="background-color:#dcdcdc" %)**AT+DEUI**(%%): Device EUI823 +AT+DEUI : Device EUI 825 825 826 - (% style="background-color:#dcdcdc" %)**AT+NWKID**(%%): Network ID (You can enter this command change only after successful network connection)825 +AT+NWKID : Network ID (You can enter this command change only after successful network connection) 827 827 828 - (% style="background-color:#dcdcdc" %)**AT+NWKSKEY**(%%): Network Session Key Joining and sending date on LoRa network827 +AT+NWKSKEY : Network Session Key Joining and sending date on LoRa network 829 829 830 - (% style="background-color:#dcdcdc" %)**AT+CFM**(%%)829 +AT+CFM : Confirm Mode 831 831 832 - (% style="background-color:#dcdcdc" %)**AT+CFS**(%%): Confirm Status831 +AT+CFS : Confirm Status 833 833 834 - (% style="background-color:#dcdcdc" %)**AT+JOIN**(%%)833 +AT+JOIN : Join LoRa? Network 835 835 836 - (% style="background-color:#dcdcdc" %)**AT+NJM**(%%)835 +AT+NJM : LoRa? Network Join Mode 837 837 838 - (% style="background-color:#dcdcdc" %)**AT+NJS**(%%): LoRa? Network Join Status837 +AT+NJS : LoRa? Network Join Status 839 839 840 - (% style="background-color:#dcdcdc" %)**AT+RECV**(%%): Print Last Received Data in Raw Format839 +AT+RECV : Print Last Received Data in Raw Format 841 841 842 - (% style="background-color:#dcdcdc" %)**AT+RECVB**(%%): Print Last Received Data in Binary Format841 +AT+RECVB : Print Last Received Data in Binary Format 843 843 844 - (% style="background-color:#dcdcdc" %)**AT+SEND**(%%): Send Text Data843 +AT+SEND : Send Text Data 845 845 846 - (% style="background-color:#dcdcdc" %)**AT+SENB**(%%): Send Hexadecimal Data845 +AT+SENB : Send Hexadecimal Data 847 847 848 848 849 - (% style="color:#037691" %)**LoRa Network Management**848 +**LoRa Network Management** 850 850 851 - (% style="background-color:#dcdcdc" %)**AT+ADR**(%%): Adaptive Rate850 +AT+ADR : Adaptive Rate 852 852 853 - (% style="background-color:#dcdcdc" %)**AT+CLASS**(%%)852 +AT+CLASS : LoRa Class(Currently only support class A 854 854 855 - (% style="background-color:#dcdcdc" %)**AT+DCS**(%%)854 +AT+DCS : Duty Cycle Setting 856 856 857 - (% style="background-color:#dcdcdc" %)**AT+DR**(%%)856 +AT+DR : Data Rate (Can Only be Modified after ADR=0) 858 858 859 - (% style="background-color:#dcdcdc" %)**AT+FCD**(%%)858 +AT+FCD : Frame Counter Downlink 860 860 861 - (% style="background-color:#dcdcdc" %)**AT+FCU**(%%)860 +AT+FCU : Frame Counter Uplink 862 862 863 - (% style="background-color:#dcdcdc" %)**AT+JN1DL**(%%)862 +AT+JN1DL : Join Accept Delay1 864 864 865 - (% style="background-color:#dcdcdc" %)**AT+JN2DL**(%%)864 +AT+JN2DL : Join Accept Delay2 866 866 867 - (% style="background-color:#dcdcdc" %)**AT+PNM**(%%)866 +AT+PNM : Public Network Mode 868 868 869 - (% style="background-color:#dcdcdc" %)**AT+RX1DL**(%%)868 +AT+RX1DL : Receive Delay1 870 870 871 - (% style="background-color:#dcdcdc" %)**AT+RX2DL**(%%)870 +AT+RX2DL : Receive Delay2 872 872 873 - (% style="background-color:#dcdcdc" %)**AT+RX2DR**(%%)872 +AT+RX2DR : Rx2 Window Data Rate 874 874 875 - (% style="background-color:#dcdcdc" %)**AT+RX2FQ**(%%)874 +AT+RX2FQ : Rx2 Window Frequency 876 876 877 - (% style="background-color:#dcdcdc" %)**AT+TXP**(%%)876 +AT+TXP : Transmit Power 878 878 879 - (% style="background-color:#dcdcdc" %)**AT+ MOD**(%%)878 +AT+ MOD : Set work mode 880 880 881 881 882 - (% style="color:#037691" %)**Information**881 +**Information** 883 883 884 - (% style="background-color:#dcdcdc" %)**AT+RSSI**(%%): RSSI of the Last Received Packet883 +AT+RSSI : RSSI of the Last Received Packet 885 885 886 - (% style="background-color:#dcdcdc" %)**AT+SNR**(%%): SNR of the Last Received Packet885 +AT+SNR : SNR of the Last Received Packet 887 887 888 - (% style="background-color:#dcdcdc" %)**AT+VER**(%%): Image Version and Frequency Band887 +AT+VER : Image Version and Frequency Band 889 889 890 - (% style="background-color:#dcdcdc" %)**AT+FDR**(%%): Factory Data Reset889 +AT+FDR : Factory Data Reset 891 891 892 - (% style="background-color:#dcdcdc" %)**AT+PORT**(%%)891 +AT+PORT : Application Port 893 893 894 - (% style="background-color:#dcdcdc" %)**AT+CHS**(%%)893 +AT+CHS : Get or Set Frequency (Unit: Hz) for Single Channel Mode 895 895 896 - (% style="background-color:#dcdcdc" %)**AT+CHE**(%%)895 + AT+CHE : Get or Set eight channels mode, Only for US915, AU915, CN470 897 897 898 898 898 + 899 + 900 + 901 + 902 + 899 899 = 4. FAQ = 900 900 901 901 == 4.1 How to change the LoRa Frequency Bands/Region? == ... ... @@ -904,16 +904,33 @@ 904 904 When downloading the images, choose the required image file for download. 905 905 906 906 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. 908 908 912 +How to set up LSE01 to work in 8 channel mode 909 909 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 + 910 910 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. 911 911 912 912 920 + 913 913 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. 914 914 915 -[[image:image-20220606154726-3.png]] 916 916 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 + 917 917 When you use the TTN network, the US915 frequency bands use are: 918 918 919 919 * 903.9 - SF7BW125 to SF10BW125 ... ... @@ -928,15 +928,9 @@ 928 928 929 929 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: 930 930 931 -(% class="box infomessage" %) 932 -((( 933 933 **AT+CHE=2** 934 -))) 935 935 936 -(% class="box infomessage" %) 937 -((( 938 938 **ATZ** 939 -))) 940 940 941 941 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. 942 942 ... ... @@ -943,12 +943,25 @@ 943 943 944 944 The **AU915** band is similar. Below are the AU915 Uplink Channels. 945 945 946 -[[image:image-20220606154825-4.png]] 947 947 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 948 948 949 949 976 + 950 950 = 5. Trouble Shooting = 951 951 979 + 952 952 == 5.1 Why I can’t join TTN in US915 / AU915 bands? == 953 953 954 954 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,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -767.2 KB - Content
- 1654502005655-729.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -915.0 KB - Content
- 1654502050864-459.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -174.6 KB - Content
- 1654503236291-817.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -685.6 KB - Content