<
From version < 109.6 >
edited by Xiaoling
on 2022/06/10 13:49
To version < 100.7 >
edited by Xiaoling
on 2022/06/10 11:35
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -81,7 +81,7 @@
81 81  * Automatic control
82 82  * Sewer
83 83  
84 -== 1.6  Pin mapping and power on ==
84 +== 1.6 Pin mapping and power on ==
85 85  
86 86  
87 87  [[image:1654827332142-133.png]]
... ... @@ -88,11 +88,10 @@
88 88  
89 89  
90 90  
91 += 2. Configure LLDS12 to connect to LoRaWAN network =
91 91  
92 -= 2.  Configure LLDS12 to connect to LoRaWAN network =
93 +== 2.1 How it works ==
93 93  
94 -== 2.1  How it works ==
95 -
96 96  (((
97 97  The LLDS12 is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and power on the LLDS12. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
98 98  )))
... ... @@ -102,7 +102,7 @@
102 102  )))
103 103  
104 104  
105 -== 2.2  ​Quick guide to connect to LoRaWAN server (OTAA) ==
104 +== 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
106 106  
107 107  (((
108 108  Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LG308>>url:http://www.dragino.com/products/lora/item/140-lg308.html]] as a LoRaWAN gateway in this example.
... ... @@ -137,13 +137,11 @@
137 137  [[image:1654592600093-601.png]]
138 138  
139 139  
140 -
141 141  **Add APP EUI and DEV EUI**
142 142  
143 143  [[image:1654592619856-881.png]]
144 144  
145 145  
146 -
147 147  **Add APP EUI in the application**
148 148  
149 149  [[image:1654592632656-512.png]]
... ... @@ -155,7 +155,7 @@
155 155  [[image:1654592653453-934.png]]
156 156  
157 157  
158 -(% style="color:blue" %)**Step 2**(%%): Power on LLDS12
155 +(% style="color:blue" %)**Step 2**(%%): Power on LSPH01
159 159  
160 160  
161 161  Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position).
... ... @@ -164,17 +164,17 @@
164 164  
165 165  
166 166  (((
167 -(% style="color:blue" %)**Step 3**(%%)**:** The LLDS12 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.
164 +(% style="color:blue" %)**Step 3**(%%)**:** The LSPH01 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.
168 168  )))
169 169  
170 -[[image:1654833501679-968.png]]
167 +[[image:1654592697690-910.png]]
171 171  
172 172  
173 173  
174 -== 2.3  ​Uplink Payload ==
171 +== 2.3 ​Uplink Payload ==
175 175  
176 176  (((
177 -LLDS12 will uplink payload via LoRaWAN with below payload format: 
174 +LSPH01 will uplink payload via LoRaWAN with below payload format: 
178 178  )))
179 179  
180 180  (((
... ... @@ -182,7 +182,7 @@
182 182  )))
183 183  
184 184  (((
185 -
182 +Normal uplink payload:
186 186  )))
187 187  
188 188  (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
... ... @@ -192,21 +192,21 @@
192 192  |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)(((
193 193  [[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
194 194  
195 -[[DS18B20>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
196 -)))|[[Distance>>||anchor="H"]]|[[Distance signal strength>>||anchor="H2.3.4SoilTemperature"]]|(((
197 -[[Interrupt flag>>||anchor="H2.3.5InterruptPin"]]
198 -)))|[[LiDAR temp>>||anchor="H"]]|(((
192 +[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
193 +)))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((
194 +[[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]]
195 +)))|Reserve|(((
199 199  [[Message Type>>||anchor="H2.3.6MessageType"]]
200 200  )))
201 201  
202 -[[image:1654833689380-972.png]]
199 +[[image:1654592721645-318.png]]
203 203  
204 204  
205 205  
206 -=== 2.3.1  Battery Info ===
203 +=== 2.3.1 Battery Info ===
207 207  
208 208  
209 -Check the battery voltage for LLDS12.
206 +Check the battery voltage for LSPH01.
210 210  
211 211  Ex1: 0x0B45 = 2885mV
212 212  
... ... @@ -214,7 +214,7 @@
214 214  
215 215  
216 216  
217 -=== 2.3.2  DS18B20 Temperature sensor ===
214 +=== 2.3.2 DS18B20 Temperature sensor ===
218 218  
219 219  This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
220 220  
... ... @@ -227,27 +227,26 @@
227 227  
228 228  
229 229  
230 -=== 2.3.3  Distance ===
227 +=== 2.3.3 Soil pH ===
231 231  
232 -Represents the distance value of the measurement output, the default unit is cm, and the value range parsed as a decimal number is 0-1200. In actual use, when the signal strength value Strength.
229 +Range: 0 ~~ 14 pH
233 233  
231 +**Example:**
234 234  
235 -**Example**:
233 +(% style="color:#037691" %)** 0x02B7(H) = 695(D) = 6.95pH**
236 236  
237 -If the data you get from the register is 0x0B 0xEA, the distance between the sensor and the measured object is 0BEA(H) = 3050 (D)/10 = 305cm.
238 238  
239 239  
237 +=== 2.3.4 Soil Temperature ===
240 240  
241 -=== 2.3.4  Distance signal strength ===
239 +Get Soil Temperature 
242 242  
243 -Refers to the signal strength, the default output value will be between 0-65535. When the distance measurement gear is fixed, the farther the distance measurement is, the lower the signal strength; the lower the target reflectivity, the lower the signal strength. When Strength is greater than 100 and not equal to 65535, the measured value of Dist is considered credible.
244 244  
245 -
246 246  **Example**:
247 247  
248 -If payload is: 01D7(H)=471(D), distance signal strength=471, 471>100,471≠65535, the measured value of Dist is considered credible.
244 +If payload is: **0105H**:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
249 249  
250 -Customers can judge whether they need to adjust the environment based on the signal strength.
246 +If payload is: **FF3FH** (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
251 251  
252 252  
253 253  
... ... @@ -298,13 +298,13 @@
298 298  
299 299  
300 300  
301 -== 2.4  Uplink Interval ==
297 +== 2.4 Uplink Interval ==
302 302  
303 -The LLDS12 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"]]
299 +The LSPH01 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"]]
304 304  
305 305  
306 306  
307 -== 2.5  ​Show Data in DataCake IoT Server ==
303 +== 2.5 ​Show Data in DataCake IoT Server ==
308 308  
309 309  (((
310 310  [[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:
... ... @@ -331,40 +331,167 @@
331 331  
332 332  (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
333 333  
334 -(% style="color:blue" %)**Step 4**(%%)**: Create LLDS12 product.**
330 +(% style="color:blue" %)**Step 4**(%%)**: Create LSPH01 product.**
335 335  
336 -[[image:1654832691989-514.png]]
332 +[[image:1654592819047-535.png]]
337 337  
338 338  
335 +
339 339  [[image:1654592833877-762.png]]
340 340  
341 341  
342 -[[image:1654832740634-933.png]]
339 +[[image:1654592856403-259.png]]
343 343  
344 344  
345 -
346 346  (((
347 347  (% style="color:blue" %)**Step 5**(%%)**: add payload decode**
348 348  )))
349 349  
350 350  (((
347 +Download Datacake decoder from: [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSNPK01/Decoder/]]
348 +)))
349 +
350 +
351 +[[image:1654592878525-845.png]]
352 +
353 +[[image:1654592892967-474.png]]
354 +
355 +
356 +[[image:1654592905354-123.png]]
357 +
358 +
359 +After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
360 +
361 +
362 +[[image:1654592917530-261.png]]
363 +
364 +
365 +
366 +== 2.6 Installation and Maintain ==
367 +
368 +=== 2.6.1 Before measurement ===
369 +
370 +(((
371 +(((
372 +If the LSPH01 has more than 7 days not use or just clean the pH probe. User should put the probe inside pure water for more than 24 hours for activation. If no put in water, user need to put inside soil for more than 24 hours to ensure the measurement accuracy. 
373 +)))
374 +)))
375 +
376 +
377 +
378 +=== 2.6.2 Measurement ===
379 +
380 +
381 +(((
382 +(% style="color:#4f81bd" %)**Measurement the soil surface:**
383 +)))
384 +
385 +(((
386 +[[image:1654592946732-634.png]]
387 +)))
388 +
389 +(((
390 +Choose the proper measuring position. Split the surface soil according to the measured deep.
391 +)))
392 +
393 +(((
394 +Put pure water, or rainwater to make the soil of measurement point to moist mud. Remove rocks or hard things.
395 +)))
396 +
397 +(((
398 +Slowly insert the probe to the measure point. Don’t use large force which will break the probe. Make sure not shake when inserting.
399 +)))
400 +
401 +(((
402 +Put soil over the probe after insert. And start to measure.
403 +)))
404 +
405 +(((
351 351  
352 352  )))
353 353  
354 -[[image:1654833065139-942.png]]
409 +(((
410 +(% style="color:#4f81bd" %)**Measurement inside soil:**
411 +)))
355 355  
413 +(((
414 +Dig a hole with diameter > 20CM.
415 +)))
356 356  
417 +(((
418 +Insert the probe inside, method like measure the surface.
419 +)))
357 357  
358 -[[image:1654833092678-390.png]]
359 359  
360 360  
423 +=== 2.6.3 Maintain Probe ===
361 361  
362 -After added, the sensor data arrive TTN, it will also arrive and show in Datacake.
425 +1. (((
426 +pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
427 +)))
428 +1. (((
429 +After long time use (3~~ 6  months). The probe electrode needs to be clean; user can use high grade sandpaper to polish it or put in 5% hydrochloric acid for several minutes. After the metal probe looks like new, user can use pure water to wash it.
430 +)))
431 +1. (((
432 +Probe reference electrode is also no strong, need to avoid strong force or hitting.
433 +)))
434 +1. (((
435 +User should keep reference electrode wet while not use.
436 +)))
437 +1. (((
438 +Avoid the probes to touch oily matter. Which will cause issue in accuracy.
439 +)))
440 +1. (((
441 +The probe is IP68 can be put in water.
363 363  
364 -[[image:1654833163048-332.png]]
365 365  
444 +
445 +)))
366 366  
447 +== 2.7 Calibration ==
367 367  
449 +(((
450 +User can do calibration for the probe. It is limited to use below pH buffer solution to calibrate: 4.00, 6.86, 9.18. When calibration, user need to clean the electrode and put the probe in the pH buffer solution to wait the value stable ( a new clean electrode might need max 24 hours to be stable).
451 +)))
452 +
453 +(((
454 +After stable, user can use below command to calibrate.
455 +)))
456 +
457 +[[image:image-20220607171149-4.png]]
458 +
459 +
460 +(% style="color:#037691" %)**Calibration Payload**
461 +
462 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
463 +|=(% style="width: 62.5px;" %)(((
464 +**Size (bytes)**
465 +)))|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**7**|=(% style="width: 89px;" %)**1**
466 +|**Value**|(((
467 +PH4
468 +
469 +Calibrate value
470 +)))|PH6.86 Calibrate value|(((
471 +PH9.18
472 +
473 +Calibrate value
474 +)))|Reserve|(((
475 +[[Message Type>>||anchor="H2.3.6MessageType"]]
476 +
477 +Always 0x03
478 +)))
479 +
480 +User can also send 0x14 downlink command to poll the current calibration payload.
481 +
482 +[[image:image-20220607171416-7.jpeg]]
483 +
484 +
485 +* Reply to the confirmation package: 14 01
486 +* Reply to non-confirmed packet: 14 00
487 +
488 +
489 +
490 +
368 368  == 2.6  Frequency Plans ==
369 369  
370 370  (((
... ... @@ -432,7 +432,7 @@
432 432  
433 433  
434 434  
435 -=== 2.6.2  US902-928(US915) ===
558 +=== 2.8.2 US902-928(US915) ===
436 436  
437 437  (((
438 438  Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
... ... @@ -449,7 +449,7 @@
449 449  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
450 450  * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
451 451  
452 -=== 2.6.3 CN470-510 (CN470) ===
575 +=== 2.8.3 CN470-510 (CN470) ===
453 453  
454 454  (((
455 455  Used in China, Default use CHE=1
... ... @@ -537,9 +537,8 @@
537 537  
538 538  
539 539  
663 +=== 2.8.4 AU915-928(AU915) ===
540 540  
541 -=== 2.6.4 AU915-928(AU915) ===
542 -
543 543  (((
544 544  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
545 545  )))
... ... @@ -559,7 +559,7 @@
559 559  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
560 560  * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
561 561  
562 -=== 2.6.5 AS920-923 & AS923-925 (AS923) ===
684 +=== 2.8.5 AS920-923 & AS923-925 (AS923) ===
563 563  
564 564  (((
565 565  (% style="color:blue" %)**Default Uplink channel:**
... ... @@ -667,9 +667,8 @@
667 667  
668 668  
669 669  
792 +=== 2.8.6 KR920-923 (KR920) ===
670 670  
671 -=== 2.6.6 KR920-923 (KR920) ===
672 -
673 673  (((
674 674  (% style="color:blue" %)**Default channel:**
675 675  )))
... ... @@ -740,9 +740,8 @@
740 740  
741 741  
742 742  
864 +=== 2.8.7 IN865-867 (IN865) ===
743 743  
744 -=== 2.6.7 IN865-867 (IN865) ===
745 -
746 746  (((
747 747  (% style="color:blue" %)**Uplink:**
748 748  )))
... ... @@ -777,7 +777,6 @@
777 777  
778 778  
779 779  
780 -
781 781  == 2.7  LED Indicator ==
782 782  
783 783  The LLDS12 has an internal LED which is to show the status of different state.
... ... @@ -785,6 +785,8 @@
785 785  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
786 786  * Blink once when device transmit a packet.
787 787  
907 +
908 +
788 788  == 2.8  ​Firmware Change Log ==
789 789  
790 790  
... ... @@ -843,6 +843,7 @@
843 843  * The LiDAR probe is cover by dirty things; the reading might be wrong. In this case, need to clean the probe.
844 844  * The sensor window is made by Acrylic. Don’t touch it with alcohol material. This will destroy the sensor window.
845 845  
967 +
846 846  = 4.  Configure LLDS12 via AT Command or LoRaWAN Downlink =
847 847  
848 848  (((
... ... @@ -957,6 +957,7 @@
957 957  Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
958 958  )))
959 959  
1082 +
960 960  == 4.3  Get Firmware Version Info ==
961 961  
962 962  Feature: use downlink to get firmware version.
... ... @@ -1238,3 +1238,5 @@
1238 1238  
1239 1239  * 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.
1240 1240  * 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]].
1364 +
1365 +
1654832691989-514.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -112.9 KB
Content
1654832740634-933.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -77.6 KB
Content
1654833065139-942.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -49.2 KB
Content
1654833092678-390.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -63.1 KB
Content
1654833107528-349.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -64.9 KB
Content
1654833163048-332.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -64.9 KB
Content
1654833501679-968.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -58.3 KB
Content
1654833689380-972.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -60.5 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0