<
From version < 98.11 >
edited by Xiaoling
on 2022/08/18 16:39
To version < 98.5 >
edited by Xiaoling
on 2022/06/30 14:01
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -28,7 +28,6 @@
28 28  
29 29  = 1. Introduction =
30 30  
31 -
32 32  == 1.1 ​What is LoRaWAN Soil pH Sensor ==
33 33  
34 34  (((
... ... @@ -61,7 +61,6 @@
61 61  
62 62  == ​1.2 Features ==
63 63  
64 -
65 65  * LoRaWAN 1.0.3 Class A
66 66  * Ultra-low power consumption
67 67  * Monitor soil pH with temperature compensation.
... ... @@ -77,9 +77,6 @@
77 77  * 8500mAh Battery for long term use
78 78  
79 79  
80 -
81 -
82 -
83 83  == 1.3 Probe Specification ==
84 84  
85 85  
... ... @@ -101,20 +101,13 @@
101 101  * Length: 3.5 meters
102 102  
103 103  
104 -
105 -
106 -
107 107  == 1.4 ​Applications ==
108 108  
109 -
110 110  * Smart Agriculture
111 111  
112 112  
113 -
114 -
115 115  == 1.5 Pin mapping and power on ==
116 116  
117 -
118 118  [[image:1654592472094-134.png]]
119 119  
120 120  
... ... @@ -121,10 +121,8 @@
121 121  
122 122  = 2. Configure LSPH01 to connect to LoRaWAN network =
123 123  
124 -
125 125  == 2.1 How it works ==
126 126  
127 -
128 128  (((
129 129  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.
130 130  )))
... ... @@ -134,10 +134,8 @@
134 134  )))
135 135  
136 136  
137 -
138 138  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
139 139  
140 -
141 141  (((
142 142  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.
143 143  )))
... ... @@ -203,8 +203,6 @@
203 203  
204 204  (((
205 205  (% 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 -
208 208  )))
209 209  
210 210  [[image:1654592697690-910.png]]
... ... @@ -213,7 +213,6 @@
213 213  
214 214  == 2.3 ​Uplink Payload ==
215 215  
216 -
217 217  (((
218 218  LSPH01 will uplink payload via LoRaWAN with below payload format: 
219 219  )))
... ... @@ -257,7 +257,6 @@
257 257  
258 258  === 2.3.2 DS18B20 Temperature sensor ===
259 259  
260 -
261 261  This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
262 262  
263 263  
... ... @@ -271,7 +271,6 @@
271 271  
272 272  === 2.3.3 Soil pH ===
273 273  
274 -
275 275  Range: 0 ~~ 14 pH
276 276  
277 277  **Example:**
... ... @@ -282,7 +282,6 @@
282 282  
283 283  === 2.3.4 Soil Temperature ===
284 284  
285 -
286 286  Get Soil Temperature 
287 287  
288 288  
... ... @@ -296,7 +296,6 @@
296 296  
297 297  === 2.3.5 Interrupt Pin ===
298 298  
299 -
300 300  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.
301 301  
302 302  
... ... @@ -310,7 +310,6 @@
310 310  
311 311  === 2.3.6 Message Type ===
312 312  
313 -
314 314  (((
315 315  For a normal uplink payload, the message type is always 0x01.
316 316  )))
... ... @@ -327,9 +327,6 @@
327 327  |(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]]
328 328  
329 329  
330 -
331 -
332 -
333 333  === 2.3.7 Decode payload in The Things Network ===
334 334  
335 335  While using TTN network, you can add the payload format to decode the payload.
... ... @@ -342,7 +342,7 @@
342 342  )))
343 343  
344 344  (((
345 -LSPH01 TTN Payload Decoder:  [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]]
318 +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/]]
346 346  )))
347 347  
348 348  
... ... @@ -349,7 +349,6 @@
349 349  
350 350  == 2.4 Uplink Interval ==
351 351  
352 -
353 353  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"]]
354 354  
355 355  
... ... @@ -356,7 +356,6 @@
356 356  
357 357  == 2.5 ​Show Data in DataCake IoT Server ==
358 358  
359 -
360 360  (((
361 361  [[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:
362 362  )))
... ... @@ -399,7 +399,7 @@
399 399  )))
400 400  
401 401  (((
402 -Download Datacake decoder from: [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>url:https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]]
373 +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/]]
403 403  )))
404 404  
405 405  
... ... @@ -420,10 +420,8 @@
420 420  
421 421  == 2.6 Installation and Maintain ==
422 422  
423 -
424 424  === 2.6.1 Before measurement ===
425 425  
426 -
427 427  (((
428 428  (((
429 429  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. 
... ... @@ -441,8 +441,6 @@
441 441  
442 442  (((
443 443  [[image:1654592946732-634.png]]
444 -
445 -
446 446  )))
447 447  
448 448  (((
... ... @@ -454,7 +454,7 @@
454 454  )))
455 455  
456 456  (((
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.
424 +Slowly insert the probe to the measure point. Dont use large force which will break the probe. Make sure not shake when inserting.
458 458  )))
459 459  
460 460  (((
... ... @@ -481,7 +481,6 @@
481 481  
482 482  === 2.6.3 Maintain Probe ===
483 483  
484 -
485 485  1. (((
486 486  pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
487 487  )))
... ... @@ -506,7 +506,6 @@
506 506  
507 507  == 2.7 Calibration ==
508 508  
509 -
510 510  (((
511 511  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).
512 512  )))
... ... @@ -538,7 +538,6 @@
538 538  Always 0x03
539 539  )))
540 540  
541 -
542 542  User can also send 0x14 downlink command to poll the current calibration payload.
543 543  
544 544  [[image:image-20220607171416-7.jpeg]]
... ... @@ -549,19 +549,15 @@
549 549  
550 550  
551 551  
552 -
553 553  == 2.8 Frequency Plans ==
554 554  
555 -
556 556  (((
557 557  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.
558 558  )))
559 559  
560 560  
561 -
562 562  === 2.8.1 EU863-870 (EU868) ===
563 563  
564 -
565 565  (((
566 566  (% style="color:blue" %)**Uplink:**
567 567  )))
... ... @@ -622,7 +622,6 @@
622 622  
623 623  === 2.8.2 US902-928(US915) ===
624 624  
625 -
626 626  (((
627 627  Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
628 628  )))
... ... @@ -639,12 +639,8 @@
639 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)
640 640  
641 641  
642 -
643 -
644 -
645 645  === 2.8.3 CN470-510 (CN470) ===
646 646  
647 -
648 648  (((
649 649  Used in China, Default use CHE=1
650 650  )))
... ... @@ -733,7 +733,6 @@
733 733  
734 734  === 2.8.4 AU915-928(AU915) ===
735 735  
736 -
737 737  (((
738 738  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
739 739  )))
... ... @@ -754,12 +754,8 @@
754 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)
755 755  
756 756  
757 -
758 -
759 -
760 760  === 2.8.5 AS920-923 & AS923-925 (AS923) ===
761 761  
762 -
763 763  (((
764 764  (% style="color:blue" %)**Default Uplink channel:**
765 765  )))
... ... @@ -868,7 +868,6 @@
868 868  
869 869  === 2.8.6 KR920-923 (KR920) ===
870 870  
871 -
872 872  (((
873 873  (% style="color:blue" %)**Default channel:**
874 874  )))
... ... @@ -941,7 +941,6 @@
941 941  
942 942  === 2.8.7 IN865-867 (IN865) ===
943 943  
944 -
945 945  (((
946 946  (% style="color:blue" %)**Uplink:**
947 947  )))
... ... @@ -978,7 +978,6 @@
978 978  
979 979  == 2.9 LED Indicator ==
980 980  
981 -
982 982  The LSPH01 has an internal LED which is to show the status of different state.
983 983  
984 984  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
... ... @@ -985,15 +985,14 @@
985 985  * Blink once when device transmit a packet.
986 986  
987 987  
988 -
989 -
990 -
991 991  == 2.10 ​Firmware Change Log ==
992 992  
993 993  
994 -**Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]]
938 +**Firmware download link:**
995 995  
940 +[[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/]]
996 996  
942 +
997 997  **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
998 998  
999 999  
... ... @@ -1000,7 +1000,6 @@
1000 1000  
1001 1001  = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink =
1002 1002  
1003 -
1004 1004  (((
1005 1005  Use can configure LSPH01 via AT Command or LoRaWAN Downlink.
1006 1006  )))
... ... @@ -1051,7 +1051,6 @@
1051 1051  
1052 1052  == 3.1 Set Transmit Interval Time ==
1053 1053  
1054 -
1055 1055  Feature: Change LoRaWAN End Node Transmit Interval.
1056 1056  
1057 1057  (% style="color:#037691" %)**AT Command: AT+TDC**
... ... @@ -1078,13 +1078,11 @@
1078 1078  Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1079 1079  
1080 1080  
1081 -
1082 1082  
1083 1083  )))
1084 1084  
1085 1085  == 3.2 Set Interrupt Mode ==
1086 1086  
1087 -
1088 1088  Feature, Set Interrupt mode for GPIO_EXIT.
1089 1089  
1090 1090  (% style="color:#037691" %)**AT Command: AT+INTMOD**
... ... @@ -1116,10 +1116,8 @@
1116 1116  )))
1117 1117  
1118 1118  
1119 -
1120 1120  == 3.3 Calibrate Sensor ==
1121 1121  
1122 -
1123 1123  Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
1124 1124  
1125 1125  
... ... @@ -1126,7 +1126,6 @@
1126 1126  
1127 1127  == 3.4 Get Firmware Version Info ==
1128 1128  
1129 -
1130 1130  Feature: use downlink to get firmware version.
1131 1131  
1132 1132  (% style="color:#037691" %)**Downlink Command: 0x26**
... ... @@ -1209,10 +1209,8 @@
1209 1209  
1210 1210  = 4. Battery & How to replace =
1211 1211  
1212 -
1213 1213  == 4.1 Battery Type ==
1214 1214  
1215 -
1216 1216  (((
1217 1217  LSPH01 is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
1218 1218  )))
... ... @@ -1219,8 +1219,6 @@
1219 1219  
1220 1220  (((
1221 1221  The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1222 -
1223 -
1224 1224  )))
1225 1225  
1226 1226  [[image:1654593587246-335.png]]
... ... @@ -1234,7 +1234,6 @@
1234 1234  
1235 1235  == 4.2 Replace Battery ==
1236 1236  
1237 -
1238 1238  (((
1239 1239  Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
1240 1240  )))
... ... @@ -1247,7 +1247,6 @@
1247 1247  
1248 1248  == 4.3 Power Consumption Analyze ==
1249 1249  
1250 -
1251 1251  (((
1252 1252  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.
1253 1253  )))
... ... @@ -1291,7 +1291,6 @@
1291 1291  
1292 1292  === 4.3.1 ​Battery Note ===
1293 1293  
1294 -
1295 1295  (((
1296 1296  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.
1297 1297  )))
... ... @@ -1300,7 +1300,6 @@
1300 1300  
1301 1301  === ​4.3.2 Replace the battery ===
1302 1302  
1303 -
1304 1304  (((
1305 1305  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.
1306 1306  )))
... ... @@ -1313,16 +1313,12 @@
1313 1313  
1314 1314  = 5. Use AT Command =
1315 1315  
1316 -
1317 1317  == 5.1 Access AT Commands ==
1318 1318  
1319 -
1320 1320  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.
1321 1321  
1322 -
1323 1323  [[image:1654593668970-604.png]]
1324 1324  
1325 -
1326 1326  **Connection:**
1327 1327  
1328 1328  (% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND**
... ... @@ -1344,21 +1344,16 @@
1344 1344  
1345 1345  = 6. FAQ =
1346 1346  
1347 -
1348 1348  == 6.1 How to change the LoRa Frequency Bands/Region ==
1349 1349  
1350 -
1351 1351  You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
1352 1352  When downloading the images, choose the required image file for download. ​
1353 1353  
1354 1354  
1355 -
1356 1356  = 7. Trouble Shooting =
1357 1357  
1358 -
1359 1359  == 7.1 AT Commands input doesn't work ==
1360 1360  
1361 -
1362 1362  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 (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
1363 1363  
1364 1364  
... ... @@ -1365,7 +1365,6 @@
1365 1365  
1366 1366  = 8. Order Info =
1367 1367  
1368 -
1369 1369  Part Number: (% style="color:blue" %)**LSPH01-XX**
1370 1370  
1371 1371  
... ... @@ -1382,7 +1382,6 @@
1382 1382  
1383 1383  
1384 1384  
1385 -
1386 1386  = 9. ​Packing Info =
1387 1387  
1388 1388  
... ... @@ -1399,13 +1399,9 @@
1399 1399  
1400 1400  
1401 1401  
1402 -
1403 1403  = 10. ​Support =
1404 1404  
1405 -
1406 1406  * 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.
1407 1407  * 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]].
1408 1408  
1409 -
1410 -
1411 1411  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0