<
From version < 40.2 >
edited by Xiaoling
on 2022/06/30 10:37
To version < 31.17 >
edited by Xiaoling
on 2022/06/07 09:31
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,16 +3,8 @@
3 3  
4 4  
5 5  
6 +**Contents:**
6 6  
7 -
8 -
9 -
10 -
11 -
12 -
13 -
14 -**Table of Contents:**
15 -
16 16  {{toc/}}
17 17  
18 18  
... ... @@ -25,8 +25,6 @@
25 25  == 1.1 ​What is LoRaWAN Soil Moisture & EC Sensor ==
26 26  
27 27  (((
28 -
29 -
30 30  The Dragino LSE01 is a (% style="color:#4f81bd" %)**LoRaWAN Soil Moisture & EC Sensor**(%%) for IoT of Agriculture. It is designed to measure the soil moisture of saline-alkali soil and loamy soil. The soil sensor uses FDR method to calculate the soil moisture with the compensation from soil temperature and conductivity. It also has been calibrated in factory for Mineral soil type.
31 31  )))
32 32  
... ... @@ -101,7 +101,7 @@
101 101  )))
102 102  
103 103  (((
104 -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="H3.200BUsingtheATCommands"]].
94 +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="H3.UsingtheATCommands"]].
105 105  )))
106 106  
107 107  
... ... @@ -117,7 +117,7 @@
117 117  The LG308 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
118 118  
119 119  
120 -(% style="color:blue" %)**Step 1**(%%):  Create a device in TTN with the OTAA keys from LSE01.
110 +**Step 1**: Create a device in TTN with the OTAA keys from LSE01.
121 121  
122 122  Each LSE01 is shipped with a sticker with the default device EUI as below:
123 123  
... ... @@ -138,7 +138,7 @@
138 138  
139 139  
140 140  
141 -(% style="color:blue" %)**Step 2**(%%): Power on LSE01
131 +**Step 2**: Power on LSE01
142 142  
143 143  
144 144  Put a Jumper on JP2 to power on the device. ( The Jumper must be in FLASH position).
... ... @@ -146,7 +146,7 @@
146 146  [[image:image-20220606163915-7.png]]
147 147  
148 148  
149 -(% style="color:blue" %)**Step 3**(%%)**:** The LSE01 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel.
139 +**Step 3:** The LSE01 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel.
150 150  
151 151  [[image:1654504778294-788.png]]
152 152  
... ... @@ -154,104 +154,88 @@
154 154  
155 155  == 2.3 Uplink Payload ==
156 156  
157 -
158 158  === 2.3.1 MOD~=0(Default Mode) ===
159 159  
160 160  LSE01 will uplink payload via LoRaWAN with below payload format: 
161 161  
162 -(((
151 +
163 163  Uplink payload includes in total 11 bytes.
164 -)))
153 +
165 165  
166 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
167 -|(((
155 +(% border="1" cellspacing="10" style="background-color:#f7faff; width:510px" %)
156 +|=(((
168 168  **Size**
169 169  
170 170  **(bytes)**
171 -)))|**2**|**2**|**2**|**2**|**2**|**1**
172 -|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
160 +)))|=(% style="width: 46px;" %)**2**|=(% style="width: 160px;" %)**2**|=(% style="width: 104px;" %)**2**|=(% style="width: 126px;" %)**2**|=(% style="width: 159px;" %)**2**|=(% style="width: 114px;" %)**1**
161 +|**Value**|(% style="width:46px" %)[[BAT>>path:#bat]]|(% style="width:160px" %)(((
173 173  Temperature
174 174  
175 175  (Reserve, Ignore now)
176 -)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]]|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]]|(((
165 +)))|(% style="width:104px" %)[[Soil Moisture>>path:#soil_moisture]]|(% style="width:126px" %)[[Soil Temperature>>path:#soil_tem]]|(% style="width:159px" %)[[Soil Conductivity (EC)>>path:#EC]]|(% style="width:114px" %)(((
177 177  MOD & Digital Interrupt
178 178  
179 179  (Optional)
180 180  )))
181 181  
171 +[[image:1654504881641-514.png]]
172 +
173 +
174 +
182 182  === 2.3.2 MOD~=1(Original value) ===
183 183  
184 184  This mode can get the original AD value of moisture and original conductivity (with temperature drift compensation).
185 185  
186 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
187 -|(((
179 +(% border="1" cellspacing="10" style="background-color:#f7faff; width:510px" %)
180 +|=(((
188 188  **Size**
189 189  
190 190  **(bytes)**
191 -)))|**2**|**2**|**2**|**2**|**2**|**1**
192 -|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
184 +)))|=**2**|=**2**|=**2**|=**2**|=**2**|=**1**
185 +|**Value**|[[BAT>>path:#bat]]|(((
193 193  Temperature
194 194  
195 195  (Reserve, Ignore now)
196 -)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]](raw)|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]](raw)|(((
189 +)))|[[Soil Moisture>>path:#soil_moisture]](raw)|[[Soil Temperature>>path:#soil_tem]]|[[Soil Conductivity (EC)>>path:#EC]](raw)|(((
197 197  MOD & Digital Interrupt
198 198  
199 199  (Optional)
200 200  )))
201 201  
195 +[[image:1654504907647-967.png]]
196 +
197 +
198 +
202 202  === 2.3.3 Battery Info ===
203 203  
204 -(((
205 205  Check the battery voltage for LSE01.
206 -)))
207 207  
208 -(((
209 209  Ex1: 0x0B45 = 2885mV
210 -)))
211 211  
212 -(((
213 213  Ex2: 0x0B49 = 2889mV
214 -)))
215 215  
216 216  
217 217  
218 218  === 2.3.4 Soil Moisture ===
219 219  
220 -(((
221 221  Get the moisture content of the soil. The value range of the register is 0-10000(Decimal), divide this value by 100 to get the percentage of moisture in the soil.
222 -)))
223 223  
224 -(((
225 225  For example, if the data you get from the register is __0x05 0xDC__, the moisture content in the soil is
226 -)))
227 227  
228 -(((
229 -
230 -)))
231 231  
232 -(((
233 233  (% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.**
234 -)))
235 235  
236 236  
237 237  
238 238  === 2.3.5 Soil Temperature ===
239 239  
240 -(((
241 241   Get the temperature in the soil. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the soil. For example, if the data you get from the register is 0x09 0xEC, the temperature content in the soil is
242 -)))
243 243  
244 -(((
245 245  **Example**:
246 -)))
247 247  
248 -(((
249 249  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
250 -)))
251 251  
252 -(((
253 253  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
254 -)))
255 255  
256 256  
257 257  
... ... @@ -286,7 +286,7 @@
286 286  mod=(bytes[10]>>7)&0x01=1.
287 287  
288 288  
289 -**Downlink Command:**
263 +Downlink Command:
290 290  
291 291  If payload = 0x0A00, workmode=0
292 292  
... ... @@ -301,21 +301,19 @@
301 301  
302 302  [[image:1654505570700-128.png]]
303 303  
304 -(((
305 305  The payload decoder function for TTN is here:
306 -)))
307 307  
308 -(((
309 -LSE01 TTN Payload Decoder: [[https:~~/~~/www.dropbox.com/sh/si8icbrjlamxqdb/AAACYwjsxxr5fj_vpqRtrETAa?dl=0>>https://www.dropbox.com/sh/si8icbrjlamxqdb/AAACYwjsxxr5fj_vpqRtrETAa?dl=0]]
310 -)))
280 +LSE01 TTN Payload Decoder: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Payload_Decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Payload_Decoder/]]
311 311  
312 312  
313 313  == 2.4 Uplink Interval ==
314 314  
315 -The LSE01 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]]
285 +The LSE01 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link:
316 316  
287 +[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval>>url:http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval]]
317 317  
318 318  
290 +
319 319  == 2.5 Downlink Payload ==
320 320  
321 321  By default, LSE50 prints the downlink payload to console port.
... ... @@ -323,41 +323,21 @@
323 323  [[image:image-20220606165544-8.png]]
324 324  
325 325  
326 -(((
327 327  **Examples:**
328 -)))
329 329  
330 -(((
331 -
332 -)))
333 333  
334 -* (((
335 -**Set TDC**
336 -)))
301 +* **Set TDC**
337 337  
338 -(((
339 339  If the payload=0100003C, it means set the END Node’s TDC to 0x00003C=60(S), while type code is 01.
340 -)))
341 341  
342 -(((
343 343  Payload:    01 00 00 1E    TDC=30S
344 -)))
345 345  
346 -(((
347 347  Payload:    01 00 00 3C    TDC=60S
348 -)))
349 349  
350 -(((
351 -
352 -)))
353 353  
354 -* (((
355 -**Reset**
356 -)))
310 +* **Reset**
357 357  
358 -(((
359 359  If payload = 0x04FF, it will reset the LSE01
360 -)))
361 361  
362 362  
363 363  * **CFM**
... ... @@ -368,21 +368,12 @@
368 368  
369 369  == 2.6 ​Show Data in DataCake IoT Server ==
370 370  
371 -(((
372 372  [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps:
373 -)))
374 374  
375 -(((
376 -
377 -)))
378 378  
379 -(((
380 -(% style="color:blue" %)**Step 1**(%%):  Be sure that your device is programmed and properly connected to the network at this time.
381 -)))
326 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
382 382  
383 -(((
384 -(% style="color:blue" %)**Step 2**(%%):  To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:
385 -)))
328 +**Step 2**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:
386 386  
387 387  
388 388  [[image:1654505857935-743.png]]
... ... @@ -390,12 +390,11 @@
390 390  
391 391  [[image:1654505874829-548.png]]
392 392  
336 +Step 3: Create an account or log in Datacake.
393 393  
394 -(% style="color:blue" %)**Step 3**(%%)**:**  Create an account or log in Datacake.
338 +Step 4: Search the LSE01 and add DevEUI.
395 395  
396 -(% style="color:blue" %)**Step 4**(%%)**:**  Search the LSE01 and add DevEUI.
397 397  
398 -
399 399  [[image:1654505905236-553.png]]
400 400  
401 401  
... ... @@ -691,8 +691,6 @@
691 691  * Solid ON for 5 seconds once device successful Join the network.
692 692  * Blink once when device transmit a packet.
693 693  
694 -
695 -
696 696  == 2.9 Installation in Soil ==
697 697  
698 698  **Measurement the soil surface**
... ... @@ -707,7 +707,6 @@
707 707  )))
708 708  
709 709  
710 -
711 711  [[image:1654506665940-119.png]]
712 712  
713 713  (((
... ... @@ -769,16 +769,16 @@
769 769  )))
770 770  
771 771  * (((
772 -[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]],
711 +[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
773 773  )))
774 774  * (((
775 -[[Lithium-Thionyl Chloride Battery  datasheet>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]],
714 +[[Lithium-Thionyl Chloride Battery  datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]],
776 776  )))
777 777  * (((
778 -[[Lithium-ion Battery-Capacitor datasheet>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]], [[Tech Spec>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]]
717 +[[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]]
779 779  )))
780 780  
781 - [[image:image-20220610172436-1.png]]
720 + [[image:image-20220606171726-9.png]]
782 782  
783 783  
784 784  
... ... @@ -813,13 +813,13 @@
813 813  
814 814  LSE01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSE01 for using AT command, as below.
815 815  
816 -[[image:1654501986557-872.png||height="391" width="800"]]
755 +[[image:1654501986557-872.png]]
817 817  
818 818  
819 819  Or if you have below board, use below connection:
820 820  
821 821  
822 -[[image:1654502005655-729.png||height="503" width="801"]]
761 +[[image:1654502005655-729.png]]
823 823  
824 824  
825 825  
... ... @@ -826,10 +826,10 @@
826 826  In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LSE01. LSE01 will output system info once power on as below:
827 827  
828 828  
829 - [[image:1654502050864-459.png||height="564" width="806"]]
768 + [[image:1654502050864-459.png]]
830 830  
831 831  
832 -Below are the available commands, a more detailed AT Command manual can be found at [[AT Command Manual>>https://www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0]]: [[https:~~/~~/www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0>>https://www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0]]
771 +Below are the available commands, a more detailed AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/]]: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/]]
833 833  
834 834  
835 835  (% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>? **(%%) : Help on <CMD>
... ... @@ -941,38 +941,20 @@
941 941  
942 942  == 4.1 ​How to change the LoRa Frequency Bands/Region? ==
943 943  
944 -(((
945 -You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
883 +You can follow the instructions for [[how to upgrade image>>||anchor="H2.10FirmwareChangeLog"]].
946 946  When downloading the images, choose the required image file for download. ​
947 -)))
948 948  
949 -(((
950 -
951 -)))
952 952  
953 -(((
954 954  How to set up LSE01 to work in 8 channel mode By default, the frequency bands US915, AU915, CN470 work in 72 frequencies. Many gateways are 8 channel gateways, and in this case, the OTAA join time and uplink schedule is long and unpredictable while the end node is hopping in 72 frequencies.
955 -)))
956 956  
957 -(((
958 -
959 -)))
960 960  
961 -(((
962 962  You can configure the end node to work in 8 channel mode by using the AT+CHE command. The 500kHz channels are always included for OTAA.
963 -)))
964 964  
965 -(((
966 -
967 -)))
968 968  
969 -(((
970 970  For example, in **US915** band, the frequency table is as below. By default, the end node will use all channels (0~~71) for OTAA Join process. After the OTAA Join, the end node will use these all channels (0~~71) to send uplink packets.
971 -)))
972 972  
973 973  [[image:image-20220606154726-3.png]]
974 974  
975 -
976 976  When you use the TTN network, the US915 frequency bands use are:
977 977  
978 978  * 903.9 - SF7BW125 to SF10BW125
... ... @@ -985,35 +985,27 @@
985 985  * 905.3 - SF7BW125 to SF10BW125
986 986  * 904.6 - SF8BW500
987 987  
988 -(((
989 989  Because the end node is now hopping in 72 frequency, it makes it difficult for the devices to Join the TTN network and uplink data. To solve this issue, you can access the device via the AT commands and run:
990 990  
991 -* (% style="color:#037691" %)**AT+CHE=2**
992 -* (% style="color:#037691" %)**ATZ**
911 +(% class="box infomessage" %)
912 +(((
913 +**AT+CHE=2**
993 993  )))
994 994  
916 +(% class="box infomessage" %)
995 995  (((
996 -
918 +**ATZ**
919 +)))
997 997  
998 998  to set the end node to work in 8 channel mode. The device will work in Channel 8-15 & 64-71 for OTAA, and channel 8-15 for Uplink.
999 -)))
1000 1000  
1001 -(((
1002 -
1003 -)))
1004 1004  
1005 -(((
1006 1006  The **AU915** band is similar. Below are the AU915 Uplink Channels.
1007 -)))
1008 1008  
1009 1009  [[image:image-20220606154825-4.png]]
1010 1010  
1011 1011  
1012 -== 4.2 ​Can I calibrate LSE01 to different soil types? ==
1013 1013  
1014 -LSE01 is calibrated for saline-alkali soil and loamy soil. If users want to use it for other soil, they can calibrate the value in the IoT platform base on the value measured by saline-alkali soil and loamy soil. The formula can be found at [[this link>>https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/&file=Calibrate_to_other_Soil_20220605.pdf]].
1015 -
1016 -
1017 1017  = 5. Trouble Shooting =
1018 1018  
1019 1019  == 5.1 ​Why I can’t join TTN in US915 / AU915 bands? ==
... ... @@ -1023,9 +1023,7 @@
1023 1023  
1024 1024  == 5.2 AT Command input doesn’t work ==
1025 1025  
1026 -(((
1027 1027  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.
1028 -)))
1029 1029  
1030 1030  
1031 1031  == 5.3 Device rejoin in at the second uplink packet ==
... ... @@ -1037,9 +1037,7 @@
1037 1037  
1038 1038  (% style="color:#4f81bd" %)**Cause for this issue:**
1039 1039  
1040 -(((
1041 1041  The fuse on LSE01 is not large enough, some of the soil probe require large current up to 5v 800mA, in a short pulse. When this happen, it cause the device reboot so user see rejoin.
1042 -)))
1043 1043  
1044 1044  
1045 1045  (% style="color:#4f81bd" %)**Solution: **
... ... @@ -1046,7 +1046,7 @@
1046 1046  
1047 1047  All new shipped LSE01 after 2020-May-30 will have this to fix. For the customer who see this issue, please bypass the fuse as below:
1048 1048  
1049 -[[image:1654500929571-736.png||height="458" width="832"]]
958 +[[image:1654500929571-736.png]]
1050 1050  
1051 1051  
1052 1052  = 6. ​Order Info =
... ... @@ -1079,9 +1079,7 @@
1079 1079  = 7. Packing Info =
1080 1080  
1081 1081  (((
1082 -
1083 -
1084 -(% style="color:#037691" %)**Package Includes**:
991 +**Package Includes**:
1085 1085  )))
1086 1086  
1087 1087  * (((
... ... @@ -1090,8 +1090,10 @@
1090 1090  
1091 1091  (((
1092 1092  
1000 +)))
1093 1093  
1094 -(% style="color:#037691" %)**Dimension and weight**:
1002 +(((
1003 +**Dimension and weight**:
1095 1095  )))
1096 1096  
1097 1097  * (((
... ... @@ -1106,6 +1106,7 @@
1106 1106  * (((
1107 1107  Weight / pcs : g
1108 1108  
1018 +
1109 1109  
1110 1110  )))
1111 1111  
... ... @@ -1113,3 +1113,5 @@
1113 1113  
1114 1114  * 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.
1115 1115  * 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]]
1026 +
1027 +
image-20220610172436-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -370.3 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0