Changes for page SPH01-LB -- LoRaWAN Soil pH Sensor User Manual
Last modified by Xiaoling on 2024/01/15 09:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -93,7 +93,7 @@ 93 93 (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode. 94 94 95 95 96 -== 1. 6Button & LEDs ==96 +== 1.5 Button & LEDs == 97 97 98 98 99 99 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675071855856-879.png]] ... ... @@ -112,7 +112,7 @@ 112 112 ))) 113 113 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode. 114 114 115 -== 1. 7BLE connection ==115 +== 1.6 BLE connection == 116 116 117 117 118 118 CPL03-LB support BLE remote configure. ... ... @@ -127,12 +127,12 @@ 127 127 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode. 128 128 129 129 130 -== 1. 8Pin Definitions ==130 +== 1.7 Pin Definitions == 131 131 132 132 [[image:image-20230523174230-1.png]] 133 133 134 134 135 -== 1. 9Mechanical ==135 +== 1.8 Mechanical == 136 136 137 137 138 138 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143884058-338.png]] ... ... @@ -277,7 +277,7 @@ 277 277 === 2.3.2 Sensor Configuration, FPORT~=4 === 278 278 279 279 280 -CPL0 3-LBwill only send this command after getting the downlink command (0x26 02) from the server.280 +CPL01 will only send this command after getting the downlink command (0x26 02) from the server. 281 281 282 282 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 283 283 |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0; width:504px" %)**Sensor Configuration FPORT=4** ... ... @@ -299,11 +299,11 @@ 299 299 ))) 300 300 301 301 ((( 302 -(% style="color:blue" %)** If Disalarm = 1**(%%), CPL0 3-LBwill only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many disconnect/connect event, and platform only care about the total number of pulse.302 +(% style="color:blue" %)** If Disalarm = 1**(%%), CPL01 will only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many disconnect/connect event, and platform only care about the total number of pulse. 303 303 ))) 304 304 305 305 ((( 306 -(% style="color:blue" %)** If Disalarm = 0**(%%), CPL0 3-LBwill send uplink at every TDC periodically.306 +(% style="color:blue" %)** If Disalarm = 0**(%%), CPL01 will send uplink at every TDC periodically. 307 307 308 308 309 309 ))) ... ... @@ -341,7 +341,7 @@ 341 341 342 342 ((( 343 343 ((( 344 -CPL0 3-LBwill send this uplink **after** Device Status once join the LoRaWAN network successfully. And CPL03-LBwill:344 +CPL01 will send this uplink **after** Device Status once join the LoRaWAN network successfully. And CPL01 will: 345 345 ))) 346 346 ))) 347 347 ... ... @@ -537,7 +537,7 @@ 537 537 538 538 539 539 ((( 540 -CPL0 3-LBstores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.4DatalogFeature"]].540 +CPL01 stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.4DatalogFeature"]]. 541 541 ))) 542 542 543 543 ((( ... ... @@ -545,7 +545,7 @@ 545 545 ))) 546 546 547 547 * ((( 548 -Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, CPL0 3-LBwill send max bytes according to the current DR and Frequency bands.548 +Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, CPL01 will send max bytes according to the current DR and Frequency bands. 549 549 ))) 550 550 551 551 ((( ... ... @@ -569,7 +569,7 @@ 569 569 ))) 570 570 571 571 ((( 572 -If CPL0 3-LBdoesn't have any data in the polling time. It will uplink 11 bytes of 0572 +If CPL01 doesn't have any data in the polling time. It will uplink 11 bytes of 0 573 573 574 574 575 575 ))) ... ... @@ -659,19 +659,19 @@ 659 659 == 2.5 Datalog Feature == 660 660 661 661 662 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, CPL03-LB will store the reading for future retrieving purposes.662 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, S31x-LB will store the reading for future retrieving purposes. 663 663 664 664 665 665 === 2.5.1 Ways to get datalog via LoRaWAN === 666 666 667 667 668 -Set [[PNACKMD=1>>||anchor="H2.5.4DatalogUplinkpayload28FPORT3D329"]], CPL03-LB will wait for ACK for every uplink, when there is no LoRaWAN network,CPL03-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.668 +Set [[PNACKMD=1>>||anchor="H2.5.4DatalogUplinkpayload28FPORT3D329"]], S31x-LB will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 669 669 670 670 * ((( 671 -a) CPL03-LB will do an ACK check for data records sending to make sure every data arrive server.671 +a) S31x-LB will do an ACK check for data records sending to make sure every data arrive server. 672 672 ))) 673 673 * ((( 674 -b) CPL03-LB will send data in **CONFIRMED Mode** when PNACKMD=1, butCPL03-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink ifCPL03-LB gets a ACK,CPL03-LB will consider there is a network connection and resend all NONE-ACK messages.674 +b) S31x-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but S31x-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if S31x-LB gets a ACK, S31x-LB will consider there is a network connection and resend all NONE-ACK messages. 675 675 ))) 676 676 677 677 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) ... ... @@ -682,7 +682,7 @@ 682 682 === 2.5.2 Unix TimeStamp === 683 683 684 684 685 - CPL03-LB uses Unix TimeStamp format based on685 +S31x-LB uses Unix TimeStamp format based on 686 686 687 687 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]] 688 688 ... ... @@ -701,7 +701,7 @@ 701 701 702 702 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 703 703 704 -Once CPL03-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time toCPL03-LB. IfCPL03-LB fails to get the time from the server,CPL03-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).704 +Once S31x-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB. If S31x-LB fails to get the time from the server, S31x-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 705 705 706 706 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 707 707 ... ... @@ -730,7 +730,7 @@ 730 730 ))) 731 731 732 732 ((( 733 -Uplink Internal =5s,means CPL0 3-LBwill send one packet every 5s. range 5~~255s.733 +Uplink Internal =5s,means CPL01 will send one packet every 5s. range 5~~255s. 734 734 ))) 735 735 736 736 ... ... @@ -737,24 +737,22 @@ 737 737 == 2.7 Frequency Plans == 738 738 739 739 740 -The CPL03-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.740 +The S31x-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 741 741 742 742 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 743 743 744 744 745 -= 3. Configure CPL03-LB =745 += 3. Configure S31x-LB = 746 746 747 747 == 3.1 Configure Methods == 748 748 749 749 750 - CPL03-LB supports below configure method:750 +S31x-LB supports below configure method: 751 751 752 752 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 753 753 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]. 754 754 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 755 755 756 - 757 - 758 758 == 3.2 General Commands == 759 759 760 760 ... ... @@ -779,6 +779,8 @@ 779 779 780 780 ((( 781 781 Feature: Change LoRaWAN End Node Transmit Interval. 780 + 781 + 782 782 ))) 783 783 784 784 ((( ... ... @@ -819,6 +819,7 @@ 819 819 820 820 ))) 821 821 822 + 822 822 === 3.3.2 Quit AT Command === 823 823 824 824 ... ... @@ -863,59 +863,88 @@ 863 863 864 864 **0xA7 00 ** ~/~/ Same As AT+DISALARM=0 865 865 867 +(% style="color:red" %)**Notice, This command requires setting CPL01 to LDS03A Mode first. See **(%%)**"(% style="color:blue" %)3.7 Set the sensor mode"(%%)** 866 866 869 + 867 867 === 3.3.5 Alarm Base on Timeout === 868 868 869 869 870 870 ((( 871 -CPL03-LB can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: 874 +((( 875 +CPL01 can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: 876 + 877 + 872 872 ))) 879 +))) 873 873 874 - 875 875 ((( 882 +((( 876 876 (% style="color:#4f81bd" %)**1. Keep Status: Status to be monitor** 877 877 ))) 885 +))) 878 878 879 879 ((( 880 -**Keep Status = 1**: Monitor Close to Open event 888 +((( 889 +Keep Status = 1: Monitor Close to Open event 881 881 ))) 891 +))) 882 882 883 883 ((( 884 -**Keep Status = 0**: Monitor Open to Close event 894 +((( 895 +Keep Status = 0: Monitor Open to Close event 896 + 897 + 885 885 ))) 899 +))) 886 886 887 - 888 888 ((( 902 +((( 889 889 (% style="color:#4f81bd" %)**2. Keep Time: Timeout to send an Alarm** 890 890 ))) 905 +))) 891 891 892 892 ((( 908 +((( 893 893 Range 0 ~~ 65535(0xFFFF) seconds. 894 894 ))) 911 +))) 895 895 896 896 ((( 897 -If** keep time = 0**, Disable Alarm Base on Timeout feature. 914 +((( 915 +If keep time = 0, Disable Alarm Base on Timeout feature. 898 898 ))) 917 +))) 899 899 900 900 ((( 901 -If **keep time > 0**, device will monitor the keep status event and send an alarm when status doesn’t change after timeout. 920 +((( 921 +If keep time > 0, device will monitor the keep status event and send an alarm when status doesn’t change after timeout. 902 902 ))) 903 903 924 +((( 925 + 926 +))) 927 +))) 904 904 905 905 ((( 930 +((( 906 906 (% style="color:#4f81bd" %)**AT Command**(%%) to configure: 907 907 ))) 908 908 909 909 ((( 910 -(% style="color:blue" %)**AT+TTRIG=1,30**(%%) ~-~-> When the **Keep Status** change from connect to disconnect, and device remains in disconnect status for more than 30 seconds. CPL0 3-LBwill send an uplink packet, the [[Alarm bit>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1.935 +(% style="color:blue" %)**AT+TTRIG=1,30**(%%) ~-~-> When the **Keep Status** change from connect to disconnect, and device remains in disconnect status for more than 30 seconds. CPL01 will send an uplink packet, the [[Alarm bit>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 911 911 ))) 912 912 913 913 ((( 914 914 (% style="color:blue" %)**AT+TTIG=0,0 **(%%) ~-~-> Default Value, disable timeout Alarm. 915 915 ))) 941 +))) 916 916 943 +((( 944 + 945 +))) 917 917 918 918 ((( 948 +((( 919 919 (% style="color:#4f81bd" %)**Downlink Command**(%%) to configure: 920 920 ))) 921 921 ... ... @@ -922,31 +922,47 @@ 922 922 ((( 923 923 **Command: 0xA9 aa bb cc** 924 924 ))) 955 +))) 925 925 926 926 ((( 927 -**A9: **Command Type Code 958 +((( 959 +A9: Command Type Code 928 928 ))) 961 +))) 929 929 930 930 ((( 931 -**aa: **status to be monitored 964 +((( 965 +aa: status to be monitored 932 932 ))) 967 +))) 933 933 934 934 ((( 935 -**bb cc: **timeout. 970 +((( 971 +bb cc: timeout. 936 936 ))) 973 +))) 937 937 975 +((( 976 + 977 +))) 938 938 939 939 ((( 980 +((( 940 940 If user send 0xA9 01 00 1E: equal to AT+TTRIG=1,30 941 941 ))) 983 +))) 942 942 943 943 ((( 986 +((( 944 944 Or 945 945 ))) 989 +))) 946 946 947 947 ((( 992 +((( 948 948 0xA9 00 00 00: Equal to AT+TTRIG=0,0. Disable timeout Alarm. 949 949 ))) 995 +))) 950 950 951 951 952 952 === 3.3.6 Clear Flash Record === ... ... @@ -954,23 +954,25 @@ 954 954 955 955 Feature: Clear flash storage for data log feature. 956 956 957 -(% style="color:blue" %)**AT Command: AT+CLRDTA** 958 958 1004 +(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1005 + 959 959 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 960 960 |=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 169px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 174px;background-color:#D9E2F3;color:#0070C0" %)**Response** 961 961 |(% style="width:157px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|Clear all stored sensor data… OK 962 962 963 963 ((( 964 -(% style="color:blue" %)**Downlink Command:** 1011 +((( 1012 +(% style="color:#4f81bd" %)**Downlink Command:** 965 965 ))) 966 966 967 967 ((( 968 968 * **Example**: 0xA301 ~/~/ Same as AT+CLRDTA 969 969 ))) 1018 +))) 970 970 971 971 972 972 973 - 974 974 === 3.3.7 Set trigger mode === 975 975 976 976 ... ... @@ -999,6 +999,9 @@ 999 999 1000 1000 1001 1001 1050 + 1051 + 1052 + 1002 1002 === 3.3.8 Set the calculate flag === 1003 1003 1004 1004 ... ... @@ -1015,6 +1015,9 @@ 1015 1015 1016 1016 * **Example**: 0XA501 ~/~/ Same as AT+CALCFLAG =1 1017 1017 1069 + 1070 + 1071 + 1018 1018 === 3.3.9 Set count number === 1019 1019 1020 1020 ... ... @@ -1033,6 +1033,9 @@ 1033 1033 1034 1034 * **Example**: 0xA6000064 ~/~/ Same as AT+ SETCNT =100 1035 1035 1090 + 1091 + 1092 + 1036 1036 === 3.3.10 Set Interrupt Mode === 1037 1037 1038 1038 ... ... @@ -1069,6 +1069,9 @@ 1069 1069 1070 1070 1071 1071 1129 + 1130 + 1131 + 1072 1072 === 3.3.11 Set Power Output Duration === 1073 1073 1074 1074 ... ... @@ -1095,15 +1095,12 @@ 1095 1095 The first and second bytes are the time to turn on. 1096 1096 1097 1097 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 1098 - 1099 1099 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 1100 1100 1101 - 1102 - 1103 1103 = 4. Battery & Power Consumption = 1104 1104 1105 1105 1106 - CPL03-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.1163 +S31x-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1107 1107 1108 1108 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 1109 1109 ... ... @@ -1112,12 +1112,10 @@ 1112 1112 1113 1113 1114 1114 (% class="wikigeneratedid" %) 1115 -User can change firmware CPL03-LB to:1172 +User can change firmware S31x-LB to: 1116 1116 1117 1117 * Change Frequency band/ region. 1118 - 1119 1119 * Update with new features. 1120 - 1121 1121 * Fix bugs. 1122 1122 1123 1123 Firmware and changelog can be downloaded from : **[[Firmware download link>>url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]** ... ... @@ -1126,23 +1126,18 @@ 1126 1126 Methods to Update Firmware: 1127 1127 1128 1128 * (Recommanded way) OTA firmware update via wireless: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 1129 - 1130 1130 * Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 1131 1131 1132 1132 = 6. FAQ = 1133 1133 1134 -== 6.1 AT Commands input doesn't work == 1135 1135 1136 1136 1137 -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. 1138 - 1139 - 1140 1140 = 7. Order Info = 1141 1141 1142 1142 1143 -Part Number: (% style="color:blue" %)** CPL03-LB-XXX**1193 +Part Number: (% style="color:blue" %)**S31-LB-XX / S31B-LB-XX** 1144 1144 1145 -(% style="color:red" %)**XX X**(%%): The default frequency band1195 +(% style="color:red" %)**XX**(%%): The default frequency band 1146 1146 1147 1147 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1148 1148 ... ... @@ -1165,7 +1165,7 @@ 1165 1165 1166 1166 (% style="color:#037691" %)**Package Includes**: 1167 1167 1168 -* CPL03-LB LoRaWANPulse/Contact Sensor1218 +* S31x-LB LoRaWAN Temperature & Humidity Sensor 1169 1169 1170 1170 (% style="color:#037691" %)**Dimension and weight**: 1171 1171
- image-20230530111051-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.1 KB - Content