<
From version < 33.2 >
edited by Xiaoling
on 2022/06/07 11:43
To version < 31.15 >
edited by Xiaoling
on 2022/06/07 09:25
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,15 +3,11 @@
3 3  
4 4  
5 5  
6 -**Contents:**
7 7  
8 -{{toc/}}
9 9  
10 10  
11 11  
12 12  
13 -
14 -
15 15  = 1. Introduction =
16 16  
17 17  == 1.1 ​What is LoRaWAN Soil Moisture & EC Sensor ==
... ... @@ -91,7 +91,7 @@
91 91  )))
92 92  
93 93  (((
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.200BUsingtheATCommands"]].
90 +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"]].
95 95  )))
96 96  
97 97  
... ... @@ -144,107 +144,86 @@
144 144  
145 145  == 2.3 Uplink Payload ==
146 146  
147 -=== ===
148 -
149 149  === 2.3.1 MOD~=0(Default Mode) ===
150 150  
151 151  LSE01 will uplink payload via LoRaWAN with below payload format: 
152 152  
153 -(((
147 +
154 154  Uplink payload includes in total 11 bytes.
155 -)))
149 +
156 156  
157 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
158 158  |(((
159 159  **Size**
160 160  
161 161  **(bytes)**
162 162  )))|**2**|**2**|**2**|**2**|**2**|**1**
163 -|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
156 +|**Value**|[[BAT>>path:#bat]]|(((
164 164  Temperature
165 165  
166 166  (Reserve, Ignore now)
167 -)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]]|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]]|(((
160 +)))|[[Soil Moisture>>path:#soil_moisture]]|[[Soil Temperature>>path:#soil_tem]]|[[Soil Conductivity (EC)>>path:#EC]]|(((
168 168  MOD & Digital Interrupt
169 169  
170 170  (Optional)
171 171  )))
172 172  
166 +[[image:1654504881641-514.png]]
173 173  
168 +
169 +
174 174  === 2.3.2 MOD~=1(Original value) ===
175 175  
176 176  This mode can get the original AD value of moisture and original conductivity (with temperature drift compensation).
177 177  
178 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
179 179  |(((
180 180  **Size**
181 181  
182 182  **(bytes)**
183 183  )))|**2**|**2**|**2**|**2**|**2**|**1**
184 -|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
179 +|**Value**|[[BAT>>path:#bat]]|(((
185 185  Temperature
186 186  
187 187  (Reserve, Ignore now)
188 -)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]](raw)|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]](raw)|(((
183 +)))|[[Soil Moisture>>path:#soil_moisture]](raw)|[[Soil Temperature>>path:#soil_tem]]|[[Soil Conductivity (EC)>>path:#EC]](raw)|(((
189 189  MOD & Digital Interrupt
190 190  
191 191  (Optional)
192 192  )))
193 193  
189 +[[image:1654504907647-967.png]]
194 194  
191 +
192 +
195 195  === 2.3.3 Battery Info ===
196 196  
197 -(((
198 198  Check the battery voltage for LSE01.
199 -)))
200 200  
201 -(((
202 202  Ex1: 0x0B45 = 2885mV
203 -)))
204 204  
205 -(((
206 206  Ex2: 0x0B49 = 2889mV
207 -)))
208 208  
209 209  
210 210  
211 211  === 2.3.4 Soil Moisture ===
212 212  
213 -(((
214 214  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.
215 -)))
216 216  
217 -(((
218 218  For example, if the data you get from the register is __0x05 0xDC__, the moisture content in the soil is
219 -)))
220 220  
221 -(((
222 -
223 -)))
224 224  
225 -(((
226 226  (% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.**
227 -)))
228 228  
229 229  
230 230  
231 231  === 2.3.5 Soil Temperature ===
232 232  
233 -(((
234 234   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
235 -)))
236 236  
237 -(((
238 238  **Example**:
239 -)))
240 240  
241 -(((
242 242  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
243 -)))
244 244  
245 -(((
246 246  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
247 -)))
248 248  
249 249  
250 250  
... ... @@ -279,7 +279,7 @@
279 279  mod=(bytes[10]>>7)&0x01=1.
280 280  
281 281  
282 -**Downlink Command:**
257 +Downlink Command:
283 283  
284 284  If payload = 0x0A00, workmode=0
285 285  
... ... @@ -294,22 +294,19 @@
294 294  
295 295  [[image:1654505570700-128.png]]
296 296  
297 -(((
298 298  The payload decoder function for TTN is here:
299 -)))
300 300  
301 -(((
302 302  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/]]
303 -)))
304 304  
305 305  
306 -
307 307  == 2.4 Uplink Interval ==
308 308  
309 -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"]]
279 +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:
310 310  
281 +[[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]]
311 311  
312 312  
284 +
313 313  == 2.5 Downlink Payload ==
314 314  
315 315  By default, LSE50 prints the downlink payload to console port.
... ... @@ -317,41 +317,21 @@
317 317  [[image:image-20220606165544-8.png]]
318 318  
319 319  
320 -(((
321 321  **Examples:**
322 -)))
323 323  
324 -(((
325 -
326 -)))
327 327  
328 -* (((
329 -**Set TDC**
330 -)))
295 +* **Set TDC**
331 331  
332 -(((
333 333  If the payload=0100003C, it means set the END Node’s TDC to 0x00003C=60(S), while type code is 01.
334 -)))
335 335  
336 -(((
337 337  Payload:    01 00 00 1E    TDC=30S
338 -)))
339 339  
340 -(((
341 341  Payload:    01 00 00 3C    TDC=60S
342 -)))
343 343  
344 -(((
345 -
346 -)))
347 347  
348 -* (((
349 -**Reset**
350 -)))
304 +* **Reset**
351 351  
352 -(((
353 353  If payload = 0x04FF, it will reset the LSE01
354 -)))
355 355  
356 356  
357 357  * **CFM**
... ... @@ -362,21 +362,12 @@
362 362  
363 363  == 2.6 ​Show Data in DataCake IoT Server ==
364 364  
365 -(((
366 366  [[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:
367 -)))
368 368  
369 -(((
370 -
371 -)))
372 372  
373 -(((
374 374  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
375 -)))
376 376  
377 -(((
378 378  **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:
379 -)))
380 380  
381 381  
382 382  [[image:1654505857935-743.png]]
... ... @@ -684,7 +684,6 @@
684 684  * Solid ON for 5 seconds once device successful Join the network.
685 685  * Blink once when device transmit a packet.
686 686  
687 -
688 688  == 2.9 Installation in Soil ==
689 689  
690 690  **Measurement the soil surface**
... ... @@ -804,13 +804,13 @@
804 804  
805 805  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.
806 806  
807 -[[image:1654501986557-872.png||height="391" width="800"]]
749 +[[image:1654501986557-872.png]]
808 808  
809 809  
810 810  Or if you have below board, use below connection:
811 811  
812 812  
813 -[[image:1654502005655-729.png||height="503" width="801"]]
755 +[[image:1654502005655-729.png]]
814 814  
815 815  
816 816  
... ... @@ -817,7 +817,7 @@
817 817  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:
818 818  
819 819  
820 - [[image:1654502050864-459.png||height="564" width="806"]]
762 + [[image:1654502050864-459.png]]
821 821  
822 822  
823 823  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/]]
... ... @@ -932,38 +932,20 @@
932 932  
933 933  == 4.1 ​How to change the LoRa Frequency Bands/Region? ==
934 934  
935 -(((
936 -You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
877 +You can follow the instructions for [[how to upgrade image>>||anchor="H2.10FirmwareChangeLog"]].
937 937  When downloading the images, choose the required image file for download. ​
938 -)))
939 939  
940 -(((
941 -
942 -)))
943 943  
944 -(((
945 945  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.
946 -)))
947 947  
948 -(((
949 -
950 -)))
951 951  
952 -(((
953 953  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.
954 -)))
955 955  
956 -(((
957 -
958 -)))
959 959  
960 -(((
961 961  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.
962 -)))
963 963  
964 964  [[image:image-20220606154726-3.png]]
965 965  
966 -
967 967  When you use the TTN network, the US915 frequency bands use are:
968 968  
969 969  * 903.9 - SF7BW125 to SF10BW125
... ... @@ -976,9 +976,7 @@
976 976  * 905.3 - SF7BW125 to SF10BW125
977 977  * 904.6 - SF8BW500
978 978  
979 -(((
980 980  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:
981 -)))
982 982  
983 983  (% class="box infomessage" %)
984 984  (((
... ... @@ -990,17 +990,10 @@
990 990  **ATZ**
991 991  )))
992 992  
993 -(((
994 994  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.
995 -)))
996 996  
997 -(((
998 -
999 -)))
1000 1000  
1001 -(((
1002 1002  The **AU915** band is similar. Below are the AU915 Uplink Channels.
1003 -)))
1004 1004  
1005 1005  [[image:image-20220606154825-4.png]]
1006 1006  
... ... @@ -1015,9 +1015,7 @@
1015 1015  
1016 1016  == 5.2 AT Command input doesn’t work ==
1017 1017  
1018 -(((
1019 1019  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.
1020 -)))
1021 1021  
1022 1022  
1023 1023  == 5.3 Device rejoin in at the second uplink packet ==
... ... @@ -1029,9 +1029,7 @@
1029 1029  
1030 1030  (% style="color:#4f81bd" %)**Cause for this issue:**
1031 1031  
1032 -(((
1033 1033  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.
1034 -)))
1035 1035  
1036 1036  
1037 1037  (% style="color:#4f81bd" %)**Solution: **
... ... @@ -1038,7 +1038,7 @@
1038 1038  
1039 1039  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:
1040 1040  
1041 -[[image:1654500929571-736.png||height="458" width="832"]]
952 +[[image:1654500929571-736.png]]
1042 1042  
1043 1043  
1044 1044  = 6. ​Order Info =
... ... @@ -1071,9 +1071,7 @@
1071 1071  = 7. Packing Info =
1072 1072  
1073 1073  (((
1074 -
1075 -
1076 -(% style="color:#037691" %)**Package Includes**:
985 +**Package Includes**:
1077 1077  )))
1078 1078  
1079 1079  * (((
... ... @@ -1082,8 +1082,10 @@
1082 1082  
1083 1083  (((
1084 1084  
994 +)))
1085 1085  
1086 -(% style="color:#037691" %)**Dimension and weight**:
996 +(((
997 +**Dimension and weight**:
1087 1087  )))
1088 1088  
1089 1089  * (((
... ... @@ -1098,6 +1098,7 @@
1098 1098  * (((
1099 1099  Weight / pcs : g
1100 1100  
1012 +
1101 1101  
1102 1102  )))
1103 1103  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0