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, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -473,6 +473,7 @@ 473 473 [[image:image-20220708133731-5.png]] 474 474 475 475 476 + 476 476 ((( 477 477 (% style="color:blue" %)**Examples:** 478 478 ))) ... ... @@ -648,120 +648,214 @@ 648 648 649 649 650 650 651 -= 3. AccessNB-IoTModule=652 += 3. Using the AT Commands = 652 652 653 -((( 654 -Users can directly access the AT command set of the NB-IoT module. 655 -))) 654 +== 3.1 Access AT Commands == 656 656 657 -((( 658 -The AT Command set can refer the BC35-G NB-IoT Module AT Command: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/]] 659 -))) 660 660 661 - [[image:1657261278785-153.png]]657 +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. 662 662 659 +[[image:1654501986557-872.png||height="391" width="800"]] 663 663 664 664 665 - =4. UsingtheATCommands=662 +Or if you have below board, use below connection: 666 666 667 -== 4.1 Access AT Commands == 668 668 669 - See this link for detail:[[http:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NSE01/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]]665 +[[image:1654502005655-729.png||height="503" width="801"]] 670 670 671 671 672 -AT+<CMD>? : Help on <CMD> 673 673 674 - AT+<CMD>:Run<CMD>669 +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: 675 675 676 -AT+<CMD>=<value> : Set the value 677 677 678 - AT+<CMD>=?Get the value672 + [[image:1654502050864-459.png||height="564" width="806"]] 679 679 680 680 675 +Below are the available commands, a more detailed AT Command manual can be found at [[AT Command Manual>>https://www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0]]: [[https:~~/~~/www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0>>https://www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0]] 676 + 677 + 678 +(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>? **(%%) : Help on <CMD> 679 + 680 +(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD> **(%%) : Run <CMD> 681 + 682 +(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>=<value>**(%%) : Set the value 683 + 684 +(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>=?**(%%) : Get the value 685 + 686 + 681 681 (% style="color:#037691" %)**General Commands**(%%) 682 682 683 -AT 689 +(% style="background-color:#dcdcdc" %)**AT**(%%) : Attention 684 684 685 -AT? 691 +(% style="background-color:#dcdcdc" %)**AT?**(%%) : Short Help 686 686 687 -ATZ 693 +(% style="background-color:#dcdcdc" %)**ATZ**(%%) : MCU Reset 688 688 689 -AT+TDC 695 +(% style="background-color:#dcdcdc" %)**AT+TDC**(%%) : Application Data Transmission Interval 690 690 691 -AT+CFG : Print all configurations 692 692 693 - AT+CFGMOD: Workingmode selection698 +(% style="color:#037691" %)**Keys, IDs and EUIs management** 694 694 695 -AT+I NTMOD:Setthe trigger interruptmode700 +(% style="background-color:#dcdcdc" %)**AT+APPEUI**(%%) : Application EUI 696 696 697 -AT+ 5VTSetextend the timeof5V power702 +(% style="background-color:#dcdcdc" %)**AT+APPKEY**(%%) : Application Key 698 698 699 -AT+P ROChooseagreement704 +(% style="background-color:#dcdcdc" %)**AT+APPSKEY**(%%) : Application Session Key 700 700 701 -AT+ WEIGREGet weightorsetweight to 0706 +(% style="background-color:#dcdcdc" %)**AT+DADDR**(%%) : Device Address 702 702 703 -AT+ WEIGAPGet or SettheGapValue of weight708 +(% style="background-color:#dcdcdc" %)**AT+DEUI**(%%) : Device EUI 704 704 705 -AT+ RXDL: Extendthe sendingandreceivingtime710 +(% style="background-color:#dcdcdc" %)**AT+NWKID**(%%) : Network ID (You can enter this command change only after successful network connection) 706 706 707 -AT+ CNTFACGettcountingparameters712 +(% style="background-color:#dcdcdc" %)**AT+NWKSKEY**(%%) : Network Session Key Joining and sending date on LoRa network 708 708 709 -AT+ SERVADDR:ServerAddress714 +(% style="background-color:#dcdcdc" %)**AT+CFM**(%%) : Confirm Mode 710 710 716 +(% style="background-color:#dcdcdc" %)**AT+CFS**(%%) : Confirm Status 711 711 712 -(% style="color:# 037691" %)**COAPManagement**718 +(% style="background-color:#dcdcdc" %)**AT+JOIN**(%%) : Join LoRa? Network 713 713 714 -AT+ URIsourceparameters720 +(% style="background-color:#dcdcdc" %)**AT+NJM**(%%) : LoRa? Network Join Mode 715 715 722 +(% style="background-color:#dcdcdc" %)**AT+NJS**(%%) : LoRa? Network Join Status 716 716 717 -(% style="color:# 037691" %)**UDPManagement**724 +(% style="background-color:#dcdcdc" %)**AT+RECV**(%%) : Print Last Received Data in Raw Format 718 718 719 -AT+C FM:Uploadconfirmationmode (onlyvalid forUDP)726 +(% style="background-color:#dcdcdc" %)**AT+RECVB**(%%) : Print Last Received Data in Binary Format 720 720 728 +(% style="background-color:#dcdcdc" %)**AT+SEND**(%%) : Send Text Data 721 721 722 -(% style="color:# 037691" %)**MQTTManagement**730 +(% style="background-color:#dcdcdc" %)**AT+SENB**(%%) : Send Hexadecimal Data 723 723 724 -AT+CLIENT : Get or Set MQTT client 725 725 726 - AT+UNAMEGetSetMQTT Username733 +(% style="color:#037691" %)**LoRa Network Management** 727 727 728 -AT+ PWDGetor SetMQTT password735 +(% style="background-color:#dcdcdc" %)**AT+ADR**(%%) : Adaptive Rate 729 729 730 -AT+ PUBTOPICGetorSetMQTTpublishtopic737 +(% style="background-color:#dcdcdc" %)**AT+CLASS**(%%) : LoRa Class(Currently only support class A 731 731 732 -AT+ SUBTOPIC :GetorSetMQTT subscriptiontopic739 +(% style="background-color:#dcdcdc" %)**AT+DCS**(%%) : Duty Cycle Setting 733 733 741 +(% style="background-color:#dcdcdc" %)**AT+DR**(%%) : Data Rate (Can Only be Modified after ADR=0) 734 734 735 -(% style="color:# 037691" %)**Information**743 +(% style="background-color:#dcdcdc" %)**AT+FCD**(%%) : Frame Counter Downlink 736 736 737 -AT+F DRctoryDataReset745 +(% style="background-color:#dcdcdc" %)**AT+FCU**(%%) : Frame Counter Uplink 738 738 739 -AT+ PWORDSerialAccessPassword747 +(% style="background-color:#dcdcdc" %)**AT+JN1DL**(%%) : Join Accept Delay1 740 740 749 +(% style="background-color:#dcdcdc" %)**AT+JN2DL**(%%) : Join Accept Delay2 741 741 751 +(% style="background-color:#dcdcdc" %)**AT+PNM**(%%) : Public Network Mode 742 742 743 -= 5.FAQ=753 +(% style="background-color:#dcdcdc" %)**AT+RX1DL**(%%) : Receive Delay1 744 744 745 -= =5.1HowtoUpgradeFirmware==755 +(% style="background-color:#dcdcdc" %)**AT+RX2DL**(%%) : Receive Delay2 746 746 757 +(% style="background-color:#dcdcdc" %)**AT+RX2DR**(%%) : Rx2 Window Data Rate 747 747 759 +(% style="background-color:#dcdcdc" %)**AT+RX2FQ**(%%) : Rx2 Window Frequency 760 + 761 +(% style="background-color:#dcdcdc" %)**AT+TXP**(%%) : Transmit Power 762 + 763 +(% style="background-color:#dcdcdc" %)**AT+ MOD**(%%) : Set work mode 764 + 765 + 766 +(% style="color:#037691" %)**Information** 767 + 768 +(% style="background-color:#dcdcdc" %)**AT+RSSI**(%%) : RSSI of the Last Received Packet 769 + 770 +(% style="background-color:#dcdcdc" %)**AT+SNR**(%%) : SNR of the Last Received Packet 771 + 772 +(% style="background-color:#dcdcdc" %)**AT+VER**(%%) : Image Version and Frequency Band 773 + 774 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Factory Data Reset 775 + 776 +(% style="background-color:#dcdcdc" %)**AT+PORT**(%%) : Application Port 777 + 778 +(% style="background-color:#dcdcdc" %)**AT+CHS**(%%) : Get or Set Frequency (Unit: Hz) for Single Channel Mode 779 + 780 + (% style="background-color:#dcdcdc" %)**AT+CHE**(%%) : Get or Set eight channels mode, Only for US915, AU915, CN470 781 + 782 + 783 += 4. FAQ = 784 + 785 +== 4.1 How to change the LoRa Frequency Bands/Region? == 786 + 748 748 ((( 749 -User can upgrade the firmware for 1) bug fix, 2) new feature release. 788 +You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]]. 789 +When downloading the images, choose the required image file for download. 750 750 ))) 751 751 752 752 ((( 753 - Pleasesee this link for how to upgrade: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList>>http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList]]793 + 754 754 ))) 755 755 756 756 ((( 757 - Notice,NSE01andLSE01sharethesamemother board.Theyuse thesameconnection andmethodto update.797 +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. 758 758 ))) 759 759 800 +((( 801 + 802 +))) 760 760 761 761 ((( 805 +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. 806 +))) 807 + 808 +((( 762 762 763 763 ))) 764 764 812 +((( 813 +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. 814 +))) 815 + 816 +[[image:image-20220606154726-3.png]] 817 + 818 + 819 +When you use the TTN network, the US915 frequency bands use are: 820 + 821 +* 903.9 - SF7BW125 to SF10BW125 822 +* 904.1 - SF7BW125 to SF10BW125 823 +* 904.3 - SF7BW125 to SF10BW125 824 +* 904.5 - SF7BW125 to SF10BW125 825 +* 904.7 - SF7BW125 to SF10BW125 826 +* 904.9 - SF7BW125 to SF10BW125 827 +* 905.1 - SF7BW125 to SF10BW125 828 +* 905.3 - SF7BW125 to SF10BW125 829 +* 904.6 - SF8BW500 830 + 831 +((( 832 +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: 833 + 834 +* (% style="color:#037691" %)**AT+CHE=2** 835 +* (% style="color:#037691" %)**ATZ** 836 +))) 837 + 838 +((( 839 + 840 + 841 +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. 842 +))) 843 + 844 +((( 845 + 846 +))) 847 + 848 +((( 849 +The **AU915** band is similar. Below are the AU915 Uplink Channels. 850 +))) 851 + 852 +[[image:image-20220606154825-4.png]] 853 + 854 + 855 +== 4.2 Can I calibrate LSE01 to different soil types? == 856 + 857 +LSE01 is calibrated for saline-alkali soil and loamy soil. If users want to use it for other soil, they can calibrate the value in the IoT platform base on the value measured by saline-alkali soil and loamy soil. The formula can be found at [[this link>>https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/&file=Calibrate_to_other_Soil_20220605.pdf]]. 858 + 859 + 765 765 = 5. Trouble Shooting = 766 766 767 767 == 5.1 Why I can't join TTN in US915 / AU915 bands? ==
- 1657261278785-153.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -126.1 KB - Content