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, 7 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 ((( ... ... @@ -491,6 +491,7 @@ 491 491 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 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 494 === 2.8.3 CN470-510 (CN470) === 495 495 496 496 Used in China, Default use CHE=1 ... ... @@ -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,17 +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 -== 3.2 Set Interrupt Mode == 743 +1. 744 +11. Set Interrupt Mode 744 744 745 745 Feature, Set Interrupt mode for GPIO_EXIT. 746 746 747 - (% style="color:#037691" %)**AT Command: AT+INTMOD**748 +**AT Command: AT+INTMOD** 748 748 749 -[[image:image-20220607153759-6.png]] 750 +|**Command Example**|**Function**|**Response** 751 +|AT+INTMOD=?|Show current interrupt mode|((( 752 +0 750 750 754 +OK 751 751 752 -(% style="color:#037691" %)**Downlink Command: 0x06** 756 +the mode is 0 = No interruption 757 +))) 758 +|AT+INTMOD=2|((( 759 +Set Transmit Interval 753 753 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 + 754 754 Format: Command Code (0x06) followed by 3 bytes. 755 755 756 756 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -758,20 +758,25 @@ 758 758 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 759 759 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 760 760 761 -== 3.3 Calibrate Sensor == 776 +1. 777 +11. Calibrate Sensor 762 762 763 -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 764 764 765 765 766 766 767 -== 3.4 Get Firmware Version Info == 783 +1. 784 +11. Get Firmware Version Info 768 768 769 769 Feature: use downlink to get firmware version. 770 770 771 -(% style="color:#037691" %)**Downlink Command: 0x26** 772 772 773 - [[image:image-20220607154718-7.png]]789 +**Downlink Command: 0x26** 774 774 791 + 792 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 793 +|Get Firmware Version Info|Any|26|2 794 + 775 775 * Reply to the confirmation package: 26 01 776 776 * Reply to non-confirmed packet: 26 00 777 777 ... ... @@ -779,10 +779,11 @@ 779 779 780 780 Configures info payload: 781 781 782 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 783 -|=((( 784 -**Size(bytes)** 785 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 802 +|((( 803 +**Size** 804 + 805 +**(bytes)** 806 +)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 786 786 |**Value**|Software Type|((( 787 787 Frequency 788 788 ... ... @@ -792,7 +792,10 @@ 792 792 793 793 Version 794 794 )))|Sensor Type|Reserve|((( 795 -[[Message Type>>||anchor="H2.3.6MessageType"]] 816 +[[Message>>path:#Message_Type]] 817 + 818 +[[Type>>path:#Message_Type]] 819 + 796 796 Always 0x02 797 797 ))) 798 798 ... ... @@ -846,19 +846,18 @@ 846 846 847 847 848 848 849 -= 4. Battery & How to replace = 850 850 851 -== 4.1 Battery Type == 852 852 853 -((( 875 + 876 +1. Battery & How to replace 877 +11. Battery Type 878 + 854 854 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. 855 -))) 856 856 857 - (((881 + 858 858 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 859 -))) 860 860 861 -[[image: 1654588469844-778.png]]884 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] 862 862 863 863 864 864 Minimum Working Voltage for the LSPH01: ... ... @@ -866,36 +866,30 @@ 866 866 LSPH01: 2.45v ~~ 3.6v 867 867 868 868 892 +1. 893 +11. Replace Battery 869 869 870 -== 4.2 Replace Battery == 871 - 872 -((( 873 873 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 874 -))) 875 875 876 -((( 877 877 And make sure the positive and negative pins match. 878 -))) 879 879 880 880 881 881 882 -== 4.3 Power Consumption Analyze == 901 +1. 902 +11. Power Consumption Analyze 883 883 884 -((( 885 885 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. 886 -))) 887 887 888 - (((906 + 889 889 Instruction to use as below: 890 -))) 891 891 892 892 893 - **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: 894 894 895 895 [[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/]] 896 896 897 897 898 - **Step 2**: Open it and choose915 +Step 2: Open it and choose 899 899 900 900 * Product Model 901 901 * Uplink Interval ... ... @@ -903,62 +903,64 @@ 903 903 904 904 And the Life expectation in difference case will be shown on the right. 905 905 906 -[[image: 1654588577573-122.png]]923 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]] 907 907 908 908 909 909 The battery related documents as below: 910 910 911 -* ((( 912 -[[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 913 913 ))) 914 -* ((( 915 -[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 916 -))) 917 -* ((( 918 -[[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]] 919 -))) 920 920 921 -[[image:image -20220607155856-8.png]]936 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]] 922 922 923 923 924 924 925 -=== 4.3.1 Battery Note === 940 +1. 941 +11. 942 +111. Battery Note 926 926 927 -((( 928 928 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. 929 -))) 930 930 931 931 947 +1. 948 +11. 949 +111. Replace the battery 932 932 933 -=== 4.3.2 Replace the battery === 934 - 935 935 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. 936 936 953 + 937 937 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) 938 938 939 939 940 940 941 -= 5. Use AT Command = 942 942 943 -== 5.1 Access AT Commands == 944 944 960 + 961 +1. Use AT Command 962 +11. Access AT Commands 963 + 945 945 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. 946 946 947 -[[image: 1654589001411-343.png]]966 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]] 948 948 949 949 Connection: 950 950 951 - (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**970 +USB TTL GND <~-~-~-~-> GND 952 952 953 - (% style="background-color:yellow" %)**USB TTL TXD**972 +USB TTL TXD <~-~-~-~-> UART_RXD 954 954 955 - (% style="background-color:yellow" %)**USB TTL RXD**974 +USB TTL RXD <~-~-~-~-> UART_TXD 956 956 957 957 958 958 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: 959 959 960 960 961 - [[image: 1654589062541-567.png]]980 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 962 962 963 963 Valid AT Command please check [[Configure Device>>path:#Configure_Device]]. 964 964
- 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-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