Changes for page LDDS45 - LoRaWAN Distance Detection Sensor User Manual
Last modified by Mengting Qiu on 2025/02/26 15:04
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 8 removed)
Details
- Page properties
-
- Content
-
... ... @@ -427,6 +427,7 @@ 427 427 Always 0x03 428 428 ))) 429 429 430 + 430 430 User can also send 0x14 downlink command to poll the current calibration payload. 431 431 432 432 [[image:image-20220607145603-4.png]] ... ... @@ -434,6 +434,7 @@ 434 434 * Reply to the confirmation package: 14 01 435 435 * Reply to non-confirmed packet: 14 00 436 436 438 + 437 437 == 2.8 Frequency Plans == 438 438 439 439 ((( ... ... @@ -556,6 +556,7 @@ 556 556 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 557 557 * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include) 558 558 561 + 559 559 === 2.8.5 AS920-923 & AS923-925 (AS923) === 560 560 561 561 (% style="color:blue" %)**Default Uplink channel:** ... ... @@ -670,8 +670,6 @@ 670 670 * Blink once when device transmit a packet. 671 671 672 672 673 - 674 - 675 675 == 2.10 Firmware Change Log == 676 676 677 677 ... ... @@ -691,9 +691,10 @@ 691 691 * AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 692 692 * LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 693 693 695 + 694 694 There are two kinds of commands to configure LSPH01, they are: 695 695 696 -* (% style="color:#4 f81bd" %)**General Commands**.698 +* **(% style="color:#4F81BD" %) General Commands**. 697 697 698 698 These commands are to configure: 699 699 ... ... @@ -703,22 +703,20 @@ 703 703 They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:[[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 704 704 705 705 706 -* (% style="color:#4 f81bd" %)**Commands special design for LSPH01**708 +* **(% style="color:#4F81BD" %) Commands special design for LSPH01** 707 707 708 708 These commands only valid for LSPH01, as below: 709 709 710 710 713 +1. 714 +11. Set Transmit Interval Time 711 711 712 -== 3.1 Set Transmit Interval Time == 713 - 714 714 Feature: Change LoRaWAN End Node Transmit Interval. 715 715 716 - (% style="color:#037691" %)**AT Command: AT+TDC**718 +**AT Command: AT+TDC** 717 717 718 - 719 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 720 -|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 721 -|(% style="width:154px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:330px" %)((( 720 +|**Command Example**|**Function**|**Response** 721 +|AT+TDC=?|Show current transmit Interval|((( 722 722 30000 723 723 724 724 OK ... ... @@ -725,13 +725,13 @@ 725 725 726 726 the interval is 30000ms = 30s 727 727 ))) 728 -| (% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)(((728 +|AT+TDC=60000|Set Transmit Interval|((( 729 729 OK 730 730 731 731 Set transmit interval to 60000ms = 60 seconds 732 732 ))) 733 733 734 - (% style="color:#037691" %)**Downlink Command: 0x01**734 +**Downlink Command: 0x01** 735 735 736 736 Format: Command Code (0x01) followed by 3 bytes time value. 737 737 ... ... @@ -740,18 +740,32 @@ 740 740 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 741 741 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 742 742 743 +1. 744 +11. Set Interrupt Mode 743 743 744 -== 3.2 Set Interrupt Mode == 745 - 746 746 Feature, Set Interrupt mode for GPIO_EXIT. 747 747 748 - (% style="color:#037691" %)**AT Command: AT+INTMOD**748 +**AT Command: AT+INTMOD** 749 749 750 -[[image:image-20220607153759-6.png]] 750 +|**Command Example**|**Function**|**Response** 751 +|AT+INTMOD=?|Show current interrupt mode|((( 752 +0 751 751 754 +OK 752 752 753 -(% style="color:#037691" %)**Downlink Command: 0x06** 756 +the mode is 0 = No interruption 757 +))) 758 +|AT+INTMOD=2|((( 759 +Set Transmit Interval 754 754 761 +1. (Disable Interrupt), 762 +1. (Trigger by rising and falling edge), 763 +1. (Trigger by falling edge) 764 +1. (Trigger by rising edge) 765 +)))|OK 766 + 767 +**Downlink Command: 0x06** 768 + 755 755 Format: Command Code (0x06) followed by 3 bytes. 756 756 757 757 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -759,21 +759,25 @@ 759 759 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 760 760 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 761 761 776 +1. 777 +11. Calibrate Sensor 762 762 763 - ==3.3CalibrateSensor==779 +Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 764 764 765 -Detail See [[Calibration Guide>>||anchor="2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 766 766 767 767 783 +1. 784 +11. Get Firmware Version Info 768 768 769 -== 3.4 Get Firmware Version Info == 770 - 771 771 Feature: use downlink to get firmware version. 772 772 773 -(% style="color:#037691" %)**Downlink Command: 0x26** 774 774 775 - [[image:image-20220607154718-7.png]]789 +**Downlink Command: 0x26** 776 776 791 + 792 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 793 +|Get Firmware Version Info|Any|26|2 794 + 777 777 * Reply to the confirmation package: 26 01 778 778 * Reply to non-confirmed packet: 26 00 779 779 ... ... @@ -781,10 +781,11 @@ 781 781 782 782 Configures info payload: 783 783 784 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 785 -|=((( 786 -**Size(bytes)** 787 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 802 +|((( 803 +**Size** 804 + 805 +**(bytes)** 806 +)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 788 788 |**Value**|Software Type|((( 789 789 Frequency 790 790 ... ... @@ -794,7 +794,10 @@ 794 794 795 795 Version 796 796 )))|Sensor Type|Reserve|((( 797 -[[Message Type>>||anchor="H2.3.6MessageType"]] 816 +[[Message>>path:#Message_Type]] 817 + 818 +[[Type>>path:#Message_Type]] 819 + 798 798 Always 0x02 799 799 ))) 800 800 ... ... @@ -848,19 +848,18 @@ 848 848 849 849 850 850 851 -= 4. Battery & How to replace = 852 852 853 -== 4.1 Battery Type == 854 854 855 -((( 875 + 876 +1. Battery & How to replace 877 +11. Battery Type 878 + 856 856 LSPH01 is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter. 857 -))) 858 858 859 - (((881 + 860 860 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 861 -))) 862 862 863 -[[image: 1654588469844-778.png]]884 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] 864 864 865 865 866 866 Minimum Working Voltage for the LSPH01: ... ... @@ -868,36 +868,30 @@ 868 868 LSPH01: 2.45v ~~ 3.6v 869 869 870 870 892 +1. 893 +11. Replace Battery 871 871 872 -== 4.2 Replace Battery == 873 - 874 -((( 875 875 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 876 -))) 877 877 878 -((( 879 879 And make sure the positive and negative pins match. 880 -))) 881 881 882 882 883 883 884 -== 4.3 Power Consumption Analyze == 901 +1. 902 +11. Power Consumption Analyze 885 885 886 -((( 887 887 Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval. 888 -))) 889 889 890 - (((906 + 891 891 Instruction to use as below: 892 -))) 893 893 894 894 895 - **Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:910 +Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 896 896 897 897 [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] 898 898 899 899 900 - **Step 2**: Open it and choose915 +Step 2: Open it and choose 901 901 902 902 * Product Model 903 903 * Uplink Interval ... ... @@ -905,62 +905,64 @@ 905 905 906 906 And the Life expectation in difference case will be shown on the right. 907 907 908 -[[image: 1654588577573-122.png]]923 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]] 909 909 910 910 911 911 The battery related documents as below: 912 912 913 -* ((( 914 -[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 928 +* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]], 929 +* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet 930 +* [[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]] 931 + 932 +|((( 933 +JST-XH-2P connector 915 915 ))) 916 -* ((( 917 -[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 918 -))) 919 -* ((( 920 -[[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]] 921 -))) 922 922 923 -[[image:image -20220607155856-8.png]]936 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]] 924 924 925 925 926 926 927 -=== 4.3.1 Battery Note === 940 +1. 941 +11. 942 +111. Battery Note 928 928 929 -((( 930 930 The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased. 931 -))) 932 932 933 933 947 +1. 948 +11. 949 +111. Replace the battery 934 934 935 -=== 4.3.2 Replace the battery === 936 - 937 937 You can change the battery in the LSPH01.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won’t be voltage drop between battery and main board. 938 938 953 + 939 939 The default battery pack of LSPH01 includes a ER26500 plus super capacitor. If user can’t find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes) 940 940 941 941 942 942 943 -= 5. Use AT Command = 944 944 945 -== 5.1 Access AT Commands == 946 946 960 + 961 +1. Use AT Command 962 +11. Access AT Commands 963 + 947 947 LSPH01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSPH01 for using AT command, as below. 948 948 949 -[[image: 1654589001411-343.png]]966 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]] 950 950 951 - **Connection:**968 +Connection: 952 952 953 - (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**970 +USB TTL GND <~-~-~-~-> GND 954 954 955 - (% style="background-color:yellow" %)**USB TTL TXD**972 +USB TTL TXD <~-~-~-~-> UART_RXD 956 956 957 - (% style="background-color:yellow" %)**USB TTL RXD**974 +USB TTL RXD <~-~-~-~-> UART_TXD 958 958 959 959 960 -In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%)to access the serial console for LSPH01. LSPH01 will output system info once power on as below:977 +In the PC, you need to set the serial baud rate to **9600** to access the serial console for LSPH01. LSPH01 will output system info once power on as below: 961 961 962 962 963 - [[image: 1654589062541-567.png]]980 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 964 964 965 965 Valid AT Command please check [[Configure Device>>path:#Configure_Device]]. 966 966 ... ... @@ -967,43 +967,38 @@ 967 967 968 968 969 969 970 -= 6. FAQ = 987 +1. FAQ 988 +11. How to change the LoRa Frequency Bands/Region 971 971 972 -== 6.1 How to change the LoRa Frequency Bands/Region == 973 - 974 -You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]]. 990 +You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]]. 975 975 When downloading the images, choose the required image file for download. 976 976 977 977 978 978 979 -= 7. Trouble Shooting = 995 +1. Trouble Shooting 996 +11. AT Commands input doesn’t work 980 980 981 - ==7.1ATCommandsinput doesn’t work==998 +In the case if user can see the console output but can’t type input to the device. Please check if you already include the **ENTER** while sending out the command. Some serial tool doesn’t send **ENTER** while press the send key, user need to add ENTER in their string. 982 982 983 -In the case if user can see the console output but can’t type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn’t send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string. 984 984 1001 +1. Order Info 985 985 1003 +Part Number: **LSPH01-XX** 986 986 987 -= 8. Order Info = 988 988 989 - PartNumber:(% style="color:blue"%)**LSPH01-XX**1006 +**XX**: The default frequency band 990 990 1008 +* **AS923**: LoRaWAN AS923 band 1009 +* **AU915**: LoRaWAN AU915 band 1010 +* **EU433**: LoRaWAN EU433 band 1011 +* **EU868**: LoRaWAN EU868 band 1012 +* **KR920**: LoRaWAN KR920 band 1013 +* **US915**: LoRaWAN US915 band 1014 +* **IN865**: LoRaWAN IN865 band 1015 +* **CN470**: LoRaWAN CN470 band 991 991 992 - (%style="color:blue" %)**XX**(%%): The default frequencyband1017 +1. Packing Info 993 993 994 -* (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 995 -* (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 996 -* (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 997 -* (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 998 -* (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 999 -* (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1000 -* (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1001 -* (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1002 - 1003 - 1004 -= 9. Packing Info = 1005 - 1006 - 1007 1007 **Package Includes**: 1008 1008 1009 1009 * LSPH01 LoRaWAN Soil Ph Sensor x 1
- 1654588469844-778.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -75.8 KB - Content
- 1654588577573-122.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -138.2 KB - Content
- 1654589001411-343.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -546.2 KB - Content
- 1654589062541-567.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -144.0 KB - Content
- image-20220607153237-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.9 KB - Content
- image-20220607153759-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.2 KB - Content
- image-20220607154718-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.0 KB - Content
- image-20220607155856-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -83.5 KB - Content