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]] ... ... @@ -435,7 +435,6 @@ 435 435 * Reply to non-confirmed packet: 14 00 436 436 437 437 438 - 439 439 == 2.8 Frequency Plans == 440 440 441 441 ((( ... ... @@ -492,8 +492,6 @@ 492 492 * 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) 493 493 494 494 495 - 496 - 497 497 === 2.8.3 CN470-510 (CN470) === 498 498 499 499 Used in China, Default use CHE=1 ... ... @@ -694,9 +694,10 @@ 694 694 * AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 695 695 * LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 696 696 695 + 697 697 There are two kinds of commands to configure LSPH01, they are: 698 698 699 -* (% style="color:#4 f81bd" %)**General Commands**.698 +* **(% style="color:#4F81BD" %) General Commands**. 700 700 701 701 These commands are to configure: 702 702 ... ... @@ -706,22 +706,20 @@ 706 706 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]] 707 707 708 708 709 -* (% style="color:#4 f81bd" %)**Commands special design for LSPH01**708 +* **(% style="color:#4F81BD" %) Commands special design for LSPH01** 710 710 711 711 These commands only valid for LSPH01, as below: 712 712 713 713 713 +1. 714 +11. Set Transmit Interval Time 714 714 715 -== 3.1 Set Transmit Interval Time == 716 - 717 717 Feature: Change LoRaWAN End Node Transmit Interval. 718 718 719 - (% style="color:#037691" %)**AT Command: AT+TDC**718 +**AT Command: AT+TDC** 720 720 721 - 722 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 723 -|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 724 -|(% 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|((( 725 725 30000 726 726 727 727 OK ... ... @@ -728,13 +728,13 @@ 728 728 729 729 the interval is 30000ms = 30s 730 730 ))) 731 -| (% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)(((728 +|AT+TDC=60000|Set Transmit Interval|((( 732 732 OK 733 733 734 734 Set transmit interval to 60000ms = 60 seconds 735 735 ))) 736 736 737 - (% style="color:#037691" %)**Downlink Command: 0x01**734 +**Downlink Command: 0x01** 738 738 739 739 Format: Command Code (0x01) followed by 3 bytes time value. 740 740 ... ... @@ -743,20 +743,32 @@ 743 743 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 744 744 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 745 745 743 +1. 744 +11. Set Interrupt Mode 746 746 746 +Feature, Set Interrupt mode for GPIO_EXIT. 747 747 748 +**AT Command: AT+INTMOD** 748 748 749 -== 3.2 Set Interrupt Mode == 750 +|**Command Example**|**Function**|**Response** 751 +|AT+INTMOD=?|Show current interrupt mode|((( 752 +0 750 750 751 - Feature, Set Interrupt mode for GPIO_EXIT.754 +OK 752 752 753 -(% style="color:#037691" %)**AT Command: AT+INTMOD** 756 +the mode is 0 = No interruption 757 +))) 758 +|AT+INTMOD=2|((( 759 +Set Transmit Interval 754 754 755 -[[image:image-20220607153759-6.png]] 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 756 756 767 +**Downlink Command: 0x06** 757 757 758 -(% style="color:#037691" %)**Downlink Command: 0x06** 759 - 760 760 Format: Command Code (0x06) followed by 3 bytes. 761 761 762 762 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -764,20 +764,25 @@ 764 764 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 765 765 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 766 766 767 -== 3.3 Calibrate Sensor == 776 +1. 777 +11. Calibrate Sensor 768 768 769 -Detail See [[Calibration Guide>> ||anchor="2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands779 +Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 770 770 771 771 772 772 773 -== 3.4 Get Firmware Version Info == 783 +1. 784 +11. Get Firmware Version Info 774 774 775 775 Feature: use downlink to get firmware version. 776 776 777 -(% style="color:#037691" %)**Downlink Command: 0x26** 778 778 779 - [[image:image-20220607154718-7.png]]789 +**Downlink Command: 0x26** 780 780 791 + 792 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 793 +|Get Firmware Version Info|Any|26|2 794 + 781 781 * Reply to the confirmation package: 26 01 782 782 * Reply to non-confirmed packet: 26 00 783 783 ... ... @@ -785,10 +785,11 @@ 785 785 786 786 Configures info payload: 787 787 788 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 789 -|=((( 790 -**Size(bytes)** 791 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 802 +|((( 803 +**Size** 804 + 805 +**(bytes)** 806 +)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 792 792 |**Value**|Software Type|((( 793 793 Frequency 794 794 ... ... @@ -798,7 +798,10 @@ 798 798 799 799 Version 800 800 )))|Sensor Type|Reserve|((( 801 -[[Message Type>>||anchor="H2.3.6MessageType"]] 816 +[[Message>>path:#Message_Type]] 817 + 818 +[[Type>>path:#Message_Type]] 819 + 802 802 Always 0x02 803 803 ))) 804 804 ... ... @@ -852,19 +852,18 @@ 852 852 853 853 854 854 855 -= 4. Battery & How to replace = 856 856 857 -== 4.1 Battery Type == 858 858 859 -((( 875 + 876 +1. Battery & How to replace 877 +11. Battery Type 878 + 860 860 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. 861 -))) 862 862 863 - (((881 + 864 864 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 865 -))) 866 866 867 -[[image: 1654588469844-778.png]]884 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] 868 868 869 869 870 870 Minimum Working Voltage for the LSPH01: ... ... @@ -872,36 +872,30 @@ 872 872 LSPH01: 2.45v ~~ 3.6v 873 873 874 874 892 +1. 893 +11. Replace Battery 875 875 876 -== 4.2 Replace Battery == 877 - 878 -((( 879 879 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 880 -))) 881 881 882 -((( 883 883 And make sure the positive and negative pins match. 884 -))) 885 885 886 886 887 887 888 -== 4.3 Power Consumption Analyze == 901 +1. 902 +11. Power Consumption Analyze 889 889 890 -((( 891 891 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. 892 -))) 893 893 894 - (((906 + 895 895 Instruction to use as below: 896 -))) 897 897 898 898 899 - **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: 900 900 901 901 [[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/]] 902 902 903 903 904 - **Step 2**: Open it and choose915 +Step 2: Open it and choose 905 905 906 906 * Product Model 907 907 * Uplink Interval ... ... @@ -909,62 +909,64 @@ 909 909 910 910 And the Life expectation in difference case will be shown on the right. 911 911 912 -[[image: 1654588577573-122.png]]923 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]] 913 913 914 914 915 915 The battery related documents as below: 916 916 917 -* ((( 918 -[[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 919 919 ))) 920 -* ((( 921 -[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 922 -))) 923 -* ((( 924 -[[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]] 925 -))) 926 926 927 -[[image:image -20220607155856-8.png]]936 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]] 928 928 929 929 930 930 931 -=== 4.3.1 Battery Note === 940 +1. 941 +11. 942 +111. Battery Note 932 932 933 -((( 934 934 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. 935 -))) 936 936 937 937 947 +1. 948 +11. 949 +111. Replace the battery 938 938 939 -=== 4.3.2 Replace the battery === 940 - 941 941 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. 942 942 953 + 943 943 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) 944 944 945 945 946 946 947 -= 5. Use AT Command = 948 948 949 -== 5.1 Access AT Commands == 950 950 960 + 961 +1. Use AT Command 962 +11. Access AT Commands 963 + 951 951 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. 952 952 953 -[[image: 1654589001411-343.png]]966 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]] 954 954 955 955 Connection: 956 956 957 - (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**970 +USB TTL GND <~-~-~-~-> GND 958 958 959 - (% style="background-color:yellow" %)**USB TTL TXD**972 +USB TTL TXD <~-~-~-~-> UART_RXD 960 960 961 - (% style="background-color:yellow" %)**USB TTL RXD**974 +USB TTL RXD <~-~-~-~-> UART_TXD 962 962 963 963 964 964 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: 965 965 966 966 967 - [[image: 1654589062541-567.png]]980 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 968 968 969 969 Valid AT Command please check [[Configure Device>>path:#Configure_Device]]. 970 970
- 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