<
From version < 37.2 >
edited by Xiaoling
on 2022/06/25 16:31
To version < 31.19 >
edited by Xiaoling
on 2022/06/07 10:03
>
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,108 +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>>||anchor="H2.3.3BatteryInfo"]]|(% 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>>||anchor="H2.3.4SoilMoisture"]]|(% style="width:126px" %)[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|(% style="width:159px" %)[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]]|(% style="width:114px" %)(((
177 177  MOD & Digital Interrupt
178 178  
179 179  (Optional)
180 180  )))
181 181  
171 +[[image:1654504881641-514.png]]
182 182  
183 183  
174 +
184 184  === 2.3.2 MOD~=1(Original value) ===
185 185  
186 186  This mode can get the original AD value of moisture and original conductivity (with temperature drift compensation).
187 187  
188 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
189 -|(((
179 +(% border="1" cellspacing="10" style="background-color:#f7faff; width:510px" %)
180 +|=(((
190 190  **Size**
191 191  
192 192  **(bytes)**
193 -)))|**2**|**2**|**2**|**2**|**2**|**1**
194 -|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
184 +)))|=**2**|=**2**|=**2**|=**2**|=**2**|=**1**
185 +|**Value**|[[BAT>>path:#bat]]|(((
195 195  Temperature
196 196  
197 197  (Reserve, Ignore now)
198 -)))|[[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)|(((
199 199  MOD & Digital Interrupt
200 200  
201 201  (Optional)
202 202  )))
203 203  
195 +[[image:1654504907647-967.png]]
204 204  
205 205  
198 +
206 206  === 2.3.3 Battery Info ===
207 207  
208 -(((
209 209  Check the battery voltage for LSE01.
210 -)))
211 211  
212 -(((
213 213  Ex1: 0x0B45 = 2885mV
214 -)))
215 215  
216 -(((
217 217  Ex2: 0x0B49 = 2889mV
218 -)))
219 219  
220 220  
221 221  
222 222  === 2.3.4 Soil Moisture ===
223 223  
224 -(((
225 225  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.
226 -)))
227 227  
228 -(((
229 229  For example, if the data you get from the register is __0x05 0xDC__, the moisture content in the soil is
230 -)))
231 231  
232 -(((
233 -
234 -)))
235 235  
236 -(((
237 237  (% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.**
238 -)))
239 239  
240 240  
241 241  
242 242  === 2.3.5 Soil Temperature ===
243 243  
244 -(((
245 245   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
246 -)))
247 247  
248 -(((
249 249  **Example**:
250 -)))
251 251  
252 -(((
253 253  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
254 -)))
255 255  
256 -(((
257 257  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
258 -)))
259 259  
260 260  
261 261  
... ... @@ -290,7 +290,7 @@
290 290  mod=(bytes[10]>>7)&0x01=1.
291 291  
292 292  
293 -**Downlink Command:**
263 +Downlink Command:
294 294  
295 295  If payload = 0x0A00, workmode=0
296 296  
... ... @@ -305,21 +305,19 @@
305 305  
306 306  [[image:1654505570700-128.png]]
307 307  
308 -(((
309 309  The payload decoder function for TTN is here:
310 -)))
311 311  
312 -(((
313 -LSE01 TTN Payload Decoder: [[https:~~/~~/www.dropbox.com/sh/si8icbrjlamxqdb/AAACYwjsxxr5fj_vpqRtrETAa?dl=0>>https://www.dropbox.com/sh/si8icbrjlamxqdb/AAACYwjsxxr5fj_vpqRtrETAa?dl=0]]
314 -)))
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/]]
315 315  
316 316  
317 317  == 2.4 Uplink Interval ==
318 318  
319 -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:
320 320  
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]]
321 321  
322 322  
290 +
323 323  == 2.5 Downlink Payload ==
324 324  
325 325  By default, LSE50 prints the downlink payload to console port.
... ... @@ -327,41 +327,21 @@
327 327  [[image:image-20220606165544-8.png]]
328 328  
329 329  
330 -(((
331 331  **Examples:**
332 -)))
333 333  
334 -(((
335 -
336 -)))
337 337  
338 -* (((
339 -**Set TDC**
340 -)))
301 +* **Set TDC**
341 341  
342 -(((
343 343  If the payload=0100003C, it means set the END Node’s TDC to 0x00003C=60(S), while type code is 01.
344 -)))
345 345  
346 -(((
347 347  Payload:    01 00 00 1E    TDC=30S
348 -)))
349 349  
350 -(((
351 351  Payload:    01 00 00 3C    TDC=60S
352 -)))
353 353  
354 -(((
355 -
356 -)))
357 357  
358 -* (((
359 -**Reset**
360 -)))
310 +* **Reset**
361 361  
362 -(((
363 363  If payload = 0x04FF, it will reset the LSE01
364 -)))
365 365  
366 366  
367 367  * **CFM**
... ... @@ -372,21 +372,12 @@
372 372  
373 373  == 2.6 ​Show Data in DataCake IoT Server ==
374 374  
375 -(((
376 376  [[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:
377 -)))
378 378  
379 -(((
380 -
381 -)))
382 382  
383 -(((
384 -(% style="color:blue" %)**Step 1**(%%):  Be sure that your device is programmed and properly connected to the network at this time.
385 -)))
326 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
386 386  
387 -(((
388 -(% 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:
389 -)))
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:
390 390  
391 391  
392 392  [[image:1654505857935-743.png]]
... ... @@ -394,12 +394,11 @@
394 394  
395 395  [[image:1654505874829-548.png]]
396 396  
336 +Step 3: Create an account or log in Datacake.
397 397  
398 -(% style="color:blue" %)**Step 3**(%%)**:**  Create an account or log in Datacake.
338 +Step 4: Search the LSE01 and add DevEUI.
399 399  
400 -(% style="color:blue" %)**Step 4**(%%)**:**  Search the LSE01 and add DevEUI.
401 401  
402 -
403 403  [[image:1654505905236-553.png]]
404 404  
405 405  
... ... @@ -695,11 +695,6 @@
695 695  * Solid ON for 5 seconds once device successful Join the network.
696 696  * Blink once when device transmit a packet.
697 697  
698 -
699 -
700 -
701 -
702 -
703 703  == 2.9 Installation in Soil ==
704 704  
705 705  **Measurement the soil surface**
... ... @@ -714,7 +714,6 @@
714 714  )))
715 715  
716 716  
717 -
718 718  [[image:1654506665940-119.png]]
719 719  
720 720  (((
... ... @@ -785,7 +785,7 @@
785 785  [[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]]
786 786  )))
787 787  
788 - [[image:image-20220610172436-1.png]]
720 + [[image:image-20220606171726-9.png]]
789 789  
790 790  
791 791  
... ... @@ -820,13 +820,13 @@
820 820  
821 821  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.
822 822  
823 -[[image:1654501986557-872.png||height="391" width="800"]]
755 +[[image:1654501986557-872.png]]
824 824  
825 825  
826 826  Or if you have below board, use below connection:
827 827  
828 828  
829 -[[image:1654502005655-729.png||height="503" width="801"]]
761 +[[image:1654502005655-729.png]]
830 830  
831 831  
832 832  
... ... @@ -833,10 +833,10 @@
833 833  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:
834 834  
835 835  
836 - [[image:1654502050864-459.png||height="564" width="806"]]
768 + [[image:1654502050864-459.png]]
837 837  
838 838  
839 -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/]]
840 840  
841 841  
842 842  (% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>? **(%%) : Help on <CMD>
... ... @@ -948,38 +948,20 @@
948 948  
949 949  == 4.1 ​How to change the LoRa Frequency Bands/Region? ==
950 950  
951 -(((
952 -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"]].
953 953  When downloading the images, choose the required image file for download. ​
954 -)))
955 955  
956 -(((
957 -
958 -)))
959 959  
960 -(((
961 961  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.
962 -)))
963 963  
964 -(((
965 -
966 -)))
967 967  
968 -(((
969 969  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.
970 -)))
971 971  
972 -(((
973 -
974 -)))
975 975  
976 -(((
977 977  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.
978 -)))
979 979  
980 980  [[image:image-20220606154726-3.png]]
981 981  
982 -
983 983  When you use the TTN network, the US915 frequency bands use are:
984 984  
985 985  * 903.9 - SF7BW125 to SF10BW125
... ... @@ -992,26 +992,22 @@
992 992  * 905.3 - SF7BW125 to SF10BW125
993 993  * 904.6 - SF8BW500
994 994  
995 -(((
996 996  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:
997 997  
998 -* (% style="color:#037691" %)**AT+CHE=2**
999 -* (% style="color:#037691" %)**ATZ**
911 +(% class="box infomessage" %)
912 +(((
913 +**AT+CHE=2**
1000 1000  )))
1001 1001  
916 +(% class="box infomessage" %)
1002 1002  (((
1003 -
918 +**ATZ**
919 +)))
1004 1004  
1005 1005  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.
1006 -)))
1007 1007  
1008 -(((
1009 -
1010 -)))
1011 1011  
1012 -(((
1013 1013  The **AU915** band is similar. Below are the AU915 Uplink Channels.
1014 -)))
1015 1015  
1016 1016  [[image:image-20220606154825-4.png]]
1017 1017  
... ... @@ -1026,9 +1026,7 @@
1026 1026  
1027 1027  == 5.2 AT Command input doesn’t work ==
1028 1028  
1029 -(((
1030 1030  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.
1031 -)))
1032 1032  
1033 1033  
1034 1034  == 5.3 Device rejoin in at the second uplink packet ==
... ... @@ -1040,9 +1040,7 @@
1040 1040  
1041 1041  (% style="color:#4f81bd" %)**Cause for this issue:**
1042 1042  
1043 -(((
1044 1044  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.
1045 -)))
1046 1046  
1047 1047  
1048 1048  (% style="color:#4f81bd" %)**Solution: **
... ... @@ -1049,7 +1049,7 @@
1049 1049  
1050 1050  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:
1051 1051  
1052 -[[image:1654500929571-736.png||height="458" width="832"]]
958 +[[image:1654500929571-736.png]]
1053 1053  
1054 1054  
1055 1055  = 6. ​Order Info =
... ... @@ -1082,9 +1082,7 @@
1082 1082  = 7. Packing Info =
1083 1083  
1084 1084  (((
1085 -
1086 -
1087 -(% style="color:#037691" %)**Package Includes**:
991 +**Package Includes**:
1088 1088  )))
1089 1089  
1090 1090  * (((
... ... @@ -1093,8 +1093,10 @@
1093 1093  
1094 1094  (((
1095 1095  
1000 +)))
1096 1096  
1097 -(% style="color:#037691" %)**Dimension and weight**:
1002 +(((
1003 +**Dimension and weight**:
1098 1098  )))
1099 1099  
1100 1100  * (((
... ... @@ -1109,6 +1109,7 @@
1109 1109  * (((
1110 1110  Weight / pcs : g
1111 1111  
1018 +
1112 1112  
1113 1113  )))
1114 1114  
... ... @@ -1116,3 +1116,5 @@
1116 1116  
1117 1117  * 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.
1118 1118  * 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-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0