<
From version < 13.2 >
edited by Xiaoling
on 2022/06/07 14:04
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
... ... @@ -50,7 +50,6 @@
50 50  * IP68 rate for the Sensor Probe
51 51  * 8500mAh Battery for long term use
52 52  
53 -
54 54  == 1.3 Probe Specification ==
55 55  
56 56  
... ... @@ -72,7 +72,6 @@
72 72  * Length: 3.5 meters
73 73  
74 74  
75 -
76 76  == 1.4 ​Applications ==
77 77  
78 78  * Smart Agriculture
... ... @@ -80,73 +80,67 @@
80 80  
81 81  == 1.5 Pin mapping and power on ==
82 82  
83 -[[image:1654580482666-473.png]]
81 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
84 84  
85 85  
86 86  
87 -= 2. Configure LSPH01 to connect to LoRaWAN network =
88 88  
89 -== 2.1 How it works ==
90 90  
91 -(((
87 +1. Configure LSPH01 to connect to LoRaWAN network
88 +11. How it works
89 +
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  
93 +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 -(((
96 +1.
97 +11. ​Quick guide to connect to LoRaWAN server (OTAA)
98 +
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 -(((
102 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
103 +
104 +
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 -(((
107 +
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]]
113 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
124 124  
125 125  
116 +
117 +
118 +
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]]
124 +[[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  
130 +[[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  
136 +[[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]]
141 +[[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  
151 +|(((
152 +
153 +)))
154 +
155 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
156 +
157 +
158 +
159 +
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 ==
165 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
167 167  
167 +
168 +
169 +1.
170 +11. ​Uplink Payload
171 +
168 168  LSPH01 will uplink payload via LoRaWAN with below payload format: 
169 169  
174 +
170 170  Uplink payload includes in total 11 bytes.
176 +
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,14 @@
191 191  [[Type>>path:#Message_Type]]
192 192  )))
193 193  
194 -[[image:1654581735133-458.png]]
199 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
195 195  
196 196  
197 197  
198 -=== 2.3.1 Battery Info ===
203 +1.
204 +11.
205 +111. Battery Info
199 199  
200 -
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  
214 +1.
215 +11.
216 +111. DS18B20 Temperature sensor
208 208  
209 -=== 2.3.2 DS18B20 Temperature sensor ===
218 +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
... ... @@ -219,8 +219,8 @@
219 219  
220 220  
221 221  
222 -1.
223 -11.
229 +1.
230 +11.
224 224  111. Soil pH
225 225  
226 226  Range: 0 ~~ 14 pH
... ... @@ -230,8 +230,8 @@
230 230  **0x02B7(H) = 695(D) = 6.95pH**
231 231  
232 232  
233 -1.
234 -11.
240 +1.
241 +11.
235 235  111. Soil Temperature
236 236  
237 237  Get Soil Temperature 
... ... @@ -245,8 +245,8 @@
245 245  
246 246  
247 247  
248 -1.
249 -11.
255 +1.
256 +11.
250 250  111. Interrupt Pin
251 251  
252 252  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.
... ... @@ -259,8 +259,8 @@
259 259  0x01: Interrupt Uplink Packet.
260 260  
261 261  
262 -1.
263 -11.
269 +1.
270 +11.
264 264  111. Message Type
265 265  
266 266  For a normal uplink payload, the message type is always 0x01.
... ... @@ -273,8 +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  
276 -1.
277 -11.
283 +1.
284 +11.
278 278  111. ​Decode payload in The Things Network
279 279  
280 280  While using TTN network, you can add the payload format to decode the payload.
... ... @@ -287,7 +287,7 @@
287 287  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/]]
288 288  
289 289  
290 -1.
297 +1.
291 291  11. Uplink Interval
292 292  
293 293  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:
... ... @@ -296,7 +296,7 @@
296 296  
297 297  
298 298  
299 -1.
306 +1.
300 300  11. ​Show Data in DataCake IoT Server
301 301  
302 302  [[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:
... ... @@ -356,8 +356,8 @@
356 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  
358 358  
359 -1.
360 -11.
366 +1.
367 +11.
361 361  111. Measurement
362 362  
363 363  **Measurement the soil surface**
... ... @@ -385,8 +385,8 @@
385 385  Insert the probe inside, method like measure the surface.
386 386  
387 387  
388 -1.
389 -11.
395 +1.
396 +11.
390 390  111. Maintain Probe
391 391  1111. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
392 392  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.
... ... @@ -395,7 +395,8 @@
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  
398 -1.
405 +
406 +1.
399 399  11. Calibration
400 400  
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).
... ... @@ -466,13 +466,13 @@
466 466  * Reply to the confirmation package: 14 01
467 467  * Reply to non-confirmed packet: 14 00
468 468  
469 -1.
477 +1.
470 470  11. Frequency Plans
471 471  
472 472  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.
473 473  
474 -1.
475 -11.
482 +1.
483 +11.
476 476  111. EU863-870 (EU868)
477 477  
478 478  Uplink:
... ... @@ -503,8 +503,8 @@
503 503  869.525 - SF9BW125 (RX2 downlink only)
504 504  
505 505  
506 -1.
507 -11.
514 +1.
515 +11.
508 508  111. US902-928(US915)
509 509  
510 510  Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
... ... @@ -518,8 +518,8 @@
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  
521 -1.
522 -11.
529 +1.
530 +11.
523 523  111. CN470-510 (CN470)
524 524  
525 525  Used in China, Default use CHE=1
... ... @@ -564,8 +564,8 @@
564 564  505.3 - SF12BW125 (RX2 downlink only)
565 565  
566 566  
567 -1.
568 -11.
575 +1.
576 +11.
569 569  111. AU915-928(AU915)
570 570  
571 571  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
... ... @@ -579,8 +579,8 @@
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  
582 -1.
583 -11.
590 +1.
591 +11.
584 584  111. AS920-923 & AS923-925 (AS923)
585 585  
586 586  **Default Uplink channel:**
... ... @@ -632,8 +632,8 @@
632 632  923.2 - SF10BW125 (RX2)
633 633  
634 634  
635 -1.
636 -11.
643 +1.
644 +11.
637 637  111. KR920-923 (KR920)
638 638  
639 639  Default channel:
... ... @@ -669,8 +669,8 @@
669 669  921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125)
670 670  
671 671  
672 -1.
673 -11.
680 +1.
681 +11.
674 674  111. IN865-867 (IN865)
675 675  
676 676  Uplink:
... ... @@ -689,7 +689,7 @@
689 689  866.550 - SF10BW125 (RX2)
690 690  
691 691  
692 -1.
700 +1.
693 693  11. LED Indicator
694 694  
695 695  The LSPH01 has an internal LED which is to show the status of different state.
... ... @@ -698,7 +698,7 @@
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  
701 -1.
709 +1.
702 702  11. ​Firmware Change Log
703 703  
704 704  **Firmware download link:**
... ... @@ -744,7 +744,7 @@
744 744  These commands only valid for LSPH01, as below:
745 745  
746 746  
747 -1.
755 +1.
748 748  11. Set Transmit Interval Time
749 749  
750 750  Feature: Change LoRaWAN End Node Transmit Interval.
... ... @@ -774,7 +774,7 @@
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  
777 -1.
785 +1.
778 778  11. Set Interrupt Mode
779 779  
780 780  Feature, Set Interrupt mode for GPIO_EXIT.
... ... @@ -807,7 +807,7 @@
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  
810 -1.
818 +1.
811 811  11. Calibrate Sensor
812 812  
813 813  Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands
... ... @@ -814,7 +814,7 @@
814 814  
815 815  
816 816  
817 -1.
825 +1.
818 818  11. Get Firmware Version Info
819 819  
820 820  Feature: use downlink to get firmware version.
... ... @@ -923,7 +923,7 @@
923 923  LSPH01:  2.45v ~~ 3.6v
924 924  
925 925  
926 -1.
934 +1.
927 927  11. Replace Battery
928 928  
929 929  Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
... ... @@ -932,7 +932,7 @@
932 932  
933 933  
934 934  
935 -1.
943 +1.
936 936  11. Power Consumption Analyze
937 937  
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.
... ... @@ -972,14 +972,14 @@
972 972  
973 973  
974 974  1.
975 -11.
983 +11.
976 976  111. ​Battery Note
977 977  
978 978  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.
979 979  
980 980  
981 -1.
982 -11.
989 +1.
990 +11.
983 983  111. ​Replace the battery
984 984  
985 985  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.
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