<
From version < 3.1 >
edited by Xiaoling
on 2022/06/07 13:36
To version < 3.3 >
edited by Xiaoling
on 2022/06/07 13:40
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,7 +3,6 @@
3 3  
4 4  
5 5  
6 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]]
7 7  
8 8  
9 9  
... ... @@ -16,28 +16,27 @@
16 16  
17 17  
18 18  
19 -1. Introduction
20 -11. ​What is LoRaWAN Soil pH Sensor
18 += 1. Introduction =
21 21  
22 -The Dragino LSPH01 is a **LoRaWAN Soil pH Sensor** for IoT of Agriculture. It is designed to measure the soil PH and soil temperature, so to send to the platform to analyze the soil acid or alkali level. The probe is IP68 waterproof.
20 +== 1.1 ​What is LoRaWAN Soil pH Sensor ==
23 23  
22 +The Dragino LSPH01 is a (% style="color:#4f81bd" %)**LoRaWAN Soil pH Sensor**(%%) for IoT of Agriculture. It is designed to measure the soil PH and soil temperature, so to send to the platform to analyze the soil acid or alkali level. The probe is IP68 waterproof.
24 24  
25 -LSPH01 probe is made by Solid AgCl reference electrode and Pure metal pH sensitive electrode. It can detect soils** pH **with high accuracy and stable value. The LSPH01 probe can be buried into soil for long time use.
24 +LSPH01 probe is made by Solid AgCl reference electrode and Pure metal pH sensitive electrode. It can detect soil's** (% style="color:#4f81bd" %)pH (%%)**with high accuracy and stable value. The LSPH01 probe can be buried into soil for long time use.
26 26  
27 -
28 28  The LoRa wireless technology used in LSPH01 allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.
29 29  
28 +LSPH01 is powered by (% style="color:#4f81bd" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
30 30  
31 -LSPH01 is powered by **8500mAh Li-SOCI2 battery**, it is designed for long term use up to 5 years.
30 +Each LSPH01 is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
32 32  
33 33  
34 -Each LSPH01 is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
33 +[[image:1654580186518-415.png]]
35 35  
36 36  
37 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
38 38  
39 -*
40 -*1. ​Features
37 +== ​1.2 Features ==
38 +
41 41  * LoRaWAN 1.0.3 Class A
42 42  * Ultra-low power consumption
43 43  * Monitor soil pH with temperature compensation.
... ... @@ -52,38 +52,34 @@
52 52  * IP68 rate for the Sensor Probe
53 53  * 8500mAh Battery for long term use
54 54  
53 +== 1.3 Probe Specification ==
55 55  
56 -1.
57 -11. Probe Specification
58 58  
59 -Soil pH:
56 +(% style="color:#4f81bd" %)**Soil pH:**
60 60  
61 -* **Range: 3 ~~ 10 pH **
62 -* **Resolution: 0.01 pH**
63 -* **Accuracy: ±2% under (0~~50 ℃, Accuracy will poor under 0 due to frozen)**
64 -* **Temperature Compensation Range: 0 ~~ 50℃**
58 +* Range: 3 ~~ 10 pH
59 +* Resolution: 0.01 pH
60 +* Accuracy: ±2% under (0~~50 ℃, Accuracy will poor under 0 due to frozen)
61 +* Temperature Compensation Range: 0 ~~ 50℃
65 65  * IP68 Protection
66 66  * Length: 3.5 meters
67 67  
65 +(% style="color:#4f81bd" %)**Soil Temperature:**
68 68  
69 -Soil Temperature:
70 -
71 -* **Range** -40℃~8**5**℃
72 -* **Resolution: 0.1℃**
73 -* **Accuracy:** <±0.5℃(-10℃~40℃),<±0.8℃ (others)
67 +* Range -40℃~85℃
68 +* Resolution: 0.1℃
69 +* Accuracy: <±0.5℃(-10℃~40℃),<±0.8℃ (others)
74 74  * IP68 Protection
75 75  * Length: 3.5 meters
76 76  
77 77  
78 -*
79 -*1. ​Applications
74 +== 1.4 ​Applications ==
75 +
80 80  * Smart Agriculture
81 81  
82 82  
79 +== 1.5 Pin mapping and power on ==
83 83  
84 -1.
85 -11. Pin mapping and power on
86 -
87 87  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
88 88  
89 89  
... ... @@ -99,7 +99,7 @@
99 99  In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>path:#_​Using_the_AT]]to set the keys in the LSPH01.
100 100  
101 101  
102 -1.
96 +1.
103 103  11. ​Quick guide to connect to LoRaWAN server (OTAA)
104 104  
105 105  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.
... ... @@ -172,10 +172,10 @@
172 172  
173 173  
174 174  
175 -1.
169 +1.
176 176  11. ​Uplink Payload
177 177  
178 -LSPH01 will uplink payload via LoRaWAN with below payload format:
172 +LSPH01 will uplink payload via LoRaWAN with below payload format: 
179 179  
180 180  
181 181  Uplink payload includes in total 11 bytes.
... ... @@ -202,15 +202,12 @@
202 202  [[Type>>path:#Message_Type]]
203 203  )))
204 204  
205 -
206 -
207 -
208 208  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
209 209  
210 210  
211 211  
212 -1.
213 -11.
203 +1.
204 +11.
214 214  111. Battery Info
215 215  
216 216  Check the battery voltage for LSPH01.
... ... @@ -220,8 +220,8 @@
220 220  Ex2: 0x0B49 = 2889mV
221 221  
222 222  
223 -1.
224 -11.
214 +1.
215 +11.
225 225  111. DS18B20 Temperature sensor
226 226  
227 227  This is optional, user can connect external DS18B20 sensor to the [[+3.3v, 1-wire and GND pin>>path:#DS18B20]] . and this field will report temperature.
... ... @@ -235,8 +235,8 @@
235 235  
236 236  
237 237  
238 -1.
239 -11.
229 +1.
230 +11.
240 240  111. Soil pH
241 241  
242 242  Range: 0 ~~ 14 pH
... ... @@ -246,8 +246,8 @@
246 246  **0x02B7(H) = 695(D) = 6.95pH**
247 247  
248 248  
249 -1.
250 -11.
240 +1.
241 +11.
251 251  111. Soil Temperature
252 252  
253 253  Get Soil Temperature 
... ... @@ -261,8 +261,8 @@
261 261  
262 262  
263 263  
264 -1.
265 -11.
255 +1.
256 +11.
266 266  111. Interrupt Pin
267 267  
268 268  This data field shows if this packet is generated by interrupt or not. [[Click here>>path:#Int_mod]] for the hardware and software set up.
... ... @@ -275,8 +275,8 @@
275 275  0x01: Interrupt Uplink Packet.
276 276  
277 277  
278 -1.
279 -11.
269 +1.
270 +11.
280 280  111. Message Type
281 281  
282 282  For a normal uplink payload, the message type is always 0x01.
... ... @@ -289,10 +289,8 @@
289 289  |0x02|Reply configures info|[[Configure Info Payload>>path:#Configure_Info_Payload]]
290 290  |0x03|Reply Calibration Info|[[Calibration Payload>>path:#Calibration_Payload]]
291 291  
292 -
293 -
294 -1.
295 -11.
283 +1.
284 +11.
296 296  111. ​Decode payload in The Things Network
297 297  
298 298  While using TTN network, you can add the payload format to decode the payload.
... ... @@ -305,7 +305,7 @@
305 305  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/]]
306 306  
307 307  
308 -1.
297 +1.
309 309  11. Uplink Interval
310 310  
311 311  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:
... ... @@ -314,7 +314,7 @@
314 314  
315 315  
316 316  
317 -1.
306 +1.
318 318  11. ​Show Data in DataCake IoT Server
319 319  
320 320  [[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:
... ... @@ -367,19 +367,17 @@
367 367  
368 368  
369 369  
370 -1.
359 +1.
371 371  11. Installation and Maintain
372 372  111. Before measurement
373 373  
363 +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. 
374 374  
375 -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.
376 376  
377 -
378 -1.
379 -11.
366 +1.
367 +11.
380 380  111. Measurement
381 381  
382 -
383 383  **Measurement the soil surface**
384 384  
385 385  
... ... @@ -405,8 +405,8 @@
405 405  Insert the probe inside, method like measure the surface.
406 406  
407 407  
408 -1.
409 -11.
395 +1.
396 +11.
410 410  111. Maintain Probe
411 411  1111. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
412 412  1111. 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.
... ... @@ -416,13 +416,9 @@
416 416  1111. The probe is IP68 can be put in water.
417 417  
418 418  
419 -
420 -
421 -
422 -1.
406 +1.
423 423  11. Calibration
424 424  
425 -
426 426  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).
427 427  
428 428  
... ... @@ -459,7 +459,6 @@
459 459  **Example 151**
460 460  )))
461 461  
462 -
463 463  Calibration Payload
464 464  
465 465  |(((
... ... @@ -483,7 +483,6 @@
483 483  Always 0x03
484 484  )))
485 485  
486 -
487 487  User can also send 0x14 downlink command to poll the current calibration payload.
488 488  
489 489  
... ... @@ -493,16 +493,13 @@
493 493  * Reply to the confirmation package: 14 01
494 494  * Reply to non-confirmed packet: 14 00
495 495  
496 -
497 -
498 -
499 -1.
477 +1.
500 500  11. Frequency Plans
501 501  
502 502  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.
503 503  
504 -1.
505 -11.
482 +1.
483 +11.
506 506  111. EU863-870 (EU868)
507 507  
508 508  Uplink:
... ... @@ -533,8 +533,8 @@
533 533  869.525 - SF9BW125 (RX2 downlink only)
534 534  
535 535  
536 -1.
537 -11.
514 +1.
515 +11.
538 538  111. US902-928(US915)
539 539  
540 540  Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
... ... @@ -548,9 +548,8 @@
548 548  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
549 549  * 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)
550 550  
551 -
552 -1.
553 -11.
529 +1.
530 +11.
554 554  111. CN470-510 (CN470)
555 555  
556 556  Used in China, Default use CHE=1
... ... @@ -595,11 +595,10 @@
595 595  505.3 - SF12BW125 (RX2 downlink only)
596 596  
597 597  
598 -1.
599 -11.
575 +1.
576 +11.
600 600  111. AU915-928(AU915)
601 601  
602 -
603 603  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
604 604  
605 605  
... ... @@ -611,13 +611,10 @@
611 611  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
612 612  * 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)
613 613  
614 -
615 -
616 -1.
617 -11.
590 +1.
591 +11.
618 618  111. AS920-923 & AS923-925 (AS923)
619 619  
620 -
621 621  **Default Uplink channel:**
622 622  
623 623  923.2 - SF7BW125 to SF10BW125
... ... @@ -667,8 +667,8 @@
667 667  923.2 - SF10BW125 (RX2)
668 668  
669 669  
670 -1.
671 -11.
643 +1.
644 +11.
672 672  111. KR920-923 (KR920)
673 673  
674 674  Default channel:
... ... @@ -704,11 +704,10 @@
704 704  921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125)
705 705  
706 706  
707 -1.
708 -11.
680 +1.
681 +11.
709 709  111. IN865-867 (IN865)
710 710  
711 -
712 712  Uplink:
713 713  
714 714  865.0625 - SF7BW125 to SF12BW125
... ... @@ -725,7 +725,7 @@
725 725  866.550 - SF10BW125 (RX2)
726 726  
727 727  
728 -1.
700 +1.
729 729  11. LED Indicator
730 730  
731 731  The LSPH01 has an internal LED which is to show the status of different state.
... ... @@ -734,10 +734,7 @@
734 734  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
735 735  * Blink once when device transmit a packet.
736 736  
737 -
738 -
739 -
740 -1.
709 +1.
741 741  11. ​Firmware Change Log
742 742  
743 743  **Firmware download link:**
... ... @@ -783,7 +783,7 @@
783 783  These commands only valid for LSPH01, as below:
784 784  
785 785  
786 -1.
755 +1.
787 787  11. Set Transmit Interval Time
788 788  
789 789  Feature: Change LoRaWAN End Node Transmit Interval.
... ... @@ -804,7 +804,6 @@
804 804  Set transmit interval to 60000ms = 60 seconds
805 805  )))
806 806  
807 -
808 808  **Downlink Command: 0x01**
809 809  
810 810  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -814,10 +814,7 @@
814 814  * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
815 815  * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
816 816  
817 -
818 -
819 -
820 -1.
785 +1.
821 821  11. Set Interrupt Mode
822 822  
823 823  Feature, Set Interrupt mode for GPIO_EXIT.
... ... @@ -841,7 +841,6 @@
841 841  1. (Trigger by rising edge)
842 842  )))|OK
843 843  
844 -
845 845  **Downlink Command: 0x06**
846 846  
847 847  Format: Command Code (0x06) followed by 3 bytes.
... ... @@ -851,9 +851,7 @@
851 851  * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode
852 852  * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
853 853  
854 -
855 -
856 -1.
818 +1.
857 857  11. Calibrate Sensor
858 858  
859 859  Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands
... ... @@ -860,7 +860,7 @@
860 860  
861 861  
862 862  
863 -1.
825 +1.
864 864  11. Get Firmware Version Info
865 865  
866 866  Feature: use downlink to get firmware version.
... ... @@ -872,11 +872,9 @@
872 872  |**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)**
873 873  |Get Firmware Version Info|Any|26|2
874 874  
875 -
876 876  * Reply to the confirmation package: 26 01
877 877  * Reply to non-confirmed packet: 26 00
878 878  
879 -
880 880  Device will send an uplink after got this downlink command. With below payload:
881 881  
882 882  Configures info payload:
... ... @@ -902,7 +902,6 @@
902 902  Always 0x02
903 903  )))
904 904  
905 -
906 906  **Software Type**: Always 0x03 for LSPH01
907 907  
908 908  
... ... @@ -972,7 +972,7 @@
972 972  LSPH01:  2.45v ~~ 3.6v
973 973  
974 974  
975 -1.
934 +1.
976 976  11. Replace Battery
977 977  
978 978  Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
... ... @@ -981,10 +981,9 @@
981 981  
982 982  
983 983  
984 -1.
943 +1.
985 985  11. Power Consumption Analyze
986 986  
987 -
988 988  Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
989 989  
990 990  
... ... @@ -1013,8 +1013,6 @@
1013 1013  * [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet
1014 1014  * [[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]]
1015 1015  
1016 -
1017 -
1018 1018  |(((
1019 1019  JST-XH-2P connector
1020 1020  )))
... ... @@ -1023,15 +1023,15 @@
1023 1023  
1024 1024  
1025 1025  
1026 -1.
1027 -11.
982 +1.
983 +11.
1028 1028  111. ​Battery Note
1029 1029  
1030 1030  The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased.
1031 1031  
1032 1032  
1033 -1.
1034 -11.
989 +1.
990 +11.
1035 1035  111. ​Replace the battery
1036 1036  
1037 1037  You can change the battery in the LSPH01.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won’t be voltage drop between battery and main board.
... ... @@ -1047,7 +1047,6 @@
1047 1047  1. Use AT Command
1048 1048  11. Access AT Commands
1049 1049  
1050 -
1051 1051  LSPH01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSPH01 for using AT command, as below.
1052 1052  
1053 1053  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]
... ... @@ -1082,13 +1082,11 @@
1082 1082  1. Trouble Shooting
1083 1083  11. AT Commands input doesn’t work
1084 1084  
1085 -
1086 1086  In the case if user can see the console output but can’t type input to the device. Please check if you already include the **ENTER** while sending out the command. Some serial tool doesn’t send **ENTER** while press the send key, user need to add ENTER in their string.
1087 1087  
1088 1088  
1089 1089  1. Order Info
1090 1090  
1091 -
1092 1092  Part Number: **LSPH01-XX**
1093 1093  
1094 1094  
... ... @@ -1103,8 +1103,6 @@
1103 1103  * **IN865**: LoRaWAN IN865 band
1104 1104  * **CN470**: LoRaWAN CN470 band
1105 1105  
1106 -
1107 -
1108 1108  1. ​Packing Info
1109 1109  
1110 1110  **Package Includes**:
... ... @@ -1111,7 +1111,6 @@
1111 1111  
1112 1112  * LSPH01 LoRaWAN Soil Ph Sensor x 1
1113 1113  
1114 -
1115 1115  **Dimension and weight**:
1116 1116  
1117 1117  * Device Size: cm
... ... @@ -1119,8 +1119,6 @@
1119 1119  * Package Size / pcs : cm
1120 1120  * Weight / pcs : g
1121 1121  
1122 -
1123 -
1124 1124  = 10. ​Support =
1125 1125  
1126 1126  * 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.
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0