<
From version < 109.8 >
edited by Xiaoling
on 2022/06/10 13:55
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,35 +227,33 @@
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  
254 -=== 2.3.5  Interrupt Pin ===
250 +=== 2.3.5 Interrupt Pin ===
255 255  
256 256  This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H3.2SetInterruptMode"]] for the hardware and software set up.
257 257  
258 -Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>path:#pins]].
259 259  
260 260  **Example:**
261 261  
... ... @@ -265,18 +265,8 @@
265 265  
266 266  
267 267  
268 -=== 2.3.6  LiDAR temp ===
263 +=== 2.3.6 Message Type ===
269 269  
270 -Characterize the internal temperature value of the sensor.
271 -
272 -**Example: **
273 -If payload is: 1C(H) <<24>>24=28(D),LiDAR temp=28℃.
274 -If payload is: F2(H) <<24>>24=-14(D),LiDAR temp=-14℃.
275 -
276 -
277 -
278 -=== 2.3.7  Message Type ===
279 -
280 280  (((
281 281  For a normal uplink payload, the message type is always 0x01.
282 282  )))
... ... @@ -290,12 +290,10 @@
290 290  |=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload**
291 291  |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]
292 292  |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]
278 +|(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]]
293 293  
280 +=== 2.3.7 Decode payload in The Things Network ===
294 294  
295 -
296 -
297 -=== 2.3.8  Decode payload in The Things Network ===
298 -
299 299  While using TTN network, you can add the payload format to decode the payload.
300 300  
301 301  
... ... @@ -311,13 +311,13 @@
311 311  
312 312  
313 313  
314 -== 2.4  Uplink Interval ==
297 +== 2.4 Uplink Interval ==
315 315  
316 -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"]]
317 317  
318 318  
319 319  
320 -== 2.5  ​Show Data in DataCake IoT Server ==
303 +== 2.5 ​Show Data in DataCake IoT Server ==
321 321  
322 322  (((
323 323  [[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:
... ... @@ -344,40 +344,167 @@
344 344  
345 345  (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
346 346  
347 -(% style="color:blue" %)**Step 4**(%%)**: Create LLDS12 product.**
330 +(% style="color:blue" %)**Step 4**(%%)**: Create LSPH01 product.**
348 348  
349 -[[image:1654832691989-514.png]]
332 +[[image:1654592819047-535.png]]
350 350  
351 351  
335 +
352 352  [[image:1654592833877-762.png]]
353 353  
354 354  
355 -[[image:1654832740634-933.png]]
339 +[[image:1654592856403-259.png]]
356 356  
357 357  
358 -
359 359  (((
360 360  (% style="color:blue" %)**Step 5**(%%)**: add payload decode**
361 361  )))
362 362  
363 363  (((
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 +(((
364 364  
365 365  )))
366 366  
367 -[[image:1654833065139-942.png]]
409 +(((
410 +(% style="color:#4f81bd" %)**Measurement inside soil:**
411 +)))
368 368  
413 +(((
414 +Dig a hole with diameter > 20CM.
415 +)))
369 369  
417 +(((
418 +Insert the probe inside, method like measure the surface.
419 +)))
370 370  
371 -[[image:1654833092678-390.png]]
372 372  
373 373  
423 +=== 2.6.3 Maintain Probe ===
374 374  
375 -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.
376 376  
377 -[[image:1654833163048-332.png]]
378 378  
444 +
445 +)))
379 379  
447 +== 2.7 Calibration ==
380 380  
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 +
381 381  == 2.6  Frequency Plans ==
382 382  
383 383  (((
... ... @@ -445,7 +445,7 @@
445 445  
446 446  
447 447  
448 -=== 2.6.2  US902-928(US915) ===
558 +=== 2.8.2 US902-928(US915) ===
449 449  
450 450  (((
451 451  Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
... ... @@ -462,7 +462,7 @@
462 462  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
463 463  * 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)
464 464  
465 -=== 2.6.3 CN470-510 (CN470) ===
575 +=== 2.8.3 CN470-510 (CN470) ===
466 466  
467 467  (((
468 468  Used in China, Default use CHE=1
... ... @@ -550,9 +550,8 @@
550 550  
551 551  
552 552  
663 +=== 2.8.4 AU915-928(AU915) ===
553 553  
554 -=== 2.6.4 AU915-928(AU915) ===
555 -
556 556  (((
557 557  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
558 558  )))
... ... @@ -572,7 +572,7 @@
572 572  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
573 573  * 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)
574 574  
575 -=== 2.6.5 AS920-923 & AS923-925 (AS923) ===
684 +=== 2.8.5 AS920-923 & AS923-925 (AS923) ===
576 576  
577 577  (((
578 578  (% style="color:blue" %)**Default Uplink channel:**
... ... @@ -680,9 +680,8 @@
680 680  
681 681  
682 682  
792 +=== 2.8.6 KR920-923 (KR920) ===
683 683  
684 -=== 2.6.6 KR920-923 (KR920) ===
685 -
686 686  (((
687 687  (% style="color:blue" %)**Default channel:**
688 688  )))
... ... @@ -753,9 +753,8 @@
753 753  
754 754  
755 755  
864 +=== 2.8.7 IN865-867 (IN865) ===
756 756  
757 -=== 2.6.7 IN865-867 (IN865) ===
758 -
759 759  (((
760 760  (% style="color:blue" %)**Uplink:**
761 761  )))
... ... @@ -790,7 +790,6 @@
790 790  
791 791  
792 792  
793 -
794 794  == 2.7  LED Indicator ==
795 795  
796 796  The LLDS12 has an internal LED which is to show the status of different state.
... ... @@ -798,6 +798,8 @@
798 798  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
799 799  * Blink once when device transmit a packet.
800 800  
907 +
908 +
801 801  == 2.8  ​Firmware Change Log ==
802 802  
803 803  
... ... @@ -856,6 +856,7 @@
856 856  * The LiDAR probe is cover by dirty things; the reading might be wrong. In this case, need to clean the probe.
857 857  * The sensor window is made by Acrylic. Don’t touch it with alcohol material. This will destroy the sensor window.
858 858  
967 +
859 859  = 4.  Configure LLDS12 via AT Command or LoRaWAN Downlink =
860 860  
861 861  (((
... ... @@ -970,6 +970,7 @@
970 970  Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
971 971  )))
972 972  
1082 +
973 973  == 4.3  Get Firmware Version Info ==
974 974  
975 975  Feature: use downlink to get firmware version.
... ... @@ -1251,3 +1251,5 @@
1251 1251  
1252 1252  * 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.
1253 1253  * 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