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,14 +77,10 @@ 77 77 * IP68 Protection 78 78 * Length: 3.5 meters 79 79 80 - 81 - 82 82 == 1.4 Applications == 83 83 84 84 * Smart Agriculture 85 85 86 - 87 - 88 88 == 1.5 Pin mapping and power on == 89 89 90 90 [[image:1654580482666-473.png]] ... ... @@ -100,7 +100,7 @@ 100 100 ))) 101 101 102 102 ((( 103 -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. 104 104 ))) 105 105 106 106 ... ... @@ -267,7 +267,7 @@ 267 267 268 268 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 269 269 |**Message Type Code**|**Description**|**Payload** 270 -|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3 200BUplinkPayload"]]264 +|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3Uplink Payload"]] 271 271 |0x02|Reply configures info|[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 272 272 |0x03|Reply Calibration Info|[[Calibration Payload>>||anchor="H2.7Calibration"]] 273 273 ... ... @@ -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]] ... ... @@ -440,6 +440,8 @@ 440 440 * Reply to the confirmation package: 14 01 441 441 * Reply to non-confirmed packet: 14 00 442 442 439 + 440 + 443 443 == 2.8 Frequency Plans == 444 444 445 445 ((( ... ... @@ -495,6 +495,8 @@ 495 495 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 496 496 * 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) 497 497 496 + 497 + 498 498 === 2.8.3 CN470-510 (CN470) === 499 499 500 500 Used in China, Default use CHE=1 ... ... @@ -561,6 +561,8 @@ 561 561 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 562 562 * 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) 563 563 564 + 565 + 564 564 === 2.8.5 AS920-923 & AS923-925 (AS923) === 565 565 566 566 (% style="color:blue" %)**Default Uplink channel:** ... ... @@ -674,6 +674,8 @@ 674 674 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 675 675 * Blink once when device transmit a packet. 676 676 679 + 680 + 677 677 == 2.10 Firmware Change Log == 678 678 679 679 ... ... @@ -690,12 +690,15 @@ 690 690 691 691 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 692 692 693 -* AT Command Connection: See [[FAQ>> ||anchor="H6.FAQ"]].694 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]697 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 698 +* LoRaWAN Downlink instruction for different platforms: 695 695 700 +[[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]] 701 + 702 + 696 696 There are two kinds of commands to configure LSPH01, they are: 697 697 698 -* (% style="color:#4f81bd" %)**705 +* **General Commands**. 699 699 700 700 These commands are to configure: 701 701 ... ... @@ -702,25 +702,25 @@ 702 702 * General system settings like: uplink interval. 703 703 * LoRaWAN protocol & radio related command. 704 704 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]]712 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 706 706 714 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 707 707 708 -* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 709 709 717 +* **Commands special design for LSPH01** 718 + 710 710 These commands only valid for LSPH01, as below: 711 711 712 712 722 +1. 723 +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**727 +**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" %)((( 729 +|**Command Example**|**Function**|**Response** 730 +|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" %)(((737 +|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**743 +**Downlink Command: 0x01** 737 737 738 738 Format: Command Code (0x01) followed by 3 bytes time value. 739 739 ... ... @@ -742,17 +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 745 -== 3.2 Set Interrupt Mode == 752 +1. 753 +11. Set Interrupt Mode 746 746 747 747 Feature, Set Interrupt mode for GPIO_EXIT. 748 748 749 - (% style="color:#037691" %)**AT Command: AT+INTMOD**757 +**AT Command: AT+INTMOD** 750 750 751 -[[image:image-20220607153759-6.png]] 759 +|**Command Example**|**Function**|**Response** 760 +|AT+INTMOD=?|Show current interrupt mode|((( 761 +0 752 752 763 +OK 753 753 754 -(% style="color:#037691" %)**Downlink Command: 0x06** 765 +the mode is 0 = No interruption 766 +))) 767 +|AT+INTMOD=2|((( 768 +Set Transmit Interval 755 755 770 +1. (Disable Interrupt), 771 +1. (Trigger by rising and falling edge), 772 +1. (Trigger by falling edge) 773 +1. (Trigger by rising edge) 774 +)))|OK 775 + 776 +**Downlink Command: 0x06** 777 + 756 756 Format: Command Code (0x06) followed by 3 bytes. 757 757 758 758 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -760,20 +760,25 @@ 760 760 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 761 761 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 762 762 763 -== 3.3 Calibrate Sensor == 785 +1. 786 +11. Calibrate Sensor 764 764 765 -Detail See [[Calibration Guide>> ||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands788 +Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 766 766 767 767 768 768 769 -== 3.4 Get Firmware Version Info == 792 +1. 793 +11. Get Firmware Version Info 770 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]]798 +**Downlink Command: 0x26** 776 776 800 + 801 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 802 +|Get Firmware Version Info|Any|26|2 803 + 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** 811 +|((( 812 +**Size** 813 + 814 +**(bytes)** 815 +)))|**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"]] 825 +[[Message>>path:#Message_Type]] 826 + 827 +[[Type>>path:#Message_Type]] 828 + 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 -((( 884 + 885 +1. Battery & How to replace 886 +11. Battery Type 887 + 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 - (((890 + 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]]893 +[[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 901 +1. 902 +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 == 910 +1. 911 +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 - (((915 + 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:919 +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 choose924 +Step 2: Open it and choose 901 901 902 902 * Product Model 903 903 * Uplink Interval ... ... @@ -905,103 +905,102 @@ 905 905 906 906 And the Life expectation in difference case will be shown on the right. 907 907 908 -[[image: 1654588577573-122.png]]932 +[[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]], 937 +* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]], 938 +* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet 939 +* [[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]] 940 + 941 +|((( 942 +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]]945 +[[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 === 949 +1. 950 +11. 951 +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 956 +1. 957 +11. 958 +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 962 + 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 969 + 970 +1. Use AT Command 971 +11. Access AT Commands 972 + 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]]975 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]] 950 950 951 - **Connection:**977 +Connection: 952 952 953 - (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**979 +USB TTL GND <~-~-~-~-> GND 954 954 955 - (% style="background-color:yellow" %)**USB TTL TXD**981 +USB TTL TXD <~-~-~-~-> UART_RXD 956 956 957 - (% style="background-color:yellow" %)**USB TTL RXD**983 +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:986 +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]]989 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 964 964 965 -Valid AT Command please check [[Configure Device>> ||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]].991 +Valid AT Command please check [[Configure Device>>path:#Configure_Device]]. 966 966 967 967 968 968 969 -= 6. FAQ = 970 970 971 -== 6.1 How to change the LoRa Frequency Bands/Region == 996 +1. FAQ 997 +11. How to change the LoRa Frequency Bands/Region 972 972 973 -You can follow the instructions for [[how to upgrade image>> ||anchor="H2.10200BFirmwareChangeLog"]].999 +You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]]. 974 974 When downloading the images, choose the required image file for download. 975 975 976 976 977 977 978 -= 7. Trouble Shooting = 1004 +1. Trouble Shooting 1005 +11. AT Commands input doesn’t work 979 979 980 - ==7.1ATCommandsinput doesn’t work==1007 +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. 981 981 982 -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. 983 983 1010 +1. Order Info 984 984 1012 +Part Number: **LSPH01-XX** 985 985 986 -= 8. Order Info = 987 987 988 - PartNumber:(% style="color:blue"%)**LSPH01-XX**1015 +**XX**: The default frequency band 989 989 1017 +* **AS923**: LoRaWAN AS923 band 1018 +* **AU915**: LoRaWAN AU915 band 1019 +* **EU433**: LoRaWAN EU433 band 1020 +* **EU868**: LoRaWAN EU868 band 1021 +* **KR920**: LoRaWAN KR920 band 1022 +* **US915**: LoRaWAN US915 band 1023 +* **IN865**: LoRaWAN IN865 band 1024 +* **CN470**: LoRaWAN CN470 band 990 990 991 - (%style="color:blue" %)**XX**(%%): The default frequencyband1026 +1. Packing Info 992 992 993 -* (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 994 -* (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 995 -* (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 996 -* (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 997 -* (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 998 -* (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 999 -* (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1000 -* (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1001 - 1002 -= 9. Packing Info = 1003 - 1004 - 1005 1005 **Package Includes**: 1006 1006 1007 1007 * LSPH01 LoRaWAN Soil Ph Sensor x 1 ... ... @@ -1016,6 +1016,8 @@ 1016 1016 = 10. Support = 1017 1017 1018 1018 * 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. 1019 -* 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]].1042 +* 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 1020 1020 1044 +[[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]] 1045 + 1021 1021
- 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