<
From version < 98.3 >
edited by Xiaoling
on 2022/06/30 11:59
To version < 98.9 >
edited by Xiaoling
on 2022/08/18 16:33
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -28,6 +28,7 @@
28 28  
29 29  = 1. Introduction =
30 30  
31 +
31 31  == 1.1 ​What is LoRaWAN Soil pH Sensor ==
32 32  
33 33  (((
... ... @@ -60,6 +60,7 @@
60 60  
61 61  == ​1.2 Features ==
62 62  
64 +
63 63  * LoRaWAN 1.0.3 Class A
64 64  * Ultra-low power consumption
65 65  * Monitor soil pH with temperature compensation.
... ... @@ -76,6 +76,8 @@
76 76  
77 77  
78 78  
81 +
82 +
79 79  == 1.3 Probe Specification ==
80 80  
81 81  
... ... @@ -98,14 +98,19 @@
98 98  
99 99  
100 100  
105 +
106 +
101 101  == 1.4 ​Applications ==
102 102  
109 +
103 103  * Smart Agriculture
104 104  
105 105  
106 106  
114 +
107 107  == 1.5 Pin mapping and power on ==
108 108  
117 +
109 109  [[image:1654592472094-134.png]]
110 110  
111 111  
... ... @@ -112,8 +112,10 @@
112 112  
113 113  = 2. Configure LSPH01 to connect to LoRaWAN network =
114 114  
124 +
115 115  == 2.1 How it works ==
116 116  
127 +
117 117  (((
118 118  The LSPH01 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 LSPH01. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
119 119  )))
... ... @@ -123,8 +123,10 @@
123 123  )))
124 124  
125 125  
137 +
126 126  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
127 127  
140 +
128 128  (((
129 129  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.
130 130  )))
... ... @@ -190,6 +190,8 @@
190 190  
191 191  (((
192 192  (% 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.
206 +
207 +
193 193  )))
194 194  
195 195  [[image:1654592697690-910.png]]
... ... @@ -198,6 +198,7 @@
198 198  
199 199  == 2.3 ​Uplink Payload ==
200 200  
216 +
201 201  (((
202 202  LSPH01 will uplink payload via LoRaWAN with below payload format: 
203 203  )))
... ... @@ -241,6 +241,7 @@
241 241  
242 242  === 2.3.2 DS18B20 Temperature sensor ===
243 243  
260 +
244 244  This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
245 245  
246 246  
... ... @@ -254,6 +254,7 @@
254 254  
255 255  === 2.3.3 Soil pH ===
256 256  
274 +
257 257  Range: 0 ~~ 14 pH
258 258  
259 259  **Example:**
... ... @@ -264,6 +264,7 @@
264 264  
265 265  === 2.3.4 Soil Temperature ===
266 266  
285 +
267 267  Get Soil Temperature 
268 268  
269 269  
... ... @@ -277,6 +277,7 @@
277 277  
278 278  === 2.3.5 Interrupt Pin ===
279 279  
299 +
280 280  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.
281 281  
282 282  
... ... @@ -290,6 +290,7 @@
290 290  
291 291  === 2.3.6 Message Type ===
292 292  
313 +
293 293  (((
294 294  For a normal uplink payload, the message type is always 0x01.
295 295  )))
... ... @@ -307,6 +307,8 @@
307 307  
308 308  
309 309  
331 +
332 +
310 310  === 2.3.7 Decode payload in The Things Network ===
311 311  
312 312  While using TTN network, you can add the payload format to decode the payload.
... ... @@ -319,7 +319,7 @@
319 319  )))
320 320  
321 321  (((
322 -LSPH01 TTN Payload Decoder: [[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/]]
345 +LSPH01 TTN Payload Decoder:  [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]]
323 323  )))
324 324  
325 325  
... ... @@ -326,6 +326,7 @@
326 326  
327 327  == 2.4 Uplink Interval ==
328 328  
352 +
329 329  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"]]
330 330  
331 331  
... ... @@ -332,6 +332,7 @@
332 332  
333 333  == 2.5 ​Show Data in DataCake IoT Server ==
334 334  
359 +
335 335  (((
336 336  [[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:
337 337  )))
... ... @@ -374,7 +374,7 @@
374 374  )))
375 375  
376 376  (((
377 -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/]]
402 +Download Datacake decoder from: [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>url:https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]]
378 378  )))
379 379  
380 380  
... ... @@ -395,8 +395,10 @@
395 395  
396 396  == 2.6 Installation and Maintain ==
397 397  
423 +
398 398  === 2.6.1 Before measurement ===
399 399  
426 +
400 400  (((
401 401  (((
402 402  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. 
... ... @@ -414,6 +414,8 @@
414 414  
415 415  (((
416 416  [[image:1654592946732-634.png]]
444 +
445 +
417 417  )))
418 418  
419 419  (((
... ... @@ -425,7 +425,7 @@
425 425  )))
426 426  
427 427  (((
428 -Slowly insert the probe to the measure point. Dont use large force which will break the probe. Make sure not shake when inserting.
457 +Slowly insert the probe to the measure point. Don't use large force which will break the probe. Make sure not shake when inserting.
429 429  )))
430 430  
431 431  (((
... ... @@ -452,6 +452,7 @@
452 452  
453 453  === 2.6.3 Maintain Probe ===
454 454  
484 +
455 455  1. (((
456 456  pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
457 457  )))
... ... @@ -476,6 +476,7 @@
476 476  
477 477  == 2.7 Calibration ==
478 478  
509 +
479 479  (((
480 480  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).
481 481  )))
... ... @@ -507,6 +507,7 @@
507 507  Always 0x03
508 508  )))
509 509  
541 +
510 510  User can also send 0x14 downlink command to poll the current calibration payload.
511 511  
512 512  [[image:image-20220607171416-7.jpeg]]
... ... @@ -515,15 +515,21 @@
515 515  * Reply to the confirmation package: 14 01
516 516  * Reply to non-confirmed packet: 14 00
517 517  
550 +
551 +
552 +
518 518  == 2.8 Frequency Plans ==
519 519  
555 +
520 520  (((
521 521  The LSPH01 uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.
522 522  )))
523 523  
524 524  
561 +
525 525  === 2.8.1 EU863-870 (EU868) ===
526 526  
564 +
527 527  (((
528 528  (% style="color:blue" %)**Uplink:**
529 529  )))
... ... @@ -584,6 +584,7 @@
584 584  
585 585  === 2.8.2 US902-928(US915) ===
586 586  
625 +
587 587  (((
588 588  Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
589 589  )))
... ... @@ -597,12 +597,15 @@
597 597  )))
598 598  
599 599  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
600 -* Use the Join successful sub-band if the server doesnt include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
639 +* 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)
601 601  
602 602  
603 603  
643 +
644 +
604 604  === 2.8.3 CN470-510 (CN470) ===
605 605  
647 +
606 606  (((
607 607  Used in China, Default use CHE=1
608 608  )))
... ... @@ -691,6 +691,7 @@
691 691  
692 692  === 2.8.4 AU915-928(AU915) ===
693 693  
736 +
694 694  (((
695 695  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
696 696  )))
... ... @@ -708,12 +708,15 @@
708 708  )))
709 709  
710 710  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
711 -* Use the Join successful sub-band if the server doesnt include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
754 +* 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)
712 712  
713 713  
714 714  
758 +
759 +
715 715  === 2.8.5 AS920-923 & AS923-925 (AS923) ===
716 716  
762 +
717 717  (((
718 718  (% style="color:blue" %)**Default Uplink channel:**
719 719  )))
... ... @@ -822,6 +822,7 @@
822 822  
823 823  === 2.8.6 KR920-923 (KR920) ===
824 824  
871 +
825 825  (((
826 826  (% style="color:blue" %)**Default channel:**
827 827  )))
... ... @@ -894,6 +894,7 @@
894 894  
895 895  === 2.8.7 IN865-867 (IN865) ===
896 896  
944 +
897 897  (((
898 898  (% style="color:blue" %)**Uplink:**
899 899  )))
... ... @@ -930,6 +930,7 @@
930 930  
931 931  == 2.9 LED Indicator ==
932 932  
981 +
933 933  The LSPH01 has an internal LED which is to show the status of different state.
934 934  
935 935  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
... ... @@ -937,14 +937,14 @@
937 937  
938 938  
939 939  
940 -== 2.10 ​Firmware Change Log ==
941 941  
942 942  
943 -**Firmware download link:**
991 +== 2.10 ​Firmware Change Log ==
944 944  
945 -[[http:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Firmware/]]
946 946  
994 +**Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]]
947 947  
996 +
948 948  **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
949 949  
950 950  
... ... @@ -982,7 +982,7 @@
982 982  )))
983 983  
984 984  (((
985 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:[[End Device AT Commands and Downlink Command>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
1034 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: [[End Device AT Commands and Downlink Command>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
986 986  )))
987 987  
988 988  (((
... ... @@ -1063,7 +1063,6 @@
1063 1063  )))
1064 1064  
1065 1065  
1066 -
1067 1067  == 3.3 Calibrate Sensor ==
1068 1068  
1069 1069  Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
... ... @@ -1243,7 +1243,7 @@
1243 1243  )))
1244 1244  
1245 1245  (((
1246 -The default battery pack of LSPH01 includes a ER26500 plus super capacitor. If user cant find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)
1294 +The default battery pack of LSPH01 includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)
1247 1247  )))
1248 1248  
1249 1249  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0