<
From version < 32.2 >
edited by Xiaoling
on 2022/06/07 11:19
To version < 35.5 >
edited by Xiaoling
on 2022/06/14 14:03
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,7 +3,7 @@
3 3  
4 4  
5 5  
6 -**Contents:**
6 +**Table of Contents:**
7 7  
8 8  {{toc/}}
9 9  
... ... @@ -17,6 +17,8 @@
17 17  == 1.1 ​What is LoRaWAN Soil Moisture & EC Sensor ==
18 18  
19 19  (((
20 +
21 +
20 20  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.
21 21  )))
22 22  
... ... @@ -108,7 +108,7 @@
108 108  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.
109 109  
110 110  
111 -**Step 1**: Create a device in TTN with the OTAA keys from LSE01.
113 +**(% style="color:blue" %)Step 1**(%%):  Create a device in TTN with the OTAA keys from LSE01.
112 112  
113 113  Each LSE01 is shipped with a sticker with the default device EUI as below:
114 114  
... ... @@ -129,7 +129,7 @@
129 129  
130 130  
131 131  
132 -**Step 2**: Power on LSE01
134 +**(% style="color:blue" %)Step 2**(%%): Power on LSE01
133 133  
134 134  
135 135  Put a Jumper on JP2 to power on the device. ( The Jumper must be in FLASH position).
... ... @@ -145,114 +145,105 @@
145 145  
146 146  == 2.3 Uplink Payload ==
147 147  
150 +=== ===
151 +
148 148  === 2.3.1 MOD~=0(Default Mode) ===
149 149  
150 150  LSE01 will uplink payload via LoRaWAN with below payload format: 
151 151  
152 -
156 +(((
153 153  Uplink payload includes in total 11 bytes.
154 -
158 +)))
155 155  
156 -(% border="1" cellspacing="10" style="background-color:#f7faff; width:510px" %)
157 -|=(((
160 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
161 +|(((
158 158  **Size**
159 159  
160 160  **(bytes)**
161 -)))|=(% style="width: 45px;" %)**2**|=(% style="width: 80px;" %)**2**|=(% style="width: 80px;" %)**2**|=(% style="width: 80px;" %)**2**|=(% style="width: 80px;" %)**2**|=(% style="width: 80px;" %)**1**
162 -|**Value**|(% style="width:45px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:80px" %)(((
163 -(((
165 +)))|**2**|**2**|**2**|**2**|**2**|**1**
166 +|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
164 164  Temperature
165 165  
166 -(((
167 167  (Reserve, Ignore now)
168 -)))
169 -
170 -~|(% style="width:80px" %)[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]]|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]]|
171 -
172 -(% style="width:80px" %)
173 -(((
174 -(((
170 +)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]]|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]]|(((
175 175  MOD & Digital Interrupt
176 176  
177 -(((
178 178  (Optional)
179 179  )))
180 -)))
181 181  
182 -[[image:1654504881641-514.png]]
183 -
184 -
185 -
186 186  === 2.3.2 MOD~=1(Original value) ===
187 187  
188 188  This mode can get the original AD value of moisture and original conductivity (with temperature drift compensation).
189 189  
190 -(% border="1" cellspacing="10" style="background-color:#f7faff; width:510px" %)
191 -|=(((
180 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
181 +|(((
192 192  **Size**
193 193  
194 194  **(bytes)**
195 -)))|=**2**|=**2**|=**2**|=**2**|=**2**|=**1**
185 +)))|**2**|**2**|**2**|**2**|**2**|**1**
196 196  |**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
197 -(((
198 198  Temperature
199 199  
200 -(((
201 201  (Reserve, Ignore now)
202 -)))
203 -)))
204 -
205 -~|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]]|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|
206 -
207 -(((
208 -[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]](raw)
209 -)))
210 -
211 -~|
212 -
213 -(((
214 -(((
190 +)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]](raw)|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]](raw)|(((
215 215  MOD & Digital Interrupt
216 -)))
217 217  
218 218  (Optional)
219 219  )))
220 -)))
221 221  
222 -[[image:1654504907647-967.png]]
223 -
224 -
225 -
226 226  === 2.3.3 Battery Info ===
227 227  
198 +(((
228 228  Check the battery voltage for LSE01.
200 +)))
229 229  
202 +(((
230 230  Ex1: 0x0B45 = 2885mV
204 +)))
231 231  
206 +(((
232 232  Ex2: 0x0B49 = 2889mV
208 +)))
233 233  
234 234  
235 235  
236 236  === 2.3.4 Soil Moisture ===
237 237  
214 +(((
238 238  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.
216 +)))
239 239  
218 +(((
240 240  For example, if the data you get from the register is __0x05 0xDC__, the moisture content in the soil is
220 +)))
241 241  
222 +(((
223 +
224 +)))
242 242  
226 +(((
243 243  (% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.**
228 +)))
244 244  
245 245  
246 246  
247 247  === 2.3.5 Soil Temperature ===
248 248  
234 +(((
249 249   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
236 +)))
250 250  
238 +(((
251 251  **Example**:
240 +)))
252 252  
242 +(((
253 253  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
244 +)))
254 254  
246 +(((
255 255  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
248 +)))
256 256  
257 257  
258 258  
... ... @@ -302,9 +302,13 @@
302 302  
303 303  [[image:1654505570700-128.png]]
304 304  
298 +(((
305 305  The payload decoder function for TTN is here:
300 +)))
306 306  
302 +(((
307 307  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/]]
304 +)))
308 308  
309 309  
310 310  
... ... @@ -321,21 +321,41 @@
321 321  [[image:image-20220606165544-8.png]]
322 322  
323 323  
321 +(((
324 324  **Examples:**
323 +)))
325 325  
325 +(((
326 +
327 +)))
326 326  
327 -* **Set TDC**
329 +* (((
330 +**Set TDC**
331 +)))
328 328  
333 +(((
329 329  If the payload=0100003C, it means set the END Node’s TDC to 0x00003C=60(S), while type code is 01.
335 +)))
330 330  
337 +(((
331 331  Payload:    01 00 00 1E    TDC=30S
339 +)))
332 332  
341 +(((
333 333  Payload:    01 00 00 3C    TDC=60S
343 +)))
334 334  
345 +(((
346 +
347 +)))
335 335  
336 -* **Reset**
349 +* (((
350 +**Reset**
351 +)))
337 337  
353 +(((
338 338  If payload = 0x04FF, it will reset the LSE01
355 +)))
339 339  
340 340  
341 341  * **CFM**
... ... @@ -346,12 +346,21 @@
346 346  
347 347  == 2.6 ​Show Data in DataCake IoT Server ==
348 348  
366 +(((
349 349  [[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:
368 +)))
350 350  
370 +(((
371 +
372 +)))
351 351  
374 +(((
352 352  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
376 +)))
353 353  
378 +(((
354 354  **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:
380 +)))
355 355  
356 356  
357 357  [[image:1654505857935-743.png]]
... ... @@ -743,7 +743,7 @@
743 743  [[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]]
744 744  )))
745 745  
746 - [[image:image-20220606171726-9.png]]
772 + [[image:image-20220610172436-1.png]]
747 747  
748 748  
749 749  
... ... @@ -1072,7 +1072,6 @@
1072 1072  * (((
1073 1073  Weight / pcs : g
1074 1074  
1075 -
1076 1076  
1077 1077  )))
1078 1078  
... ... @@ -1080,8 +1080,3 @@
1080 1080  
1081 1081  * 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.
1082 1082  * 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]]
1083 -
1084 -
1085 -)))
1086 -)))
1087 -)))
image-20220610172436-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +370.3 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0