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,8 +55,6 @@ 55 55 * IP68 rate for the Sensor Probe 56 56 * 8500mAh Battery for long term use 57 57 58 - 59 - 60 60 == 1.3 Probe Specification == 61 61 62 62 ... ... @@ -77,12 +77,10 @@ 77 77 * IP68 Protection 78 78 * Length: 3.5 meters 79 79 80 - 81 81 == 1.4 Applications == 82 82 83 83 * Smart Agriculture 84 84 85 - 86 86 == 1.5 Pin mapping and power on == 87 87 88 88 [[image:1654580482666-473.png]] ... ... @@ -98,7 +98,7 @@ 98 98 ))) 99 99 100 100 ((( 101 -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. 102 102 ))) 103 103 104 104 ... ... @@ -265,12 +265,10 @@ 265 265 266 266 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 267 267 |**Message Type Code**|**Description**|**Payload** 268 -|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3 200BUplinkPayload"]]264 +|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3Uplink Payload"]] 269 269 |0x02|Reply configures info|[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 270 270 |0x03|Reply Calibration Info|[[Calibration Payload>>||anchor="H2.7Calibration"]] 271 271 272 - 273 - 274 274 === 2.3.7 Decode payload in The Things Network === 275 275 276 276 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -433,6 +433,8 @@ 433 433 Always 0x03 434 434 ))) 435 435 430 + 431 + 436 436 User can also send 0x14 downlink command to poll the current calibration payload. 437 437 438 438 [[image:image-20220607145603-4.png]] ... ... @@ -684,26 +684,33 @@ 684 684 685 685 == 2.10 Firmware Change Log == 686 686 687 - 688 688 **Firmware download link:** 689 689 690 690 [[http:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Firmware/]] 691 691 692 692 693 -**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]688 +**Firmware Upgrade Method:[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]** 694 694 690 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=Firmware_Upgrade_Instruction_for_STM32_base_products#Introduction>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Instruction_for_STM32_base_products#Introduction]] 695 695 696 696 697 -= 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 698 698 694 + 695 + 696 + 697 +1. Configure LSPH01 via AT Command or LoRaWAN Downlink 698 + 699 699 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 700 700 701 -* AT Command Connection: See [[FAQ>> ||anchor="H6.FAQ"]].702 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]701 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 702 +* LoRaWAN Downlink instruction for different platforms: 703 703 704 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]] 705 + 706 + 704 704 There are two kinds of commands to configure LSPH01, they are: 705 705 706 -* (% style="color:#4f81bd" %)**709 +* **General Commands**. 707 707 708 708 These commands are to configure: 709 709 ... ... @@ -710,25 +710,25 @@ 710 710 * General system settings like: uplink interval. 711 711 * LoRaWAN protocol & radio related command. 712 712 713 -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]]716 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 714 714 718 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 715 715 716 -* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 717 717 721 +* **Commands special design for LSPH01** 722 + 718 718 These commands only valid for LSPH01, as below: 719 719 720 720 726 +1. 727 +11. Set Transmit Interval Time 721 721 722 -== 3.1 Set Transmit Interval Time == 723 - 724 724 Feature: Change LoRaWAN End Node Transmit Interval. 725 725 726 - (% style="color:#037691" %)**AT Command: AT+TDC**731 +**AT Command: AT+TDC** 727 727 728 - 729 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 730 -|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 731 -|(% style="width:154px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:330px" %)((( 733 +|**Command Example**|**Function**|**Response** 734 +|AT+TDC=?|Show current transmit Interval|((( 732 732 30000 733 733 734 734 OK ... ... @@ -735,13 +735,13 @@ 735 735 736 736 the interval is 30000ms = 30s 737 737 ))) 738 -| (% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)(((741 +|AT+TDC=60000|Set Transmit Interval|((( 739 739 OK 740 740 741 741 Set transmit interval to 60000ms = 60 seconds 742 742 ))) 743 743 744 - (% style="color:#037691" %)**Downlink Command: 0x01**747 +**Downlink Command: 0x01** 745 745 746 746 Format: Command Code (0x01) followed by 3 bytes time value. 747 747 ... ... @@ -750,17 +750,32 @@ 750 750 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 751 751 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 752 752 753 -== 3.2 Set Interrupt Mode == 756 +1. 757 +11. Set Interrupt Mode 754 754 755 755 Feature, Set Interrupt mode for GPIO_EXIT. 756 756 757 - (% style="color:#037691" %)**AT Command: AT+INTMOD**761 +**AT Command: AT+INTMOD** 758 758 759 -[[image:image-20220607153759-6.png]] 763 +|**Command Example**|**Function**|**Response** 764 +|AT+INTMOD=?|Show current interrupt mode|((( 765 +0 760 760 767 +OK 761 761 762 -(% style="color:#037691" %)**Downlink Command: 0x06** 769 +the mode is 0 = No interruption 770 +))) 771 +|AT+INTMOD=2|((( 772 +Set Transmit Interval 763 763 774 +1. (Disable Interrupt), 775 +1. (Trigger by rising and falling edge), 776 +1. (Trigger by falling edge) 777 +1. (Trigger by rising edge) 778 +)))|OK 779 + 780 +**Downlink Command: 0x06** 781 + 764 764 Format: Command Code (0x06) followed by 3 bytes. 765 765 766 766 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -768,32 +768,37 @@ 768 768 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 769 769 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 770 770 771 -== 3.3 Calibrate Sensor == 789 +1. 790 +11. Calibrate Sensor 772 772 773 -Detail See [[Calibration Guide>> ||anchor="2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands792 +Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 774 774 775 775 776 776 777 -== 3.4 Get Firmware Version Info == 796 +1. 797 +11. Get Firmware Version Info 778 778 779 779 Feature: use downlink to get firmware version. 780 780 781 -(% style="color:#037691" %)**Downlink Command: 0x26** 782 782 783 - [[image:image-20220607154718-7.png]]802 +**Downlink Command: 0x26** 784 784 804 + 805 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 806 +|Get Firmware Version Info|Any|26|2 807 + 785 785 * Reply to the confirmation package: 26 01 786 786 * Reply to non-confirmed packet: 26 00 787 787 788 - 789 789 Device will send an uplink after got this downlink command. With below payload: 790 790 791 791 Configures info payload: 792 792 793 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 794 -|=((( 795 -**Size(bytes)** 796 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 815 +|((( 816 +**Size** 817 + 818 +**(bytes)** 819 +)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 797 797 |**Value**|Software Type|((( 798 798 Frequency 799 799 ... ... @@ -803,7 +803,10 @@ 803 803 804 804 Version 805 805 )))|Sensor Type|Reserve|((( 806 -[[Message Type>>||anchor="H2.3.6MessageType"]] 829 +[[Message>>path:#Message_Type]] 830 + 831 +[[Type>>path:#Message_Type]] 832 + 807 807 Always 0x02 808 808 ))) 809 809 ... ... @@ -857,19 +857,18 @@ 857 857 858 858 859 859 860 -= 4. Battery & How to replace = 861 861 862 -== 4.1 Battery Type == 863 863 864 -((( 888 + 889 +1. Battery & How to replace 890 +11. Battery Type 891 + 865 865 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. 866 -))) 867 867 868 - (((894 + 869 869 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 870 -))) 871 871 872 -[[image: 1654588469844-778.png]]897 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] 873 873 874 874 875 875 Minimum Working Voltage for the LSPH01: ... ... @@ -877,36 +877,30 @@ 877 877 LSPH01: 2.45v ~~ 3.6v 878 878 879 879 905 +1. 906 +11. Replace Battery 880 880 881 -== 4.2 Replace Battery == 882 - 883 -((( 884 884 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 885 -))) 886 886 887 -((( 888 888 And make sure the positive and negative pins match. 889 -))) 890 890 891 891 892 892 893 -== 4.3 Power Consumption Analyze == 914 +1. 915 +11. Power Consumption Analyze 894 894 895 -((( 896 896 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. 897 -))) 898 898 899 - (((919 + 900 900 Instruction to use as below: 901 -))) 902 902 903 903 904 - **Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:923 +Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 905 905 906 906 [[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/]] 907 907 908 908 909 - **Step 2**: Open it and choose928 +Step 2: Open it and choose 910 910 911 911 * Product Model 912 912 * Uplink Interval ... ... @@ -914,103 +914,102 @@ 914 914 915 915 And the Life expectation in difference case will be shown on the right. 916 916 917 -[[image: 1654588577573-122.png]]936 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]] 918 918 919 919 920 920 The battery related documents as below: 921 921 922 -* ((( 923 -[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 941 +* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]], 942 +* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet 943 +* [[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]] 944 + 945 +|((( 946 +JST-XH-2P connector 924 924 ))) 925 -* ((( 926 -[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 927 -))) 928 -* ((( 929 -[[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]] 930 -))) 931 931 932 -[[image:image -20220607155856-8.png]]949 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]] 933 933 934 934 935 935 936 -=== 4.3.1 Battery Note === 953 +1. 954 +11. 955 +111. Battery Note 937 937 938 -((( 939 939 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. 940 -))) 941 941 942 942 960 +1. 961 +11. 962 +111. Replace the battery 943 943 944 -=== 4.3.2 Replace the battery === 945 - 946 946 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. 947 947 966 + 948 948 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) 949 949 950 950 951 951 952 -= 5. Use AT Command = 953 953 954 -== 5.1 Access AT Commands == 955 955 973 + 974 +1. Use AT Command 975 +11. Access AT Commands 976 + 956 956 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. 957 957 958 -[[image: 1654589001411-343.png]]979 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]] 959 959 960 - **Connection:**981 +Connection: 961 961 962 - (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**983 +USB TTL GND <~-~-~-~-> GND 963 963 964 - (% style="background-color:yellow" %)**USB TTL TXD**985 +USB TTL TXD <~-~-~-~-> UART_RXD 965 965 966 - (% style="background-color:yellow" %)**USB TTL RXD**987 +USB TTL RXD <~-~-~-~-> UART_TXD 967 967 968 968 969 -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:990 +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: 970 970 971 971 972 - [[image: 1654589062541-567.png]]993 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 973 973 974 974 Valid AT Command please check [[Configure Device>>path:#Configure_Device]]. 975 975 976 976 977 977 978 -= 6. FAQ = 979 979 980 -== 6.1 How to change the LoRa Frequency Bands/Region == 1000 +1. FAQ 1001 +11. How to change the LoRa Frequency Bands/Region 981 981 982 -You can follow the instructions for [[how to upgrade image>> ||anchor="H2.10200BFirmwareChangeLog"]].1003 +You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]]. 983 983 When downloading the images, choose the required image file for download. 984 984 985 985 986 986 987 -= 7. Trouble Shooting = 1008 +1. Trouble Shooting 1009 +11. AT Commands input doesn’t work 988 988 989 - ==7.1ATCommandsinput doesn’t work==1011 +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. 990 990 991 -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. 992 992 1014 +1. Order Info 993 993 1016 +Part Number: **LSPH01-XX** 994 994 995 -= 8. Order Info = 996 996 997 - PartNumber:(% style="color:blue"%)**LSPH01-XX**1019 +**XX**: The default frequency band 998 998 1021 +* **AS923**: LoRaWAN AS923 band 1022 +* **AU915**: LoRaWAN AU915 band 1023 +* **EU433**: LoRaWAN EU433 band 1024 +* **EU868**: LoRaWAN EU868 band 1025 +* **KR920**: LoRaWAN KR920 band 1026 +* **US915**: LoRaWAN US915 band 1027 +* **IN865**: LoRaWAN IN865 band 1028 +* **CN470**: LoRaWAN CN470 band 999 999 1000 - (%style="color:blue" %)**XX**(%%): The default frequencyband1030 +1. Packing Info 1001 1001 1002 -* (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1003 -* (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1004 -* (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 1005 -* (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1006 -* (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1007 -* (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1008 -* (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1009 -* (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1010 - 1011 -= 9. Packing Info = 1012 - 1013 - 1014 1014 **Package Includes**: 1015 1015 1016 1016 * LSPH01 LoRaWAN Soil Ph Sensor x 1 ... ... @@ -1022,10 +1022,11 @@ 1022 1022 * Package Size / pcs : cm 1023 1023 * Weight / pcs : g 1024 1024 1025 - 1026 1026 = 10. Support = 1027 1027 1028 1028 * 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. 1029 -* 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]].1046 +* 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 1030 1030 1048 +[[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]] 1049 + 1031 1031
- 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