<
From version < 98.6 >
edited by Xiaoling
on 2022/08/18 16:21
To version < 98.17 >
edited by Xiaoling
on 2022/10/27 13:49
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,14 +5,6 @@
5 5  
6 6  
7 7  
8 -
9 -
10 -
11 -
12 -
13 -
14 -
15 -
16 16  **Table of Contents:**
17 17  
18 18  {{toc/}}
... ... @@ -22,18 +22,13 @@
22 22  
23 23  
24 24  
25 -
26 -
27 -
28 -
29 29  = 1. Introduction =
30 30  
31 31  
32 32  == 1.1 ​What is LoRaWAN Soil pH Sensor ==
33 33  
34 -(((
35 -
36 36  
23 +(((
37 37  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.
38 38  )))
39 39  
... ... @@ -58,7 +58,6 @@
58 58  
59 59  
60 60  
61 -
62 62  == ​1.2 Features ==
63 63  
64 64  
... ... @@ -78,8 +78,6 @@
78 78  
79 79  
80 80  
81 -
82 -
83 83  == 1.3 Probe Specification ==
84 84  
85 85  
... ... @@ -102,8 +102,6 @@
102 102  
103 103  
104 104  
105 -
106 -
107 107  == 1.4 ​Applications ==
108 108  
109 109  
... ... @@ -110,8 +110,6 @@
110 110  * Smart Agriculture
111 111  
112 112  
113 -
114 -
115 115  == 1.5 Pin mapping and power on ==
116 116  
117 117  
... ... @@ -226,14 +226,11 @@
226 226  Normal uplink payload:
227 227  )))
228 228  
229 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
230 -|=(% style="width: 62.5px;" %)(((
231 -**Size (bytes)**
232 -)))|=(% style="width: 62.5px;" %)**2**|=(% style="width: 62.5px;" %)**2**|=**2**|=**2**|=**1**|=**1**|=**1**
209 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:470px" %)
210 +|=(% style="width: 60px;" %)(((
211 +**Size (bytes)**)))|=(% style="width: 30px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 50px;" %)**2**|=(% style="width: 60px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 80px;" %)**1**
233 233  |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)(((
234 -[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
235 -
236 -[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
213 +[[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
237 237  )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((
238 238  [[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]]
239 239  )))|Reserve|(((
... ... @@ -320,7 +320,7 @@
320 320  )))
321 321  
322 322  
323 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %)
300 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:496px" %)
324 324  |=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload**
325 325  |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]
326 326  |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]
... ... @@ -328,8 +328,6 @@
328 328  
329 329  
330 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]]
320 +LSPH01 TTN Payload Decoder:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
346 346  )))
347 347  
348 348  
... ... @@ -356,6 +356,7 @@
356 356  
357 357  == 2.5 ​Show Data in DataCake IoT Server ==
358 358  
334 +
359 359  (((
360 360  [[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:
361 361  )))
... ... @@ -398,7 +398,7 @@
398 398  )))
399 399  
400 400  (((
401 -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/]]
377 +Download Datacake decoder from: [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>url:https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]]
402 402  )))
403 403  
404 404  
... ... @@ -419,8 +419,10 @@
419 419  
420 420  == 2.6 Installation and Maintain ==
421 421  
398 +
422 422  === 2.6.1 Before measurement ===
423 423  
401 +
424 424  (((
425 425  (((
426 426  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. 
... ... @@ -438,6 +438,8 @@
438 438  
439 439  (((
440 440  [[image:1654592946732-634.png]]
419 +
420 +
441 441  )))
442 442  
443 443  (((
... ... @@ -449,7 +449,7 @@
449 449  )))
450 450  
451 451  (((
452 -Slowly insert the probe to the measure point. Dont use large force which will break the probe. Make sure not shake when inserting.
432 +Slowly insert the probe to the measure point. Don't use large force which will break the probe. Make sure not shake when inserting.
453 453  )))
454 454  
455 455  (((
... ... @@ -476,6 +476,7 @@
476 476  
477 477  === 2.6.3 Maintain Probe ===
478 478  
459 +
479 479  1. (((
480 480  pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
481 481  )))
... ... @@ -500,6 +500,7 @@
500 500  
501 501  == 2.7 Calibration ==
502 502  
484 +
503 503  (((
504 504  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).
505 505  )))
... ... @@ -542,13 +542,16 @@
542 542  
543 543  == 2.8 Frequency Plans ==
544 544  
527 +
545 545  (((
546 546  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.
547 547  )))
548 548  
549 549  
533 +
550 550  === 2.8.1 EU863-870 (EU868) ===
551 551  
536 +
552 552  (((
553 553  (% style="color:blue" %)**Uplink:**
554 554  )))
... ... @@ -609,6 +609,7 @@
609 609  
610 610  === 2.8.2 US902-928(US915) ===
611 611  
597 +
612 612  (((
613 613  Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
614 614  )))
... ... @@ -624,8 +624,11 @@
624 624  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
625 625  * 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)
626 626  
613 +
614 +
627 627  === 2.8.3 CN470-510 (CN470) ===
628 628  
617 +
629 629  (((
630 630  Used in China, Default use CHE=1
631 631  )))
... ... @@ -714,6 +714,7 @@
714 714  
715 715  === 2.8.4 AU915-928(AU915) ===
716 716  
706 +
717 717  (((
718 718  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
719 719  )))
... ... @@ -733,8 +733,11 @@
733 733  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
734 734  * 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)
735 735  
726 +
727 +
736 736  === 2.8.5 AS920-923 & AS923-925 (AS923) ===
737 737  
730 +
738 738  (((
739 739  (% style="color:blue" %)**Default Uplink channel:**
740 740  )))
... ... @@ -843,6 +843,7 @@
843 843  
844 844  === 2.8.6 KR920-923 (KR920) ===
845 845  
839 +
846 846  (((
847 847  (% style="color:blue" %)**Default channel:**
848 848  )))
... ... @@ -915,6 +915,7 @@
915 915  
916 916  === 2.8.7 IN865-867 (IN865) ===
917 917  
912 +
918 918  (((
919 919  (% style="color:blue" %)**Uplink:**
920 920  )))
... ... @@ -951,19 +951,20 @@
951 951  
952 952  == 2.9 LED Indicator ==
953 953  
949 +
954 954  The LSPH01 has an internal LED which is to show the status of different state.
955 955  
956 956  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
957 957  * Blink once when device transmit a packet.
958 958  
959 -== 2.10 ​Firmware Change Log ==
960 960  
961 961  
962 -**Firmware download link:**
957 +== 2.10 ​Firmware Change Log ==
963 963  
964 -[[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/]]
965 965  
960 +**Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]]
966 966  
962 +
967 967  **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
968 968  
969 969  
... ... @@ -970,6 +970,7 @@
970 970  
971 971  = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink =
972 972  
969 +
973 973  (((
974 974  Use can configure LSPH01 via AT Command or LoRaWAN Downlink.
975 975  )))
... ... @@ -1020,6 +1020,7 @@
1020 1020  
1021 1021  == 3.1 Set Transmit Interval Time ==
1022 1022  
1020 +
1023 1023  Feature: Change LoRaWAN End Node Transmit Interval.
1024 1024  
1025 1025  (% style="color:#037691" %)**AT Command: AT+TDC**
... ... @@ -1046,11 +1046,13 @@
1046 1046  Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1047 1047  
1048 1048  
1047 +
1049 1049  
1050 1050  )))
1051 1051  
1052 1052  == 3.2 Set Interrupt Mode ==
1053 1053  
1053 +
1054 1054  Feature, Set Interrupt mode for GPIO_EXIT.
1055 1055  
1056 1056  (% style="color:#037691" %)**AT Command: AT+INTMOD**
... ... @@ -1082,8 +1082,10 @@
1082 1082  )))
1083 1083  
1084 1084  
1085 +
1085 1085  == 3.3 Calibrate Sensor ==
1086 1086  
1088 +
1087 1087  Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
1088 1088  
1089 1089  
... ... @@ -1090,6 +1090,7 @@
1090 1090  
1091 1091  == 3.4 Get Firmware Version Info ==
1092 1092  
1095 +
1093 1093  Feature: use downlink to get firmware version.
1094 1094  
1095 1095  (% style="color:#037691" %)**Downlink Command: 0x26**
... ... @@ -1172,8 +1172,10 @@
1172 1172  
1173 1173  = 4. Battery & How to replace =
1174 1174  
1178 +
1175 1175  == 4.1 Battery Type ==
1176 1176  
1181 +
1177 1177  (((
1178 1178  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.
1179 1179  )))
... ... @@ -1180,6 +1180,8 @@
1180 1180  
1181 1181  (((
1182 1182  The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1188 +
1189 +
1183 1183  )))
1184 1184  
1185 1185  [[image:1654593587246-335.png]]
... ... @@ -1193,6 +1193,7 @@
1193 1193  
1194 1194  == 4.2 Replace Battery ==
1195 1195  
1203 +
1196 1196  (((
1197 1197  Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
1198 1198  )))
... ... @@ -1205,6 +1205,7 @@
1205 1205  
1206 1206  == 4.3 Power Consumption Analyze ==
1207 1207  
1216 +
1208 1208  (((
1209 1209  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.
1210 1210  )))
... ... @@ -1248,6 +1248,7 @@
1248 1248  
1249 1249  === 4.3.1 ​Battery Note ===
1250 1250  
1260 +
1251 1251  (((
1252 1252  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.
1253 1253  )))
... ... @@ -1256,6 +1256,7 @@
1256 1256  
1257 1257  === ​4.3.2 Replace the battery ===
1258 1258  
1269 +
1259 1259  (((
1260 1260  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.
1261 1261  )))
... ... @@ -1268,12 +1268,16 @@
1268 1268  
1269 1269  = 5. Use AT Command =
1270 1270  
1282 +
1271 1271  == 5.1 Access AT Commands ==
1272 1272  
1285 +
1273 1273  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.
1274 1274  
1288 +
1275 1275  [[image:1654593668970-604.png]]
1276 1276  
1291 +
1277 1277  **Connection:**
1278 1278  
1279 1279  (% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND**
... ... @@ -1295,16 +1295,21 @@
1295 1295  
1296 1296  = 6. FAQ =
1297 1297  
1313 +
1298 1298  == 6.1 How to change the LoRa Frequency Bands/Region ==
1299 1299  
1316 +
1300 1300  You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
1301 1301  When downloading the images, choose the required image file for download. ​
1302 1302  
1303 1303  
1321 +
1304 1304  = 7. Trouble Shooting =
1305 1305  
1324 +
1306 1306  == 7.1 AT Commands input doesn't work ==
1307 1307  
1327 +
1308 1308  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.
1309 1309  
1310 1310  
... ... @@ -1311,6 +1311,7 @@
1311 1311  
1312 1312  = 8. Order Info =
1313 1313  
1334 +
1314 1314  Part Number: (% style="color:blue" %)**LSPH01-XX**
1315 1315  
1316 1316  
... ... @@ -1343,6 +1343,7 @@
1343 1343  
1344 1344  = 10. ​Support =
1345 1345  
1367 +
1346 1346  * 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.
1347 1347  * 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]].
1348 1348  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0