Changes for page LSN50v2-D20-D22-D23 LoRaWAN Temperature Sensor User Manual
Last modified by Xiaoling on 2025/04/24 17:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 8 removed)
Details
- Page properties
-
- Content
-
... ... @@ -55,7 +55,6 @@ 55 55 * IP68 rate for the Sensor Probe 56 56 * 8500mAh Battery for long term use 57 57 58 - 59 59 == 1.3 Probe Specification == 60 60 61 61 ... ... @@ -95,7 +95,7 @@ 95 95 ))) 96 96 97 97 ((( 98 -In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>||anchor="H5.UseATCommand"]]to set the keys in the LSPH01. 97 +In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>||anchor="H5.200BUseATCommand"]]to set the keys in the LSPH01. 99 99 ))) 100 100 101 101 ... ... @@ -262,11 +262,10 @@ 262 262 263 263 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 264 264 |**Message Type Code**|**Description**|**Payload** 265 -|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3 200BUplinkPayload"]]264 +|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3Uplink Payload"]] 266 266 |0x02|Reply configures info|[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 267 267 |0x03|Reply Calibration Info|[[Calibration Payload>>||anchor="H2.7Calibration"]] 268 268 269 - 270 270 === 2.3.7 Decode payload in The Things Network === 271 271 272 272 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -429,6 +429,7 @@ 429 429 Always 0x03 430 430 ))) 431 431 430 + 432 432 User can also send 0x14 downlink command to poll the current calibration payload. 433 433 434 434 [[image:image-20220607145603-4.png]] ... ... @@ -693,9 +693,10 @@ 693 693 * AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 694 694 * LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 695 695 695 + 696 696 There are two kinds of commands to configure LSPH01, they are: 697 697 698 -* (% style="color:#4 f81bd" %)**General Commands**.698 +* **(% style="color:#4F81BD" %) General Commands**. 699 699 700 700 These commands are to configure: 701 701 ... ... @@ -705,22 +705,20 @@ 705 705 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]] 706 706 707 707 708 -* (% style="color:#4 f81bd" %)**Commands special design for LSPH01**708 +* **(% style="color:#4F81BD" %) Commands special design for LSPH01** 709 709 710 710 These commands only valid for LSPH01, as below: 711 711 712 712 713 +1. 714 +11. Set Transmit Interval Time 713 713 714 -== 3.1 Set Transmit Interval Time == 715 - 716 716 Feature: Change LoRaWAN End Node Transmit Interval. 717 717 718 - (% style="color:#037691" %)**AT Command: AT+TDC**718 +**AT Command: AT+TDC** 719 719 720 - 721 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 722 -|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 723 -|(% 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|((( 724 724 30000 725 725 726 726 OK ... ... @@ -727,13 +727,13 @@ 727 727 728 728 the interval is 30000ms = 30s 729 729 ))) 730 -| (% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)(((728 +|AT+TDC=60000|Set Transmit Interval|((( 731 731 OK 732 732 733 733 Set transmit interval to 60000ms = 60 seconds 734 734 ))) 735 735 736 - (% style="color:#037691" %)**Downlink Command: 0x01**734 +**Downlink Command: 0x01** 737 737 738 738 Format: Command Code (0x01) followed by 3 bytes time value. 739 739 ... ... @@ -742,18 +742,32 @@ 742 742 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 743 743 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 744 744 743 +1. 744 +11. Set Interrupt Mode 745 745 746 -== 3.2 Set Interrupt Mode == 747 - 748 748 Feature, Set Interrupt mode for GPIO_EXIT. 749 749 750 - (% style="color:#037691" %)**AT Command: AT+INTMOD**748 +**AT Command: AT+INTMOD** 751 751 752 -[[image:image-20220607153759-6.png]] 750 +|**Command Example**|**Function**|**Response** 751 +|AT+INTMOD=?|Show current interrupt mode|((( 752 +0 753 753 754 +OK 754 754 755 -(% style="color:#037691" %)**Downlink Command: 0x06** 756 +the mode is 0 = No interruption 757 +))) 758 +|AT+INTMOD=2|((( 759 +Set Transmit Interval 756 756 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 + 757 757 Format: Command Code (0x06) followed by 3 bytes. 758 758 759 759 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -761,21 +761,24 @@ 761 761 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 762 762 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 763 763 776 +1. 777 +11. Calibrate Sensor 764 764 779 +Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 765 765 766 -== 3.3 Calibrate Sensor == 767 767 768 -Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 769 769 783 +1. 784 +11. Get Firmware Version Info 770 770 786 +Feature: use downlink to get firmware version. 771 771 772 -== 3.4 Get Firmware Version Info == 773 773 774 - Feature: use downlinktoget firmware version.789 +**Downlink Command: 0x26** 775 775 776 -(% style="color:#037691" %)**Downlink Command: 0x26** 777 777 778 -[[image:image-20220607154718-7.png]] 792 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 793 +|Get Firmware Version Info|Any|26|2 779 779 780 780 * Reply to the confirmation package: 26 01 781 781 * Reply to non-confirmed packet: 26 00 ... ... @@ -784,10 +784,11 @@ 784 784 785 785 Configures info payload: 786 786 787 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 788 -|=((( 789 -**Size(bytes)** 790 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 802 +|((( 803 +**Size** 804 + 805 +**(bytes)** 806 +)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 791 791 |**Value**|Software Type|((( 792 792 Frequency 793 793 ... ... @@ -797,7 +797,10 @@ 797 797 798 798 Version 799 799 )))|Sensor Type|Reserve|((( 800 -[[Message Type>>||anchor="H2.3.6MessageType"]] 816 +[[Message>>path:#Message_Type]] 817 + 818 +[[Type>>path:#Message_Type]] 819 + 801 801 Always 0x02 802 802 ))) 803 803 ... ... @@ -851,19 +851,18 @@ 851 851 852 852 853 853 854 -= 4. Battery & How to replace = 855 855 856 -== 4.1 Battery Type == 857 857 858 -((( 875 + 876 +1. Battery & How to replace 877 +11. Battery Type 878 + 859 859 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. 860 -))) 861 861 862 - (((881 + 863 863 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 864 -))) 865 865 866 -[[image: 1654588469844-778.png]]884 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] 867 867 868 868 869 869 Minimum Working Voltage for the LSPH01: ... ... @@ -871,36 +871,30 @@ 871 871 LSPH01: 2.45v ~~ 3.6v 872 872 873 873 892 +1. 893 +11. Replace Battery 874 874 875 -== 4.2 Replace Battery == 876 - 877 -((( 878 878 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 879 -))) 880 880 881 -((( 882 882 And make sure the positive and negative pins match. 883 -))) 884 884 885 885 886 886 887 -== 4.3 Power Consumption Analyze == 901 +1. 902 +11. Power Consumption Analyze 888 888 889 -((( 890 890 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. 891 -))) 892 892 893 - (((906 + 894 894 Instruction to use as below: 895 -))) 896 896 897 897 898 - **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: 899 899 900 900 [[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/]] 901 901 902 902 903 - **Step 2**: Open it and choose915 +Step 2: Open it and choose 904 904 905 905 * Product Model 906 906 * Uplink Interval ... ... @@ -908,103 +908,102 @@ 908 908 909 909 And the Life expectation in difference case will be shown on the right. 910 910 911 -[[image: 1654588577573-122.png]]923 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]] 912 912 913 913 914 914 The battery related documents as below: 915 915 916 -* ((( 917 -[[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 918 918 ))) 919 -* ((( 920 -[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 921 -))) 922 -* ((( 923 -[[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]] 924 -))) 925 925 926 -[[image:image -20220607155856-8.png]]936 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]] 927 927 928 928 929 929 930 -=== 4.3.1 Battery Note === 940 +1. 941 +11. 942 +111. Battery Note 931 931 932 -((( 933 933 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. 934 -))) 935 935 936 936 947 +1. 948 +11. 949 +111. Replace the battery 937 937 938 -=== 4.3.2 Replace the battery === 939 - 940 940 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. 941 941 953 + 942 942 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) 943 943 944 944 945 945 946 -= 5. Use AT Command = 947 947 948 -== 5.1 Access AT Commands == 949 949 960 + 961 +1. Use AT Command 962 +11. Access AT Commands 963 + 950 950 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. 951 951 952 -[[image: 1654589001411-343.png]]966 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]] 953 953 954 - **Connection:**968 +Connection: 955 955 956 - (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**970 +USB TTL GND <~-~-~-~-> GND 957 957 958 - (% style="background-color:yellow" %)**USB TTL TXD**972 +USB TTL TXD <~-~-~-~-> UART_RXD 959 959 960 - (% style="background-color:yellow" %)**USB TTL RXD**974 +USB TTL RXD <~-~-~-~-> UART_TXD 961 961 962 962 963 -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: 964 964 965 965 966 - [[image: 1654589062541-567.png]]980 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 967 967 968 968 Valid AT Command please check [[Configure Device>>path:#Configure_Device]]. 969 969 970 970 971 971 972 -= 6. FAQ = 973 973 974 -== 6.1 How to change the LoRa Frequency Bands/Region == 987 +1. FAQ 988 +11. How to change the LoRa Frequency Bands/Region 975 975 976 -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]]. 977 977 When downloading the images, choose the required image file for download. 978 978 979 979 980 980 981 -= 7. Trouble Shooting = 995 +1. Trouble Shooting 996 +11. AT Commands input doesn’t work 982 982 983 - ==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. 984 984 985 -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. 986 986 1001 +1. Order Info 987 987 1003 +Part Number: **LSPH01-XX** 988 988 989 -= 8. Order Info = 990 990 991 - PartNumber:(% style="color:blue"%)**LSPH01-XX**1006 +**XX**: The default frequency band 992 992 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 993 993 994 - (%style="color:blue" %)**XX**(%%): The default frequencyband1017 +1. Packing Info 995 995 996 -* (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 997 -* (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 998 -* (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 999 -* (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1000 -* (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1001 -* (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1002 -* (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1003 -* (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1004 - 1005 -= 9. Packing Info = 1006 - 1007 - 1008 1008 **Package Includes**: 1009 1009 1010 1010 * LSPH01 LoRaWAN Soil Ph Sensor x 1 ... ... @@ -1019,6 +1019,8 @@ 1019 1019 = 10. Support = 1020 1020 1021 1021 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1022 -* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]].1033 +* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to 1023 1023 1035 +[[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]] 1036 + 1024 1024
- 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