Changes for page LSN50v2-D20-D22-D23 LoRaWAN Temperature Sensor User Manual
Last modified by Mengting Qiu on 2025/04/07 16:25
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 8 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -427,8 +427,6 @@ 427 427 Always 0x03 428 428 ))) 429 429 430 - 431 - 432 432 User can also send 0x14 downlink command to poll the current calibration payload. 433 433 434 434 [[image:image-20220607145603-4.png]] ... ... @@ -437,7 +437,6 @@ 437 437 * Reply to non-confirmed packet: 14 00 438 438 439 439 440 - 441 441 == 2.8 Frequency Plans == 442 442 443 443 ((( ... ... @@ -561,8 +561,6 @@ 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 - 566 566 === 2.8.5 AS920-923 & AS923-925 (AS923) === 567 567 568 568 (% style="color:blue" %)**Default Uplink channel:** ... ... @@ -676,8 +676,6 @@ 676 676 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 677 677 * Blink once when device transmit a packet. 678 678 679 - 680 - 681 681 == 2.10 Firmware Change Log == 682 682 683 683 ... ... @@ -690,22 +690,16 @@ 690 690 691 691 692 692 686 += 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 693 693 694 - 695 - 696 -1. Configure LSPH01 via AT Command or LoRaWAN Downlink 697 - 698 698 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 699 699 700 -* AT Command Connection: See [[FAQ>> path:#AT_COMMAND]].701 -* LoRaWAN Downlink instruction for different platforms: 690 +* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 691 +* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 702 702 703 -[[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]] 704 - 705 - 706 706 There are two kinds of commands to configure LSPH01, they are: 707 707 708 -* **General Commands**. 695 +* (% style="color:#4f81bd" %)** General Commands**. 709 709 710 710 These commands are to configure: 711 711 ... ... @@ -712,25 +712,25 @@ 712 712 * General system settings like: uplink interval. 713 713 * LoRaWAN protocol & radio related command. 714 714 715 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 702 +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 716 717 -[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 718 718 705 +* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 719 719 720 -* **Commands special design for LSPH01** 721 - 722 722 These commands only valid for LSPH01, as below: 723 723 724 724 725 -1. 726 -11. Set Transmit Interval Time 727 727 711 +== 3.1 Set Transmit Interval Time == 712 + 728 728 Feature: Change LoRaWAN End Node Transmit Interval. 729 729 730 -**AT Command: AT+TDC** 715 +(% style="color:#037691" %)**AT Command: AT+TDC** 731 731 732 -|**Command Example**|**Function**|**Response** 733 -|AT+TDC=?|Show current transmit Interval|((( 717 + 718 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 719 +|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 720 +|(% style="width:154px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:330px" %)((( 734 734 30000 735 735 736 736 OK ... ... @@ -737,13 +737,13 @@ 737 737 738 738 the interval is 30000ms = 30s 739 739 ))) 740 -|AT+TDC=60000|Set Transmit Interval|((( 727 +|(% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)((( 741 741 OK 742 742 743 743 Set transmit interval to 60000ms = 60 seconds 744 744 ))) 745 745 746 -**Downlink Command: 0x01** 733 +(% style="color:#037691" %)**Downlink Command: 0x01** 747 747 748 748 Format: Command Code (0x01) followed by 3 bytes time value. 749 749 ... ... @@ -752,31 +752,18 @@ 752 752 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 753 753 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 754 754 755 -1. 756 -11. Set Interrupt Mode 757 757 758 -Feature, Set Interrupt mode for GPIO_EXIT. 759 759 760 - **ATCommand:AT+INTMOD**744 +== 3.2 Set Interrupt Mode == 761 761 762 -|**Command Example**|**Function**|**Response** 763 -|AT+INTMOD=?|Show current interrupt mode|((( 764 -0 746 +Feature, Set Interrupt mode for GPIO_EXIT. 765 765 766 -O K748 +(% style="color:#037691" %)**AT Command: AT+INTMOD** 767 767 768 -the mode is 0 = No interruption 769 -))) 770 -|AT+INTMOD=2|((( 771 -Set Transmit Interval 750 +[[image:image-20220607153759-6.png]] 772 772 773 -1. (Disable Interrupt), 774 -1. (Trigger by rising and falling edge), 775 -1. (Trigger by falling edge) 776 -1. (Trigger by rising edge) 777 -)))|OK 778 778 779 -**Downlink Command: 0x06** 753 +(% style="color:#037691" %)**Downlink Command: 0x06** 780 780 781 781 Format: Command Code (0x06) followed by 3 bytes. 782 782 ... ... @@ -785,24 +785,21 @@ 785 785 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 786 786 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 787 787 788 -1. 789 -11. Calibrate Sensor 790 790 791 -Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 792 792 764 +== 3.3 Calibrate Sensor == 793 793 766 +Detail See [[Calibration Guide>>||anchor="2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 794 794 795 -1. 796 -11. Get Firmware Version Info 797 797 798 -Feature: use downlink to get firmware version. 799 799 770 +== 3.4 Get Firmware Version Info == 800 800 801 - **DownlinkCommand:0x26**772 +Feature: use downlink to get firmware version. 802 802 774 +(% style="color:#037691" %)**Downlink Command: 0x26** 803 803 804 -|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 805 -|Get Firmware Version Info|Any|26|2 776 +[[image:image-20220607154718-7.png]] 806 806 807 807 * Reply to the confirmation package: 26 01 808 808 * Reply to non-confirmed packet: 26 00 ... ... @@ -811,11 +811,10 @@ 811 811 812 812 Configures info payload: 813 813 814 -|((( 815 -**Size** 816 - 817 -**(bytes)** 818 -)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 785 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 786 +|=((( 787 +**Size(bytes)** 788 +)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 819 819 |**Value**|Software Type|((( 820 820 Frequency 821 821 ... ... @@ -825,10 +825,7 @@ 825 825 826 826 Version 827 827 )))|Sensor Type|Reserve|((( 828 -[[Message>>path:#Message_Type]] 829 - 830 -[[Type>>path:#Message_Type]] 831 - 798 +[[Message Type>>||anchor="H2.3.6MessageType"]] 832 832 Always 0x02 833 833 ))) 834 834 ... ... @@ -882,18 +882,19 @@ 882 882 883 883 884 884 852 += 4. Battery & How to replace = 885 885 854 +== 4.1 Battery Type == 886 886 887 - 888 -1. Battery & How to replace 889 -11. Battery Type 890 - 856 +((( 891 891 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. 858 +))) 892 892 893 - 860 +((( 894 894 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 862 +))) 895 895 896 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]864 +[[image:1654588469844-778.png]] 897 897 898 898 899 899 Minimum Working Voltage for the LSPH01: ... ... @@ -901,30 +901,36 @@ 901 901 LSPH01: 2.45v ~~ 3.6v 902 902 903 903 904 -1. 905 -11. Replace Battery 906 906 873 +== 4.2 Replace Battery == 874 + 875 +((( 907 907 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 877 +))) 908 908 879 +((( 909 909 And make sure the positive and negative pins match. 881 +))) 910 910 911 911 912 912 913 -1. 914 -11. Power Consumption Analyze 885 +== 4.3 Power Consumption Analyze == 915 915 887 +((( 916 916 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. 889 +))) 917 917 918 - 891 +((( 919 919 Instruction to use as below: 893 +))) 920 920 921 921 922 -Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 896 +**Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 923 923 924 924 [[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/]] 925 925 926 926 927 -Step 2: Open it and choose 901 +**Step 2**: Open it and choose 928 928 929 929 * Product Model 930 930 * Uplink Interval ... ... @@ -932,64 +932,62 @@ 932 932 933 933 And the Life expectation in difference case will be shown on the right. 934 934 935 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]909 +[[image:1654588577573-122.png]] 936 936 937 937 938 938 The battery related documents as below: 939 939 940 -* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]], 941 -* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet 942 -* [[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]] 943 - 944 -|((( 945 -JST-XH-2P connector 914 +* ((( 915 +[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 946 946 ))) 917 +* ((( 918 +[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 919 +))) 920 +* ((( 921 +[[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]] 922 +))) 947 947 948 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]924 +[[image:image-20220607155856-8.png]] 949 949 950 950 951 951 952 -1. 953 -11. 954 -111. Battery Note 928 +=== 4.3.1 Battery Note === 955 955 930 +((( 956 956 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. 932 +))) 957 957 958 958 959 -1. 960 -11. 961 -111. Replace the battery 962 962 936 +=== 4.3.2 Replace the battery === 937 + 963 963 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. 964 964 965 - 966 966 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) 967 967 968 968 969 969 944 += 5. Use AT Command = 970 970 946 +== 5.1 Access AT Commands == 971 971 972 - 973 -1. Use AT Command 974 -11. Access AT Commands 975 - 976 976 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. 977 977 978 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]950 +[[image:1654589001411-343.png]] 979 979 980 -Connection: 952 +**Connection:** 981 981 982 -USB TTL GND <~-~-~-~-> GND 954 +(% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND** 983 983 984 -USB TTL TXD <~-~-~-~-> UART_RXD 956 +(% style="background-color:yellow" %)** USB TTL TXD <~-~-~-~-> UART_RXD** 985 985 986 -USB TTL RXD <~-~-~-~-> UART_TXD 958 +(% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** 987 987 988 988 989 -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 +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 990 991 991 992 - [[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]]964 + [[image:1654589062541-567.png]] 993 993 994 994 Valid AT Command please check [[Configure Device>>path:#Configure_Device]]. 995 995 ... ... @@ -996,17 +996,19 @@ 996 996 997 997 998 998 999 -1. FAQ 1000 -11. How to change the LoRa Frequency Bands/Region 971 += 6. FAQ = 1001 1001 1002 -You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]]. 973 +== 6.1 How to change the LoRa Frequency Bands/Region == 974 + 975 +You can follow the instructions for [[how to upgrade image>>||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]]. 1003 1003 When downloading the images, choose the required image file for download. 1004 1004 1005 1005 1006 1006 1007 -1. Trouble Shooting 1008 -11. AT Commands input doesn’t work 980 += 7. Trouble Shooting = 1009 1009 982 +== 7.1 AT Commands input doesn’t work == 983 + 1010 1010 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. 1011 1011 1012 1012
- 1654588469844-778.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.8 KB - Content
- 1654588577573-122.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +138.2 KB - Content
- 1654589001411-343.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +546.2 KB - Content
- 1654589062541-567.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +144.0 KB - Content
- image-20220607153237-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.9 KB - Content
- image-20220607153759-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +17.2 KB - Content
- image-20220607154718-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.0 KB - Content
- image-20220607155856-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.5 KB - Content