<
From version < 13.2 >
edited by Xiaoling
on 2022/06/07 14:04
To version < 3.1 >
edited by Xiaoling
on 2022/06/07 13:36
>
Change comment: Uploaded new attachment "1654580186518-415.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -3,6 +3,7 @@
3 3  
4 4  
5 5  
6 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]]
6 6  
7 7  
8 8  
... ... @@ -15,27 +15,28 @@
15 15  
16 16  
17 17  
18 -= 1. Introduction =
19 +1. Introduction
20 +11. ​What is LoRaWAN Soil pH Sensor
19 19  
20 -== 1.1 ​What is LoRaWAN Soil pH Sensor ==
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.
21 21  
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.
23 23  
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.
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.
25 25  
27 +
26 26  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.
27 27  
28 -LSPH01 is powered by (% style="color:#4f81bd" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
29 29  
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.
31 +LSPH01 is powered by **8500mAh Li-SOCI2 battery**, it is designed for long term use up to 5 years.
31 31  
32 32  
33 -[[image:1654580186518-415.png]]
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.
34 34  
35 35  
37 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
36 36  
37 -== ​1.2 Features ==
38 -
39 +*
40 +*1. ​Features
39 39  * LoRaWAN 1.0.3 Class A
40 40  * Ultra-low power consumption
41 41  * Monitor soil pH with temperature compensation.
... ... @@ -51,102 +51,98 @@
51 51  * 8500mAh Battery for long term use
52 52  
53 53  
54 -== 1.3 Probe Specification ==
56 +1.
57 +11. Probe Specification
55 55  
59 +Soil pH:
56 56  
57 -(% style="color:#4f81bd" %)**Soil pH:**
58 -
59 -* Range: 3 ~~ 10 pH
60 -* Resolution: 0.01 pH
61 -* Accuracy: ±2% under (0~~50 ℃, Accuracy will poor under 0 due to frozen)
62 -* Temperature Compensation Range: 0 ~~ 50℃
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℃**
63 63  * IP68 Protection
64 64  * Length: 3.5 meters
65 65  
66 -(% style="color:#4f81bd" %)**Soil Temperature:**
67 67  
68 -* Range -40℃~85℃
69 -* Resolution: 0.1℃
70 -* Accuracy: <±0.5℃(-10℃~40℃),<±0.8℃ (others)
69 +Soil Temperature:
70 +
71 +* **Range** -40℃~8**5**℃
72 +* **Resolution: 0.1℃**
73 +* **Accuracy:** <±0.5℃(-10℃~40℃),<±0.8℃ (others)
71 71  * IP68 Protection
72 72  * Length: 3.5 meters
73 73  
74 74  
78 +*
79 +*1. ​Applications
80 +* Smart Agriculture
75 75  
76 -== 1.4 ​Applications ==
77 77  
78 -* Smart Agriculture
79 79  
84 +1.
85 +11. Pin mapping and power on
80 80  
81 -== 1.5 Pin mapping and power on ==
87 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
82 82  
83 -[[image:1654580482666-473.png]]
84 84  
85 85  
86 86  
87 -= 2. Configure LSPH01 to connect to LoRaWAN network =
88 88  
89 -== 2.1 How it works ==
93 +1. Configure LSPH01 to connect to LoRaWAN network
94 +11. How it works
90 90  
91 -(((
92 92  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.
93 -)))
94 94  
95 -(((
96 -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 >>||anchor="H5.200BUseATCommand"]]to set the keys in the LSPH01.
97 -)))
98 98  
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.
99 99  
100 -== 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
101 101  
102 -(((
102 +1.
103 +11. ​Quick guide to connect to LoRaWAN server (OTAA)
104 +
103 103  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.
104 -)))
105 105  
106 -(((
107 -
108 -)))
109 109  
110 -(((
108 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
109 +
110 +
111 111  The LG308 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
112 -)))
113 113  
114 -(((
113 +
115 115  **Step 1**: Create a device in TTN with the OTAA keys from LSPH01.
116 -)))
117 117  
118 -(((
119 119  Each LSPH01 is shipped with a sticker with the default device EUI as below:
120 -)))
121 121  
122 122  
123 -[[image:image-20220607135531-1.jpeg]]
119 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
124 124  
125 125  
122 +
123 +
124 +
126 126  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
127 127  
128 128  
129 129  **Register the device**
130 130  
131 -[[image:1654581442672-605.png]]
130 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]
132 132  
133 133  
134 -
135 135  **Add APP EUI and DEV EUI**
136 136  
137 -[[image:1654581465717-368.png]]
138 138  
136 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png]]
139 139  
140 140  
141 141  **Add APP EUI in the application**
142 142  
143 -[[image:1654581493871-516.png]]
144 144  
142 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]
145 145  
146 146  
147 147  **Add APP KEY**
148 148  
149 -[[image:1654581517630-991.png]]
147 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]]
150 150  
151 151  
152 152  **Step 2**: Power on LSPH01
... ... @@ -154,24 +154,37 @@
154 154  
155 155  Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position).
156 156  
157 -[[image:image-20220607135918-2.png]]
158 158  
159 159  
157 +|(((
158 +
159 +)))
160 +
161 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
162 +
163 +
164 +
165 +
160 160  **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.
161 161  
162 -[[image:1654581590132-631.png]]
163 163  
164 164  
165 165  
166 -== 2.3 ​Uplink Payload ==
171 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
167 167  
168 -LSPH01 will uplink payload via LoRaWAN with below payload format: 
169 169  
174 +
175 +1.
176 +11. ​Uplink Payload
177 +
178 +LSPH01 will uplink payload via LoRaWAN with below payload format:
179 +
180 +
170 170  Uplink payload includes in total 11 bytes.
182 +
171 171  
172 172  Normal uplink payload:
173 173  
174 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
175 175  |(((
176 176  **Size**
177 177  
... ... @@ -191,13 +191,17 @@
191 191  [[Type>>path:#Message_Type]]
192 192  )))
193 193  
194 -[[image:1654581735133-458.png]]
195 195  
196 196  
197 197  
198 -=== 2.3.1 Battery Info ===
208 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
199 199  
200 200  
211 +
212 +1.
213 +11.
214 +111. Battery Info
215 +
201 201  Check the battery voltage for LSPH01.
202 202  
203 203  Ex1: 0x0B45 = 2885mV
... ... @@ -205,12 +205,13 @@
205 205  Ex2: 0x0B49 = 2889mV
206 206  
207 207  
223 +1.
224 +11.
225 +111. DS18B20 Temperature sensor
208 208  
209 -=== 2.3.2 DS18B20 Temperature sensor ===
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.
210 210  
211 -This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
212 212  
213 -
214 214  **Example**:
215 215  
216 216  If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
... ... @@ -273,6 +273,8 @@
273 273  |0x02|Reply configures info|[[Configure Info Payload>>path:#Configure_Info_Payload]]
274 274  |0x03|Reply Calibration Info|[[Calibration Payload>>path:#Calibration_Payload]]
275 275  
292 +
293 +
276 276  1.
277 277  11.
278 278  111. ​Decode payload in The Things Network
... ... @@ -349,17 +349,19 @@
349 349  
350 350  
351 351  
352 -1.
370 +1.
353 353  11. Installation and Maintain
354 354  111. Before measurement
355 355  
356 -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. 
357 357  
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.
358 358  
377 +
359 359  1.
360 360  11.
361 361  111. Measurement
362 362  
382 +
363 363  **Measurement the soil surface**
364 364  
365 365  
... ... @@ -395,9 +395,14 @@
395 395  1111. Avoid the probes to touch oily matter. Which will cause issue in accuracy.
396 396  1111. The probe is IP68 can be put in water.
397 397  
418 +
419 +
420 +
421 +
398 398  1.
399 399  11. Calibration
400 400  
425 +
401 401  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).
402 402  
403 403  
... ... @@ -434,6 +434,7 @@
434 434  **Example 151**
435 435  )))
436 436  
462 +
437 437  Calibration Payload
438 438  
439 439  |(((
... ... @@ -457,6 +457,7 @@
457 457  Always 0x03
458 458  )))
459 459  
486 +
460 460  User can also send 0x14 downlink command to poll the current calibration payload.
461 461  
462 462  
... ... @@ -466,6 +466,9 @@
466 466  * Reply to the confirmation package: 14 01
467 467  * Reply to non-confirmed packet: 14 00
468 468  
496 +
497 +
498 +
469 469  1.
470 470  11. Frequency Plans
471 471  
... ... @@ -518,6 +518,7 @@
518 518  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
519 519  * 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)
520 520  
551 +
521 521  1.
522 522  11.
523 523  111. CN470-510 (CN470)
... ... @@ -568,6 +568,7 @@
568 568  11.
569 569  111. AU915-928(AU915)
570 570  
602 +
571 571  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
572 572  
573 573  
... ... @@ -579,10 +579,13 @@
579 579  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
580 580  * 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)
581 581  
614 +
615 +
582 582  1.
583 583  11.
584 584  111. AS920-923 & AS923-925 (AS923)
585 585  
620 +
586 586  **Default Uplink channel:**
587 587  
588 588  923.2 - SF7BW125 to SF10BW125
... ... @@ -673,6 +673,7 @@
673 673  11.
674 674  111. IN865-867 (IN865)
675 675  
711 +
676 676  Uplink:
677 677  
678 678  865.0625 - SF7BW125 to SF12BW125
... ... @@ -698,6 +698,9 @@
698 698  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
699 699  * Blink once when device transmit a packet.
700 700  
737 +
738 +
739 +
701 701  1.
702 702  11. ​Firmware Change Log
703 703  
... ... @@ -765,6 +765,7 @@
765 765  Set transmit interval to 60000ms = 60 seconds
766 766  )))
767 767  
807 +
768 768  **Downlink Command: 0x01**
769 769  
770 770  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -774,6 +774,9 @@
774 774  * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
775 775  * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
776 776  
817 +
818 +
819 +
777 777  1.
778 778  11. Set Interrupt Mode
779 779  
... ... @@ -798,6 +798,7 @@
798 798  1. (Trigger by rising edge)
799 799  )))|OK
800 800  
844 +
801 801  **Downlink Command: 0x06**
802 802  
803 803  Format: Command Code (0x06) followed by 3 bytes.
... ... @@ -807,6 +807,8 @@
807 807  * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode
808 808  * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
809 809  
854 +
855 +
810 810  1.
811 811  11. Calibrate Sensor
812 812  
... ... @@ -826,9 +826,11 @@
826 826  |**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)**
827 827  |Get Firmware Version Info|Any|26|2
828 828  
875 +
829 829  * Reply to the confirmation package: 26 01
830 830  * Reply to non-confirmed packet: 26 00
831 831  
879 +
832 832  Device will send an uplink after got this downlink command. With below payload:
833 833  
834 834  Configures info payload:
... ... @@ -854,6 +854,7 @@
854 854  Always 0x02
855 855  )))
856 856  
905 +
857 857  **Software Type**: Always 0x03 for LSPH01
858 858  
859 859  
... ... @@ -935,6 +935,7 @@
935 935  1.
936 936  11. Power Consumption Analyze
937 937  
987 +
938 938  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.
939 939  
940 940  
... ... @@ -963,6 +963,8 @@
963 963  * [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet
964 964  * [[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]]
965 965  
1016 +
1017 +
966 966  |(((
967 967  JST-XH-2P connector
968 968  )))
... ... @@ -971,7 +971,7 @@
971 971  
972 972  
973 973  
974 -1.
1026 +1.
975 975  11.
976 976  111. ​Battery Note
977 977  
... ... @@ -995,6 +995,7 @@
995 995  1. Use AT Command
996 996  11. Access AT Commands
997 997  
1050 +
998 998  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.
999 999  
1000 1000  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]
... ... @@ -1029,11 +1029,13 @@
1029 1029  1. Trouble Shooting
1030 1030  11. AT Commands input doesn’t work
1031 1031  
1085 +
1032 1032  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.
1033 1033  
1034 1034  
1035 1035  1. Order Info
1036 1036  
1091 +
1037 1037  Part Number: **LSPH01-XX**
1038 1038  
1039 1039  
... ... @@ -1048,6 +1048,8 @@
1048 1048  * **IN865**: LoRaWAN IN865 band
1049 1049  * **CN470**: LoRaWAN CN470 band
1050 1050  
1106 +
1107 +
1051 1051  1. ​Packing Info
1052 1052  
1053 1053  **Package Includes**:
... ... @@ -1054,6 +1054,7 @@
1054 1054  
1055 1055  * LSPH01 LoRaWAN Soil Ph Sensor x 1
1056 1056  
1114 +
1057 1057  **Dimension and weight**:
1058 1058  
1059 1059  * Device Size: cm
... ... @@ -1061,6 +1061,8 @@
1061 1061  * Package Size / pcs : cm
1062 1062  * Weight / pcs : g
1063 1063  
1122 +
1123 +
1064 1064  = 10. ​Support =
1065 1065  
1066 1066  * 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.
1654580428909-307.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -492.6 KB
Content
1654580482666-473.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -492.6 KB
Content
1654581442672-605.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -59.6 KB
Content
1654581465717-368.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -62.1 KB
Content
1654581493871-516.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -83.1 KB
Content
1654581517630-991.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -65.2 KB
Content
1654581590132-631.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -42.6 KB
Content
1654581735133-458.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -42.6 KB
Content
image-20220607135531-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -16.5 KB
Content
image-20220607135918-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -99.6 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0