<
From version < 32.8 >
edited by Xiaoling
on 2022/06/07 11:36
To version < 32.15 >
edited by Xiaoling
on 2022/06/07 11:40
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -142,11 +142,16 @@
142 142  
143 143  == 2.3 Uplink Payload ==
144 144  
145 +(% class="wikigeneratedid" %)
146 +=== ===
147 +
145 145  === 2.3.1 MOD~=0(Default Mode) ===
146 146  
147 147  LSE01 will uplink payload via LoRaWAN with below payload format: 
148 148  
152 +(((
149 149  Uplink payload includes in total 11 bytes.
154 +)))
150 150  
151 151  (% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
152 152  |(((
... ... @@ -190,34 +190,57 @@
190 190  
191 191  === 2.3.3 Battery Info ===
192 192  
198 +(((
193 193  Check the battery voltage for LSE01.
200 +)))
194 194  
202 +(((
195 195  Ex1: 0x0B45 = 2885mV
204 +)))
196 196  
206 +(((
197 197  Ex2: 0x0B49 = 2889mV
208 +)))
198 198  
199 199  
200 200  
201 201  === 2.3.4 Soil Moisture ===
202 202  
214 +(((
203 203  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 +)))
204 204  
218 +(((
205 205  For example, if the data you get from the register is __0x05 0xDC__, the moisture content in the soil is
220 +)))
206 206  
222 +(((
223 +
224 +)))
207 207  
226 +(((
208 208  (% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.**
228 +)))
209 209  
210 210  
211 211  
212 212  === 2.3.5 Soil Temperature ===
213 213  
234 +(((
214 214   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 +)))
215 215  
238 +(((
216 216  **Example**:
240 +)))
217 217  
242 +(((
218 218  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
244 +)))
219 219  
246 +(((
220 220  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
248 +)))
221 221  
222 222  
223 223  
... ... @@ -267,9 +267,13 @@
267 267  
268 268  [[image:1654505570700-128.png]]
269 269  
298 +(((
270 270  The payload decoder function for TTN is here:
300 +)))
271 271  
302 +(((
272 272  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 +)))
273 273  
274 274  
275 275  
... ... @@ -286,21 +286,41 @@
286 286  [[image:image-20220606165544-8.png]]
287 287  
288 288  
321 +(((
289 289  **Examples:**
323 +)))
290 290  
325 +(((
326 +
327 +)))
291 291  
292 -* **Set TDC**
329 +* (((
330 +**Set TDC**
331 +)))
293 293  
333 +(((
294 294  If the payload=0100003C, it means set the END Node’s TDC to 0x00003C=60(S), while type code is 01.
335 +)))
295 295  
337 +(((
296 296  Payload:    01 00 00 1E    TDC=30S
339 +)))
297 297  
341 +(((
298 298  Payload:    01 00 00 3C    TDC=60S
343 +)))
299 299  
345 +(((
346 +
347 +)))
300 300  
301 -* **Reset**
349 +* (((
350 +**Reset**
351 +)))
302 302  
353 +(((
303 303  If payload = 0x04FF, it will reset the LSE01
355 +)))
304 304  
305 305  
306 306  * **CFM**
... ... @@ -311,12 +311,21 @@
311 311  
312 312  == 2.6 ​Show Data in DataCake IoT Server ==
313 313  
366 +(((
314 314  [[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 +)))
315 315  
370 +(((
371 +
372 +)))
316 316  
374 +(((
317 317  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
376 +)))
318 318  
378 +(((
319 319  **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 +)))
320 320  
321 321  
322 322  [[image:1654505857935-743.png]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0